Home
last modified time | relevance | path

Searched refs:AluCode (Results 1 – 6 of 6) sorted by relevance

/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiInstPrinter.cpp46 unsigned AluCode = MI->getOperand(3).getImm(); in printInst()
47 return LPAC::encodeLanaiAluCode(AluCode) == LPAC::ADD &&
53 unsigned AluCode = MI->getOperand(3).getImm(); in usesGivenOffset()
54 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset);
58 unsigned AluCode = MI->getOperand(3).getImm(); in isPreIncrementForm()
59 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset);
210 static void printMemoryBaseRegister(raw_ostream &OS, const unsigned AluCode, in printLo16AndImmOperand()
214 if (LPAC::isPreOp(AluCode)) in printMemoryBaseRegister()
217 if (LPAC::isPostOp(AluCode)) in printMemoryBaseRegister()
240 const unsigned AluCode in printMemRiOperand()
49 unsigned AluCode = MI->getOperand(3).getImm(); usesGivenOffset() local
56 unsigned AluCode = MI->getOperand(3).getImm(); isPreIncrementForm() local
61 unsigned AluCode = MI->getOperand(3).getImm(); isPostIncrementForm() local
213 printMemoryBaseRegister(raw_ostream & OS,const unsigned AluCode,const MCOperand & RegOp) printMemoryBaseRegister() argument
243 const unsigned AluCode = AluOp.getImm(); printMemRiOperand() local
258 const unsigned AluCode = AluOp.getImm(); printMemRrOperand() local
279 const unsigned AluCode = AluOp.getImm(); printMemSplsOperand() local
[all...]
H A DLanaiMCCodeEmitter.cpp137 unsigned AluCode = AluOp.getImm(); in adjustPqBits()
143 if (!LPAC::isPostOp(AluCode) && in adjustPqBits()
152 if (LPAC::modifiesOp(AluCode) && ((Op2.isImm() && Op2.getImm() != 0) || in adjustPqBits()
139 unsigned AluCode = AluOp.getImm(); adjustPqBits() local
/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp210 static AluCode isdToLanaiAluCode(ISD::NodeType Node_type) { in selectAddrRi()
213 return AluCode::ADD; in selectAddrSpls()
215 return AluCode::ADDC; in selectAddrSpls()
217 return AluCode::SUB;
219 return AluCode::SUBB; in isdToLanaiAluCode()
221 return AluCode::AND; in isdToLanaiAluCode()
223 return AluCode::OR; in isdToLanaiAluCode()
225 return AluCode::XOR; in isdToLanaiAluCode()
227 return AluCode::SHL; in isdToLanaiAluCode()
229 return AluCode in isdToLanaiAluCode()
261 LPAC::AluCode AluCode = LPAC::isdToLanaiAluCode(AluOperator); selectAddrRr() local
[all...]
H A DLanaiAluCode.h21 enum AluCode { enum
102 inline static AluCode stringToLanaiAluCode(StringRef S) { in stringToLanaiAluCode()
103 return StringSwitch<AluCode>(S) in stringToLanaiAluCode()
H A DLanaiMemAluCombiner.cpp201 LPAC::AluCode mergedAluCode(unsigned AluOpcode) { in mergedAluCode()
250 LPAC::AluCode AluOpcode = mergedAluCode(AluInstr->getOpcode()); in insertMergedInstruction()
375 LPAC::AluCode AluOpcode = static_cast<LPAC::AluCode>(AluOperand.getImm()); in combineMemAluInBasicBlock()
/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp814 static unsigned AluWithPrePost(unsigned AluCode, bool PreOp, bool PostOp) { in parseImmediate()
816 return LPAC::makePreOp(AluCode); in AluWithPrePost() argument
818 return LPAC::makePostOp(AluCode); in AluWithPrePost()
819 return AluCode; in AluWithPrePost()
825 unsigned AluCode = LPAC::stringToLanaiAluCode(IdString); in parseAluOperator()
826 if (AluCode == LPAC::UNKNOWN) { in parseAluOperator()
830 return AluCode; in parseAluOperator()
827 unsigned AluCode = LPAC::stringToLanaiAluCode(IdString); parseAluOperator() local