Searched refs:IndexSize (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 287 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-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 462 static void adjustToIndexSize(APInt &Offset, unsigned IndexSize) { in adjustToIndexSize() argument 463 assert(IndexSize <= Offset.getBitWidth() && "Invalid IndexSize!"); in adjustToIndexSize() 464 unsigned ShiftBits = Offset.getBitWidth() - IndexSize; in adjustToIndexSize() 621 unsigned IndexSize = DL.getIndexSizeInBits(AS); in DecomposeGEPExpression() local 666 unsigned SExtBits = IndexSize > Width ? IndexSize - Width : 0; in DecomposeGEPExpression() 667 unsigned TruncBits = IndexSize < Width ? Width - IndexSize : 0; in DecomposeGEPExpression() 673 LE = LE.mul(APInt(IndexSize, TypeSize), GEPOp->isInBounds()); in DecomposeGEPExpression() 693 adjustToIndexSize(Scale, IndexSize); in DecomposeGEPExpression() 704 adjustToIndexSize(Decomposed.Offset, IndexSize); in DecomposeGEPExpression()
|
| H A D | InstructionSimplify.cpp | 2754 unsigned IndexSize = DL.getIndexTypeSizeInBits(LHS->getType()); in computePointerICmp() local 2755 APInt LHSOffset(IndexSize, 0), RHSOffset(IndexSize, 0); in computePointerICmp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 356 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 298 unsigned IndexSize = DL.getIndexTypeSizeInBits(I->getType()); in HasAddressTaken() local 299 APInt Offset(IndexSize, 0); in HasAddressTaken()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 5699 unsigned IndexSize = DL.getPointerSizeInBits(); in getGSVectorCost() local 5701 if (IndexSize < 64 || !GEP) in getGSVectorCost() 5702 return IndexSize; in getGSVectorCost() 5707 return IndexSize; in getGSVectorCost() 5717 return IndexSize; // 64 in getGSVectorCost() 5724 unsigned IndexSize = (ST->hasAVX512() && VF >= 16) in getGSVectorCost() local 5729 IntegerType::get(SrcVTy->getContext(), IndexSize), VF); in getGSVectorCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 5508 unsigned IndexSize = M.getDataLayout().getIndexSizeInBits(0); in emitOffloadingArrays() local 5519 IndexSize, in emitOffloadingArrays() 5610 unsigned IndexSize = M.getDataLayout().getIndexSizeInBits(0); in emitOffloadingArrays() local 5617 {Builder.getIntN(IndexSize, 0), Builder.getIntN(IndexSize, I)}); in emitOffloadingArrays()
|