/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | CodeMoverUtils.cpp | 213 if (const CmpInst *Cmp1 = dyn_cast<CmpInst>(&V1)) in isInverse() local 215 if (Cmp1->getPredicate() == Cmp2->getInversePredicate() && in isInverse() 216 Cmp1->getOperand(0) == Cmp2->getOperand(0) && in isInverse() 217 Cmp1->getOperand(1) == Cmp2->getOperand(1)) in isInverse() 220 if (Cmp1->getPredicate() == in isInverse() 222 Cmp1->getOperand(0) == Cmp2->getOperand(1) && in isInverse() 223 Cmp1->getOperand(1) == Cmp2->getOperand(0)) in isInverse()
|
D | LoopUtils.cpp | 1718 Value *Cmp1 = ChkBuilder.CreateICmpULT(Start1, End0, "bound1"); in addRuntimeChecks() local 1719 FirstInst = GetFirstInst(FirstInst, Cmp1, Loc); in addRuntimeChecks() 1720 Value *IsConflict = ChkBuilder.CreateAnd(Cmp0, Cmp1, "found.conflict"); in addRuntimeChecks()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 158 Value *Cmp1 = Builder->CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0)); in instrument() local 159 Or = Builder->CreateOr(Cmp1, Or); in instrument()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringARM32.def | 28 // vcCC1_V Cmp1, Src1, Src0 /* only if CC1_V != none */ 29 // vorr Cmp2, Cmp0, Cmp1 /* only if CC1_V != none */
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 742 Value *Cmp1 = Cmp->getOperand(1); in canonicalizeSaturatedAdd() local 748 match(FVal, m_AllOnes()) && match(Cmp1, m_APInt(CmpC)) && *CmpC == ~*C) { in canonicalizeSaturatedAdd() 761 std::swap(Cmp0, Cmp1); in canonicalizeSaturatedAdd() 769 std::swap(Cmp0, Cmp1); in canonicalizeSaturatedAdd() 777 match(FVal, m_c_Add(m_Specific(X), m_Value(Y))) && Y == Cmp1) { in canonicalizeSaturatedAdd() 784 Y = Cmp1; in canonicalizeSaturatedAdd() 793 if (match(Cmp0, m_c_Add(m_Specific(Cmp1), m_Value(Y))) && in canonicalizeSaturatedAdd() 794 match(FVal, m_c_Add(m_Specific(Cmp1), m_Specific(Y)))) { in canonicalizeSaturatedAdd() 797 return Builder.CreateBinaryIntrinsic(Intrinsic::uadd_sat, Cmp1, Y); in canonicalizeSaturatedAdd() 1250 Value *Cmp1; in canonicalizeClampLike() local [all …]
|
D | InstCombineAndOrXor.cpp | 752 Value *InstCombiner::simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyRangeCheck() argument 768 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() 769 Cmp1->getPredicate()); in simplifyRangeCheck() 773 if (Cmp1->getOperand(0) == Input) { in simplifyRangeCheck() 775 RangeEnd = Cmp1->getOperand(1); in simplifyRangeCheck() 776 } else if (Cmp1->getOperand(1) == Input) { in simplifyRangeCheck() 778 RangeEnd = Cmp1->getOperand(0); in simplifyRangeCheck() 793 KnownBits Known = computeKnownBits(RangeEnd, /*Depth=*/0, Cmp1); in simplifyRangeCheck() 1023 static Value *foldIsPowerOf2(ICmpInst *Cmp0, ICmpInst *Cmp1, bool JoinedByAnd, in foldIsPowerOf2() argument 1026 if (JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_NE) in foldIsPowerOf2() [all …]
|
D | InstCombineInternal.h | 389 Value *simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, bool Inverted);
|
D | InstCombineCalls.cpp | 1394 APFloat::cmpResult Cmp1 = Max3.compare(Src1); in fmed3AMDGCN() local 1395 assert(Cmp1 != APFloat::cmpUnordered && "nans handled separately"); in fmed3AMDGCN() 1396 if (Cmp1 == APFloat::cmpEqual) in fmed3AMDGCN()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 102 Value *Cmp1 = IRB.CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0)); in getBoundsCheckCond() local 103 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 102 Value *Cmp1 = IRB.CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0)); in getBoundsCheckCond() local 103 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 691 Value *InstCombinerImpl::simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyRangeCheck() argument 707 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() 708 Cmp1->getPredicate()); in simplifyRangeCheck() 712 if (Cmp1->getOperand(0) == Input) { in simplifyRangeCheck() 714 RangeEnd = Cmp1->getOperand(1); in simplifyRangeCheck() 715 } else if (Cmp1->getOperand(1) == Input) { in simplifyRangeCheck() 717 RangeEnd = Cmp1->getOperand(0); in simplifyRangeCheck() 732 KnownBits Known = computeKnownBits(RangeEnd, /*Depth=*/0, Cmp1); in simplifyRangeCheck() 963 static Value *foldIsPowerOf2(ICmpInst *Cmp0, ICmpInst *Cmp1, bool JoinedByAnd, in foldIsPowerOf2() argument 966 if (JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_NE) in foldIsPowerOf2() [all …]
|
D | InstCombineSelect.cpp | 754 Value *Cmp1 = Cmp->getOperand(1); in canonicalizeSaturatedAdd() local 760 match(FVal, m_AllOnes()) && match(Cmp1, m_APInt(CmpC)) && *CmpC == ~*C) { in canonicalizeSaturatedAdd() 778 std::swap(Cmp0, Cmp1); in canonicalizeSaturatedAdd() 788 match(FVal, m_c_Add(m_Specific(X), m_Value(Y))) && Y == Cmp1) { in canonicalizeSaturatedAdd() 796 Y = Cmp1; in canonicalizeSaturatedAdd() 807 match(Cmp0, m_c_Add(m_Specific(Cmp1), m_Value(Y))) && in canonicalizeSaturatedAdd() 808 match(FVal, m_c_Add(m_Specific(Cmp1), m_Specific(Y)))) { in canonicalizeSaturatedAdd() 811 return Builder.CreateBinaryIntrinsic(Intrinsic::uadd_sat, Cmp1, Y); in canonicalizeSaturatedAdd() 1301 Value *Cmp1; in canonicalizeClampLike() local 1305 if (!match(Sel1, m_Select(m_Value(Cmp1), m_Value(ReplacementLow), in canonicalizeClampLike() [all …]
|
D | InstCombineInternal.h | 105 Value *simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, bool Inverted);
|
/external/llvm-project/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1571 static Value *simplifyAndOrOfICmpsWithConstants(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyAndOrOfICmpsWithConstants() argument 1574 if (Cmp0->getOperand(0) != Cmp1->getOperand(0)) in simplifyAndOrOfICmpsWithConstants() 1579 !match(Cmp1->getOperand(1), m_APInt(C1))) in simplifyAndOrOfICmpsWithConstants() 1583 auto Range1 = ConstantRange::makeExactICmpRegion(Cmp1->getPredicate(), *C1); in simplifyAndOrOfICmpsWithConstants() 1601 return IsAnd ? Cmp1 : Cmp0; in simplifyAndOrOfICmpsWithConstants() 1603 return IsAnd ? Cmp0 : Cmp1; in simplifyAndOrOfICmpsWithConstants() 1608 static Value *simplifyAndOrOfICmpsWithZero(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyAndOrOfICmpsWithZero() argument 1610 ICmpInst::Predicate P0 = Cmp0->getPredicate(), P1 = Cmp1->getPredicate(); in simplifyAndOrOfICmpsWithZero() 1612 !match(Cmp1->getOperand(1), m_Zero()) || P0 != P1) in simplifyAndOrOfICmpsWithZero() 1620 Value *Y = Cmp1->getOperand(0); in simplifyAndOrOfICmpsWithZero() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstCombineIntrinsic.cpp | 49 APFloat::cmpResult Cmp1 = Max3.compare(Src1); in fmed3AMDGCN() local 50 assert(Cmp1 != APFloat::cmpUnordered && "nans handled separately"); in fmed3AMDGCN() 51 if (Cmp1 == APFloat::cmpEqual) in fmed3AMDGCN()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 815 Value *InstCombiner::simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyRangeCheck() argument 831 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() 832 Cmp1->getPredicate()); in simplifyRangeCheck() 836 if (Cmp1->getOperand(0) == Input) { in simplifyRangeCheck() 838 RangeEnd = Cmp1->getOperand(1); in simplifyRangeCheck() 839 } else if (Cmp1->getOperand(1) == Input) { in simplifyRangeCheck() 841 RangeEnd = Cmp1->getOperand(0); in simplifyRangeCheck() 857 ComputeSignBit(RangeEnd, IsNotNegative, IsNegative, /*Depth=*/0, Cmp1); in simplifyRangeCheck()
|
D | InstCombineInternal.h | 249 Value *simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, bool Inverted);
|
/external/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | simd_vec4.inl | 317 __m128 Cmp1 = _mm_cmpnlt_ps(x.Data, glm::detail::zero); local 320 __m128 And1 = _mm_and_ps(Flr1, Cmp1);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 558 Value *Cmp1 = IRB.CreateAnd(ThrewCmp, ThrewValueCmp, "cmp1"); in wrapTestSetjmp() local 559 IRB.CreateCondBr(Cmp1, ThenBB1, ElseBB1); in wrapTestSetjmp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1577 static Value *simplifyAndOrOfICmpsWithConstants(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyAndOrOfICmpsWithConstants() argument 1580 if (Cmp0->getOperand(0) != Cmp1->getOperand(0)) in simplifyAndOrOfICmpsWithConstants() 1585 !match(Cmp1->getOperand(1), m_APInt(C1))) in simplifyAndOrOfICmpsWithConstants() 1589 auto Range1 = ConstantRange::makeExactICmpRegion(Cmp1->getPredicate(), *C1); in simplifyAndOrOfICmpsWithConstants() 1607 return IsAnd ? Cmp1 : Cmp0; in simplifyAndOrOfICmpsWithConstants() 1609 return IsAnd ? Cmp0 : Cmp1; in simplifyAndOrOfICmpsWithConstants() 1614 static Value *simplifyAndOrOfICmpsWithZero(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyAndOrOfICmpsWithZero() argument 1616 ICmpInst::Predicate P0 = Cmp0->getPredicate(), P1 = Cmp1->getPredicate(); in simplifyAndOrOfICmpsWithZero() 1618 !match(Cmp1->getOperand(1), m_Zero()) || P0 != P1) in simplifyAndOrOfICmpsWithZero() 1626 Value *Y = Cmp1->getOperand(0); in simplifyAndOrOfICmpsWithZero() [all …]
|
D | LoopAccessAnalysis.cpp | 2249 Value *Cmp1 = ChkBuilder.CreateICmpULT(Start1, End0, "bound1"); in addRuntimeChecks() local 2250 FirstInst = getFirstInst(FirstInst, Cmp1, Loc); in addRuntimeChecks() 2251 Value *IsConflict = ChkBuilder.CreateAnd(Cmp0, Cmp1, "found.conflict"); in addRuntimeChecks()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 571 Value *Cmp1 = IRB.CreateAnd(ThrewCmp, ThrewValueCmp, "cmp1"); in wrapTestSetjmp() local 572 IRB.CreateCondBr(Cmp1, ThenBB1, ElseBB1); in wrapTestSetjmp()
|
/external/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 1868 Value *Cmp1 = ChkBuilder.CreateICmpULE(Start1, End0, "bound1"); in addRuntimeChecks() local 1869 FirstInst = getFirstInst(FirstInst, Cmp1, Loc); in addRuntimeChecks() 1870 Value *IsConflict = ChkBuilder.CreateAnd(Cmp0, Cmp1, "found.conflict"); in addRuntimeChecks()
|
D | InstructionSimplify.cpp | 1632 auto *Cmp1 = dyn_cast<ICmpInst>(Cast1->getOperand(0)); in SimplifyAndInst() local 1633 if (Cmp0 && Cmp1) { in SimplifyAndInst() 1636 if (auto *V = dyn_cast_or_null<Constant>(SimplifyAndOfICmps(Cmp0, Cmp1))) in SimplifyAndInst() 1638 if (auto *V = dyn_cast_or_null<Constant>(SimplifyAndOfICmps(Cmp1, Cmp0))) in SimplifyAndInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeIntegerTypes.cpp | 2344 SDValue Cmp1 = DAG.getSetCC(dl, getSetCCResultType(NVT), Lo, LoOps[0], in ExpandIntRes_ADDSUB() local 2348 SDValue Carry = DAG.getZExtOrTrunc(Cmp1, dl, NVT); in ExpandIntRes_ADDSUB() 2353 SDValue Carry1 = DAG.getSelect(dl, NVT, Cmp1, in ExpandIntRes_ADDSUB()
|