Home
last modified time | relevance | path

Searched refs:ConstOffset (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp107 if (auto ConstOffset = dyn_cast<ConstantInt>(V)) { in accumulateConstantOffset() local
108 if (ConstOffset->isZero()) in accumulateConstantOffset()
116 unsigned ElementIdx = ConstOffset->getZExtValue(); in accumulateConstantOffset()
125 if (!AccumulateOffset(ConstOffset->getValue(), in accumulateConstantOffset()
167 if (auto ConstOffset = dyn_cast<ConstantInt>(V)) { in collectOffset() local
168 if (ConstOffset->isZero()) in collectOffset()
179 unsigned ElementIdx = ConstOffset->getZExtValue(); in collectOffset()
186 CollectConstantOffset(ConstOffset->getValue(), in collectOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp3498 int64_t ConstOffset; in selectFlatOffsetImpl() local
3501 if (ConstOffset == 0) in selectFlatOffsetImpl()
3564 int64_t ConstOffset; in selectGlobalSAddr() local
3571 if (ConstOffset != 0) { in selectGlobalSAddr()
3575 ImmOffset = ConstOffset; in selectGlobalSAddr()
3681 int64_t ConstOffset; in selectScratchSAddr() local
3688 if (ConstOffset != 0 && in selectScratchSAddr()
3692 ImmOffset = ConstOffset; in selectScratchSAddr()
3781 int64_t ConstOffset; in selectMUBUFScratchOffen() local
3783 if (ConstOffset != 0) { in selectMUBUFScratchOffen()
[all …]
H A DAMDGPURegisterBankInfo.cpp2689 unsigned ConstOffset; in applyMappingImpl() local
2690 std::tie(BaseIdxReg, ConstOffset) = in applyMappingImpl()
2698 ConstOffset > 0 && in applyMappingImpl()
2729 reinsertVectorIndexAdd(B, MI, 2, ConstOffset); in applyMappingImpl()
2792 reinsertVectorIndexAdd(B, *IdxLo, 1, ConstOffset); in applyMappingImpl()
2820 unsigned ConstOffset; in applyMappingImpl() local
2821 std::tie(BaseIdxReg, ConstOffset) = in applyMappingImpl()
2829 ConstOffset > 0 && in applyMappingImpl()
2830 ConstOffset < VecTy.getNumElements(); in applyMappingImpl()
2843 reinsertVectorIndexAdd(B, MI, 3, ConstOffset); in applyMappingImpl()
[all …]
H A DAMDGPUISelDAGToDAG.cpp2584 if (ConstantSDNode *ConstOffset = dyn_cast<ConstantSDNode>(BaseOffset)) { in SelectDS_GWS() local
2590 ImmOffset = ConstOffset->getZExtValue(); in SelectDS_GWS()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp382 auto ConstOffset = buildConstant(OffsetTy, Offset); in buildLoadFromOffset() local
383 auto Ptr = buildPtrAdd(PtrTy, BasePtr, ConstOffset); in buildLoadFromOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4305 auto ConstOffset = DAG.getConstant(OffsetVal, SDLoc(Index), MVT::i64); in selectGatherScatterAddrMode() local
4309 BasePtr = ConstOffset; in selectGatherScatterAddrMode()
4317 Index = ConstOffset; in selectGatherScatterAddrMode()