| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpTableToSwitch.cpp | 59 SmallMapVector<Value *, APInt, 4> 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 | 398 SmallMapVector<Value *, APInt, 4> VariableOffsets; member 416 if (!GEP.collectOffset(DL, BitWidth, Result.VariableOffsets, in collectOffsets() 428 if (!CanCollectInner || Result.VariableOffsets.size() > 1 || in collectOffsets() 430 (Result.VariableOffsets.size() >= 1 && VariableOffsets2.size() >= 1)) { in collectOffsets() 436 if (Result.VariableOffsets.size() == 0 && VariableOffsets2.size() == 1) in collectOffsets() 437 Result.VariableOffsets = VariableOffsets2; in collectOffsets() 462 const auto &[BasePtr, ConstantOffset, VariableOffsets, NW] = in decomposeGEP() 470 for (auto [Index, Scale] : VariableOffsets) { in decomposeGEP()
|
| H A D | GVN.cpp | 432 SmallMapVector<Value *, APInt, 4> VariableOffsets; in createGEPExpr() local 434 if (GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) { in createGEPExpr() 441 for (const auto &[V, Scale] : VariableOffsets) { in createGEPExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILFlattenArrays.cpp | 47 SmallMapVector<Value *, APInt, 4> VariableOffsets; member 259 DL, BitWidth, Info.VariableOffsets, Info.ConstantOffset); in visitGetElementPtrInst() 271 for (auto &VariableOffset : PGEPInfo.VariableOffsets) in visitGetElementPtrInst() 272 Info.VariableOffsets.insert(VariableOffset); in visitGetElementPtrInst() 321 for (auto [VarIndex, Multiplier] : Info.VariableOffsets) { in visitGetElementPtrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 210 SmallMapVector<Value *, APInt, 4> &VariableOffsets, in collectOffset() argument 264 auto *It = VariableOffsets.insert({V, APInt(BitWidth, 0)}).first; in collectOffset()
|
| H A D | Instructions.cpp | 1658 SmallMapVector<Value *, APInt, 4> &VariableOffsets, in collectOffset() argument 1661 return cast<GEPOperator>(this)->collectOffset(DL, BitWidth, VariableOffsets, in collectOffset()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 551 SmallMapVector<Value *, APInt, 4> &VariableOffsets,
|
| H A D | Instructions.h | 1141 SmallMapVector<Value *, APInt, 4> &VariableOffsets,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2442 SmallMapVector<Value *, APInt, 4> VariableOffsets; in getSalvageOpsForGEP() local 2444 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) in getSalvageOpsForGEP() 2446 if (!VariableOffsets.empty() && !CurrentLocOps) { in getSalvageOpsForGEP() 2450 for (const auto &Offset : VariableOffsets) { in getSalvageOpsForGEP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 1538 SmallMapVector<Value *, APInt, 4> VariableOffsets; in collectConstantsForGEP() local 1545 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) { in collectConstantsForGEP() 1551 << (VariableOffsets.empty() ? "" : "not") << " constant " in collectConstantsForGEP() 1560 for (const auto &VI : VariableOffsets) { in collectConstantsForGEP()
|