Home
last modified time | relevance | path

Searched refs:MaxPointerSize (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp443 unsigned MaxPointerSize = DL.getMaxPointerSizeInBits(); in getMaxPointerSize() local
444 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() local
561 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 …]
/external/llvm-project/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp400 unsigned MaxPointerSize = DL.getMaxPointerSizeInBits(); in getMaxPointerSize() local
401 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() local
428 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp664 unsigned MaxPointerSize = 0; in getMaxPointerSize() local
666 MaxPointerSize = std::max(MaxPointerSize, P.TypeByteWidth); in getMaxPointerSize()
668 return MaxPointerSize; in getMaxPointerSize()
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp706 unsigned MaxPointerSize = 0; in getMaxPointerSize() local
708 MaxPointerSize = std::max(MaxPointerSize, P.TypeByteWidth); in getMaxPointerSize()
710 return MaxPointerSize; in getMaxPointerSize()