Searched refs:MaxPointerSize (Results 1 – 4 of 4) sorted by relevance
443 unsigned MaxPointerSize = DL.getMaxPointerSizeInBits(); in getMaxPointerSize() local444 if (MaxPointerSize < 64 && ForceAtLeast64Bits) MaxPointerSize = 64; in getMaxPointerSize()445 if (DoubleCalcBits) MaxPointerSize *= 2; in getMaxPointerSize()447 return MaxPointerSize; in getMaxPointerSize()470 unsigned MaxPointerSize = getMaxPointerSize(DL); in DecomposeGEPExpression() local561 CIdx->getValue().sextOrSelf(MaxPointerSize)) in DecomposeGEPExpression()562 .sextOrTrunc(MaxPointerSize); in DecomposeGEPExpression()568 APInt Scale(MaxPointerSize, DL.getTypeAllocSize(GTI.getIndexedType())); in DecomposeGEPExpression()594 APInt WideScaledOffset = IndexOffset.sextOrTrunc(MaxPointerSize*2) * in DecomposeGEPExpression()595 Scale.sext(MaxPointerSize*2); in DecomposeGEPExpression()[all …]
400 unsigned MaxPointerSize = DL.getMaxPointerSizeInBits(); in getMaxPointerSize() local401 if (MaxPointerSize < 64 && ForceAtLeast64Bits) MaxPointerSize = 64; in getMaxPointerSize()402 if (DoubleCalcBits) MaxPointerSize *= 2; in getMaxPointerSize()404 return MaxPointerSize; in getMaxPointerSize()426 unsigned MaxPointerSize = getMaxPointerSize(DL); in DecomposeGEPExpression() local428 Decomposed.Offset = APInt(MaxPointerSize, 0); in DecomposeGEPExpression()519 CIdx->getValue().sextOrTrunc(MaxPointerSize); in DecomposeGEPExpression()525 APInt Scale(MaxPointerSize, in DecomposeGEPExpression()553 APInt ScaledOffset = IndexOffset.sextOrTrunc(MaxPointerSize) in DecomposeGEPExpression()565 Scale *= IndexScale.sextOrTrunc(MaxPointerSize); in DecomposeGEPExpression()
664 unsigned MaxPointerSize = 0; in getMaxPointerSize() local666 MaxPointerSize = std::max(MaxPointerSize, P.TypeByteWidth); in getMaxPointerSize()668 return MaxPointerSize; in getMaxPointerSize()
706 unsigned MaxPointerSize = 0; in getMaxPointerSize() local708 MaxPointerSize = std::max(MaxPointerSize, P.TypeByteWidth); in getMaxPointerSize()710 return MaxPointerSize; in getMaxPointerSize()