Lines Matching refs:APInt
112 const DataLayout &DL, APInt &Offset, in accumulateConstantOffset()
113 function_ref<bool(Value &, APInt &)> ExternalAnalysis) const { in accumulateConstantOffset()
124 APInt &Offset, function_ref<bool(Value &, APInt &)> ExternalAnalysis) { in accumulateConstantOffset()
135 auto AccumulateOffset = [&](APInt Index, uint64_t Size) -> bool { in accumulateConstantOffset()
137 APInt IndexedSize = APInt(Offset.getBitWidth(), Size); in accumulateConstantOffset()
145 APInt OffsetPlus = Index.smul_ov(IndexedSize, Overflow); in accumulateConstantOffset()
177 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)), in accumulateConstantOffset()
192 APInt AnalysisIndex; in accumulateConstantOffset()
204 MapVector<Value *, APInt> &VariableOffsets, in collectOffset()
205 APInt &ConstantOffset) const { in collectOffset()
209 auto CollectConstantOffset = [&](APInt Index, uint64_t Size) { in collectOffset()
211 APInt IndexedSize = APInt(BitWidth, Size); in collectOffset()
238 CollectConstantOffset(APInt(BitWidth, SL->getElementOffset(ElementIdx)), in collectOffset()
249 APInt IndexedSize = APInt(BitWidth, GTI.getSequentialElementStride(DL)); in collectOffset()
253 auto *It = VariableOffsets.insert({V, APInt(BitWidth, 0)}).first; in collectOffset()