Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp232 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
233 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDataLayout.h263 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
267 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h486 if (DL.isLegalInteger(SrcSize) && in getCastInstrCost()
493 if (DL.isLegalInteger(DstSize) && in getCastInstrCost()
507 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedSize())) in getCastInstrCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIVUsers.cpp190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp520 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
918 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
H A DSROA.cpp2122 bool WholeAllocaOp = P.empty() && DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
2813 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedSize()); in visitMemSetInst()
4288 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1474 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
H A DInstructionCombining.cpp216 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
217 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
H A DInstCombineCasts.cpp2702 DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
H A DInstCombineCompares.cpp1868 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in foldICmpAndConstant()
2174 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp972 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()