| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Evaluator.cpp | 216 APInt Offset(DL.getIndexTypeSizeInBits(P->getType()), 0); in ComputeLoadResult() 219 Offset = Offset.sextOrTrunc(DL.getIndexTypeSizeInBits(P->getType())); in ComputeLoadResult() 316 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in EvaluateBlock() 319 Offset = Offset.sextOrTrunc(DL.getIndexTypeSizeInBits(Ptr->getType())); in EvaluateBlock() 406 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in EvaluateBlock()
|
| H A D | VNCoercion.cpp | 287 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in analyzeLoadFromClobberingMemInst() 402 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in getMemInstValueForLoad() 426 unsigned IndexSize = DL.getIndexTypeSizeInBits(Src->getType()); in getConstantMemInstValueForLoad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 59 APInt Offset(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in isDereferenceableAndAlignedPointer() 267 APInt EltSize(DL.getIndexTypeSizeInBits(Ptr->getType()), in isDereferenceableAndAlignedInLoop() 436 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), TySize.getFixedValue()); in isSafeToLoadUnconditionally() 475 APInt LoadOffset(DL.getIndexTypeSizeInBits(LoadPtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore() 476 APInt StoreOffset(DL.getIndexTypeSizeInBits(StorePtr->getType()), 0); in areNonOverlapSameBaseLoadAndStore()
|
| H A D | PtrUseVisitor.cpp | 36 APInt TmpOffset(DL.getIndexTypeSizeInBits(GEPI.getType()), 0); in adjustOffsetForGEP()
|
| H A D | MemoryBuiltins.cpp | 390 const unsigned IntTyBits = DL.getIndexTypeSizeInBits(CB->getType()); in getAllocSize() 707 unsigned InitialIntTyBits = DL.getIndexTypeSizeInBits(V->getType()); in computeImpl() 720 IntTyBits = DL.getIndexTypeSizeInBits(V->getType()); in computeImpl()
|
| H A D | ConstantFolding.cpp | 299 unsigned BitWidth = DL.getIndexTypeSizeInBits(GV->getType()); in IsConstantOffsetFromGlobal() 308 unsigned BitWidth = DL.getIndexTypeSizeInBits(GV->getType()); in IsConstantOffsetFromGlobal() 328 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType()); in IsConstantOffsetFromGlobal() 753 APInt Offset(DL.getIndexTypeSizeInBits(C->getType()), 0); in ConstantFoldLoadFromConstPtr() 1263 unsigned IndexWidth = DL.getIndexTypeSizeInBits(Ops0->getType()); in ConstantFoldCompareInstOperands() 1403 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType()); in ConstantFoldCastOperand()
|
| H A D | InstructionSimplify.cpp | 719 APInt Offset = APInt::getZero(DL.getIndexTypeSizeInBits(V->getType())); in stripAndComputeConstantOffsets() 723 return Offset.sextOrTrunc(DL.getIndexTypeSizeInBits(V->getType())); in stripAndComputeConstantOffsets() 2754 unsigned IndexSize = DL.getIndexTypeSizeInBits(LHS->getType()); in computePointerICmp() 6113 DL.getIndexTypeSizeInBits(Ptr->getType())); in simplifyRelativeLoad() 6425 Q.DL.getIndexTypeSizeInBits(Op0->getType()) && in simplifyBinaryIntrinsic() 6957 APInt Offset(Q.DL.getIndexTypeSizeInBits(PtrOp->getType()), 0); in simplifyLoadInst() 6963 Offset = Offset.sextOrTrunc(Q.DL.getIndexTypeSizeInBits(PtrOp->getType())); in simplifyLoadInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 673 APInt Offset1(DL.getIndexTypeSizeInBits(Load1Ptr->getType()), 0); in foldLoadsRecursive() 679 APInt Offset2(DL.getIndexTypeSizeInBits(Load2Ptr->getType()), 0); in foldLoadsRecursive() 808 APInt Offset1(DL.getIndexTypeSizeInBits(Load1Ptr->getType()), 0); in foldConsecutiveLoads() 840 unsigned BW = DL.getIndexTypeSizeInBits(PtrOp->getType()); in getStrideAndModOffsetOfGEP() 899 unsigned BW = DL.getIndexTypeSizeInBits(PtrOp->getType()); in foldPatternedLoads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 102 APInt APOffset(DL.getIndexTypeSizeInBits(Ptr->getType()), Offset); in createByteGEP() 357 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in doPromotion() 486 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in findArgParts()
|
| H A D | GlobalOpt.cpp | 304 APInt Offset(DL.getIndexTypeSizeInBits(PtrOp->getType()), 0); in CleanupConstantGlobalUsers() 366 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in collectSRATypes() 602 APInt Offset(DL.getIndexTypeSizeInBits(Ptr->getType()), 0); in SRAGlobal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Value.cpp | 721 assert(BitWidth == DL.getIndexTypeSizeInBits(getType()) && in stripAndAccumulateConstantOffsets() 741 APInt GEPOffset(DL.getIndexTypeSizeInBits(V->getType()), 0); in stripAndAccumulateConstantOffsets() 1031 APInt Offset1(DL.getIndexTypeSizeInBits(Ptr1->getType()), 0); in getPointerOffsetFrom() 1032 APInt Offset2(DL.getIndexTypeSizeInBits(Ptr2->getType()), 0); in getPointerOffsetFrom()
|
| H A D | DataLayout.cpp | 774 unsigned DataLayout::getIndexTypeSizeInBits(Type *Ty) const { in getIndexTypeSizeInBits() function in DataLayout 913 unsigned NumBits = getIndexTypeSizeInBits(Ty); in getIndexType()
|
| H A D | DebugInfo.cpp | 2027 APInt GEPOffset(DL.getIndexTypeSizeInBits(StoreDest->getType()), 0); in getAssignmentInfoImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 433 unsigned getIndexTypeSizeInBits(Type *Ty) const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 298 unsigned IndexSize = DL.getIndexTypeSizeInBits(I->getType()); in HasAddressTaken()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerModuleLDSPass.cpp | 1504 APInt APOff(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in replaceLDSVariablesWithStruct() 1564 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType()); in refineUsesAlignmentAndAA()
|
| H A D | AMDGPUPromoteAlloca.cpp | 304 unsigned BW = DL.getIndexTypeSizeInBits(GEP->getType()); in GEPToVectorIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 380 APInt Offset(DL.getIndexTypeSizeInBits(PtrTy), 0); in foldGEPChainAsU8Access()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 591 APInt OffsetAPInt(DL.getIndexTypeSizeInBits(Ptr->getType()), 0);
|
| /freebsd-14.2/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 | 394 ConstantOffset = APInt(DL.getIndexTypeSizeInBits(BasePtr->getType()), 0); in OffsetResult() 446 if (DL.getIndexTypeSizeInBits(GEP.getPointerOperand()->getType()) > 64) in decomposeGEP()
|
| H A D | SROA.cpp | 1585 uint64_t APWidth = DL.getIndexTypeSizeInBits(PN.getType()); in isSafePHIToSpeculate() 2830 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr() 3438 APInt Offset(DL.getIndexTypeSizeInBits(DestPtr->getType()), 0); in visitMemTransferInst() 3534 APInt Offset(DL.getIndexTypeSizeInBits(DstPtr->getType()), 0); in visitMemTransferInst()
|
| H A D | EarlyCSE.cpp | 1653 APInt Offset = APInt(SQ.DL.getIndexTypeSizeInBits(GEP->getType()), 0); in processNode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1479 unsigned OrigBitWidth = DL.getIndexTypeSizeInBits(PtrA->getType()); in getConstantOffset()
|
| H A D | VectorCombine.cpp | 196 unsigned OffsetBitWidth = DL.getIndexTypeSizeInBits(SrcPtr->getType()); in vectorizeLoadInsert()
|