Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp158 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/
DIceTargetLoweringARM32.def28 // 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-7.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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp815 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()
DInstCombineInternal.h249 Value *simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, bool Inverted);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp755 Value *InstCombiner::simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyRangeCheck() argument
771 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck()
772 Cmp1->getPredicate()); in simplifyRangeCheck()
776 if (Cmp1->getOperand(0) == Input) { in simplifyRangeCheck()
778 RangeEnd = Cmp1->getOperand(1); in simplifyRangeCheck()
779 } else if (Cmp1->getOperand(1) == Input) { in simplifyRangeCheck()
781 RangeEnd = Cmp1->getOperand(0); in simplifyRangeCheck()
796 KnownBits Known = computeKnownBits(RangeEnd, /*Depth=*/0, Cmp1); in simplifyRangeCheck()
DInstCombineInternal.h359 Value *simplifyRangeCheck(ICmpInst *Cmp0, ICmpInst *Cmp1, bool Inverted);
DInstCombineCalls.cpp1485 APFloat::cmpResult Cmp1 = Max3.compare(Src1); in fmed3AMDGCN() local
1486 assert(Cmp1 != APFloat::cmpUnordered && "nans handled separately"); in fmed3AMDGCN()
1487 if (Cmp1 == APFloat::cmpEqual) in fmed3AMDGCN()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1481 static Value *simplifyAndOrOfICmpsWithConstants(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyAndOrOfICmpsWithConstants() argument
1484 if (Cmp0->getOperand(0) != Cmp1->getOperand(0)) in simplifyAndOrOfICmpsWithConstants()
1489 !match(Cmp1->getOperand(1), m_APInt(C1))) in simplifyAndOrOfICmpsWithConstants()
1493 auto Range1 = ConstantRange::makeExactICmpRegion(Cmp1->getPredicate(), *C1); in simplifyAndOrOfICmpsWithConstants()
1511 return IsAnd ? Cmp1 : Cmp0; in simplifyAndOrOfICmpsWithConstants()
1513 return IsAnd ? Cmp0 : Cmp1; in simplifyAndOrOfICmpsWithConstants()
1518 static Value *simplifyAndOrOfICmpsWithZero(ICmpInst *Cmp0, ICmpInst *Cmp1, in simplifyAndOrOfICmpsWithZero() argument
1520 ICmpInst::Predicate P0 = Cmp0->getPredicate(), P1 = Cmp1->getPredicate(); in simplifyAndOrOfICmpsWithZero()
1522 !match(Cmp1->getOperand(1), m_Zero()) || P0 != P1) in simplifyAndOrOfICmpsWithZero()
1530 Value *Y = Cmp1->getOperand(0); in simplifyAndOrOfICmpsWithZero()
[all …]
DLoopAccessAnalysis.cpp2165 Value *Cmp1 = ChkBuilder.CreateICmpULT(Start1, End0, "bound1"); in addRuntimeChecks() local
2166 FirstInst = getFirstInst(FirstInst, Cmp1, Loc); in addRuntimeChecks()
2167 Value *IsConflict = ChkBuilder.CreateAnd(Cmp0, Cmp1, "found.conflict"); in addRuntimeChecks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp550 Value *Cmp1 = IRB.CreateAnd(ThrewCmp, ThrewValueCmp, "cmp1"); in wrapTestSetjmp() local
551 IRB.CreateCondBr(Cmp1, ThenBB1, ElseBB1); in wrapTestSetjmp()
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp1868 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()
DInstructionSimplify.cpp1632 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-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp1891 SDValue Cmp1 = DAG.getSetCC(dl, getSetCCResultType(NVT), Lo, LoOps[0], in ExpandIntRes_ADDSUB() local
1895 SDValue Carry = DAG.getZExtOrTrunc(Cmp1, dl, NVT); in ExpandIntRes_ADDSUB()
1900 SDValue Carry1 = DAG.getSelect(dl, NVT, Cmp1, in ExpandIntRes_ADDSUB()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp1539 SDValue Cmp1 = DAG.getSetCC(dl, TLI.getSetCCResultType(NVT), Lo, LoOps[0], in ExpandIntRes_ADDSUB() local
1541 SDValue Carry1 = DAG.getNode(ISD::SELECT, dl, NVT, Cmp1, in ExpandIntRes_ADDSUB()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp1795 SDValue Cmp1 = DAG.getSetCC(dl, getSetCCResultType(NVT), Lo, LoOps[0], in ExpandIntRes_ADDSUB() local
1797 SDValue Carry1 = DAG.getSelect(dl, NVT, Cmp1, in ExpandIntRes_ADDSUB()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp18419 SDValue Cmp1 = DAG.getNode(Opc, dl, VT, Op0, Op1, in LowerVSETCC() local
18421 Cmp = DAG.getNode(CombineOpc, dl, VT, Cmp0, Cmp1); in LowerVSETCC()
38098 SDValue Cmp1 = DAG.getSetCC(DL, VecVT, A, B, ISD::SETEQ); in combineVectorSizedSetCCEquality() local
38100 Cmp = DAG.getNode(ISD::AND, DL, VecVT, Cmp1, Cmp2); in combineVectorSizedSetCCEquality()
38686 SDValue Cmp1 = DAG.getNode(X86ISD::CMP, DL, MVT::i32, Z, One); in combineAddOrSubToADCOrSBB() local
38688 DAG.getConstant(X86::COND_B, DL, MVT::i8), Cmp1); in combineAddOrSubToADCOrSBB()
38694 SDValue Cmp1 = DAG.getNode(X86ISD::CMP, DL, MVT::i32, Z, One); in combineAddOrSubToADCOrSBB() local
38703 DAG.getConstant(-1ULL, DL, VT), Cmp1); in combineAddOrSubToADCOrSBB()
38708 DAG.getConstant(0, DL, VT), Cmp1); in combineAddOrSubToADCOrSBB()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp7784 APFloat::cmpResult Cmp1 = F.compare(One); in performClampCombine() local
7785 if (Cmp1 == APFloat::cmpGreaterThan) in performClampCombine()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp15299 SDValue Cmp1 = DAG.getNode(Opc, dl, VT, Op0, Op1, in LowerVSETCC() local
15301 Cmp = DAG.getNode(CombineOpc, dl, VT, Cmp0, Cmp1); in LowerVSETCC()