/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constant.h | 65 bool isAllOnesValue() const;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAtomicRMW.cpp | 88 return C->isAllOnesValue(); in isSaturating()
|
H A D | InstCombineCalls.cpp | 333 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore() 369 if (ConstMask->isAllOnesValue()) in simplifyMaskedGather() 413 if (ConstMask->isAllOnesValue()) { in simplifyMaskedScatter()
|
H A D | InstCombineSimplifyDemanded.cpp | 1843 else if (CElt->isAllOnesValue()) in SimplifyDemandedVectorElts()
|
H A D | InstCombineCompares.cpp | 3524 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant() 7230 bool IsIntMinPosion = C->isAllOnesValue(); in foldICmpCommutative()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopDeletion.cpp | 203 auto *Selected = C->isAllOnesValue() ? Select->getTrueValue() in getValueOnFirstIteration() 370 if (ConstCondition->isAllOnesValue()) in canProveExitOnFirstIteration()
|
H A D | LoopPredication.cpp | 479 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSafeToTruncateWideIVType() 711 assert(Step->isAllOnesValue() && "Step should be -1!"); in widenICmpRangeCheck() 859 assert(Step->isAllOnesValue() && "Step should be -1!"); in widenWidenableBranchGuardConditions()
|
H A D | ScalarizeMaskedMemIntrin.cpp | 163 if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) { in scalarizeMaskedLoad() 299 if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) { in scalarizeMaskedStore()
|
H A D | GuardWidening.cpp | 514 return ConstCond->isAllOnesValue() ? IfTrue : IfFalse; in computeWideningScore()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 1058 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef() 1067 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef() 1084 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskContainsAllOneOrUndef() 1093 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskContainsAllOneOrUndef()
|
H A D | MustExecute.cpp | 154 return SimpleCst->isAllOnesValue(); in CanProveNotTakenFirstIteration()
|
H A D | InstructionSimplify.cpp | 1007 return (C && C->isAllOnesValue()); in isICmpTrue() 3873 if (AnyEq->isAllOnesValue() && MaxRecurse) in simplifyICmpInst() 3950 if (AnyEq->isAllOnesValue() && MaxRecurse) in simplifyICmpInst() 6490 if (C != nullptr && C->isAllOnesValue()) in simplifyBinaryIntrinsic()
|
H A D | ScalarEvolution.cpp | 454 bool SCEV::isAllOnesValue() const { in isAllOnesValue() function in SCEV 2703 Mul->getOperand(0)->isAllOnesValue()) { in getAddExpr() 3187 if (Ops[0]->isAllOnesValue()) { in getMulExpr() 4606 !Add->getOperand(0)->isAllOnesValue()) in MatchNotExpr() 4611 !AddRHS->getOperand(0)->isAllOnesValue()) in MatchNotExpr() 10649 ME && ME->getNumOperands() == 2 && ME->getOperand(0)->isAllOnesValue()) { in MatchBinarySub() 10655 ME && ME->getNumOperands() == 2 && ME->getOperand(0)->isAllOnesValue()) { in MatchBinarySub()
|
H A D | InlineCost.cpp | 2409 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst()
|
H A D | ConstantFolding.cpp | 769 if (C->isAllOnesValue() && in ConstantFoldLoadFromUniformValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PoisonChecking.cpp | 240 if (CI->isAllOnesValue()) in CreateAssert()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 78 if (V->isAllOnesValue()) in FoldBitCast() 271 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction()
|
H A D | AutoUpgrade.cpp | 1583 if (C->isAllOnesValue()) in emitX86Select() 1595 if (C->isAllOnesValue()) in emitX86ScalarSelect() 1842 if (C->isAllOnesValue()) in upgradeMaskedStore() 1865 if (C->isAllOnesValue()) in upgradeMaskedLoad() 1919 if (!C || !C->isAllOnesValue()) in applyX86MaskOn1BitsVec()
|
H A D | Constants.cpp | 107 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant 119 return SplatVal->isAllOnesValue(); in isAllOnesValue()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 89 return ConstValue->isAllOnesValue(); in isAllTrueMask()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 159 bool isAllOnesValue() const;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 2212 if (MaskC->isAllOnesValue()) { in instCombineIntrinsic() 2256 if (MaskC->isAllOnesValue()) { in instCombineIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 1553 return MI.getOperand(1).getCImm()->isAllOnesValue(); in isAllOnesOrAllOnesSplat()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 626 } else if (I->second->isAllOnesValue()) { in visitMulExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 812 return ConstValue->isAllOnesValue(); in scalarizeVPIntrinsic()
|