Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiInstPrinter.cpp49 unsigned AluCode = MI->getOperand(3).getImm(); in usesGivenOffset() local
56 unsigned AluCode = MI->getOperand(3).getImm(); in isPreIncrementForm() local
61 unsigned AluCode = MI->getOperand(3).getImm(); in isPostIncrementForm() local
217 if (LPAC::isPreOp(AluCode)) in printMemoryBaseRegister()
220 if (LPAC::isPostOp(AluCode)) in printMemoryBaseRegister()
243 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand() local
249 printMemoryBaseRegister(OS, AluCode, RegOp); in printMemRiOperand()
258 const unsigned AluCode = AluOp.getImm(); in printMemRrOperand() local
263 if (LPAC::isPreOp(AluCode)) in printMemRrOperand()
266 if (LPAC::isPostOp(AluCode)) in printMemRrOperand()
[all …]
H A DLanaiMCCodeEmitter.cpp139 unsigned AluCode = AluOp.getImm(); in adjustPqBits() local
145 if (!LPAC::isPostOp(AluCode) && in adjustPqBits()
154 if (LPAC::modifiesOp(AluCode) && ((Op2.isImm() && Op2.getImm() != 0) || in adjustPqBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp221 return AluCode::ADD; in isdToLanaiAluCode()
223 return AluCode::ADDC; in isdToLanaiAluCode()
225 return AluCode::SUB; in isdToLanaiAluCode()
227 return AluCode::SUBB; in isdToLanaiAluCode()
229 return AluCode::AND; in isdToLanaiAluCode()
231 return AluCode::OR; in isdToLanaiAluCode()
233 return AluCode::XOR; in isdToLanaiAluCode()
235 return AluCode::SHL; in isdToLanaiAluCode()
237 return AluCode::SRL; in isdToLanaiAluCode()
239 return AluCode::SRA; in isdToLanaiAluCode()
[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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp816 static unsigned AluWithPrePost(unsigned AluCode, bool PreOp, bool PostOp) { in AluWithPrePost() argument
818 return LPAC::makePreOp(AluCode); in AluWithPrePost()
820 return LPAC::makePostOp(AluCode); in AluWithPrePost()
821 return AluCode; in AluWithPrePost()
827 unsigned AluCode = LPAC::stringToLanaiAluCode(IdString); in parseAluOperator() local
828 if (AluCode == LPAC::UNKNOWN) { in parseAluOperator()
832 return AluCode; in parseAluOperator()