Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DDataLayout.h267 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
271 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h540 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()
547 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()
561 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DIVUsers.cpp157 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersIfInteresting()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp523 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
923 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
H A DSROA.cpp2367 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
3094 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedValue()); in visitMemSetInst()
4622 DL.isLegalInteger(P.size() * 8)) { in rewritePartition()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp222 return DL.isLegalInteger(BitWidth); in isDesirableIntType()
236 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
237 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
H A DInstCombinePHI.cpp1555 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
H A DInstCombineCasts.cpp2871 if (DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
H A DInstCombineCompares.cpp2193 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()
6137 if (!DL.isLegalInteger(NumBits)) in foldReductionIdiom()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1478 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()