Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp405 MapVector<Value *, APInt> VarOffsets; in GEPToVectorIndex() local
408 !GEP->collectOffset(DL, BW, VarOffsets, ConstOffset)) in GEPToVectorIndex()
412 if (VarOffsets.size() > 1) in GEPToVectorIndex()
415 if (VarOffsets.size() == 1) { in GEPToVectorIndex()
418 const auto &VarOffset = VarOffsets.front(); in GEPToVectorIndex()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp849 MapVector<Value *, APInt> VarOffsets; in getStrideAndModOffsetOfGEP() local
850 if (!GEP->collectOffset(DL, BW, VarOffsets, ModOffset)) in getStrideAndModOffsetOfGEP()
853 for (auto [V, Scale] : VarOffsets) { in getStrideAndModOffsetOfGEP()