| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Constant.h | 56 bool isOneValue() const;
|
| H A D | Constants.h | 198 bool isOne() const { return Val.isOneValue(); } in isOne()
|
| H A D | PatternMatch.h | 509 bool isValue(const APInt &C) { return C.isOneValue(); } in isValue() 2480 if (C->isOneValue() && L.match(SI->getCondition()) &&
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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() 3148 if (Known.One.isOneValue()) in visitSelectInst() 3150 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() 1524 if (C.isOneValue() && C.getBitWidth() > 1) { in foldICmpTruncConstant() 1887 if (C.isOneValue()) { in foldICmpOrConstant() 2402 if (C2->isNullValue() || C2->isOneValue() || in foldICmpDivConstant() 2583 if (Pred == ICmpInst::ICMP_SLT && C.isOneValue()) in foldICmpSubConstant() 4082 !C->isOneValue()) { in foldICmpBinOp() 5128 if (Op0KnownZeroInverted.isOneValue() && in foldICmpUsingKnownBits()
|
| H A D | InstCombineAddSub.cpp | 966 if (C->isOneValue() && Op0->hasOneUse()) { in foldAddWithConstant()
|
| H A D | InstCombineCalls.cpp | 899 bool IntMinIsPoison = cast<Constant>(II->getArgOperand(1))->isOneValue(); in visitCallInst()
|
| H A D | InstructionCombining.cpp | 1020 return match(Cmp, m_APIntAllowUndef(C)) && C->isOneValue(); in FoldOpIntoSelect()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Constants.cpp | 127 bool Constant::isOneValue() const { in isOneValue() function in Constant 134 return CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isOneValue() 139 return Splat->isOneValue(); in isOneValue() 145 return CV->getElementAsAPFloat(0).bitcastToAPInt().isOneValue(); in isOneValue() 146 return CV->getElementAsAPInt(0).isOneValue(); in isOneValue() 156 return !CI->isOneValue(); in isNotOneValue() 160 return !CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isNotOneValue()
|
| H A D | ConstantRange.cpp | 207 if (V == 0 || V.isOneValue()) in makeExactMulNSWRegion()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 1617 if (DemandedBits.isOneValue()) in SimplifyDemandedBits() 1793 if (DemandedBits.isOneValue() && !TLO.LegalOps && !VT.isVector()) in SimplifyDemandedBits() 3089 return CVal.isOneValue(); in isConstTrueVal() 3526 if (N0.getOpcode() == ISD::SRL && (C1.isNullValue() || C1.isOneValue()) && in SimplifySetCC() 5137 if (Divisor.isOneValue() || Divisor.isAllOnesValue()) { in BuildSDIV() 5294 if (magics.a == 0 || Divisor.isOneValue()) { in BuildUDIV() 5506 bool TautologicalLane = D.isOneValue() || TautologicalInvertedLane; in prepareUREMEqFold() 5518 assert((!D.isOneValue() || (K == 0)) && "For divisor '1' we won't rotate."); in prepareUREMEqFold() 5525 AllDivisorsArePowerOfTwo &= D0.isOneValue(); in prepareUREMEqFold() 5534 assert((D0 * P).isOneValue() && "Multiplicative inverse sanity check."); in prepareUREMEqFold() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 | CorrelatedValuePropagation.cpp | 234 if (C->isOneValue()) { in processPHI()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 310 if (C.isOneValue()) { in mul()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 2540 if (C1->isOneValue() && (!C0 || C0->isNullValue())) in ConstantFoldScalarCall2() 2552 if (C1->isOneValue() && (!C0 || C0->isMinSignedValue())) in ConstantFoldScalarCall2() 2886 } else if (MaskElt->isOneValue()) { in ConstantFoldFixedVectorCall()
|
| H A D | BranchProbabilityInfo.cpp | 588 (Result->isOneValue() && B == BI->getSuccessor(1)))) in computeUnlikelySuccessors()
|
| H A D | ValueTracking.cpp | 2655 !C->isNullValue() && !C->isOneValue() && in isNonEqualMul()
|
| H A D | InstructionSimplify.cpp | 4350 !BasePtrOffset.isOneValue()) { in SimplifyGEPInst()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 416 bool isOneValue() const {
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGException.cpp | 2176 C->isOneValue()) { in EnterSEHTryStmt()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 892 SplatVal.isOneValue()) { in PreprocessISelDAG()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 18412 !ResultR.Val.getInt().isOneValue()) { in VisitOMPArraySectionExpr()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 15413 SplatLHSVal.isOneValue() && ISD::isConstantSplatVectorAllOnes(CmpRHS) && in performVSelectCombine()
|