| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 141 if (auto ConstOffset = dyn_cast<ConstantInt>(V)) { in accumulateConstantOffset() local 142 if (ConstOffset->isZero()) in accumulateConstantOffset() 150 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset() 159 if (!AccumulateOffset(ConstOffset->getValue(), in accumulateConstantOffset() 200 if (auto ConstOffset = dyn_cast<ConstantInt>(V)) { in collectOffset() local 201 if (ConstOffset->isZero()) in collectOffset() 212 unsigned ElementIdx = ConstOffset->getZExtValue(); in collectOffset() 219 CollectConstantOffset(ConstOffset->getValue(), in collectOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 900 auto [Stride, ConstOffset] = getStrideAndModOffsetOfGEP(PtrOp, DL); in foldPatternedLoads() 907 ConstOffset = APInt(BW, 0); in foldPatternedLoads() 911 Constant *Ca = ConstantFoldLoadFromConst(C, LoadTy, ConstOffset, DL); in foldPatternedLoads() 916 for (; ConstOffset.getZExtValue() <= E; ConstOffset += Stride) in foldPatternedLoads() 917 if (Ca != ConstantFoldLoadFromConst(C, LoadTy, ConstOffset, DL)) in foldPatternedLoads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 4353 int64_t ConstOffset; in selectFlatOffsetImpl() local 4403 int64_t ConstOffset; in selectGlobalSAddr() local 4410 if (ConstOffset != 0) { in selectGlobalSAddr() 4514 int64_t ConstOffset; in selectScratchSAddr() local 4525 ImmOffset = ConstOffset; in selectScratchSAddr() 4591 int64_t ConstOffset; in selectScratchSVAddr() local 4599 if (ConstOffset != 0 && in selectScratchSVAddr() 4602 ImmOffset = ConstOffset; in selectScratchSVAddr() 4689 int64_t ConstOffset; in selectMUBUFScratchOffen() local 4691 if (ConstOffset != 0) { in selectMUBUFScratchOffen() [all …]
|
| H A D | AMDGPUPromoteAlloca.cpp | 306 APInt ConstOffset(BW, 0); in GEPToVectorIndex() local 308 !GEP->collectOffset(DL, BW, VarOffsets, ConstOffset)) in GEPToVectorIndex() 319 if (!ConstOffset.isZero() || VarOffset.second != VecElemSize) in GEPToVectorIndex() 326 APInt::udivrem(ConstOffset, VecElemSize, Quot, Rem); in GEPToVectorIndex()
|
| H A D | AMDGPURegisterBankInfo.cpp | 2815 unsigned ConstOffset; in applyMappingImpl() local 2816 std::tie(BaseIdxReg, ConstOffset) = in applyMappingImpl() 2824 ConstOffset > 0 && in applyMappingImpl() 2855 reinsertVectorIndexAdd(B, MI, 2, ConstOffset); in applyMappingImpl() 2918 reinsertVectorIndexAdd(B, *IdxLo, 1, ConstOffset); in applyMappingImpl() 2946 unsigned ConstOffset; in applyMappingImpl() local 2947 std::tie(BaseIdxReg, ConstOffset) = in applyMappingImpl() 2955 ConstOffset > 0 && in applyMappingImpl() 2956 ConstOffset < VecTy.getNumElements(); in applyMappingImpl() 2968 reinsertVectorIndexAdd(B, MI, 3, ConstOffset); in applyMappingImpl() [all …]
|
| H A D | AMDGPUISelDAGToDAG.cpp | 2572 if (ConstantSDNode *ConstOffset = dyn_cast<ConstantSDNode>(BaseOffset)) { in SelectDS_GWS() local 2578 ImmOffset = ConstOffset->getZExtValue(); in SelectDS_GWS()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.cpp | 443 auto ConstOffset = buildConstant(OffsetTy, Offset); in buildLoadFromOffset() local 444 auto Ptr = buildPtrAdd(PtrTy, BasePtr, ConstOffset); in buildLoadFromOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVSymbolicOperands.td | 947 defm ConstOffset : ImageOperandOperand<0x8, []>;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 1579 for (const auto &ConstOffset : AssumedSet) { in collectConstantsForGEP() local 1581 CopyPerOffset.addToAll(ConstOffset.getSExtValue() * in collectConstantsForGEP()
|