Searched refs:AluOp (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiAluCode.h48 inline static unsigned encodeLanaiAluCode(unsigned AluOp) { argument
50 return AluOp & OP_ENCODING_MASK;
53 inline static unsigned getAluOp(unsigned AluOp) { argument
55 return AluOp & ALU_MASK;
58 inline static bool isPreOp(unsigned AluOp) { return AluOp & Lanai_PRE_OP; } argument
60 inline static bool isPostOp(unsigned AluOp) { return AluOp & Lanai_POST_OP; } argument
62 inline static unsigned makePreOp(unsigned AluOp) { argument
63 assert(!isPostOp(AluOp)
67 makePostOp(unsigned AluOp) argument
72 modifiesOp(unsigned AluOp) argument
76 lanaiAluCodeToString(unsigned AluOp) argument
[all...]
H A DLanaiISelDAGToDAG.cpp78 SDValue &AluOp);
79 bool selectAddrRr(SDValue Addr, SDValue &R1, SDValue &R2, SDValue &AluOp);
82 SDValue &AluOp);
91 SDValue &AluOp, bool RiMode);
122 SDValue &Offset, SDValue &AluOp,
133 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
146 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
158 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
170 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
197 AluOp
121 selectAddrRiSpls(SDValue Addr, SDValue &Base, SDValue &Offset, SDValue &AluOp, bool RiMode) argument
201 selectAddrRi(SDValue Addr, SDValue &Base, SDValue &Offset, SDValue &AluOp) argument
206 selectAddrSpls(SDValue Addr, SDValue &Base, SDValue &Offset, SDValue &AluOp) argument
211 selectAddrRr(SDValue Addr, SDValue &R1, SDValue &R2, SDValue &AluOp) argument
253 SDValue Op0, Op1, AluOp; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCCodeEmitter.cpp137 const MCOperand AluOp = Inst.getOperand(3); local
138 unsigned AluCode = AluOp.getImm();
191 const MCOperand AluOp = Inst.getOperand(OpNo + 2); local
196 assert((LPAC::getAluOp(AluOp.getImm()) == LPAC::ADD) &&
206 if (LPAC::isPreOp(AluOp.getImm()))
208 if (LPAC::isPostOp(AluOp.getImm()))
232 unsigned AluOp = AluMCOp.getImm(); local
233 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5;
235 if (LPAC::isPreOp(AluOp))
237 if (LPAC::isPostOp(AluOp))
262 const MCOperand AluOp = Inst.getOperand(OpNo + 2); local
[all...]
H A DLanaiInstPrinter.cpp242 const MCOperand &AluOp = MI->getOperand(OpNo + 2); local
243 const unsigned AluCode = AluOp.getImm();
257 const MCOperand &AluOp = MI->getOperand(OpNo + 2); local
258 const unsigned AluCode = AluOp.getImm();
278 const MCOperand &AluOp = MI->getOperand(OpNo + 2); local
279 const unsigned AluCode = AluOp.getImm();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/Disassembler/
H A DLanaiDisassembler.cpp91 unsigned AluOp = LPAC::ADD; local
101 AluOp = (Insn >> 8) & 0x7;
102 if (AluOp == 7)
105 AluOp |= 0x20 | (((Insn >> 3) & 0xf) << 1);
119 AluOp = LPAC::makePostOp(AluOp);
124 AluOp = LPAC::makePreOp(AluOp);
127 Instr.addOperand(MCOperand::createImm(AluOp));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp131 unsigned AluOp; member in struct:__anon2281::LanaiOperand::MemOp
186 return Mem.AluOp;
615 Op->Mem.AluOp = LPAC::ADD;
623 unsigned AluOp) {
627 Op->Mem.AluOp = AluOp;
635 unsigned AluOp) {
639 Op->Mem.AluOp = AluOp;
886 unsigned AluOp local
622 MorphToMemRegReg(unsigned BaseReg, std::unique_ptr<LanaiOperand> Op, unsigned AluOp) argument
634 MorphToMemRegImm(unsigned BaseReg, std::unique_ptr<LanaiOperand> Op, unsigned AluOp) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp173 SDValue AluOp = CurDAG->getTargetConstant(ISD::ADD, DL, MVT::i32);; local
176 OutOps.push_back(AluOp);

Completed in 94 milliseconds