Home
last modified time | relevance | path

Searched refs:Cmp0 (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.def27 // vcCC0_V Cmp0, Src0, Src1 /* only if CC0_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.cpp741 Value *Cmp0 = Cmp->getOperand(0); in canonicalizeSaturatedAdd() local
747 match(TVal, m_Add(m_Value(X), m_APInt(C))) && X == Cmp0 && in canonicalizeSaturatedAdd()
761 std::swap(Cmp0, Cmp1); in canonicalizeSaturatedAdd()
769 std::swap(Cmp0, Cmp1); in canonicalizeSaturatedAdd()
776 if (match(Cmp0, m_Not(m_Value(X))) && in canonicalizeSaturatedAdd()
783 X = Cmp0; in canonicalizeSaturatedAdd()
793 if (match(Cmp0, m_c_Add(m_Specific(Cmp1), m_Value(Y))) && in canonicalizeSaturatedAdd()
1192 static Instruction *canonicalizeClampLike(SelectInst &Sel0, ICmpInst &Cmp0, in canonicalizeClampLike() argument
1199 if (!Cmp0.hasOneUse()) in canonicalizeClampLike()
1201 Value *Cmp00 = Cmp0.getOperand(0); in canonicalizeClampLike()
[all …]
DInstCombineAndOrXor.cpp752 Value *InstCombiner::simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyRangeCheck() argument
756 ConstantInt *RangeStart = dyn_cast<ConstantInt>(Cmp0->getOperand(1)); in simplifyRangeCheck()
760 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() : in simplifyRangeCheck()
761 Cmp0->getPredicate()); in simplifyRangeCheck()
771 Value *Input = Cmp0->getOperand(0); in simplifyRangeCheck()
1023 static Value *foldIsPowerOf2(ICmpInst *Cmp0, ICmpInst *Cmp1, bool JoinedByAnd, in foldIsPowerOf2() argument
1027 std::swap(Cmp0, Cmp1); in foldIsPowerOf2()
1029 std::swap(Cmp0, Cmp1); in foldIsPowerOf2()
1034 if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
1042 if (!JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
DInstCombineInternal.h389 Value *simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, bool Inverted);
DInstCombineCalls.cpp1389 APFloat::cmpResult Cmp0 = Max3.compare(Src0); in fmed3AMDGCN() local
1390 assert(Cmp0 != APFloat::cmpUnordered && "nans handled separately"); in fmed3AMDGCN()
1391 if (Cmp0 == APFloat::cmpEqual) in fmed3AMDGCN()
/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()
1584 if (!match(Cmp0->getOperand(1), m_APInt(C0)) || in simplifyAndOrOfICmpsWithConstants()
1588 auto Range0 = ConstantRange::makeExactICmpRegion(Cmp0->getPredicate(), *C0); in simplifyAndOrOfICmpsWithConstants()
1594 return getFalse(Cmp0->getType()); in simplifyAndOrOfICmpsWithConstants()
1599 return getTrue(Cmp0->getType()); 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()
[all …]
DLoopAccessAnalysis.cpp2247 Value *Cmp0 = ChkBuilder.CreateICmpULT(Start0, End1, "bound0"); in addRuntimeChecks() local
2248 FirstInst = getFirstInst(FirstInst, Cmp0, Loc); in addRuntimeChecks()
2251 Value *IsConflict = ChkBuilder.CreateAnd(Cmp0, Cmp1, "found.conflict"); in addRuntimeChecks()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dsimd_vec4.inl316 __m128 Cmp0 = _mm_cmplt_ps(x.Data, glm::detail::zero); local
319 __m128 And0 = _mm_and_ps(Sub0, Cmp0);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp9967 APFloat::cmpResult Cmp0 = F.compare(Zero); in performClampCombine() local
9968 if (Cmp0 == APFloat::cmpLessThan || in performClampCombine()
9969 (Cmp0 == APFloat::cmpUnordered && in performClampCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp21428 SDValue Cmp0, Cmp1; in LowerVSETCC() local
21430 Cmp0 = DAG.getNode( in LowerVSETCC()
21436 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Cmp0.getValue(1), in LowerVSETCC()
21439 Cmp0 = DAG.getNode( in LowerVSETCC()
21444 Cmp = DAG.getNode(CombineOpc, dl, VT, Cmp0, Cmp1); in LowerVSETCC()