mini-llvm 0.1.0
Loading...
Searching...
No Matches
RISCVRegister.h File Reference
#include <cstdlib>
#include "mini-llvm/targets/riscv/target.def"
Include dependency graph for RISCVRegister.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mini_llvm
namespace  mini_llvm::mc

Macros

#define REGS
#define X(idx, name, class, width, isPreserved, isAllocatable)
#define REGS
#define X(idx, name, class, width, isPreserved, isAllocatable)

Enumerations

enum  mini_llvm::mc::RISCVRegister

Functions

constexpr const char * mini_llvm::mc::name (RISCVRegister reg)

Macro Definition Documentation

◆ REGS [1/2]

#define REGS

◆ REGS [2/2]

#define REGS

◆ X [1/2]

#define X ( idx,
name,
class,
width,
isPreserved,
isAllocatable )
Value:
case RISCV_##name: return #name;

◆ X [2/2]

#define X ( idx,
name,
class,
width,
isPreserved,
isAllocatable )
Value:
RISCV_##name = idx,