Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiAluCode.h22 enum AluCode { enum
121 return AluCode::ADD; in isdToLanaiAluCode()
123 return AluCode::ADDC; in isdToLanaiAluCode()
125 return AluCode::SUB; in isdToLanaiAluCode()
127 return AluCode::SUBB; in isdToLanaiAluCode()
129 return AluCode::AND; in isdToLanaiAluCode()
131 return AluCode::OR; in isdToLanaiAluCode()
133 return AluCode::XOR; in isdToLanaiAluCode()
135 return AluCode::SHL; in isdToLanaiAluCode()
137 return AluCode::SRL; in isdToLanaiAluCode()
[all …]
H A DLanaiMemAluCombiner.cpp202 LPAC::AluCode mergedAluCode(unsigned AluOpcode) { in mergedAluCode()
251 LPAC::AluCode AluOpcode = mergedAluCode(AluInstr->getOpcode()); in insertMergedInstruction()
376 LPAC::AluCode AluOpcode = static_cast<LPAC::AluCode>(AluOperand.getImm()); in combineMemAluInBasicBlock()
H A DLanaiISelDAGToDAG.cpp224 LPAC::AluCode AluCode = LPAC::isdToLanaiAluCode(AluOperator); in selectAddrRr() local
225 if (AluCode != LPAC::UNKNOWN) { in selectAddrRr()
243 AluOp = CurDAG->getTargetConstant(AluCode, SDLoc(Addr), MVT::i32); in selectAddrRr()
/llvm-project-15.0.7/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.cpp138 unsigned AluCode = AluOp.getImm(); in adjustPqBits() local
144 if (!LPAC::isPostOp(AluCode) && in adjustPqBits()
153 if (LPAC::modifiesOp(AluCode) && ((Op2.isImm() && Op2.getImm() != 0) || in adjustPqBits()
/llvm-project-15.0.7/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp821 static unsigned AluWithPrePost(unsigned AluCode, bool PreOp, bool PostOp) { in AluWithPrePost() argument
823 return LPAC::makePreOp(AluCode); in AluWithPrePost()
825 return LPAC::makePostOp(AluCode); in AluWithPrePost()
826 return AluCode; in AluWithPrePost()
832 unsigned AluCode = LPAC::stringToLanaiAluCode(IdString); in parseAluOperator() local
833 if (AluCode == LPAC::UNKNOWN) { in parseAluOperator()
837 return AluCode; in parseAluOperator()