LLVM: llvm::LPAC Namespace Reference (original) (raw)

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)

AluCode

Enumerator
ADD
ADDC
SUB
SUBB
AND
OR
XOR
SPECIAL
SHL
SRL
SRA
UNKNOWN

Definition at line 21 of file LanaiAluCode.h.

encodeLanaiAluCode()

getAluOp()

isdToLanaiAluCode()

Definition at line 210 of file LanaiISelDAGToDAG.cpp.

References llvm::ISD::ADD, ADD, ADDC, llvm::ISD::ADDE, llvm::ISD::AND, AND, isdToLanaiAluCode(), llvm::ISD::OR, OR, llvm::ISD::SHL, SHL, llvm::ISD::SRA, SRA, llvm::ISD::SRL, SRL, llvm::ISD::SUB, SUB, SUBB, llvm::ISD::SUBE, UNKNOWN, llvm::ISD::XOR, and XOR.

Referenced by isdToLanaiAluCode().

isPostOp()

isPreOp()

lanaiAluCodeToString()

Definition at line 75 of file LanaiAluCode.h.

References ADD, ADDC, AND, getAluOp(), llvm_unreachable, OR, SHL, SRA, SRL, SUB, SUBB, and XOR.

Referenced by llvm::LanaiInstPrinter::printMemRrOperand().

makePostOp()

makePreOp()

modifiesOp()

stringToLanaiAluCode()

AluCode llvm::LPAC::stringToLanaiAluCode ( StringRef S) inlinestatic

Definition at line 102 of file LanaiAluCode.h.

References ADD, ADDC, AND, llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), OR, SHL, SRA, SRL, SUB, SUBB, UNKNOWN, and XOR.

Lanai_POST_OP

const int llvm::LPAC::Lanai_POST_OP = 0x80

Lanai_PRE_OP

const int llvm::LPAC::Lanai_PRE_OP = 0x40