Home
last modified time | relevance | path

Searched refs:Cmp1 (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.def28 // vcCC1_V Cmp1, Src1, Src0 /* only if CC1_V != none */
29 // vorr Cmp2, Cmp0, Cmp1 /* only if CC1_V != none */
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp742 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 …]
DInstCombineAndOrXor.cpp752 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 …]
DInstCombineInternal.h389 Value *simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, bool Inverted);
DInstCombineCalls.cpp1394 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp102 Value *Cmp1 = IRB.CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0)); in getBoundsCheckCond() local
103 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dsimd_vec4.inl317 __m128 Cmp1 = _mm_cmpnlt_ps(x.Data, glm::detail::zero); local
320 __m128 And1 = _mm_and_ps(Flr1, Cmp1);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp558 Value *Cmp1 = IRB.CreateAnd(ThrewCmp, ThrewValueCmp, "cmp1"); in wrapTestSetjmp() local
559 IRB.CreateCondBr(Cmp1, ThenBB1, ElseBB1); in wrapTestSetjmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1577 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 …]
DLoopAccessAnalysis.cpp2249 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp2344 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp21428 SDValue Cmp0, Cmp1; in LowerVSETCC() local
21433 Cmp1 = DAG.getNode( in LowerVSETCC()
21437 Cmp1.getValue(1)); in LowerVSETCC()
21441 Cmp1 = DAG.getNode( in LowerVSETCC()
21444 Cmp = DAG.getNode(CombineOpc, dl, VT, Cmp0, Cmp1); in LowerVSETCC()
44744 SDValue Cmp1 = DAG.getNode(X86ISD::CMP, DL, MVT::i32, Z, One); in combineAddOrSubToADCOrSBB() local
44746 DAG.getTargetConstant(X86::COND_B, DL, MVT::i8), Cmp1); in combineAddOrSubToADCOrSBB()
44752 SDValue Cmp1 = DAG.getNode(X86ISD::CMP, DL, MVT::i32, Z, One); in combineAddOrSubToADCOrSBB() local
44761 DAG.getConstant(-1ULL, DL, VT), Cmp1); in combineAddOrSubToADCOrSBB()
44766 DAG.getConstant(0, DL, VT), Cmp1); in combineAddOrSubToADCOrSBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp9975 APFloat::cmpResult Cmp1 = F.compare(One); in performClampCombine() local
9976 if (Cmp1 == APFloat::cmpGreaterThan) in performClampCombine()