Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/IR/
H A DOperator.cpp103 APInt IndexedSize = APInt(Offset.getBitWidth(), Size); in accumulateConstantOffset() local
106 Offset += Index * IndexedSize; in accumulateConstantOffset()
111 APInt OffsetPlus = Index.smul_ov(IndexedSize, Overflow); in accumulateConstantOffset()
180 APInt IndexedSize = APInt(BitWidth, Size); in collectOffset() local
181 ConstantOffset += Index * IndexedSize; in collectOffset()
218 APInt IndexedSize = in collectOffset() local
222 if (!IndexedSize.isZero()) { in collectOffset()
224 VariableOffsets[V] += IndexedSize; in collectOffset()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp430 uint64_t IndexedSize = DL->getTypeAllocSize(IndexedType); in tryReassociateGEPAtIndex() local
447 if (IndexedSize % ElementSize != 0) in tryReassociateGEPAtIndex()
454 if (IndexedSize != ElementSize) { in tryReassociateGEPAtIndex()
456 RHS, ConstantInt::get(IntPtrTy, IndexedSize / ElementSize)); in tryReassociateGEPAtIndex()