Home
last modified time | relevance | path

Searched refs:AluOp (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiAluCode.h47 inline static unsigned encodeLanaiAluCode(unsigned AluOp) {
49 return AluOp & OP_ENCODING_MASK; in encodeLanaiAluCode()
52 inline static unsigned getAluOp(unsigned AluOp) {
54 return AluOp & ALU_MASK; in getAluOp()
57 inline static bool isPreOp(unsigned AluOp) { return AluOp & Lanai_PRE_OP; }
59 inline static bool isPostOp(unsigned AluOp) { return AluOp & Lanai_POST_OP; }
61 inline static unsigned makePreOp(unsigned AluOp) {
62 assert(!isPostOp(AluOp) argument
48 encodeLanaiAluCode(unsigned AluOp) encodeLanaiAluCode() argument
53 getAluOp(unsigned AluOp) getAluOp() argument
58 isPreOp(unsigned AluOp) isPreOp() argument
60 isPostOp(unsigned AluOp) isPostOp() argument
67 makePostOp(unsigned AluOp) makePostOp() argument
72 modifiesOp(unsigned AluOp) modifiesOp() argument
76 lanaiAluCodeToString(unsigned AluOp) lanaiAluCodeToString() argument
[all...]
H A DLanaiISelDAGToDAG.cpp73 SDValue &AluOp);
74 bool selectAddrRr(SDValue Addr, SDValue &R1, SDValue &R2, SDValue &AluOp);
77 SDValue &AluOp);
86 SDValue &AluOp, bool RiMode);
128 SDValue &Offset, SDValue &AluOp, in selectAddrRiSpls() argument
139 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()
[all …]
H A DLanaiInstrInfo.td174 def AluOp : Operand<i32> {
192 let MIOperandInfo = (ops GPR:$base, i32lo16s:$offset, AluOp:$Opcode);
204 let MIOperandInfo = (ops GPR:$Op1, GPR:$Op2, AluOp:$Opcode);
226 let MIOperandInfo = (ops GPR:$base, imm10:$offset, AluOp:$Opcode);
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCCodeEmitter.cpp138 const MCOperand AluOp = Inst.getOperand(3); in adjustPqBits() local
139 unsigned AluCode = AluOp.getImm(); in adjustPqBits()
191 const MCOperand AluOp = Inst.getOperand(OpNo + 2); in getRiMemoryOpValue() local
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()
232 unsigned AluOp = AluMCOp.getImm(); in getRrMemoryOpValue() local
233 Encoding |= LPAC::encodeLanaiAluCode(AluOp) << 5; in getRrMemoryOpValue()
235 if (LPAC::isPreOp(AluOp)) in getRrMemoryOpValue()
237 if (LPAC::isPostOp(AluOp)) in getRrMemoryOpValue()
262 const MCOperand AluOp = Inst.getOperand(OpNo + 2); getSplsOpValue() local
[all...]
H A DLanaiInstPrinter.cpp242 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemRiOperand() local
243 const unsigned AluCode = AluOp.getImm(); in printMemRiOperand()
257 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemRrOperand() local
258 const unsigned AluCode = AluOp.getImm(); in printMemRrOperand()
278 const MCOperand &AluOp = MI->getOperand(OpNo + 2); in printMemSplsOperand() local
279 const unsigned AluCode = AluOp.getImm(); in printMemSplsOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/Disassembler/
H A DLanaiDisassembler.cpp91 unsigned AluOp = LPAC::ADD; in PostOperandDecodeAdjust() local
101 AluOp = (Insn >> 8) & 0x7; in PostOperandDecodeAdjust()
102 if (AluOp == 7) in PostOperandDecodeAdjust()
105 AluOp |= 0x20 | (((Insn >> 3) & 0xf) << 1); in PostOperandDecodeAdjust()
119 AluOp = LPAC::makePostOp(AluOp); in PostOperandDecodeAdjust()
124 AluOp = LPAC::makePreOp(AluOp); in PostOperandDecodeAdjust()
127 Instr.addOperand(MCOperand::createImm(AluOp)); in PostOperandDecodeAdjust()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp131 unsigned AluOp; member
186 return Mem.AluOp; in getMemOp()
615 Op->Mem.AluOp = LPAC::ADD; in MorphToMemImm()
623 unsigned AluOp) { in MorphToMemRegReg()
627 Op->Mem.AluOp = AluOp; in MorphToMemRegReg()
635 unsigned AluOp) { in MorphToMemRegImm()
639 Op->Mem.AluOp = AluOp; in MorphToMemRegImm()
904 unsigned AluOp = LPAC::ADD; in parseMemoryOperand() local
979 AluOp = parseAluOperator(PreOp, PostOp); in parseMemoryOperand()
990 AluOp = AluWithPrePost(AluOp, PreOp, PostOp); in parseMemoryOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp180 SDValue AluOp = CurDAG->getTargetConstant(ISD::ADD, DL, MVT::i32); in SelectInlineAsmMemoryOperand() local
183 OutOps.push_back(AluOp); in SelectInlineAsmMemoryOperand()