LLVM
15.0.0git
|
Enumerations | |
enum | AluCode { ADD = 0x00, ADDC = 0x01, SUB = 0x02, SUBB = 0x03, AND = 0x04, OR = 0x05, XOR = 0x06, SPECIAL = 0x07, SHL = 0x17, SRL = 0x27, SRA = 0x37, UNKNOWN = 0xFF } |
Functions | |
static unsigned | encodeLanaiAluCode (unsigned AluOp) |
static unsigned | getAluOp (unsigned AluOp) |
static bool | isPreOp (unsigned AluOp) |
static bool | isPostOp (unsigned AluOp) |
static unsigned | makePreOp (unsigned AluOp) |
static unsigned | makePostOp (unsigned AluOp) |
static bool | modifiesOp (unsigned AluOp) |
static const char * | lanaiAluCodeToString (unsigned AluOp) |
static AluCode | stringToLanaiAluCode (StringRef S) |
static AluCode | isdToLanaiAluCode (ISD::NodeType Node_type) |
Variables | |
const int | Lanai_PRE_OP = 0x40 |
const int | Lanai_POST_OP = 0x80 |
enum llvm::LPAC::AluCode |
Enumerator | |
---|---|
ADD | |
ADDC | |
SUB | |
SUBB | |
AND | |
OR | |
XOR | |
SPECIAL | |
SHL | |
SRL | |
SRA | |
UNKNOWN |
Definition at line 22 of file LanaiAluCode.h.
|
inlinestatic |
Definition at line 48 of file LanaiAluCode.h.
Referenced by usesGivenOffset().
|
inlinestatic |
Definition at line 53 of file LanaiAluCode.h.
Referenced by lanaiAluCodeToString().
|
inlinestatic |
Definition at line 118 of file LanaiAluCode.h.
References ADD, llvm::ISD::ADD, ADDC, llvm::ISD::ADDE, AND, llvm::ISD::AND, OR, llvm::ISD::OR, SHL, llvm::ISD::SHL, SRA, llvm::ISD::SRA, SRL, llvm::ISD::SRL, SUB, llvm::ISD::SUB, SUBB, llvm::ISD::SUBE, UNKNOWN, XOR, and llvm::ISD::XOR.
|
inlinestatic |
Definition at line 60 of file LanaiAluCode.h.
References Lanai_POST_OP.
Referenced by llvm::adjustPqBits(), isPostIncrementForm(), makePreOp(), modifiesOp(), printMemoryBaseRegister(), and llvm::LanaiInstPrinter::printMemRrOperand().
|
inlinestatic |
Definition at line 58 of file LanaiAluCode.h.
References Lanai_PRE_OP.
Referenced by isPreIncrementForm(), makePostOp(), modifiesOp(), printMemoryBaseRegister(), and llvm::LanaiInstPrinter::printMemRrOperand().
|
inlinestatic |
Definition at line 76 of file LanaiAluCode.h.
References ADD, ADDC, AND, getAluOp(), llvm_unreachable, OR, SHL, SRA, SRL, SUB, SUBB, and XOR.
Referenced by llvm::LanaiInstPrinter::printMemRrOperand().
|
inlinestatic |
Definition at line 67 of file LanaiAluCode.h.
References assert(), isPreOp(), and Lanai_POST_OP.
Referenced by AluWithPrePost(), INITIALIZE_PASS(), and PostOperandDecodeAdjust().
|
inlinestatic |
Definition at line 62 of file LanaiAluCode.h.
References assert(), isPostOp(), and Lanai_PRE_OP.
Referenced by AluWithPrePost(), llvm::LanaiFrameLowering::emitPrologue(), INITIALIZE_PASS(), and PostOperandDecodeAdjust().
|
inlinestatic |
Definition at line 72 of file LanaiAluCode.h.
References isPostOp(), and isPreOp().
Referenced by llvm::adjustPqBits(), and IsMemoryAssignmentError().
Definition at line 46 of file LanaiAluCode.h.
Referenced by isPostOp(), and makePostOp().
Definition at line 45 of file LanaiAluCode.h.
Referenced by isPreOp(), and makePreOp().