Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiAluCode.h23 enum AluCode { enum
122 return AluCode::ADD; in isdToLanaiAluCode()
124 return AluCode::ADDC; in isdToLanaiAluCode()
126 return AluCode::SUB; in isdToLanaiAluCode()
128 return AluCode::SUBB; in isdToLanaiAluCode()
130 return AluCode::AND; in isdToLanaiAluCode()
132 return AluCode::OR; in isdToLanaiAluCode()
134 return AluCode::XOR; in isdToLanaiAluCode()
136 return AluCode::SHL; in isdToLanaiAluCode()
138 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.cpp225 LPAC::AluCode AluCode = LPAC::isdToLanaiAluCode(AluOperator); in selectAddrRr() local
226 if (AluCode != LPAC::UNKNOWN) { in selectAddrRr()
244 AluOp = CurDAG->getTargetConstant(AluCode, SDLoc(Addr), MVT::i32); in selectAddrRr()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/InstPrinter/
H A DLanaiInstPrinter.cpp47 unsigned AluCode = MI->getOperand(3).getImm(); in usesGivenOffset() local
54 unsigned AluCode = MI->getOperand(3).getImm(); in isPreIncrementForm() local
59 unsigned AluCode = MI->getOperand(3).getImm(); in isPostIncrementForm() local
214 if (LPAC::isPreOp(AluCode)) in printMemoryBaseRegister()
217 if (LPAC::isPostOp(AluCode)) in printMemoryBaseRegister()
240 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand() local
246 printMemoryBaseRegister(OS, AluCode, RegOp); in printMemRiOperand()
255 const unsigned AluCode = AluOp.getImm(); in printMemRrOperand() local
260 if (LPAC::isPreOp(AluCode)) in printMemRrOperand()
263 if (LPAC::isPostOp(AluCode)) in printMemRrOperand()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/MCTargetDesc/
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-12.1/contrib/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp796 static unsigned AluWithPrePost(unsigned AluCode, bool PreOp, bool PostOp) { in AluWithPrePost() argument
798 return LPAC::makePreOp(AluCode); in AluWithPrePost()
800 return LPAC::makePostOp(AluCode); in AluWithPrePost()
801 return AluCode; in AluWithPrePost()
807 unsigned AluCode = LPAC::stringToLanaiAluCode(IdString); in parseAluOperator() local
808 if (AluCode == LPAC::UNKNOWN) { in parseAluOperator()
812 return AluCode; in parseAluOperator()