Home
last modified time | relevance | path

Searched refs:getIndexTypeSizeInBits (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp216 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 DVNCoercion.cpp287 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 DLoads.cpp59 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 DPtrUseVisitor.cpp36 APInt TmpOffset(DL.getIndexTypeSizeInBits(GEPI.getType()), 0); in adjustOffsetForGEP()
H A DMemoryBuiltins.cpp390 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 DConstantFolding.cpp299 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 DInstructionSimplify.cpp719 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 DAggressiveInstCombine.cpp673 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 DArgumentPromotion.cpp102 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 DGlobalOpt.cpp304 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 DValue.cpp721 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 DDataLayout.cpp774 unsigned DataLayout::getIndexTypeSizeInBits(Type *Ty) const { in getIndexTypeSizeInBits() function in DataLayout
913 unsigned NumBits = getIndexTypeSizeInBits(Ty); in getIndexType()
H A DDebugInfo.cpp2027 APInt GEPOffset(DL.getIndexTypeSizeInBits(StoreDest->getType()), 0); in getAssignmentInfoImpl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h433 unsigned getIndexTypeSizeInBits(Type *Ty) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp298 unsigned IndexSize = DL.getIndexTypeSizeInBits(I->getType()); in HasAddressTaken()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp1504 APInt APOff(DL.getIndexTypeSizeInBits(GEP->getType()), 0); in replaceLDSVariablesWithStruct()
1564 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType()); in refineUsesAlignmentAndAA()
H A DAMDGPUPromoteAlloca.cpp304 unsigned BW = DL.getIndexTypeSizeInBits(GEP->getType()); in GEPToVectorIndex()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp380 APInt Offset(DL.getIndexTypeSizeInBits(PtrTy), 0); in foldGEPChainAsU8Access()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h591 APInt OffsetAPInt(DL.getIndexTypeSizeInBits(Ptr->getType()), 0);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp162 APInt Offset = APInt(DL.getIndexTypeSizeInBits(Addr->getType()), 0); in visitICmpLoadOperand()
H A DConstraintElimination.cpp394 ConstantOffset = APInt(DL.getIndexTypeSizeInBits(BasePtr->getType()), 0); in OffsetResult()
446 if (DL.getIndexTypeSizeInBits(GEP.getPointerOperand()->getType()) > 64) in decomposeGEP()
H A DSROA.cpp1585 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 DEarlyCSE.cpp1653 APInt Offset = APInt(SQ.DL.getIndexTypeSizeInBits(GEP->getType()), 0); in processNode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1479 unsigned OrigBitWidth = DL.getIndexTypeSizeInBits(PtrA->getType()); in getConstantOffset()
H A DVectorCombine.cpp196 unsigned OffsetBitWidth = DL.getIndexTypeSizeInBits(SrcPtr->getType()); in vectorizeLoadInsert()

12