Home
last modified time | relevance | path

Searched refs:LPAC (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiMemAluCombiner.cpp201 LPAC::AluCode mergedAluCode(unsigned AluOpcode) { in mergedAluCode()
205 return LPAC::ADD; in mergedAluCode()
208 return LPAC::SUB; in mergedAluCode()
211 return LPAC::AND; in mergedAluCode()
214 return LPAC::OR; in mergedAluCode()
217 return LPAC::XOR; in mergedAluCode()
219 return LPAC::SHL; in mergedAluCode()
221 return LPAC::SRL; in mergedAluCode()
223 return LPAC::SRA; in mergedAluCode()
227 return LPAC::UNKNOWN; in mergedAluCode()
[all …]
H A DLanaiISelDAGToDAG.cpp138 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
151 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
163 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
175 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
202 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
217 namespace LPAC { namespace
260 LPAC::AluCode AluCode = LPAC::isdToLanaiAluCode(AluOperator); in selectAddrRr()
261 if (AluCode != LPAC::UNKNOWN) { in selectAddrRr()
H A DLanaiFrameLowering.cpp114 .addImm(LPAC::makePreOp(LPAC::ADD)) in emitPrologue()
191 .addImm(LPAC::ADD); in emitEpilogue()
H A DLanaiAsmPrinter.cpp170 .addImm(LPAC::makePreOp(LPAC::ADD)), in emitCallInstruction()
H A DLanaiAluCode.h20 namespace LPAC {
H A DLanaiRegisterInfo.cpp210 assert((MI.getOperand(3).getImm() == LPAC::ADD) && in eliminateFrameIndex()
212 MI.getOperand(3).setImm(LPAC::SUB); in eliminateFrameIndex()
H A DLanaiInstrInfo.cpp66 .addImm(LPAC::ADD); in storeRegToStackSlot()
85 .addImm(LPAC::ADD); in loadRegFromStackSlot()
761 !(LdSt.getOperand(3).isImm() && LdSt.getOperand(3).getImm() == LPAC::ADD)) in getMemOperandWithOffsetWidth()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCCodeEmitter.cpp145 if (!LPAC::isPostOp(AluCode) && in adjustPqBits()
196 assert((LPAC::getAluOp(AluOp.getImm()) == LPAC::ADD) && in getRiMemoryOpValue()
206 if (LPAC::isPreOp(AluOp.getImm())) in getRiMemoryOpValue()
235 if (LPAC::isPreOp(AluOp)) in getRrMemoryOpValue()
237 if (LPAC::isPostOp(AluOp)) in getRrMemoryOpValue()
240 switch (LPAC::getAluOp(AluOp)) { in getRrMemoryOpValue()
241 case LPAC::SHL: in getRrMemoryOpValue()
242 case LPAC::SRL: in getRrMemoryOpValue()
245 case LPAC::SRA: in getRrMemoryOpValue()
267 assert((LPAC::getAluOp(AluOp.getImm()) == LPAC::ADD) && in getSplsOpValue()
[all …]
H A DLanaiInstPrinter.cpp50 return LPAC::encodeLanaiAluCode(AluCode) == LPAC::ADD && in usesGivenOffset()
57 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPreIncrementForm()
62 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPostIncrementForm()
217 if (LPAC::isPreOp(AluCode)) in printMemoryBaseRegister()
220 if (LPAC::isPostOp(AluCode)) in printMemoryBaseRegister()
263 if (LPAC::isPreOp(AluCode)) in printMemRrOperand()
266 if (LPAC::isPostOp(AluCode)) in printMemRrOperand()
268 OS << " " << LPAC::lanaiAluCodeToString(AluCode) << " "; in printMemRrOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/Disassembler/
H A DLanaiDisassembler.cpp91 unsigned AluOp = LPAC::ADD; in PostOperandDecodeAdjust()
119 AluOp = LPAC::makePostOp(AluOp); in PostOperandDecodeAdjust()
124 AluOp = LPAC::makePreOp(AluOp); in PostOperandDecodeAdjust()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp615 Op->Mem.AluOp = LPAC::ADD; in MorphToMemImm()
818 return LPAC::makePreOp(AluCode); in AluWithPrePost()
820 return LPAC::makePostOp(AluCode); in AluWithPrePost()
827 unsigned AluCode = LPAC::stringToLanaiAluCode(IdString); in parseAluOperator()
828 if (AluCode == LPAC::UNKNOWN) { in parseAluOperator()
904 unsigned AluOp = LPAC::ADD; in parseMemoryOperand()
948 Lanai::R0, std::move(Op), LPAC::ADD)); in parseMemoryOperand()
1140 Modifies = LPAC::modifiesOp(ConstExpr->getValue()); in IsMemoryAssignmentError()