Searched refs:AluCode (Results 1 – 6 of 6) sorted by relevance
23 enum AluCode { enum104 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 …]
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()
225 LPAC::AluCode AluCode = LPAC::isdToLanaiAluCode(AluOperator); in selectAddrRr() local226 if (AluCode != LPAC::UNKNOWN) { in selectAddrRr()244 AluOp = CurDAG->getTargetConstant(AluCode, SDLoc(Addr), MVT::i32); in selectAddrRr()
47 unsigned AluCode = MI->getOperand(3).getImm(); in usesGivenOffset() local48 return LPAC::encodeLanaiAluCode(AluCode) == LPAC::ADD && in usesGivenOffset()54 unsigned AluCode = MI->getOperand(3).getImm(); in isPreIncrementForm() local55 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPreIncrementForm()59 unsigned AluCode = MI->getOperand(3).getImm(); in isPostIncrementForm() local60 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPostIncrementForm()210 static void printMemoryBaseRegister(raw_ostream &OS, const unsigned AluCode, in printMemoryBaseRegister() argument214 if (LPAC::isPreOp(AluCode)) in printMemoryBaseRegister()217 if (LPAC::isPostOp(AluCode)) in printMemoryBaseRegister()240 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand() local[all …]
141 unsigned AluCode = AluOp.getImm(); in adjustPqBits() local147 if (!LPAC::isPostOp(AluCode) && in adjustPqBits()156 if (LPAC::modifiesOp(AluCode) && ((Op2.isImm() && Op2.getImm() != 0) || in adjustPqBits()
774 static unsigned AluWithPrePost(unsigned AluCode, bool PreOp, bool PostOp) { in AluWithPrePost() argument776 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() local786 if (AluCode == LPAC::UNKNOWN) { in parseAluOperator()790 return AluCode; in parseAluOperator()