Home
last modified time | relevance | path

Searched refs:ImmOffset (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp106 int ImmOffset = 0) const;
280 SmallVectorImpl<MCFixup> &Fixups, int ImmOffset) const { in EmitImmediate()
288 EmitConstant(DispOp.getImm()+ImmOffset, Size, CurByte, OS); in EmitImmediate()
302 assert(ImmOffset == 0); in EmitImmediate()
312 ImmOffset = CurByte; in EmitImmediate()
333 ImmOffset -= 4; in EmitImmediate()
335 ImmOffset -= 2; in EmitImmediate()
337 ImmOffset -= 1; in EmitImmediate()
339 if (ImmOffset) in EmitImmediate()
340 Expr = MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(ImmOffset, Ctx), in EmitImmediate()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp103 SDValue &SOffset, SDValue &ImmOffset) const;
113 SDValue &ImmOffset) const;
115 SDValue &ImmOffset) const;
117 SDValue &ImmOffset, SDValue &VOffset) const;
908 SDValue &ImmOffset) const { in SelectMUBUFScratch()
926 ImmOffset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16); in SelectMUBUFScratch()
933 ImmOffset = CurDAG->getTargetConstant(0, DL, MVT::i16); in SelectMUBUFScratch()
982 SDValue &ImmOffset) const { in SelectMUBUFConstant()
1012 ImmOffset = CurDAG->getTargetConstant(Imm, DL, MVT::i16); in SelectMUBUFConstant()
1026 SDValue &ImmOffset) const { in SelectMUBUFIntrinsicOffset()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp91 SmallVectorImpl<MCFixup> &Fixups, int ImmOffset = 0) const;
295 int ImmOffset) const { in emitImmediate()
302 emitConstant(DispOp.getImm() + ImmOffset, Size, CurByte, OS); in emitImmediate()
315 assert(ImmOffset == 0); in emitImmediate()
325 ImmOffset = CurByte; in emitImmediate()
347 ImmOffset -= 4; in emitImmediate()
355 ImmOffset -= 2; in emitImmediate()
357 ImmOffset -= 1; in emitImmediate()
359 if (ImmOffset) in emitImmediate()
360 Expr = MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(ImmOffset, Ctx), in emitImmediate()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp923 unsigned ImmOffset = TotalConstOffset; in splitBufferOffsets() local
932 unsigned Overflow = ImmOffset & ~MaxImm; in splitBufferOffsets()
933 ImmOffset -= Overflow; in splitBufferOffsets()
935 Overflow += ImmOffset; in splitBufferOffsets()
936 ImmOffset = 0; in splitBufferOffsets()
968 return std::make_tuple(BaseReg, ImmOffset, TotalConstOffset); in splitBufferOffsets()
990 unsigned ImmOffset; in selectStoreIntrinsic() local
993 std::tie(VOffset, ImmOffset, TotalOffset) = splitBufferOffsets(B, VOffset); in selectStoreIntrinsic()
1012 .addImm(ImmOffset) in selectStoreIntrinsic()
DAMDGPURegisterBankInfo.cpp1301 unsigned ImmOffset; in splitBufferOffsets() local
1304 std::tie(BaseReg, ImmOffset) = getBaseWithConstantOffset(*B.getMRI(), in splitBufferOffsets()
1308 if (ImmOffset != 0) { in splitBufferOffsets()
1316 unsigned Overflow = ImmOffset & ~MaxImm; in splitBufferOffsets()
1317 ImmOffset -= Overflow; in splitBufferOffsets()
1319 Overflow += ImmOffset; in splitBufferOffsets()
1320 ImmOffset = 0; in splitBufferOffsets()
1323 C1 = ImmOffset; in splitBufferOffsets()
1384 unsigned ImmOffset; in selectStoreIntrinsic() local
1385 std::tie(VOffset, ImmOffset) = splitBufferOffsets(B, VOffset); in selectStoreIntrinsic()
[all …]
DAMDGPUISelDAGToDAG.cpp221 SDValue &SOffset, SDValue &ImmOffset) const;
1500 SDValue &ImmOffset) const { in SelectMUBUFScratchOffen()
1523 ImmOffset = CurDAG->getTargetConstant(Imm & 4095, DL, MVT::i16); in SelectMUBUFScratchOffen()
1553 ImmOffset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16); in SelectMUBUFScratchOffen()
1560 ImmOffset = CurDAG->getTargetConstant(0, DL, MVT::i16); in SelectMUBUFScratchOffen()
2286 int ImmOffset = 0; in SelectDS_GWS() local
2302 ImmOffset = ConstOffset->getZExtValue(); in SelectDS_GWS()
2305 ImmOffset = BaseOffset.getConstantOperandVal(1); in SelectDS_GWS()
2324 SDValue OffsetField = CurDAG->getTargetConstant(ImmOffset, SL, MVT::i32); in SelectDS_GWS()
DSIISelLowering.cpp7150 unsigned ImmOffset = C1->getZExtValue(); in splitBufferOffsets() local
7158 unsigned Overflow = ImmOffset & ~MaxImm; in splitBufferOffsets()
7159 ImmOffset -= Overflow; in splitBufferOffsets()
7161 Overflow += ImmOffset; in splitBufferOffsets()
7162 ImmOffset = 0; in splitBufferOffsets()
7164 C1 = cast<ConstantSDNode>(DAG.getTargetConstant(ImmOffset, DL, MVT::i32)); in splitBufferOffsets()
7191 uint32_t SOffset, ImmOffset; in setBufferOffsets() local
7192 if (AMDGPU::splitMUBUFOffset(Imm, SOffset, ImmOffset, Subtarget, Align)) { in setBufferOffsets()
7195 Offsets[2] = DAG.getTargetConstant(ImmOffset, DL, MVT::i32); in setBufferOffsets()
7196 return SOffset + ImmOffset; in setBufferOffsets()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceInstMIPS32.h130 Operand *ImmOffset, AddrMode Mode = Offset) {
132 OperandMIPS32Mem(Func, Ty, Base, ImmOffset, Mode);
136 Operand *getOffset() const { return ImmOffset; } in getOffset()
171 OperandMIPS32Mem(Cfg *Func, Type Ty, Variable *Base, Operand *ImmOffset,
175 Operand *const ImmOffset; variable
DIceInstMIPS32.cpp47 Operand *ImmOffset, AddrMode Mode) in OperandMIPS32Mem() argument
48 : OperandMIPS32(kMem, Ty), Base(Base), ImmOffset(ImmOffset), Mode(Mode) { in OperandMIPS32Mem()
DIceInstARM32.h106 ConstantInteger32 *ImmOffset,
109 OperandARM32Mem(Func, Ty, Base, ImmOffset, Mode);
120 ConstantInteger32 *getOffset() const { return ImmOffset; } in getOffset()
152 ConstantInteger32 *ImmOffset, AddrMode Mode);
157 ConstantInteger32 *ImmOffset; variable
DIceInstARM32.cpp321 ConstantInteger32 *ImmOffset, AddrMode Mode) in OperandARM32Mem() argument
322 : OperandARM32(kMem, Ty), Base(Base), ImmOffset(ImmOffset), Index(nullptr), in OperandARM32Mem()
333 : OperandARM32(kMem, Ty), Base(Base), ImmOffset(0), Index(Index), in OperandARM32Mem()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h660 bool splitMUBUFOffset(uint32_t Imm, uint32_t &SOffset, uint32_t &ImmOffset,
DAMDGPUBaseInfo.cpp1269 bool splitMUBUFOffset(uint32_t Imm, uint32_t &SOffset, uint32_t &ImmOffset, in splitMUBUFOffset() argument
1303 ImmOffset = Imm; in splitMUBUFOffset()