Home
last modified time | relevance | path

Searched refs:VarOffsets (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp305 MapVector<Value *, APInt> VarOffsets; in GEPToVectorIndex() local
308 !GEP->collectOffset(DL, BW, VarOffsets, ConstOffset)) in GEPToVectorIndex()
312 if (VarOffsets.size() > 1) in GEPToVectorIndex()
315 if (VarOffsets.size() == 1) { in GEPToVectorIndex()
318 const auto &VarOffset = VarOffsets.front(); in GEPToVectorIndex()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp846 MapVector<Value *, APInt> VarOffsets; in getStrideAndModOffsetOfGEP() local
847 if (!GEP->collectOffset(DL, BW, VarOffsets, ModOffset)) in getStrideAndModOffsetOfGEP()
850 for (auto [V, Scale] : VarOffsets) { in getStrideAndModOffsetOfGEP()