Home
last modified time | relevance | path

Searched refs:OffsetOp (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/InstPrinter/
DLanaiInstPrinter.cpp224 const MCOperand &OffsetOp, in printMemoryImmediateOffset() argument
226 assert((OffsetOp.isImm() || OffsetOp.isExpr()) && "Immediate expected"); in printMemoryImmediateOffset()
227 if (OffsetOp.isImm()) { in printMemoryImmediateOffset()
228 assert(isInt<SizeInBits>(OffsetOp.getImm()) && "Constant value truncated"); in printMemoryImmediateOffset()
229 OS << OffsetOp.getImm(); in printMemoryImmediateOffset()
231 OffsetOp.getExpr()->print(OS, &MAI); in printMemoryImmediateOffset()
238 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemRiOperand() local
243 printMemoryImmediateOffset<16>(MAI, OffsetOp, OS); in printMemRiOperand()
253 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemRrOperand() local
256 assert(OffsetOp.isReg() && RegOp.isReg() && "Registers expected."); in printMemRrOperand()
[all …]
/external/llvm/lib/Target/Lanai/InstPrinter/
DLanaiInstPrinter.cpp224 const MCOperand &OffsetOp, in printMemoryImmediateOffset() argument
226 assert((OffsetOp.isImm() || OffsetOp.isExpr()) && "Immediate expected"); in printMemoryImmediateOffset()
227 if (OffsetOp.isImm()) { in printMemoryImmediateOffset()
228 assert(isInt<SizeInBits>(OffsetOp.getImm()) && "Constant value truncated"); in printMemoryImmediateOffset()
229 OS << OffsetOp.getImm(); in printMemoryImmediateOffset()
231 OffsetOp.getExpr()->print(OS, &MAI); in printMemoryImmediateOffset()
238 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemRiOperand() local
243 printMemoryImmediateOffset<16>(MAI, OffsetOp, OS); in printMemRiOperand()
253 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemRrOperand() local
256 assert(OffsetOp.isReg() && RegOp.isReg() && "Registers expected."); in printMemRrOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/InstPrinter/
DAVRInstPrinter.cpp150 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemri() local
156 if (OffsetOp.isImm()) { in printMemri()
157 int64_t Offset = OffsetOp.getImm(); in printMemri()
163 } else if (OffsetOp.isExpr()) { in printMemri()
164 O << *OffsetOp.getExpr(); in printMemri()
/external/llvm/lib/Target/BPF/InstPrinter/
DBPFInstPrinter.cpp69 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemOperand() local
71 if (OffsetOp.isImm()) in printMemOperand()
72 O << formatDec(OffsetOp.getImm()); in printMemOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCCodeEmitter.cpp138 auto OffsetOp = MI.getOperand(OpNo + 1); in encodeMemri() local
157 if (OffsetOp.isImm()) { in encodeMemri()
158 OffsetBits = OffsetOp.getImm(); in encodeMemri()
159 } else if (OffsetOp.isExpr()) { in encodeMemri()
161 Fixups.push_back(MCFixup::create(0, OffsetOp.getExpr(), in encodeMemri()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/InstPrinter/
DBPFInstPrinter.cpp68 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemOperand() local
75 if (OffsetOp.isImm()) { in printMemOperand()
76 auto Imm = OffsetOp.getImm(); in printMemOperand()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.cpp112 unsigned OffsetOp = MRI.createVirtualRegister(PtrRC); in eliminateFrameIndex() local
114 OffsetOp) in eliminateFrameIndex()
120 .addReg(OffsetOp); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.cpp118 unsigned OffsetOp = MRI.createVirtualRegister(PtrRC); in eliminateFrameIndex() local
120 OffsetOp) in eliminateFrameIndex()
126 .addReg(OffsetOp); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonOptAddrMode.cpp162 const MachineOperand &OffsetOp = MI.getOperand(3); in canRemoveAddasl() local
163 if (!OffsetOp.isImm() || OffsetOp.getImm() > 3) in canRemoveAddasl()
369 MachineOperand OffsetOp = MID.mayLoad() ? MI->getOperand(2) in processAddUses() local
371 if (!OffsetOp.isImm()) in processAddUses()
374 int64_t newOffset = OffsetOp.getImm() + AddMI->getOperand(2).getImm(); in processAddUses()
420 MachineOperand &OffsetOp = MID.mayLoad() ? UseMI->getOperand(2) in updateAddUses() local
425 OffsetOp.setImm(ImmOp.getImm() + OffsetOp.getImm()); in updateAddUses()
DHexagonInstrInfo.cpp1879 const MachineOperand &OffsetOp = MI.getOperand(OffsetPos); in getIncrementValue() local
1880 if (OffsetOp.isImm()) { in getIncrementValue()
1881 Value = OffsetOp.getImm(); in getIncrementValue()
3121 const MachineOperand &OffsetOp = MI.getOperand(OffsetPos); in getBaseAndOffset() local
3122 if (!OffsetOp.isImm()) in getBaseAndOffset()
3124 Offset = OffsetOp.getImm(); in getBaseAndOffset()
/external/llvm/lib/Target/Hexagon/
DHexagonOptAddrMode.cpp143 const MachineOperand &OffsetOp = MI->getOperand(3); in canRemoveAddasl() local
144 if (!OffsetOp.isImm() || OffsetOp.getImm() > 3) in canRemoveAddasl()
DHexagonInstrInfoV4.td1066 class T_StoreImm <string mnemonic, Operand OffsetOp, bits<2> MajOp >
1067 : STInst <(outs ), (ins IntRegs:$Rs, OffsetOp:$offset, s8Ext:$S8),
1076 string OffsetOpStr = !cast<string>(OffsetOp);
1093 class T_StoreImm_pred <string mnemonic, Operand OffsetOp, bits<2> MajOp,
1096 (ins PredRegs:$Pv, IntRegs:$Rs, OffsetOp:$offset, s6Ext:$S6),
1107 string OffsetOpStr = !cast<string>(OffsetOp);
1135 multiclass ST_Imm_Pred <string mnemonic, Operand OffsetOp, bits<2> MajOp,
1137 def _io : T_StoreImm_pred <mnemonic, OffsetOp, MajOp, PredNot, 0>;
1139 def new_io : T_StoreImm_pred <mnemonic, OffsetOp, MajOp, PredNot, 1>;
1142 multiclass ST_Imm <string mnemonic, string CextOp, Operand OffsetOp,
[all …]
/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp329 MachineOperand *OffsetOp = TII->getNamedOperand(MI, AMDGPU::OpName::offset); in resolveFrameIndex() local
330 int64_t NewOffset = OffsetOp->getImm() + Offset; in resolveFrameIndex()
334 OffsetOp->setImm(NewOffset); in resolveFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp364 MachineOperand *OffsetOp = TII->getNamedOperand(MI, AMDGPU::OpName::offset); in resolveFrameIndex() local
365 int64_t NewOffset = OffsetOp->getImm() + Offset; in resolveFrameIndex()
369 OffsetOp->setImm(NewOffset); in resolveFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp915 const MachineOperand &OffsetOp = Pop->getOperand(Pop->getNumOperands() - 1); in emitEpilogue() local
917 if (OffsetOp.getImm() == 0) { in emitEpilogue()
DAArch64ISelDAGToDAG.cpp1165 ConstantSDNode *OffsetOp = cast<ConstantSDNode>(LD->getOffset()); in tryIndexedLoad() local
1166 int OffsetVal = (int)OffsetOp->getZExtValue(); in tryIndexedLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp3574 const MCOperand &OffsetOp = Inst.getOperand(2); in expandMemInst() local
3596 if (OffsetOp.isImm()) { in expandMemInst()
3597 int64_t LoOffset = OffsetOp.getImm() & 0xffff; in expandMemInst()
3598 int64_t HiOffset = OffsetOp.getImm() & ~0xffff; in expandMemInst()
3619 assert(OffsetOp.isExpr() && "expected expression operand kind"); in expandMemInst()
3620 const MCExpr *ExprOffset = OffsetOp.getExpr(); in expandMemInst()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX86BaseImpl.h5891 Constant *OffsetOp = nullptr;
5893 OffsetOp = Ctx->getConstantInt32(NewAddr.Offset);
5895 OffsetOp =
5906 return X86OperandMem::create(Func, MemType, NewAddr.Base, OffsetOp,
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1108 ConstantSDNode *OffsetOp = cast<ConstantSDNode>(LD->getOffset()); in tryIndexedLoad() local
1109 int OffsetVal = (int)OffsetOp->getZExtValue(); in tryIndexedLoad()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4126 static MachinePointerInfo InferPointerInfo(SDValue Ptr, SDValue OffsetOp) { in InferPointerInfo() argument
4128 if (ConstantSDNode *OffsetNode = dyn_cast<ConstantSDNode>(OffsetOp)) in InferPointerInfo()
4130 if (OffsetOp.getOpcode() == ISD::UNDEF) in InferPointerInfo()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp5043 SDValue OffsetOp) { in InferPointerInfo() argument
5045 if (ConstantSDNode *OffsetNode = dyn_cast<ConstantSDNode>(OffsetOp)) in InferPointerInfo()
5047 if (OffsetOp.isUndef()) in InferPointerInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6217 SDValue OffsetOp) { in InferPointerInfo() argument
6219 if (ConstantSDNode *OffsetNode = dyn_cast<ConstantSDNode>(OffsetOp)) in InferPointerInfo()
6221 if (OffsetOp.isUndef()) in InferPointerInfo()