Home
last modified time | relevance | path

Searched refs:VariableOffsets (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DOperator.cpp178 MapVector<Value *, APInt> &VariableOffsets, in collectOffset() argument
228 VariableOffsets.insert({V, APInt(BitWidth, 0)}); in collectOffset()
229 VariableOffsets[V] += IndexedSize; in collectOffset()
H A DInstructions.cpp1954 MapVector<Value *, APInt> &VariableOffsets, in collectOffset() argument
1957 return cast<GEPOperator>(this)->collectOffset(DL, BitWidth, VariableOffsets, in collectOffset()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp253 MapVector<Value *, APInt> VariableOffsets; in decomposeGEP() local
255 if (!GEP.collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) in decomposeGEP()
261 if (VariableOffsets.empty() && InnerGEP && InnerGEP->getNumOperands() == 2) { in decomposeGEP()
283 for (auto [Index, Scale] : VariableOffsets) { in decomposeGEP()
H A DGVN.cpp417 MapVector<Value *, APInt> VariableOffsets; in createGEPExpr() local
420 GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) { in createGEPExpr()
427 for (const auto &Pair : VariableOffsets) { in createGEPExpr()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DOperator.h513 MapVector<Value *, APInt> &VariableOffsets,
H A DInstructions.h1143 MapVector<Value *, APInt> &VariableOffsets,
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLocal.cpp1929 MapVector<Value *, APInt> VariableOffsets; in getSalvageOpsForGEP() local
1931 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) in getSalvageOpsForGEP()
1933 if (!VariableOffsets.empty() && !CurrentLocOps) { in getSalvageOpsForGEP()
1937 for (auto Offset : VariableOffsets) { in getSalvageOpsForGEP()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp1442 MapVector<Value *, APInt> VariableOffsets; in collectConstantsForGEP() local
1449 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) { in collectConstantsForGEP()
1455 << (VariableOffsets.empty() ? "" : "not") << " constant " in collectConstantsForGEP()
1464 for (const auto &VI : VariableOffsets) { in collectConstantsForGEP()