| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 56 bool isOneValue() const;
|
| H A D | Constants.h | 200 bool isOne() const { return Val.isOneValue(); } in isOne()
|
| H A D | PatternMatch.h | 509 bool isValue(const APInt &C) { return C.isOneValue(); } in isValue() 2484 if (C->isOneValue() && L.match(SI->getCondition()) &&
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroInstr.h | 459 return cast<Constant>(getArgOperand(FromArg))->isOneValue(); in isFromPromise() 506 return cast<Constant>(getArgOperand(FinalArg))->isOneValue(); in isFinal() 608 return cast<Constant>(getArgOperand(UnwindArg))->isOneValue(); in isUnwind()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 425 return C1I.isOneValue() || C1I.isAllOnesValue() || in isSelect01() 426 C2I.isOneValue() || C2I.isAllOnesValue(); in isSelect01() 1820 return C.isNullValue() || C.isOneValue(); in foldOverflowingAddSubSelect() 1990 if (Elt->isOneValue()) { in canonicalizeSelectToShuffle() 3191 if (Known.One.isOneValue()) in visitSelectInst() 3193 if (Known.Zero.isOneValue()) in visitSelectInst()
|
| H A D | InstCombineSimplifyDemanded.cpp | 520 DemandedFromOps.isOneValue()) && in SimplifyDemandedUseBits() 618 if (DemandedMask.isOneValue()) { in SimplifyDemandedUseBits()
|
| H A D | InstCombineCompares.cpp | 84 if (C.isOneValue()) { in isSignTest() 1547 if (C.isOneValue() && C.getBitWidth() > 1) { in foldICmpTruncConstant() 1923 if (C.isOneValue()) { in foldICmpOrConstant() 2438 if (C2->isNullValue() || C2->isOneValue() || in foldICmpDivConstant() 2619 if (Pred == ICmpInst::ICMP_SLT && C.isOneValue()) in foldICmpSubConstant() 4150 !C->isOneValue()) { in foldICmpBinOp() 5283 if (Op0KnownZeroInverted.isOneValue() && in foldICmpUsingKnownBits()
|
| H A D | InstCombineAddSub.cpp | 966 if (C->isOneValue() && Op0->hasOneUse()) { in foldAddWithConstant()
|
| H A D | InstCombineCalls.cpp | 920 bool IntMinIsPoison = cast<Constant>(II->getArgOperand(1))->isOneValue(); in visitCallInst()
|
| H A D | InstructionCombining.cpp | 1061 return match(Cmp, m_APIntAllowUndef(C)) && C->isOneValue(); in FoldOpIntoSelect()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnswitch.cpp | 880 if (Info->KnownValue->isOneValue()) in processCurrentLoop() 1497 if (CC->isOneValue()) { in unswitchNontrivialCondition()
|
| H A D | SimpleLoopUnswitch.cpp | 2068 (PartiallyInvariant && !PartialIVInfo.KnownValue->isOneValue())) { in unswitchNontrivialInvariants() 2883 } else if ((PartialIVInfo.KnownValue->isOneValue() && in unswitchBestCondition() 2885 (!PartialIVInfo.KnownValue->isOneValue() && in unswitchBestCondition()
|
| H A D | CorrelatedValuePropagation.cpp | 234 if (C->isOneValue()) { in processPHI()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 1608 if (DemandedBits.isOneValue()) in SimplifyDemandedBits() 1784 if (DemandedBits.isOneValue() && !TLO.LegalOps && !VT.isVector()) in SimplifyDemandedBits() 3114 return CVal.isOneValue(); in isConstTrueVal() 5163 if (Divisor.isOneValue() || Divisor.isAllOnesValue()) { in BuildSDIV() 5320 if (magics.a == 0 || Divisor.isOneValue()) { in BuildUDIV() 5532 bool TautologicalLane = D.isOneValue() || TautologicalInvertedLane; in prepareUREMEqFold() 5551 AllDivisorsArePowerOfTwo &= D0.isOneValue(); in prepareUREMEqFold() 5781 HadOneDivisor |= D.isOneValue(); in prepareSREMEqFold() 5782 AllDivisorsAreOnes &= D.isOneValue(); in prepareSREMEqFold() 5797 AllDivisorsArePowerOfTwo &= D0.isOneValue(); in prepareSREMEqFold() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 108 bool Constant::isOneValue() const { in isOneValue() function in Constant 115 return CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isOneValue() 120 return SplatVal->isOneValue(); in isOneValue() 128 return !CI->isOneValue(); in isNotOneValue() 132 return !CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isNotOneValue()
|
| H A D | ConstantRange.cpp | 207 if (V == 0 || V.isOneValue()) in makeExactMulNSWRegion()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 311 if (C.isOneValue()) { in mul()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 2674 if (C1->isOneValue() && (!C0 || C0->isNullValue())) in ConstantFoldScalarCall2() 2686 if (C1->isOneValue() && (!C0 || C0->isMinSignedValue())) in ConstantFoldScalarCall2() 3039 } else if (MaskElt->isOneValue()) { in ConstantFoldFixedVectorCall()
|
| H A D | BranchProbabilityInfo.cpp | 588 (Result->isOneValue() && B == BI->getSuccessor(1)))) in computeUnlikelySuccessors()
|
| H A D | InstructionSimplify.cpp | 4422 !BasePtrOffset.isOneValue()) { in SimplifyGEPInst()
|
| H A D | ValueTracking.cpp | 2697 !C->isNullValue() && !C->isOneValue() && in isNonEqualMul()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 416 bool isOneValue() const {
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 2176 C->isOneValue()) { in EnterSEHTryStmt()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | OpenMPOpt.cpp | 3004 ExecMode->getInitializer()->isOneValue() && in changeToSPMDMode()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 892 SplatVal.isOneValue()) { in PreprocessISelDAG()
|