Lines Matching refs:PointerSize
397 static APInt adjustToPointerSize(APInt Offset, unsigned PointerSize) { in adjustToPointerSize() argument
398 assert(PointerSize <= Offset.getBitWidth() && "Invalid PointerSize!"); in adjustToPointerSize()
399 unsigned ShiftBits = Offset.getBitWidth() - PointerSize; in adjustToPointerSize()
498 unsigned PointerSize = DL.getPointerSizeInBits(AS); in DecomposeGEPExpression() local
535 if (PointerSize > Width) in DecomposeGEPExpression()
536 SExtBits += PointerSize - Width; in DecomposeGEPExpression()
563 if (PointerSize > Width) in DecomposeGEPExpression()
564 SExtBits += PointerSize - Width; in DecomposeGEPExpression()
586 Scale = adjustToPointerSize(Scale, PointerSize); in DecomposeGEPExpression()
597 adjustToPointerSize(Decomposed.StructOffset, PointerSize); in DecomposeGEPExpression()
599 adjustToPointerSize(Decomposed.OtherOffset, PointerSize); in DecomposeGEPExpression()