Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiAluCode.h22 enum AluCode { enum
103 inline static AluCode stringToLanaiAluCode(StringRef S) { in stringToLanaiAluCode()
104 return StringSwitch<AluCode>(S) in stringToLanaiAluCode()
118 inline static AluCode isdToLanaiAluCode(ISD::NodeType Node_type) { in isdToLanaiAluCode()
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()
[all …]
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()
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiInstPrinter.cpp49 unsigned AluCode = MI->getOperand(3).getImm(); in usesGivenOffset() local
50 return LPAC::encodeLanaiAluCode(AluCode) == LPAC::ADD && in usesGivenOffset()
56 unsigned AluCode = MI->getOperand(3).getImm(); in isPreIncrementForm() local
57 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPreIncrementForm()
61 unsigned AluCode = MI->getOperand(3).getImm(); in isPostIncrementForm() local
62 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPostIncrementForm()
213 static void printMemoryBaseRegister(raw_ostream &OS, const unsigned AluCode, in printMemoryBaseRegister() argument
217 if (LPAC::isPreOp(AluCode)) in printMemoryBaseRegister()
220 if (LPAC::isPostOp(AluCode)) in printMemoryBaseRegister()
243 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand() local
[all …]
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp797 static unsigned AluWithPrePost(unsigned AluCode, bool PreOp, bool PostOp) { in AluWithPrePost() argument
799 return LPAC::makePreOp(AluCode); in AluWithPrePost()
801 return LPAC::makePostOp(AluCode); in AluWithPrePost()
802 return AluCode; in AluWithPrePost()
808 unsigned AluCode = LPAC::stringToLanaiAluCode(IdString); in parseAluOperator() local
809 if (AluCode == LPAC::UNKNOWN) { in parseAluOperator()
813 return AluCode; in parseAluOperator()