Searched refs:AluOp (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Target/Lanai/ |
D | LanaiAluCode.h | 49 inline static unsigned encodeLanaiAluCode(unsigned AluOp) { in encodeLanaiAluCode() argument 51 return AluOp & OP_ENCODING_MASK; in encodeLanaiAluCode() 54 inline static unsigned getAluOp(unsigned AluOp) { in getAluOp() argument 56 return AluOp & ALU_MASK; in getAluOp() 59 inline static bool isPreOp(unsigned AluOp) { return AluOp & Lanai_PRE_OP; } in isPreOp() argument 61 inline static bool isPostOp(unsigned AluOp) { return AluOp & Lanai_POST_OP; } in isPostOp() argument 63 inline static unsigned makePreOp(unsigned AluOp) { in makePreOp() argument 64 assert(!isPostOp(AluOp) && "Operator can't be a post- and pre-op"); in makePreOp() 65 return AluOp | Lanai_PRE_OP; in makePreOp() 68 inline static unsigned makePostOp(unsigned AluOp) { in makePostOp() argument [all …]
|
D | LanaiISelDAGToDAG.cpp | 79 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, in selectAddrRiSpls() argument 134 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls() 147 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls() 159 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls() 171 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls() 198 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls() [all …]
|
D | LanaiInstrInfo.td | 177 def AluOp : Operand<i32> { 195 let MIOperandInfo = (ops GPR:$base, i32lo16s:$offset, AluOp:$Opcode); 207 let MIOperandInfo = (ops GPR:$Op1, GPR:$Op2, AluOp:$Opcode); 229 let MIOperandInfo = (ops GPR:$base, imm10:$offset, AluOp:$Opcode);
|
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCCodeEmitter.cpp | 140 const MCOperand AluOp = Inst.getOperand(3); in adjustPqBits() local 141 unsigned AluCode = AluOp.getImm(); in adjustPqBits() 194 const MCOperand AluOp = Inst.getOperand(OpNo + 2); in getRiMemoryOpValue() local 199 assert((LPAC::getAluOp(AluOp.getImm()) == LPAC::ADD) && in getRiMemoryOpValue() 209 if (LPAC::isPreOp(AluOp.getImm())) in getRiMemoryOpValue() 211 if (LPAC::isPostOp(AluOp.getImm())) in getRiMemoryOpValue() 235 unsigned AluOp = AluMCOp.getImm(); in getRrMemoryOpValue() local 236 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5; in getRrMemoryOpValue() 238 if (LPAC::isPreOp(AluOp)) in getRrMemoryOpValue() 240 if (LPAC::isPostOp(AluOp)) in getRrMemoryOpValue() [all …]
|
/external/llvm/lib/Target/Lanai/Disassembler/ |
D | LanaiDisassembler.cpp | 90 unsigned AluOp = LPAC::ADD; in PostOperandDecodeAdjust() local 100 AluOp = (Insn >> 8) & 0x7; in PostOperandDecodeAdjust() 101 if (AluOp == 7) in PostOperandDecodeAdjust() 104 AluOp |= 0x20 | (((Insn >> 3) & 0xf) << 1); in PostOperandDecodeAdjust() 118 AluOp = LPAC::makePostOp(AluOp); in PostOperandDecodeAdjust() 123 AluOp = LPAC::makePreOp(AluOp); in PostOperandDecodeAdjust() 126 Instr.addOperand(MCOperand::createImm(AluOp)); in PostOperandDecodeAdjust()
|
/external/llvm/lib/Target/Lanai/InstPrinter/ |
D | LanaiInstPrinter.cpp | 239 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemRiOperand() local 240 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand() 254 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemRrOperand() local 255 const unsigned AluCode = AluOp.getImm(); in printMemRrOperand() 275 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemSplsOperand() local 276 const unsigned AluCode = AluOp.getImm(); in printMemSplsOperand()
|
/external/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 116 unsigned AluOp; member 171 return Mem.AluOp; in getMemOp() 599 Op->Mem.AluOp = LPAC::ADD; in MorphToMemImm() 607 unsigned AluOp) { in MorphToMemRegReg() 611 Op->Mem.AluOp = AluOp; in MorphToMemRegReg() 619 unsigned AluOp) { in MorphToMemRegImm() 623 Op->Mem.AluOp = AluOp; in MorphToMemRegImm() 863 unsigned AluOp = LPAC::ADD; in parseMemoryOperand() local 943 AluOp = parseAluOperator(PreOp, PostOp); in parseMemoryOperand() 956 AluOp = AluWithPrePost(AluOp, PreOp, PostOp); in parseMemoryOperand() [all …]
|