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.h220 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
224 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp257 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
258 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.h729 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()
736 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()
750 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp517 if (!Cast->getDataLayout().isLegalInteger(Width)) in visitIVCast()
852 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
H A DLoopFlatten.cpp954 } else if (!DL.isLegalInteger( in FlattenLoopPair()
H A DSROA.cpp2551 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
3275 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedValue()); in visitMemSetInst()
4960 DL.isLegalInteger(P.size() * 8)) { in rewritePartition()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1640 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
H A DInstructionCombining.cpp251 return DL.isLegalInteger(BitWidth); in isDesirableIntType()
265 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
266 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
H A DInstCombineCasts.cpp2867 if (DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
H A DInstCombineCompares.cpp7456 if (!DL.isLegalInteger(NumBits)) in foldReductionIdiom()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1548 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()