Home
last modified time | relevance | path

Searched refs:IndexSize (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp287 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in analyzeLoadFromClobberingMemInst() local
288 if (ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), DL)) in analyzeLoadFromClobberingMemInst()
402 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in getMemInstValueForLoad() local
403 return ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), in getMemInstValueForLoad()
426 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in getConstantMemInstValueForLoad() local
427 return ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), in getConstantMemInstValueForLoad()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp493 static void adjustToIndexSize(APInt &Offset, unsigned IndexSize) { in adjustToIndexSize() argument
494 assert(IndexSize <= Offset.getBitWidth() && "Invalid IndexSize!"); in adjustToIndexSize()
495 unsigned ShiftBits = Offset.getBitWidth() - IndexSize; in adjustToIndexSize()
652 unsigned IndexSize = DL.getIndexSizeInBits(AS); in DecomposeGEPExpression() local
697 unsigned SExtBits = IndexSize > Width ? IndexSize - Width : 0; in DecomposeGEPExpression()
698 unsigned TruncBits = IndexSize < Width ? Width - IndexSize : 0; in DecomposeGEPExpression()
704 LE = LE.mul(APInt(IndexSize, TypeSize), GEPOp->isInBounds()); in DecomposeGEPExpression()
725 adjustToIndexSize(Scale, IndexSize); in DecomposeGEPExpression()
736 adjustToIndexSize(Decomposed.Offset, IndexSize); in DecomposeGEPExpression()
H A DInstructionSimplify.cpp2759 unsigned IndexSize = DL.getIndexTypeSizeInBits(LHS->getType()); in computePointerICmp() local
2760 APInt LHSOffset(IndexSize, 0), RHSOffset(IndexSize, 0); in computePointerICmp()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp356 unsigned IndexSize = PointerMemSize; in parseSpecifier() local
373 if (Error Err = getInt(Tok, IndexSize)) in parseSpecifier()
375 if (!IndexSize) in parseSpecifier()
381 assumeAligned(PointerPrefAlign), PointerMemSize, IndexSize)) in parseSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp298 unsigned IndexSize = DL.getIndexTypeSizeInBits(I->getType()); in requiresStackProtector()
299 APInt Offset(IndexSize, 0); in requiresStackProtector()
215 unsigned IndexSize = DL.getIndexTypeSizeInBits(I->getType()); HasAddressTaken() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp5831 unsigned IndexSize = DL.getPointerSizeInBits(); in getGSVectorCost() local
5833 if (IndexSize < 64 || !GEP) in getGSVectorCost()
5834 return IndexSize; in getGSVectorCost()
5839 return IndexSize; in getGSVectorCost()
5849 return IndexSize; // 64 in getGSVectorCost()
5856 unsigned IndexSize = (ST->hasAVX512() && VF >= 16) in getGSVectorCost() local
5861 IntegerType::get(SrcVTy->getContext(), IndexSize), VF); in getGSVectorCost()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp7471 unsigned IndexSize = M.getDataLayout().getIndexSizeInBits(0); in emitOffloadingArrays() local
7482 IndexSize, in emitOffloadingArrays()
7573 unsigned IndexSize = M.getDataLayout().getIndexSizeInBits(0); in emitOffloadingArrays() local
7580 {Builder.getIntN(IndexSize, 0), Builder.getIntN(IndexSize, I)}); in emitOffloadingArrays()