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

/external/llvm/lib/Target/Lanai/
H A DLanaiAluCode.h49 inline static unsigned encodeLanaiAluCode(unsigned AluOp) { argument
51 return AluOp & OP_ENCODING_MASK;
54 inline static unsigned getAluOp(unsigned AluOp) { argument
56 return AluOp & ALU_MASK;
59 inline static bool isPreOp(unsigned AluOp) { return AluOp & Lanai_PRE_OP; } argument
61 inline static bool isPostOp(unsigned AluOp) { return AluOp & Lanai_POST_OP; } argument
63 inline static unsigned makePreOp(unsigned AluOp) { argument
64 assert(!isPostOp(AluOp)
68 makePostOp(unsigned AluOp) argument
73 modifiesOp(unsigned AluOp) argument
77 lanaiAluCodeToString(unsigned AluOp) argument
[all...]
H A DLanaiISelDAGToDAG.cpp79 SDValue &AluOp);
80 bool selectAddrRr(SDValue Addr, SDValue &R1, SDValue &R2, SDValue &AluOp);
83 SDValue &AluOp);
92 SDValue &AluOp, bool RiMode);
123 SDValue &Offset, SDValue &AluOp,
134 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
147 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
159 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
171 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
198 AluOp
122 selectAddrRiSpls(SDValue Addr, SDValue &Base, SDValue &Offset, SDValue &AluOp, bool RiMode) argument
202 selectAddrRi(SDValue Addr, SDValue &Base, SDValue &Offset, SDValue &AluOp) argument
207 selectAddrSpls(SDValue Addr, SDValue &Base, SDValue &Offset, SDValue &AluOp) argument
212 selectAddrRr(SDValue Addr, SDValue &R1, SDValue &R2, SDValue &AluOp) argument
254 SDValue Op0, Op1, AluOp; local
[all...]
/external/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCCodeEmitter.cpp140 const MCOperand AluOp = Inst.getOperand(3); local
141 unsigned AluCode = AluOp.getImm();
194 const MCOperand AluOp = Inst.getOperand(OpNo + 2); local
199 assert((LPAC::getAluOp(AluOp.getImm()) == LPAC::ADD) &&
209 if (LPAC::isPreOp(AluOp.getImm()))
211 if (LPAC::isPostOp(AluOp.getImm()))
235 unsigned AluOp = AluMCOp.getImm(); local
236 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5;
238 if (LPAC::isPreOp(AluOp))
240 if (LPAC::isPostOp(AluOp))
265 const MCOperand AluOp = Inst.getOperand(OpNo + 2); local
[all...]
/external/llvm/lib/Target/Lanai/Disassembler/
H A DLanaiDisassembler.cpp90 unsigned AluOp = LPAC::ADD; local
100 AluOp = (Insn >> 8) & 0x7;
101 if (AluOp == 7)
104 AluOp |= 0x20 | (((Insn >> 3) & 0xf) << 1);
118 AluOp = LPAC::makePostOp(AluOp);
123 AluOp = LPAC::makePreOp(AluOp);
126 Instr.addOperand(MCOperand::createImm(AluOp));
/external/llvm/lib/Target/Lanai/InstPrinter/
H A DLanaiInstPrinter.cpp239 const MCOperand &AluOp = MI->getOperand(OpNo + 2); local
240 const unsigned AluCode = AluOp.getImm();
254 const MCOperand &AluOp = MI->getOperand(OpNo + 2); local
255 const unsigned AluCode = AluOp.getImm();
275 const MCOperand &AluOp = MI->getOperand(OpNo + 2); local
276 const unsigned AluCode = AluOp.getImm();
/external/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp116 unsigned AluOp; member in struct:llvm::__anon14393::LanaiOperand::MemOp
171 return Mem.AluOp;
599 Op->Mem.AluOp = LPAC::ADD;
607 unsigned AluOp) {
611 Op->Mem.AluOp = AluOp;
619 unsigned AluOp) {
623 Op->Mem.AluOp = AluOp;
863 unsigned AluOp local
606 MorphToMemRegReg(unsigned BaseReg, std::unique_ptr<LanaiOperand> Op, unsigned AluOp) argument
618 MorphToMemRegImm(unsigned BaseReg, std::unique_ptr<LanaiOperand> Op, unsigned AluOp) argument
[all...]

Completed in 103 milliseconds