Searched refs:IndexSize (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 310 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in analyzeLoadFromClobberingMemInst() local 311 if (ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), DL)) in analyzeLoadFromClobberingMemInst() 451 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in getMemInstValueForLoad() local 452 return ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), in getMemInstValueForLoad() 475 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in getConstantMemInstValueForLoad() local 476 return ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), in getConstantMemInstValueForLoad()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 598 unsigned IndexSize = DL.getIndexTypeSizeInBits(V->getType()); in DecomposeGEPExpression() local 600 Decomposed.Offset = APInt(IndexSize, 0); in DecomposeGEPExpression() 621 if (DL.getIndexTypeSizeInBits(NewV->getType()) != IndexSize) { in DecomposeGEPExpression() 691 CIdx->getValue().sextOrTrunc(IndexSize); in DecomposeGEPExpression() 707 unsigned SExtBits = IndexSize > Width ? IndexSize - Width : 0; in DecomposeGEPExpression() 708 unsigned TruncBits = IndexSize < Width ? Width - IndexSize : 0; in DecomposeGEPExpression() 714 LE = LE.mul(APInt(IndexSize, TypeSize), NUW, NUSW); in DecomposeGEPExpression()
|
| H A D | InstructionSimplify.cpp | 2708 unsigned IndexSize = DL.getIndexTypeSizeInBits(LHS->getType()); in computePointerICmp() local 2709 APInt LHSOffset(IndexSize, 0), RHSOffset(IndexSize, 0); in computePointerICmp()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 314 unsigned IndexSize = DL.getIndexTypeSizeInBits(I->getType()); in HasAddressTaken() local 315 APInt Offset(IndexSize, 0); in HasAddressTaken()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 6179 unsigned IndexSize = DL.getPointerSizeInBits(); in getGSVectorCost() local 6181 if (IndexSize < 64 || !GEP) in getGSVectorCost() 6182 return IndexSize; in getGSVectorCost() 6187 return IndexSize; in getGSVectorCost() 6197 return IndexSize; // 64 in getGSVectorCost() 6204 unsigned IndexSize = (ST->hasAVX512() && VF >= 16) in getGSVectorCost() local 6209 IntegerType::get(SrcVTy->getContext(), IndexSize), VF); in getGSVectorCost()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 1268 Value *IndexSize = Builder.CreateMul(Index, CastedArrayElementSize, in emitCountedByPointerSize() local 1273 Builder.CreateSub(Result, IndexSize, "result", !IsSigned, IsSigned); in emitCountedByPointerSize() 1445 Value *IndexSize = in emitCountedByMemberSize() local 1450 Result = Builder.CreateSub(FlexibleArrayMemberSize, IndexSize, "result", in emitCountedByMemberSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 8609 unsigned IndexSize = M.getDataLayout().getIndexSizeInBits(0); in emitOffloadingArrays() local 8620 IndexSize, in emitOffloadingArrays() 8712 unsigned IndexSize = M.getDataLayout().getIndexSizeInBits(0); in emitOffloadingArrays() local 8723 {Builder.getIntN(IndexSize, 0), Builder.getIntN(IndexSize, I)}); in emitOffloadingArrays()
|