Searched refs:ConstOffset (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Operator.cpp | 132 if (auto ConstOffset = dyn_cast<ConstantInt>(V)) { in accumulateConstantOffset() local 133 if (ConstOffset->isZero()) in accumulateConstantOffset() 141 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset() 150 if (!AccumulateOffset(ConstOffset->getValue(), in accumulateConstantOffset() 192 if (auto ConstOffset = dyn_cast<ConstantInt>(V)) { in collectOffset() local 193 if (ConstOffset->isZero()) in collectOffset() 204 unsigned ElementIdx = ConstOffset->getZExtValue(); in collectOffset() 211 CollectConstantOffset(ConstOffset->getValue(), in collectOffset()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 3969 int64_t ConstOffset; in selectFlatOffsetImpl() local 3972 if (ConstOffset == 0) in selectFlatOffsetImpl() 4017 int64_t ConstOffset; in selectGlobalSAddr() local 4024 if (ConstOffset != 0) { in selectGlobalSAddr() 4128 int64_t ConstOffset; in selectScratchSAddr() local 4135 if (ConstOffset != 0 && in selectScratchSAddr() 4139 ImmOffset = ConstOffset; in selectScratchSAddr() 4204 int64_t ConstOffset; in selectScratchSVAddr() local 4211 if (ConstOffset != 0 && in selectScratchSVAddr() 4292 int64_t ConstOffset; in selectMUBUFScratchOffen() local [all …]
|
| H A D | AMDGPUPromoteAlloca.cpp | 355 APInt ConstOffset(BW, 0); in GEPToVectorIndex() local 357 !GEP->collectOffset(DL, BW, VarOffsets, ConstOffset)) in GEPToVectorIndex() 368 if (!ConstOffset.isZero() || VarOffset.second != VecElemSize) in GEPToVectorIndex() 375 APInt::udivrem(ConstOffset, VecElemSize, Quot, Rem); in GEPToVectorIndex()
|
| H A D | AMDGPURegisterBankInfo.cpp | 2705 unsigned ConstOffset; in applyMappingImpl() local 2706 std::tie(BaseIdxReg, ConstOffset) = in applyMappingImpl() 2714 ConstOffset > 0 && in applyMappingImpl() 2745 reinsertVectorIndexAdd(B, MI, 2, ConstOffset); in applyMappingImpl() 2808 reinsertVectorIndexAdd(B, *IdxLo, 1, ConstOffset); in applyMappingImpl() 2836 unsigned ConstOffset; in applyMappingImpl() local 2837 std::tie(BaseIdxReg, ConstOffset) = in applyMappingImpl() 2845 ConstOffset > 0 && in applyMappingImpl() 2846 ConstOffset < VecTy.getNumElements(); in applyMappingImpl() 2859 reinsertVectorIndexAdd(B, MI, 3, ConstOffset); in applyMappingImpl() [all …]
|
| H A D | AMDGPUISelDAGToDAG.cpp | 2426 if (ConstantSDNode *ConstOffset = dyn_cast<ConstantSDNode>(BaseOffset)) { in SelectDS_GWS() local 2432 ImmOffset = ConstOffset->getZExtValue(); in SelectDS_GWS()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVImageOps.td | 47 | `"ConstOffset"` | `"Offser"` | `"ConstOffsets"`
|
| H A D | SPIRVBase.td | 3390 def SPV_IO_ConstOffset : I32BitEnumAttrCaseBit<"ConstOffset", 3>;
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVBaseInfo.h | 399 ConstOffset = 0x8, enumerator
|
| H A D | SPIRVBaseInfo.cpp | 463 if (e == static_cast<uint32_t>(ImageOperand::ConstOffset)) in getImageOperandName() 465 if (e & static_cast<uint32_t>(ImageOperand::ConstOffset)) { in getImageOperandName()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.cpp | 410 auto ConstOffset = buildConstant(OffsetTy, Offset); in buildLoadFromOffset() local 411 auto Ptr = buildPtrAdd(PtrTy, BasePtr, ConstOffset); in buildLoadFromOffset()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVOps.cpp | 406 spirv::ImageOperands::Grad | spirv::ImageOperands::ConstOffset | in verifyImageOperands()
|