Home
last modified time | relevance | path

Searched refs:isAllOnesValue (Results 1 – 25 of 39) sorted by relevance

12

/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DConstant.h64 bool isAllOnesValue() const;
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp88 return C->isAllOnesValue(); in isSaturating()
H A DInstCombineCalls.cpp361 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore()
397 if (ConstMask->isAllOnesValue()) in simplifyMaskedGather()
438 if (ConstMask->isAllOnesValue()) { in simplifyMaskedScatter()
H A DInstCombineSimplifyDemanded.cpp1685 else if (CElt->isAllOnesValue()) in SimplifyDemandedVectorElts()
H A DInstCombineCompares.cpp2888 ->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 DLoopDeletion.cpp205 auto *Selected = C->isAllOnesValue() ? Select->getTrueValue() in getValueOnFirstIteration()
372 if (ConstCondition->isAllOnesValue()) in canProveExitOnFirstIteration()
H A DLoopPredication.cpp519 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 DScalarizeMaskedMemIntrin.cpp163 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 DPoisonChecking.cpp239 if (CI->isAllOnesValue()) in CreateAssert()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DVectorUtils.cpp1104 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef()
1113 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
H A DMustExecute.cpp154 return SimpleCst->isAllOnesValue(); in CanProveNotTakenFirstIteration()
H A DInlineCost.cpp2312 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst()
H A DScalarEvolution.cpp472 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 DConstantFolding.cpp767 if (C->isAllOnesValue() && in ConstantFoldLoadFromUniformValue()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp89 return ConstValue->isAllOnesValue(); in isAllTrueMask()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp995 if (MaskC->isAllOnesValue()) { in instCombineIntrinsic()
1039 if (MaskC->isAllOnesValue()) { in instCombineIntrinsic()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DAutoUpgrade.cpp1342 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 DConstantFold.cpp45 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector()
525 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction()
H A DConstants.cpp93 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant
105 return SplatVal->isAllOnesValue(); in isAllOnesValue()
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DAPInt.h363 bool isAllOnesValue() const { return isAllOnes(); } in isAllOnesValue() function
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1249 return MI.getOperand(1).getCImm()->isAllOnesValue(); in isAllOnesOrAllOnesSplat()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DScalarEvolution.h159 bool isAllOnesValue() const;
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1615 bool isAllOnesValue() const { return isAllOnes(); }
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp878 } else if (I->second->isAllOnesValue()) { in visitMulExpr()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp448 if (Inst && Opcode == Instruction::ICmp && Idx == 1 && Imm.isAllOnesValue()) { in getIntImmCostInst()

12