/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | VNCoercion.cpp | 31 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy).getFixedValue(); in canCoerceMustAliasedValueToLoad() 38 if (StoreSize < DL.getTypeSizeInBits(LoadTy).getFixedValue()) in canCoerceMustAliasedValueToLoad() 61 if (StoredNI && StoreSize != DL.getTypeSizeInBits(LoadTy).getFixedValue()) in canCoerceMustAliasedValueToLoad() 87 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy).getFixedValue(); in coerceAvailableValueToLoadType() 88 uint64_t LoadedValSize = DL.getTypeSizeInBits(LoadedTy).getFixedValue(); in coerceAvailableValueToLoadType() 189 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedValue(); in analyzeLoadFromClobberingWrite() 224 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedValue(); in analyzeLoadFromClobberingStore() 242 uint64_t DepSize = DL.getTypeSizeInBits(DepLI->getType()).getFixedValue(); in analyzeLoadFromClobberingLoad() 308 (DL.getTypeSizeInBits(SrcVal->getType()).getFixedValue() + 7) / 8; in getStoreValueForLoadHelper() 309 uint64_t LoadSize = (DL.getTypeSizeInBits(LoadTy).getFixedValue() + 7) / 8; in getStoreValueForLoadHelper() [all …]
|
H A D | ScalarEvolutionExpander.cpp | 201 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && in InsertNoopCastOfTo() 225 SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) { in InsertNoopCastOfTo() 229 SE.getTypeSizeInBits(CI->getType()) == in InsertNoopCastOfTo() 230 SE.getTypeSizeInBits(CI->getOperand(0)->getType())) in InsertNoopCastOfTo() 235 SE.getTypeSizeInBits(CE->getType()) == in InsertNoopCastOfTo() 236 SE.getTypeSizeInBits(CE->getOperand(0)->getType())) in InsertNoopCastOfTo() 1222 if (SE.getTypeSizeInBits(PN->getType()) >= SE.getTypeSizeInBits(Ty)) in visitAddRecExpr() 1228 SE.getTypeSizeInBits(CanonicalIV->getType()) > SE.getTypeSizeInBits(Ty) && in visitAddRecExpr() 1419 assert(SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(SH->getType()) && in expandCodeFor() 2100 unsigned SrcBits = SE.getTypeSizeInBits(ExitCount->getType()); in generateOverflowCheck() [all …]
|
H A D | CallPromotionUtils.cpp | 606 APInt VTableOffset(DL.getTypeSizeInBits(VTableEntryPtr->getType()), 0); in tryPromoteCall() 613 APInt ObjectOffset(DL.getTypeSizeInBits(Object->getType()), 0); in tryPromoteCall() 626 APInt VTableOffsetGVBase(DL.getTypeSizeInBits(VTablePtr->getType()), 0); in tryPromoteCall()
|
H A D | SimplifyIndVar.cpp | 713 if (SE->getTypeSizeInBits(IVOperand->getType()) > in replaceFloatIVWithIntegerIV() 714 SE->getTypeSizeInBits(CI->getType())) { in replaceFloatIVWithIntegerIV() 1549 if (SE->getTypeSizeInBits(NarrowExpr->getType()) >= in getWideRecurrence() 1550 SE->getTypeSizeInBits(WideType)) { in getWideRecurrence() 1623 unsigned CastWidth = SE->getTypeSizeInBits(Op->getType()); in widenLoopCompare() 1624 unsigned IVWidth = SE->getTypeSizeInBits(WideType); in widenLoopCompare() 1885 unsigned CastWidth = SE->getTypeSizeInBits(DU.NarrowUse->getType()); in widenIVUse() 1886 unsigned IVWidth = SE->getTypeSizeInBits(WideType); in widenIVUse()
|
H A D | Evaluator.cpp | 91 if (DL.getTypeSizeInBits(CE->getType()) != in isSimpleEnoughValueToCommitHelper() 92 DL.getTypeSizeInBits(CE->getOperand(0)->getType())) in isSimpleEnoughValueToCommitHelper()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DataLayout.h | 463 TypeSize getTypeSizeInBits(Type *Ty) const; 473 TypeSize BaseSize = getTypeSizeInBits(Ty); in getTypeStoreSize() 493 return getTypeSizeInBits(Ty) == getTypeStoreSizeInBits(Ty); in typeSizeEqualsStoreSize() 672 inline TypeSize DataLayout::getTypeSizeInBits(Type *Ty) const { in getTypeSizeInBits() function 712 getTypeSizeInBits(VTy->getElementType()).getFixedValue(); in getTypeSizeInBits() 717 return getTypeSizeInBits(LayoutTy); in getTypeSizeInBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 520 uint64_t Width = SE->getTypeSizeInBits(Ty); in visitIVCast() 528 uint64_t NarrowIVWidth = SE->getTypeSizeInBits(WI.NarrowIV->getType()); in visitIVCast() 546 Width > SE->getTypeSizeInBits(WI.WidestNativeType)) { in visitIVCast() 839 uint64_t BCWidth = SE->getTypeSizeInBits(BECount->getType()); in FindLoopCounter() 860 uint64_t PhiWidth = SE->getTypeSizeInBits(AR->getType()); in FindLoopCounter() 904 else if (PhiWidth <= SE->getTypeSizeInBits(BestPhi->getType())) in FindLoopCounter() 930 SE->getTypeSizeInBits(AR->getType()) > in genLoopLimit() 931 SE->getTypeSizeInBits(ExitCount->getType())) { in genLoopLimit() 1027 unsigned CmpIndVarSize = SE->getTypeSizeInBits(CmpIndVar->getType()); in linearFunctionTestReplace() 1028 unsigned ExitCntSize = SE->getTypeSizeInBits(ExitCnt->getType()); in linearFunctionTestReplace() [all …]
|
H A D | LoopLoadElimination.cpp | 103 DL.getTypeSizeInBits(LoadType) == in isDependenceDistanceOfOne() 104 DL.getTypeSizeInBits(getLoadStoreType(Store)) && in isDependenceDistanceOfOne() 465 assert(DL.getTypeSizeInBits(LoadType) == DL.getTypeSizeInBits(StoreType) && in propagateStoredValueToLoadUsers()
|
H A D | SROA.cpp | 1920 if (DL.getTypeSizeInBits(NewTy).getFixedValue() != in canConvertValue() 1921 DL.getTypeSizeInBits(OldTy).getFixedValue()) in canConvertValue() 2099 DL.getTypeSizeInBits(VTy->getElementType()).getFixedValue(); in checkVectorTypeForPromotion() 2105 assert((DL.getTypeSizeInBits(VTy).getFixedValue() % 8) == 0 && in checkVectorTypeForPromotion() 2158 assert(DL.getTypeSizeInBits(RHSTy).getFixedValue() == in checkVectorTypesForPromotion() 2159 DL.getTypeSizeInBits(LHSTy).getFixedValue() && in checkVectorTypesForPromotion() 2170 assert(DL.getTypeSizeInBits(RHSTy).getFixedValue() == in checkVectorTypesForPromotion() 2171 DL.getTypeSizeInBits(LHSTy).getFixedValue() && in checkVectorTypesForPromotion() 2224 unsigned TypeSize = DL.getTypeSizeInBits(Ty).getFixedValue(); in createAndCheckVectorTypesForPromotion() 2230 unsigned VectorSize = DL.getTypeSizeInBits(VTy).getFixedValue(); in createAndCheckVectorTypesForPromotion() [all …]
|
H A D | LoopPredication.cpp | 418 assert(DL.getTypeSizeInBits(LatchCheck.IV->getType()).getFixedValue() > in expandCheck() 419 DL.getTypeSizeInBits(RangeCheckType).getFixedValue() && in expandCheck() 439 DL.getTypeSizeInBits(RangeCheckType).getFixedValue(); 456 if (DL.getTypeSizeInBits(LatchType).getFixedValue() < in isSafeToTruncateWideIVType() 457 DL.getTypeSizeInBits(RangeCheckType).getFixedValue()) in isSafeToTruncateWideIVType()
|
H A D | LoopStrengthReduce.cpp | 798 IntegerType::get(SE.getContext(), SE.getTypeSizeInBits(AR->getType()) + 1); in isAddRecSExtable() 806 IntegerType::get(SE.getContext(), SE.getTypeSizeInBits(A->getType()) + 1); in isAddSExtable() 815 SE.getTypeSizeInBits(M->getType()) * M->getNumOperands()); in isMulSExtable() 2366 if ((int)SE.getTypeSizeInBits(SrcTy) > Mantissa) in OptimizeShadowIV() 2675 if (SE.getTypeSizeInBits(A->getType()) != in OptimizeLoopTermCond() 2676 SE.getTypeSizeInBits(B->getType())) { in OptimizeLoopTermCond() 2677 if (SE.getTypeSizeInBits(A->getType()) > in OptimizeLoopTermCond() 2678 SE.getTypeSizeInBits(B->getType())) in OptimizeLoopTermCond() 2929 if (SE.getTypeSizeInBits(OldStride->getType()) != in CollectInterestingTypesAndFactors() 2930 SE.getTypeSizeInBits(NewStride->getType())) { in CollectInterestingTypesAndFactors() [all …]
|
H A D | NaryReassociate.cpp | 406 DL->getTypeSizeInBits(LHS->getType()).getFixedValue() < in tryReassociateGEPAtIndex() 407 DL->getTypeSizeInBits(GEP->getOperand(I)->getType()) in tryReassociateGEPAtIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 197 TypeSize OriginalSize = DL->getTypeSizeInBits(VTy); in calculateConvertType() 198 TypeSize ConvertScalarSize = DL->getTypeSizeInBits(ConvertToScalar); in calculateConvertType() 214 TypeSize OriginalSize = DL->getTypeSizeInBits(VTy); in convertToOptType() 215 TypeSize NewSize = DL->getTypeSizeInBits(NewTy); in convertToOptType() 244 TypeSize OriginalSize = DL->getTypeSizeInBits(V->getType()); in convertFromOptType() 245 TypeSize NewSize = DL->getTypeSizeInBits(NewVTy); in convertFromOptType()
|
H A D | R600TargetTransformInfo.cpp | 118 DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType()); in getVectorInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 922 unsigned W = SE.getTypeSizeInBits(ResultTy); in BinomialCoefficient() 1033 if (getDataLayout().getTypeSizeInBits(getEffectiveSCEVType(Op->getType())) != in getLosslessPtrToIntExpr() 1034 getDataLayout().getTypeSizeInBits(IntPtrTy)) in getLosslessPtrToIntExpr() 1137 assert(getTypeSizeInBits(Op->getType()) > getTypeSizeInBits(Ty) && in getTruncateExpr() 1216 if (MinTrailingZeros >= getTypeSizeInBits(Ty)) in getTruncateExpr() 1235 unsigned BitWidth = SE->getTypeSizeInBits(Step->getType()); in getSignedOverflowLimitForStep() 1255 unsigned BitWidth = SE->getTypeSizeInBits(Step->getType()); in getUnsignedOverflowLimitForStep() 1372 unsigned BitWidth = SE->getTypeSizeInBits(AR->getType()); in getPreStartForExtend() 1552 assert(getTypeSizeInBits(Op->getType()) < getTypeSizeInBits(Ty) && in getZeroExtendExpr() 1572 assert(getTypeSizeInBits(Op->getType()) < getTypeSizeInBits(Ty) && in getZeroExtendExprImpl() [all …]
|
H A D | Loads.cpp | 544 TypeSize StoreSize = DL.getTypeSizeInBits(Val->getType()); in getAvailableLoadStore() 545 TypeSize LoadSize = DL.getTypeSizeInBits(AccessTy); in getAvailableLoadStore() 570 TypeSize LoadTypeSize = DL.getTypeSizeInBits(AccessTy); in getAvailableLoadStore()
|
H A D | ScalarEvolutionAliasAnalysis.cpp | 56 unsigned BitWidth = SE.getTypeSizeInBits(AS->getType()); in alias()
|
H A D | DemandedBits.cpp | 408 return APInt::getAllOnes(DL.getTypeSizeInBits(I->getType()->getScalarType())); in getDemandedBits() 415 unsigned BitWidth = DL.getTypeSizeInBits(T->getScalarType()); in getDemandedBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 131 unsigned ShuffleElemSize = DL.getTypeSizeInBits(ShuffleEltTy); in isSupported() 144 WideInstSize = DL.getTypeSizeInBits(Inst->getType()); in isSupported() 148 WideInstSize = DL.getTypeSizeInBits(Shuffles[0]->getType()); in isSupported() 176 DL.getTypeSizeInBits(VecWidth) >= in decompose() 177 DL.getTypeSizeInBits(SubVecTy) * NumSubVectors && in decompose() 201 unsigned VecLength = DL.getTypeSizeInBits(VecWidth); in decompose()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 619 unsigned SzBits = DL.getTypeSizeInBits(getLoadStoreType(&*Prev.Inst)); in splitChainByContiguity() 660 DL.getTypeSizeInBits(getLoadStoreType(C[0].Inst)->getScalarType())); in getChainElemTy() 701 assert(isPowerOf2_32(DL.getTypeSizeInBits(Ty)) && in splitChainByAlignment() 738 unsigned VecElemBits = DL.getTypeSizeInBits(VecElemTy); in splitChainByAlignment() 871 VecElemTy, 8 * ChainBytes / DL.getTypeSizeInBits(VecElemTy)); in vectorizeChain() 1342 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectEquivalenceClasses() 1361 if ((!VecTy && !isPowerOf2_32(DL.getTypeSizeInBits(Ty))) || in collectEquivalenceClasses() 1362 (VecTy && !isPowerOf2_32(DL.getTypeSizeInBits(VecTy->getScalarType())))) in collectEquivalenceClasses() 1371 DL.getTypeSizeInBits(getLoadStoreType(&I)->getScalarType()), in collectEquivalenceClasses()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LowLevelTypeUtils.cpp | 37 auto SizeInBits = DL.getTypeSizeInBits(&Ty); in getLLTForType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 375 unsigned SBW = DL.getTypeSizeInBits(CI->getSrcTy()); in getInstructionCost() 376 unsigned DBW = DL.getTypeSizeInBits(CI->getDestTy()); in getInstructionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | Target.cpp | 98 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); in LLVMSizeOfTypeInBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 1037 RetType = Builder.createBasicType(Name, Layout.getTypeSizeInBits(Ty), in solveDIType() 1049 Builder.createPointerType(nullptr, Layout.getTypeSizeInBits(Ty), in solveDIType() 1054 Scope, Name, Scope->getFile(), LineNum, Layout.getTypeSizeInBits(Ty), in solveDIType() 1076 TypeSize Size = Layout.getTypeSizeInBits(Ty); in solveDIType() 1177 nullptr, Layout.getTypeSizeInBits(ResumeFnTy))}); in buildFrameDebugInfo() 1180 nullptr, Layout.getTypeSizeInBits(DestroyFnTy))}); in buildFrameDebugInfo() 1186 (Layout.getTypeSizeInBits(IndexTy) < 8) in buildFrameDebugInfo() 1188 : Layout.getTypeSizeInBits(IndexTy), in buildFrameDebugInfo() 1235 SizeInBits = Layout.getTypeSizeInBits(Ty).getFixedValue(); in buildFrameDebugInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 825 unsigned BitWidth = getTypeSizeInBits(Ty).getFixedValue(); in getAlignment() 841 unsigned BitWidth = getTypeSizeInBits(Ty).getKnownMinValue(); in getAlignment() 1044 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlign()
|