Lines Matching refs:APInt
98 const DataLayout &DL, APInt &Offset, in accumulateConstantOffset()
99 function_ref<bool(Value &, APInt &)> ExternalAnalysis) const { in accumulateConstantOffset()
110 APInt &Offset, function_ref<bool(Value &, APInt &)> ExternalAnalysis) { in accumulateConstantOffset()
112 auto AccumulateOffset = [&](APInt Index, uint64_t Size) -> bool { in accumulateConstantOffset()
114 APInt IndexedSize = APInt(Offset.getBitWidth(), Size); in accumulateConstantOffset()
122 APInt OffsetPlus = Index.smul_ov(IndexedSize, Overflow); in accumulateConstantOffset()
154 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)), in accumulateConstantOffset()
169 APInt AnalysisIndex; in accumulateConstantOffset()
181 MapVector<Value *, APInt> &VariableOffsets, in collectOffset()
182 APInt &ConstantOffset) const { in collectOffset()
186 auto CollectConstantOffset = [&](APInt Index, uint64_t Size) { in collectOffset()
188 APInt IndexedSize = APInt(BitWidth, Size); in collectOffset()
215 CollectConstantOffset(APInt(BitWidth, SL->getElementOffset(ElementIdx)), in collectOffset()
226 APInt IndexedSize = APInt(BitWidth, GTI.getSequentialElementStride(DL)); in collectOffset()
230 auto *It = VariableOffsets.insert({V, APInt(BitWidth, 0)}).first; in collectOffset()