Searched refs:VariableOffsets (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpTableToSwitch.cpp | 59 MapVector<Value *, APInt> VariableOffsets; in parseJumpTable() local 61 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) in parseJumpTable() 63 if (VariableOffsets.size() != 1) in parseJumpTable() 68 APInt StrideBytes = VariableOffsets.front().second; in parseJumpTable() 77 JumpTable.Index = VariableOffsets.front().first; in parseJumpTable()
|
H A D | ConstraintElimination.cpp | 388 MapVector<Value *, APInt> VariableOffsets; member 406 if (!GEP.collectOffset(DL, BitWidth, Result.VariableOffsets, in collectOffsets() 418 if (!CanCollectInner || Result.VariableOffsets.size() > 1 || in collectOffsets() 420 (Result.VariableOffsets.size() >= 1 && VariableOffsets2.size() >= 1)) { in collectOffsets() 426 if (Result.VariableOffsets.size() == 0 && VariableOffsets2.size() == 1) in collectOffsets() 427 Result.VariableOffsets = VariableOffsets2; in collectOffsets() 452 const auto &[BasePtr, ConstantOffset, VariableOffsets, AllInbounds] = in decomposeGEP() 458 for (auto [Index, Scale] : VariableOffsets) { in decomposeGEP()
|
H A D | GVN.cpp | 425 MapVector<Value *, APInt> VariableOffsets; in createGEPExpr() local 427 if (GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) { in createGEPExpr() 434 for (const auto &Pair : VariableOffsets) { in createGEPExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Operator.cpp | 204 MapVector<Value *, APInt> &VariableOffsets, in collectOffset() argument 253 auto *It = VariableOffsets.insert({V, APInt(BitWidth, 0)}).first; in collectOffset()
|
H A D | Instructions.cpp | 1591 MapVector<Value *, APInt> &VariableOffsets, in collectOffset() argument 1594 return cast<GEPOperator>(this)->collectOffset(DL, BitWidth, VariableOffsets, in collectOffset()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Operator.h | 531 MapVector<Value *, APInt> &VariableOffsets,
|
H A D | Instructions.h | 1103 MapVector<Value *, APInt> &VariableOffsets,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 2395 MapVector<Value *, APInt> VariableOffsets; in getSalvageOpsForGEP() local 2397 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) in getSalvageOpsForGEP() 2399 if (!VariableOffsets.empty() && !CurrentLocOps) { in getSalvageOpsForGEP() 2403 for (const auto &Offset : VariableOffsets) { in getSalvageOpsForGEP()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | AttributorAttributes.cpp | 1537 MapVector<Value *, APInt> VariableOffsets; in collectConstantsForGEP() local 1544 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) { in collectConstantsForGEP() 1550 << (VariableOffsets.empty() ? "" : "not") << " constant " in collectConstantsForGEP() 1559 for (const auto &VI : VariableOffsets) { in collectConstantsForGEP()
|