Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiMemAluCombiner.cpp201 LPAC::AluCode mergedAluCode(unsigned AluOpcode) {
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 in mergedAluCode()
[all...]
H A DLanaiISelDAGToDAG.cpp139 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
152 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
164 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
176 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
203 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls()
218 namespace LPAC { namespace
261 LPAC::AluCode AluCode = LPAC::isdToLanaiAluCode(AluOperator); in selectAddrRr()
262 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 DLanaiRegisterInfo.cpp210 assert((MI.getOperand(3).getImm() == LPAC::ADD) && in eliminateFrameIndex()
212 MI.getOperand(3).setImm(LPAC::SUB); in eliminateFrameIndex()
H A DLanaiAluCode.h20 namespace LPAC {
116 } // namespace LPAC in stringToLanaiAluCode()
H A DLanaiInstrInfo.cpp66 .addImm(LPAC::ADD); in storeRegToStackSlot()
85 .addImm(LPAC::ADD); in loadRegFromStackSlot()
762 !(LdSt.getOperand(3).isImm() && LdSt.getOperand(3).getImm() == LPAC::ADD)) in getMemOperandWithOffsetWidth()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCCodeEmitter.cpp145 if (!LPAC::isPostOp(AluCode) && in adjustPqBits()
154 if (LPAC::modifiesOp(AluCode) && ((Op2.isImm() && Op2.getImm() != 0) || in adjustPqBits()
196 assert((LPAC::getAluOp(AluOp.getImm()) == LPAC::ADD) && in getRiMemoryOpValue()
206 if (LPAC::isPreOp(AluOp.getImm())) in getRiMemoryOpValue()
208 if (LPAC::isPostOp(AluOp.getImm())) in getRiMemoryOpValue()
233 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5; in getRrMemoryOpValue()
235 if (LPAC::isPreOp(AluOp)) in getRrMemoryOpValue()
237 if (LPAC::isPostOp(AluOp)) in getRrMemoryOpValue()
240 switch (LPAC in getRrMemoryOpValue()
[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/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/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()
1136 Modifies = LPAC::modifiesOp(ConstExpr->getValue()); in IsMemoryAssignmentError()