Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
HDTruncInstCombine.cpp220 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
221 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDDataLayout.h254 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
261 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDTargetTransformInfoImpl.h77 if (DL.isLegalInteger(OpSize) && in getOperationCost()
88 if (DL.isLegalInteger(DestSize) && in getOperationCost()
98 if (DL.isLegalInteger(DL.getTypeSizeInBits(Ty))) in getOperationCost()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDIVUsers.cpp190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGRecordLayoutBuilder.cpp416 if (!DataLayout.isLegalInteger(OffsetInRecord)) in accumulateBitFields()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombinePHI.cpp1273 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
HDInstCombineLoadStoreAlloca.cpp599 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
HDInstructionCombining.cpp176 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
177 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
HDInstCombineCasts.cpp2537 DL.isLegalInteger(DestTy->getScalarSizeInBits()) && in visitBitCast()
HDInstCombineCompares.cpp1864 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in foldICmpAndConstant()
2150 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDIndVarSimplify.cpp929 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
2303 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
HDSROA.cpp2112 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
2795 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)); in visitMemSetInst()
4132 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDSimplifyLibCalls.cpp1010 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmpConstantSize()