/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiAluCode.h | 23 enum AluCode { enum 104 inline static AluCode stringToLanaiAluCode(StringRef S) { in stringToLanaiAluCode() 105 return StringSwitch<AluCode>(S) in stringToLanaiAluCode() 119 inline static AluCode isdToLanaiAluCode(ISD::NodeType Node_type) { in isdToLanaiAluCode() 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() [all …]
|
D | LanaiMemAluCombiner.cpp | 202 LPAC::AluCode mergedAluCode(unsigned AluOpcode) { in mergedAluCode() 251 LPAC::AluCode AluOpcode = mergedAluCode(AluInstr->getOpcode()); in insertMergedInstruction() 377 LPAC::AluCode AluOpcode = static_cast<LPAC::AluCode>(AluOperand.getImm()); in combineMemAluInBasicBlock()
|
D | LanaiISelDAGToDAG.cpp | 225 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()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiAluCode.h | 23 enum AluCode { enum 104 inline static AluCode stringToLanaiAluCode(StringRef S) { in stringToLanaiAluCode() 105 return StringSwitch<AluCode>(S) in stringToLanaiAluCode() 119 inline static AluCode isdToLanaiAluCode(ISD::NodeType Node_type) { in isdToLanaiAluCode() 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() [all …]
|
D | LanaiISelDAGToDAG.cpp | 225 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()
|
D | LanaiMemAluCombiner.cpp | 202 LPAC::AluCode mergedAluCode(unsigned AluOpcode) { in mergedAluCode() 251 LPAC::AluCode AluOpcode = mergedAluCode(AluInstr->getOpcode()); in insertMergedInstruction() 374 LPAC::AluCode AluOpcode = static_cast<LPAC::AluCode>(AluOperand.getImm()); in combineMemAluInBasicBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/InstPrinter/ |
D | LanaiInstPrinter.cpp | 47 unsigned AluCode = MI->getOperand(3).getImm(); in usesGivenOffset() local 48 return LPAC::encodeLanaiAluCode(AluCode) == LPAC::ADD && in usesGivenOffset() 54 unsigned AluCode = MI->getOperand(3).getImm(); in isPreIncrementForm() local 55 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPreIncrementForm() 59 unsigned AluCode = MI->getOperand(3).getImm(); in isPostIncrementForm() local 60 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPostIncrementForm() 210 static void printMemoryBaseRegister(raw_ostream &OS, const unsigned AluCode, in printMemoryBaseRegister() argument 214 if (LPAC::isPreOp(AluCode)) in printMemoryBaseRegister() 217 if (LPAC::isPostOp(AluCode)) in printMemoryBaseRegister() 240 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand() local [all …]
|
/external/llvm/lib/Target/Lanai/InstPrinter/ |
D | LanaiInstPrinter.cpp | 47 unsigned AluCode = MI->getOperand(3).getImm(); in usesGivenOffset() local 48 return LPAC::encodeLanaiAluCode(AluCode) == LPAC::ADD && in usesGivenOffset() 54 unsigned AluCode = MI->getOperand(3).getImm(); in isPreIncrementForm() local 55 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPreIncrementForm() 59 unsigned AluCode = MI->getOperand(3).getImm(); in isPostIncrementForm() local 60 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPostIncrementForm() 210 static void printMemoryBaseRegister(raw_ostream &OS, const unsigned AluCode, in printMemoryBaseRegister() argument 214 if (LPAC::isPreOp(AluCode)) in printMemoryBaseRegister() 217 if (LPAC::isPostOp(AluCode)) in printMemoryBaseRegister() 240 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand() local [all …]
|
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCCodeEmitter.cpp | 141 unsigned AluCode = AluOp.getImm(); in adjustPqBits() local 147 if (!LPAC::isPostOp(AluCode) && in adjustPqBits() 156 if (LPAC::modifiesOp(AluCode) && ((Op2.isImm() && Op2.getImm() != 0) || in adjustPqBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCCodeEmitter.cpp | 139 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()
|
/external/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 774 static unsigned AluWithPrePost(unsigned AluCode, bool PreOp, bool PostOp) { in AluWithPrePost() argument 776 return LPAC::makePreOp(AluCode); in AluWithPrePost() 778 return LPAC::makePostOp(AluCode); in AluWithPrePost() 779 return AluCode; in AluWithPrePost() 785 unsigned AluCode = LPAC::stringToLanaiAluCode(IdString); in parseAluOperator() local 786 if (AluCode == LPAC::UNKNOWN) { in parseAluOperator() 790 return AluCode; in parseAluOperator()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 796 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()
|