| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Evaluator.cpp | 217 APInt Offset(DL.getIndexTypeSizeInBits(P->getType()), 0); in ComputeLoadResult() 220 Offset = Offset.sextOrTrunc(DL.getIndexTypeSizeInBits(P->getType())); in ComputeLoadResult() 294 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in EvaluateBlock() 297 Offset = Offset.sextOrTrunc(DL.getIndexTypeSizeInBits(Ptr->getType())); in EvaluateBlock() 377 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in EvaluateBlock()
|
| H A D | VNCoercion.cpp | 310 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in analyzeLoadFromClobberingMemInst() 451 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in getMemInstValueForLoad() 475 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in getConstantMemInstValueForLoad()
|
| H A D | CallPromotionUtils.cpp | 695 APInt VTableOffset(DL.getIndexTypeSizeInBits(VTableEntryPtr->getType()), 0); in tryPromoteCall() 702 APInt ObjectOffset(DL.getIndexTypeSizeInBits(Object->getType()), 0); in tryPromoteCall() 715 APInt VTableOffsetGVBase(DL.getIndexTypeSizeInBits(VTablePtr->getType()), 0); in tryPromoteCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | PtrUseVisitor.cpp | 36 APInt TmpOffset(DL.getIndexTypeSizeInBits(GEPI.getType()), 0); in adjustOffsetForGEP()
|
| H A D | Loads.cpp | 92 APInt Offset(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in isDereferenceableAndAlignedPointer() 295 APInt EltSize(DL.getIndexTypeSizeInBits(Ptr->getType()), in isDereferenceableAndAlignedInLoop() 520 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), TySize.getFixedValue()); in isSafeToLoadUnconditionally() 559 APInt LoadOffset(DL.getIndexTypeSizeInBits(LoadPtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore() 560 APInt StoreOffset(DL.getIndexTypeSizeInBits(StorePtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore()
|
| H A D | MemoryBuiltins.cpp | 378 const unsigned IntTyBits = DL.getIndexTypeSizeInBits(CB->getType()); in getAllocSize() 771 unsigned InitialIntTyBits = DL.getIndexTypeSizeInBits(V->getType()); in computeImpl() 810 IntTyBits = DL.getIndexTypeSizeInBits(V->getType()); in computeImpl()
|
| H A D | ConstantFolding.cpp | 312 unsigned BitWidth = DL.getIndexTypeSizeInBits(GV->getType()); in IsConstantOffsetFromGlobal() 321 unsigned BitWidth = DL.getIndexTypeSizeInBits(GV->getType()); in IsConstantOffsetFromGlobal() 341 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType()); in IsConstantOffsetFromGlobal() 768 APInt Offset(DL.getIndexTypeSizeInBits(C->getType()), 0); in ConstantFoldLoadFromConstPtr() 1272 unsigned IndexWidth = DL.getIndexTypeSizeInBits(Ops0->getType()); in ConstantFoldCompareInstOperands() 1500 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType()); in ConstantFoldCastOperand()
|
| H A D | BasicAliasAnalysis.cpp | 598 unsigned IndexSize = DL.getIndexTypeSizeInBits(V->getType()); in DecomposeGEPExpression() 621 if (DL.getIndexTypeSizeInBits(NewV->getType()) != IndexSize) { in DecomposeGEPExpression()
|
| H A D | InstructionSimplify.cpp | 677 APInt Offset = APInt::getZero(DL.getIndexTypeSizeInBits(V->getType())); in stripAndComputeConstantOffsets() 681 return Offset.sextOrTrunc(DL.getIndexTypeSizeInBits(V->getType())); in stripAndComputeConstantOffsets() 2708 unsigned IndexSize = DL.getIndexTypeSizeInBits(LHS->getType()); in computePointerICmp() 6194 DL.getIndexTypeSizeInBits(Ptr->getType())); in simplifyRelativeLoad() 6493 Q.DL.getIndexTypeSizeInBits(Op0->getType()) && in simplifyBinaryIntrinsic() 7083 APInt Offset(Q.DL.getIndexTypeSizeInBits(PtrOp->getType()), 0); in simplifyLoadInst() 7089 Offset = Offset.sextOrTrunc(Q.DL.getIndexTypeSizeInBits(PtrOp->getType())); in simplifyLoadInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILCBufferAccess.cpp | 95 APInt ConstantOffset(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in getOffsetForCBufferGEP() 219 DL.getIndexTypeSizeInBits(MCI->getSource()->getType()), Offset); in copyArrayElemsForMemCpy()
|
| H A D | DXILResourceAccess.cpp | 39 APInt ConstantOffset(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in calculateGEPOffset()
|
| H A D | DXILFlattenArrays.cpp | 256 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP.getType()); in visitGetElementPtrInst()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 422 LLVM_ABI unsigned getIndexTypeSizeInBits(Type *Ty) const; 428 return getIndexTypeSizeInBits(Ty); in getAddressSizeInBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 684 APInt Offset1(DL.getIndexTypeSizeInBits(Load1Ptr->getType()), 0); in foldLoadsRecursive() 690 APInt Offset2(DL.getIndexTypeSizeInBits(Load2Ptr->getType()), 0); in foldLoadsRecursive() 818 APInt Offset1(DL.getIndexTypeSizeInBits(Load1Ptr->getType()), 0); in foldConsecutiveLoads() 905 unsigned BW = DL.getIndexTypeSizeInBits(PtrOp->getType()); in getStrideAndModOffsetOfGEP() 964 unsigned BW = DL.getIndexTypeSizeInBits(PtrOp->getType()); in foldPatternedLoads()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 104 APInt APOffset(DL.getIndexTypeSizeInBits(Ptr->getType()), Offset, in createByteGEP() 374 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in doPromotion() 551 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in findArgParts()
|
| H A D | GlobalSplit.cpp | 52 unsigned IndexWidth = DL.getIndexTypeSizeInBits(GV.getType()); in splitGlobal()
|
| H A D | GlobalOpt.cpp | 313 APInt Offset(DL.getIndexTypeSizeInBits(PtrOp->getType()), 0); in CleanupConstantGlobalUsers() 382 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in collectSRATypes() 619 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in SRAGlobal()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Value.cpp | 735 assert(BitWidth == DL.getIndexTypeSizeInBits(getType()) && in stripAndAccumulateConstantOffsets() 755 APInt GEPOffset(DL.getIndexTypeSizeInBits(V->getType()), 0); in stripAndAccumulateConstantOffsets() 1060 APInt Offset1(DL.getIndexTypeSizeInBits(Ptr1->getType()), 0); in getPointerOffsetFrom() 1061 APInt Offset2(DL.getIndexTypeSizeInBits(Ptr2->getType()), 0); in getPointerOffsetFrom()
|
| H A D | DataLayout.cpp | 753 unsigned DataLayout::getIndexTypeSizeInBits(Type *Ty) const { in getIndexTypeSizeInBits() function in DataLayout 885 unsigned NumBits = getIndexTypeSizeInBits(Ty); in getIndexType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerModuleLDSPass.cpp | 1421 APInt APOff(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in replaceLDSVariablesWithStruct() 1510 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType()); in refineUsesAlignmentAndAA()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 314 unsigned IndexSize = DL.getIndexTypeSizeInBits(I->getType()); in HasAddressTaken()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 377 APInt Offset(DL.getIndexTypeSizeInBits(PtrTy), 0); in foldGEPChainAsU8Access()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 347 APInt OffsetAPInt(DL.getIndexTypeSizeInBits(Ptr->getType()), 0);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MergeICmps.cpp | 162 APInt Offset = APInt(DL.getIndexTypeSizeInBits(Addr->getType()), 0); in visitICmpLoadOperand()
|
| H A D | ConstraintElimination.cpp | 405 ConstantOffset = APInt(DL.getIndexTypeSizeInBits(BasePtr->getType()), 0); in OffsetResult() 457 if (DL.getIndexTypeSizeInBits(GEP.getPointerOperand()->getType()) > 64) in decomposeGEP()
|