/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constant.h | 64 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 | 346 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore() 382 if (ConstMask->isAllOnesValue()) in simplifyMaskedGather() 426 if (ConstMask->isAllOnesValue()) { in simplifyMaskedScatter()
|
H A D | InstCombineCompares.cpp | 3133 ->isAllOnesValue(); in foldICmpSelectConstant() 3136 ->isAllOnesValue(); in foldICmpSelectConstant() 3139 ->isAllOnesValue(); in foldICmpSelectConstant() 3412 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant() 6901 bool IsIntMinPosion = C->isAllOnesValue(); in foldICmpCommutative()
|
H A D | InstCombineSimplifyDemanded.cpp | 1787 else if (CElt->isAllOnesValue()) in SimplifyDemandedVectorElts()
|
/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 isSupportedStep() 711 assert(Step->isAllOnesValue() && "Step should be -1!"); in widenICmpRangeCheck() 859 assert(Step->isAllOnesValue() && "Step should be -1!"); in parseLoopLatchICmp()
|
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 | 511 return ConstCond->isAllOnesValue() ? IfTrue : IfFalse; in computeWideningScore()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 999 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef() 1008 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef() 1025 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskContainsAllOneOrUndef() 1034 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskContainsAllOneOrUndef()
|
H A D | MustExecute.cpp | 154 return SimpleCst->isAllOnesValue(); in CanProveNotTakenFirstIteration()
|
H A D | InstructionSimplify.cpp | 1006 return (C && C->isAllOnesValue()); in isICmpTrue() 3868 if (AnyEq->isAllOnesValue() && MaxRecurse) in simplifyICmpInst() 3945 if (AnyEq->isAllOnesValue() && MaxRecurse) in simplifyICmpInst() 6448 if (C != nullptr && C->isAllOnesValue()) in simplifyBinaryIntrinsic()
|
H A D | ScalarEvolution.cpp | 454 bool SCEV::isAllOnesValue() const { in isAllOnesValue() function in SCEV 2701 Mul->getOperand(0)->isAllOnesValue()) { in getAddExpr() 3185 if (Ops[0]->isAllOnesValue()) { in getMulExpr() 4601 !Add->getOperand(0)->isAllOnesValue()) in MatchNotExpr() 4606 !AddRHS->getOperand(0)->isAllOnesValue()) in MatchNotExpr() 10653 ME->getOperand(0)->isAllOnesValue()) { in SimplifyICmpOperands()
|
H A D | InlineCost.cpp | 2401 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst()
|
H A D | ConstantFolding.cpp | 764 if (C->isAllOnesValue() && in ConstantFoldLoadFromUniformValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PoisonChecking.cpp | 239 if (CI->isAllOnesValue()) in CreateAssert()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 78 if (V->isAllOnesValue()) in FoldBitCast() 339 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction()
|
H A D | AutoUpgrade.cpp | 1536 if (C->isAllOnesValue()) in emitX86Select() 1548 if (C->isAllOnesValue()) in emitX86ScalarSelect() 1795 if (C->isAllOnesValue()) in upgradeMaskedStore() 1818 if (C->isAllOnesValue()) in upgradeMaskedLoad() 1872 if (!C || !C->isAllOnesValue()) in applyX86MaskOn1BitsVec()
|
H A D | Constants.cpp | 93 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant 105 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/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 1423 return MI.getOperand(1).getCImm()->isAllOnesValue(); in isAllOnesOrAllOnesSplat()
|
/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 | 2063 if (MaskC->isAllOnesValue()) { in instCombineIntrinsic() 2107 if (MaskC->isAllOnesValue()) { in instCombineIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 772 return ConstValue->isAllOnesValue(); in scalarizeVPIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 577 } else if (I->second->isAllOnesValue()) { in visitMulExpr()
|