Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDataLayout.h243 bool isLegalInteger(uint64_t Width) const { in isLegalInteger() function
250 bool isIllegalInteger(uint64_t Width) const { return !isLegalInteger(Width); } in isIllegalInteger()
/freebsd-12.1/contrib/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp221 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
222 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h78 if (DL.isLegalInteger(OpSize) && in getOperationCost()
89 if (DL.isLegalInteger(DestSize) && in getOperationCost()
99 if (DL.isLegalInteger(DL.getTypeSizeInBits(Ty))) in getOperationCost()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DIVUsers.cpp190 if (Width > 64 || !DL.isLegalInteger(Width)) in AddUsersImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp414 if (!DataLayout.isLegalInteger(OffsetInRecord)) in accumulateBitFields()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp860 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width)) in visitIVCast()
2224 if (PhiWidth < BCWidth || !DL.isLegalInteger(PhiWidth)) in FindLoopCounter()
H A DSROA.cpp2072 P.begin() != P.end() ? false : DL.isLegalInteger(SizeInBits); in isIntegerWideningViable()
2741 !DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy)) || in visitMemSetInst()
4063 DL.isLegalInteger(P.size() * 8)) in rewritePartition()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1256 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
H A DInstCombineLoadStoreAlloca.cpp633 DL.isLegalInteger(DL.getTypeStoreSizeInBits(Ty)) && in combineLoadToOperationType()
H A DInstructionCombining.cpp159 bool FromLegal = FromWidth == 1 || DL.isLegalInteger(FromWidth); in shouldChangeType()
160 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
H A DInstCombineCompares.cpp1749 if (ExactLogBase2 != -1 && DL.isLegalInteger(ExactLogBase2 + 1)) { in foldICmpAndConstant()
2005 DL.isLegalInteger(TypeBits - Amt)) { in foldICmpShlConstant()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp858 if (DL.isLegalInteger(Len * 8) && isOnlyUsedInZeroEqualityComparison(CI)) { in optimizeMemCmp()