Home
last modified time | relevance | path

Searched refs:IndexedSize (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp137 APInt IndexedSize = APInt(Offset.getBitWidth(), Size); in accumulateConstantOffset() local
140 Offset += Index * IndexedSize; in accumulateConstantOffset()
145 APInt OffsetPlus = Index.smul_ov(IndexedSize, Overflow); in accumulateConstantOffset()
211 APInt IndexedSize = APInt(BitWidth, Size); in collectOffset() local
212 ConstantOffset += Index * IndexedSize; in collectOffset()
249 APInt IndexedSize = APInt(BitWidth, GTI.getSequentialElementStride(DL)); in collectOffset() local
252 if (!IndexedSize.isZero()) { in collectOffset()
254 It->second += IndexedSize; in collectOffset()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp431 uint64_t IndexedSize = DL->getTypeAllocSize(IndexedType); in tryReassociateGEPAtIndex() local
448 if (IndexedSize % ElementSize != 0) in tryReassociateGEPAtIndex()
455 if (IndexedSize != ElementSize) { in tryReassociateGEPAtIndex()
457 RHS, ConstantInt::get(PtrIdxTy, IndexedSize / ElementSize)); in tryReassociateGEPAtIndex()