Home
last modified time | relevance | path

Searched refs:isLegalInteger (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h260 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
264 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp258 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
259 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVUsers.cpp157 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersIfInteresting()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h614 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()
621 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()
635 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp521 if (!Cast->getDataLayout().isLegalInteger(Width)) in visitIVCast()
861 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
H A DLoopFlatten.cpp954 } else if (!DL.isLegalInteger( in FlattenLoopPair()
H A DSROA.cpp2455 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
3179 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedValue()); in visitMemSetInst()
4819 DL.isLegalInteger(P.size() * 8)) { in rewritePartition()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1642 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
H A DInstructionCombining.cpp227 return DL.isLegalInteger(BitWidth); in isDesirableIntType()
241 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
242 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
H A DInstCombineCasts.cpp2786 if (DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
H A DInstCombineCompares.cpp7172 if (!DL.isLegalInteger(NumBits)) in foldReductionIdiom()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1553 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()