/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | Constant.h | 64 bool isAllOnesValue() const;
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAtomicRMW.cpp | 88 return C->isAllOnesValue(); in isSaturating()
|
H A D | InstCombineCalls.cpp | 361 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore() 397 if (ConstMask->isAllOnesValue()) in simplifyMaskedGather() 438 if (ConstMask->isAllOnesValue()) { in simplifyMaskedScatter()
|
H A D | InstCombineSimplifyDemanded.cpp | 1685 else if (CElt->isAllOnesValue()) in SimplifyDemandedVectorElts()
|
H A D | InstCombineCompares.cpp | 2888 ->isAllOnesValue(); in foldICmpSelectConstant() 2891 ->isAllOnesValue(); in foldICmpSelectConstant() 2894 ->isAllOnesValue(); in foldICmpSelectConstant() 3177 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) { in foldICmpBinOpEqualityWithConstant()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | LoopDeletion.cpp | 205 auto *Selected = C->isAllOnesValue() ? Select->getTrueValue() in getValueOnFirstIteration() 372 if (ConstCondition->isAllOnesValue()) in canProveExitOnFirstIteration()
|
H A D | LoopPredication.cpp | 519 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSupportedStep() 749 assert(Step->isAllOnesValue() && "Step should be -1!"); in widenICmpRangeCheck() 927 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() 303 if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) { in scalarizeMaskedStore()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
H A D | PoisonChecking.cpp | 239 if (CI->isAllOnesValue()) in CreateAssert()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 1104 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef() 1113 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
|
H A D | MustExecute.cpp | 154 return SimpleCst->isAllOnesValue(); in CanProveNotTakenFirstIteration()
|
H A D | InlineCost.cpp | 2312 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst()
|
H A D | ScalarEvolution.cpp | 472 bool SCEV::isAllOnesValue() const { in isAllOnesValue() function in SCEV 2728 Mul->getOperand(0)->isAllOnesValue()) { in getAddExpr() 3212 if (Ops[0]->isAllOnesValue()) { in getMulExpr() 4571 !Add->getOperand(0)->isAllOnesValue()) in MatchNotExpr() 4576 !AddRHS->getOperand(0)->isAllOnesValue()) in MatchNotExpr() 10699 ME->getOperand(0)->isAllOnesValue()) { in SimplifyICmpOperands()
|
H A D | ConstantFolding.cpp | 767 if (C->isAllOnesValue() && in ConstantFoldLoadFromUniformValue()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 89 return ConstValue->isAllOnesValue(); in isAllTrueMask()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 995 if (MaskC->isAllOnesValue()) { in instCombineIntrinsic() 1039 if (MaskC->isAllOnesValue()) { in instCombineIntrinsic()
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 1342 if (C->isAllOnesValue()) in EmitX86Select() 1354 if (C->isAllOnesValue()) in EmitX86ScalarSelect() 1602 if (C->isAllOnesValue()) in UpgradeMaskedStore() 1626 if (C->isAllOnesValue()) in UpgradeMaskedLoad() 1680 if (!C || !C->isAllOnesValue()) in ApplyX86MaskOn1BitsVec()
|
H A D | ConstantFold.cpp | 45 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 525 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction()
|
H A D | Constants.cpp | 93 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant 105 return SplatVal->isAllOnesValue(); in isAllOnesValue()
|
/openbsd/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | APInt.h | 363 bool isAllOnesValue() const { return isAllOnes(); } in isAllOnesValue() function
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 1249 return MI.getOperand(1).getCImm()->isAllOnesValue(); in isAllOnesOrAllOnesSplat()
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 159 bool isAllOnesValue() const;
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 1615 bool isAllOnesValue() const { return isAllOnes(); }
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 878 } else if (I->second->isAllOnesValue()) { in visitMulExpr()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 448 if (Inst && Opcode == Instruction::ICmp && Idx == 1 && Imm.isAllOnesValue()) { in getIntImmCostInst()
|