Home
last modified time | relevance | path

Searched refs:CmpInst (Results 1 – 25 of 438) sorted by relevance

12345678910>>...18

/external/llvm-project/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp256 FCmp32Libcalls.resize(CmpInst::LAST_FCMP_PREDICATE + 1); in setFCmpLibcallsAEABI()
257 FCmp32Libcalls[CmpInst::FCMP_OEQ] = { in setFCmpLibcallsAEABI()
258 {RTLIB::OEQ_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
259 FCmp32Libcalls[CmpInst::FCMP_OGE] = { in setFCmpLibcallsAEABI()
260 {RTLIB::OGE_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
261 FCmp32Libcalls[CmpInst::FCMP_OGT] = { in setFCmpLibcallsAEABI()
262 {RTLIB::OGT_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
263 FCmp32Libcalls[CmpInst::FCMP_OLE] = { in setFCmpLibcallsAEABI()
264 {RTLIB::OLE_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
265 FCmp32Libcalls[CmpInst::FCMP_OLT] = { in setFCmpLibcallsAEABI()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp256 FCmp32Libcalls.resize(CmpInst::LAST_FCMP_PREDICATE + 1); in setFCmpLibcallsAEABI()
257 FCmp32Libcalls[CmpInst::FCMP_OEQ] = { in setFCmpLibcallsAEABI()
258 {RTLIB::OEQ_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
259 FCmp32Libcalls[CmpInst::FCMP_OGE] = { in setFCmpLibcallsAEABI()
260 {RTLIB::OGE_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
261 FCmp32Libcalls[CmpInst::FCMP_OGT] = { in setFCmpLibcallsAEABI()
262 {RTLIB::OGT_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
263 FCmp32Libcalls[CmpInst::FCMP_OLE] = { in setFCmpLibcallsAEABI()
264 {RTLIB::OLE_F32, CmpInst::BAD_ICMP_PREDICATE}}; in setFCmpLibcallsAEABI()
265 FCmp32Libcalls[CmpInst::FCMP_OLT] = { in setFCmpLibcallsAEABI()
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DValueLatticeTest.cpp109 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_EQ, I1Ty, LV1)->isOneValue()); in TEST_F()
110 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV1)->isOneValue()); in TEST_F()
111 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV1)->isOneValue()); in TEST_F()
112 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV1)->isZeroValue()); in TEST_F()
113 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV1)->isZeroValue()); in TEST_F()
114 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGT, I1Ty, LV1)->isZeroValue()); in TEST_F()
119 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV2)->isOneValue()); in TEST_F()
120 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2)->isOneValue()); in TEST_F()
121 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2)->isOneValue()); in TEST_F()
122 EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_EQ, I1Ty, LV2)->isZeroValue()); in TEST_F()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp130 CmpInst::Predicate &LLVMPredicate) { in DecodeFcmpPredicate()
133 LLVMPredicate = CmpInst::FCMP_FALSE; in DecodeFcmpPredicate()
136 LLVMPredicate = CmpInst::FCMP_FALSE; in DecodeFcmpPredicate()
139 LLVMPredicate = CmpInst::FCMP_OEQ; in DecodeFcmpPredicate()
142 LLVMPredicate = CmpInst::FCMP_OGT; in DecodeFcmpPredicate()
145 LLVMPredicate = CmpInst::FCMP_OGE; in DecodeFcmpPredicate()
148 LLVMPredicate = CmpInst::FCMP_OLT; in DecodeFcmpPredicate()
151 LLVMPredicate = CmpInst::FCMP_OLE; in DecodeFcmpPredicate()
154 LLVMPredicate = CmpInst::FCMP_ONE; in DecodeFcmpPredicate()
157 LLVMPredicate = CmpInst::FCMP_ORD; in DecodeFcmpPredicate()
[all …]
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp93 void convertFCmp(CmpInst &I);
96 void convertICmp(CmpInst &I);
130 void SystemZTDCPass::convertFCmp(CmpInst &I) { in convertFCmp()
152 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp()
153 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp()
158 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp()
159 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp()
213 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp()
215 if (Pred & CmpInst::FCMP_OGT) in convertFCmp()
217 if (Pred & CmpInst::FCMP_OLT) in convertFCmp()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp85 void convertFCmp(CmpInst &I);
88 void convertICmp(CmpInst &I);
122 void SystemZTDCPass::convertFCmp(CmpInst &I) { in convertFCmp()
144 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp()
145 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp()
150 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp()
151 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp()
205 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp()
207 if (Pred & CmpInst::FCMP_OGT) in convertFCmp()
209 if (Pred & CmpInst::FCMP_OLT) in convertFCmp()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp85 void convertFCmp(CmpInst &I);
88 void convertICmp(CmpInst &I);
122 void SystemZTDCPass::convertFCmp(CmpInst &I) { in convertFCmp()
144 if ((Pred & CmpInst::FCMP_OGE) != CmpInst::FCMP_OGE && in convertFCmp()
145 (Pred & CmpInst::FCMP_OGE) != 0) in convertFCmp()
150 if ((Pred & CmpInst::FCMP_OLE) != CmpInst::FCMP_OLE && in convertFCmp()
151 (Pred & CmpInst::FCMP_OLE) != 0) in convertFCmp()
205 if (Pred & CmpInst::FCMP_OEQ) in convertFCmp()
207 if (Pred & CmpInst::FCMP_OGT) in convertFCmp()
209 if (Pred & CmpInst::FCMP_OLT) in convertFCmp()
[all …]
/external/llvm-project/llvm/lib/FuzzMutate/
DOperations.cpp33 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_EQ)); in describeFuzzerIntOps()
34 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_NE)); in describeFuzzerIntOps()
35 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGT)); in describeFuzzerIntOps()
36 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGE)); in describeFuzzerIntOps()
37 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULT)); in describeFuzzerIntOps()
38 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULE)); in describeFuzzerIntOps()
39 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGT)); in describeFuzzerIntOps()
40 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGE)); in describeFuzzerIntOps()
41 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLT)); in describeFuzzerIntOps()
42 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLE)); in describeFuzzerIntOps()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp33 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_EQ)); in describeFuzzerIntOps()
34 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_NE)); in describeFuzzerIntOps()
35 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGT)); in describeFuzzerIntOps()
36 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGE)); in describeFuzzerIntOps()
37 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULT)); in describeFuzzerIntOps()
38 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULE)); in describeFuzzerIntOps()
39 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGT)); in describeFuzzerIntOps()
40 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGE)); in describeFuzzerIntOps()
41 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLT)); in describeFuzzerIntOps()
42 Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SLE)); in describeFuzzerIntOps()
[all …]
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp82 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) { in mapFCmpPred()
84 case CmpInst::FCMP_OEQ: in mapFCmpPred()
85 case CmpInst::FCMP_UEQ: in mapFCmpPred()
86 return CmpInst::ICMP_EQ; in mapFCmpPred()
87 case CmpInst::FCMP_OGT: in mapFCmpPred()
88 case CmpInst::FCMP_UGT: in mapFCmpPred()
89 return CmpInst::ICMP_SGT; in mapFCmpPred()
90 case CmpInst::FCMP_OGE: in mapFCmpPred()
91 case CmpInst::FCMP_UGE: in mapFCmpPred()
92 return CmpInst::ICMP_SGE; in mapFCmpPred()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp85 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) { in mapFCmpPred()
87 case CmpInst::FCMP_OEQ: in mapFCmpPred()
88 case CmpInst::FCMP_UEQ: in mapFCmpPred()
89 return CmpInst::ICMP_EQ; in mapFCmpPred()
90 case CmpInst::FCMP_OGT: in mapFCmpPred()
91 case CmpInst::FCMP_UGT: in mapFCmpPred()
92 return CmpInst::ICMP_SGT; in mapFCmpPred()
93 case CmpInst::FCMP_OGE: in mapFCmpPred()
94 case CmpInst::FCMP_UGE: in mapFCmpPred()
95 return CmpInst::ICMP_SGE; in mapFCmpPred()
[all …]
DConstraintElimination.cpp98 getConstraint(CmpInst::Predicate Pred, Value *Op0, Value *Op1, in getConstraint()
115 if (Pred == CmpInst::ICMP_UGT || Pred == CmpInst::ICMP_UGE) in getConstraint()
116 return getConstraint(CmpInst::getSwappedPredicate(Pred), Op1, Op0, in getConstraint()
120 if (Pred != CmpInst::ICMP_ULE && Pred != CmpInst::ICMP_ULT) in getConstraint()
157 R[0] = Offset1 + Offset2 + (Pred == CmpInst::ICMP_ULT ? -1 : 0); in getConstraint()
162 getConstraint(CmpInst *Cmp, DenseMap<Value *, unsigned> &Value2Index, in getConstraint()
178 CmpInst *Condition;
184 ConstraintOrBlock(DomTreeNode *DTN, CmpInst *Condition, bool Not) in ConstraintOrBlock()
192 CmpInst *Condition;
195 StackEntry(unsigned NumIn, unsigned NumOut, CmpInst *Condition, bool IsNot) in StackEntry()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp85 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) { in mapFCmpPred()
87 case CmpInst::FCMP_OEQ: in mapFCmpPred()
88 case CmpInst::FCMP_UEQ: in mapFCmpPred()
89 return CmpInst::ICMP_EQ; in mapFCmpPred()
90 case CmpInst::FCMP_OGT: in mapFCmpPred()
91 case CmpInst::FCMP_UGT: in mapFCmpPred()
92 return CmpInst::ICMP_SGT; in mapFCmpPred()
93 case CmpInst::FCMP_OGE: in mapFCmpPred()
94 case CmpInst::FCMP_UGE: in mapFCmpPred()
95 return CmpInst::ICMP_SGE; in mapFCmpPred()
[all …]
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp73 CmpInst::Predicate &NewICmpPred) { in getICmpValue()
77 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0); in getICmpValue()
85 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1); in getICmpValue()
93 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) || in PredicatesFoldable()
94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) || in PredicatesFoldable()
95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1)); in PredicatesFoldable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp104 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond()
105 CmpInst::Predicate Cmp2, float Val2) { in createOrCond()
114 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp, in createCond()
123 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond()
149 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f); in performCallDomainErrorOnly()
160 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ, in performCallDomainErrorOnly()
169 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f); in performCallDomainErrorOnly()
177 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f); in performCallDomainErrorOnly()
238 Cond = createOrCond(CI, CmpInst::FCMP_OLE, -1.0f, CmpInst::FCMP_OGE, 1.0f); in performCallErrors()
257 Cond = createCond(CI, CmpInst::FCMP_OLE, 0.0f); in performCallErrors()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp104 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond()
105 CmpInst::Predicate Cmp2, float Val2) { in createOrCond()
114 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp, in createCond()
123 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond()
149 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f); in performCallDomainErrorOnly()
160 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ, in performCallDomainErrorOnly()
169 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f); in performCallDomainErrorOnly()
177 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f); in performCallDomainErrorOnly()
238 Cond = createOrCond(CI, CmpInst::FCMP_OLE, -1.0f, CmpInst::FCMP_OGE, 1.0f); in performCallErrors()
257 Cond = createCond(CI, CmpInst::FCMP_OLE, 0.0f); in performCallErrors()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerLowering.cpp427 Optional<std::pair<uint64_t, CmpInst::Predicate>>
428 tryAdjustICmpImmAndPred(Register RHS, CmpInst::Predicate P, in tryAdjustICmpImmAndPred()
450 case CmpInst::ICMP_SLT: in tryAdjustICmpImmAndPred()
451 case CmpInst::ICMP_SGE: in tryAdjustICmpImmAndPred()
461 P = (P == CmpInst::ICMP_SLT) ? CmpInst::ICMP_SLE : CmpInst::ICMP_SGT; in tryAdjustICmpImmAndPred()
464 case CmpInst::ICMP_ULT: in tryAdjustICmpImmAndPred()
465 case CmpInst::ICMP_UGE: in tryAdjustICmpImmAndPred()
474 P = (P == CmpInst::ICMP_ULT) ? CmpInst::ICMP_ULE : CmpInst::ICMP_UGT; in tryAdjustICmpImmAndPred()
477 case CmpInst::ICMP_SLE: in tryAdjustICmpImmAndPred()
478 case CmpInst::ICMP_SGT: in tryAdjustICmpImmAndPred()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPostLegalizerCombiner.cpp48 CmpInst::Predicate Pred;
96 case CmpInst::FCMP_FALSE: in matchFMinFMaxLegacy()
97 case CmpInst::FCMP_OEQ: in matchFMinFMaxLegacy()
98 case CmpInst::FCMP_ONE: in matchFMinFMaxLegacy()
99 case CmpInst::FCMP_ORD: in matchFMinFMaxLegacy()
100 case CmpInst::FCMP_UNO: in matchFMinFMaxLegacy()
101 case CmpInst::FCMP_UEQ: in matchFMinFMaxLegacy()
102 case CmpInst::FCMP_UNE: in matchFMinFMaxLegacy()
103 case CmpInst::FCMP_TRUE: in matchFMinFMaxLegacy()
118 case CmpInst::FCMP_ULT: in applySelectFCmpToFMinToFMaxLegacy()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCmpInstAnalysis.cpp43 CmpInst::Predicate &Pred) { in getPredForICmpCode()
47 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); in getPredForICmpCode()
55 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1); in getPredForICmpCode()
61 return (CmpInst::isSigned(P1) == CmpInst::isSigned(P2)) || in predicatesFoldable()
62 (CmpInst::isSigned(P1) && ICmpInst::isEquality(P2)) || in predicatesFoldable()
63 (CmpInst::isSigned(P2) && ICmpInst::isEquality(P1)); in predicatesFoldable()
67 CmpInst::Predicate &Pred, in decomposeBitTestICmp()
/external/llvm-project/llvm/lib/Analysis/
DCmpInstAnalysis.cpp43 CmpInst::Predicate &Pred) { in getPredForICmpCode()
47 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); in getPredForICmpCode()
55 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1); in getPredForICmpCode()
61 return (CmpInst::isSigned(P1) == CmpInst::isSigned(P2)) || in predicatesFoldable()
62 (CmpInst::isSigned(P1) && ICmpInst::isEquality(P2)) || in predicatesFoldable()
63 (CmpInst::isSigned(P2) && ICmpInst::isEquality(P1)); in predicatesFoldable()
67 CmpInst::Predicate &Pred, in decomposeBitTestICmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp661 CmpInst::Predicate Cond = in select()
662 static_cast<CmpInst::Predicate>(I.getOperand(1).getPredicate()); in select()
665 case CmpInst::ICMP_EQ: // LHS == RHS -> (LHS ^ RHS) < 1 in select()
669 case CmpInst::ICMP_NE: // LHS != RHS -> 0 < (LHS ^ RHS) in select()
673 case CmpInst::ICMP_UGT: // LHS > RHS -> RHS < LHS in select()
676 case CmpInst::ICMP_UGE: // LHS >= RHS -> !(LHS < RHS) in select()
680 case CmpInst::ICMP_ULT: // LHS < RHS -> LHS < RHS in select()
683 case CmpInst::ICMP_ULE: // LHS <= RHS -> !(RHS < LHS) in select()
687 case CmpInst::ICMP_SGT: // LHS > RHS -> RHS < LHS in select()
690 case CmpInst::ICMP_SGE: // LHS >= RHS -> !(LHS < RHS) in select()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp760 CmpInst::Predicate Cond = in select()
761 static_cast<CmpInst::Predicate>(I.getOperand(1).getPredicate()); in select()
764 case CmpInst::ICMP_EQ: // LHS == RHS -> (LHS ^ RHS) < 1 in select()
768 case CmpInst::ICMP_NE: // LHS != RHS -> 0 < (LHS ^ RHS) in select()
772 case CmpInst::ICMP_UGT: // LHS > RHS -> RHS < LHS in select()
775 case CmpInst::ICMP_UGE: // LHS >= RHS -> !(LHS < RHS) in select()
779 case CmpInst::ICMP_ULT: // LHS < RHS -> LHS < RHS in select()
782 case CmpInst::ICMP_ULE: // LHS <= RHS -> !(RHS < LHS) in select()
786 case CmpInst::ICMP_SGT: // LHS > RHS -> RHS < LHS in select()
789 case CmpInst::ICMP_SGE: // LHS >= RHS -> !(LHS < RHS) in select()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DCmpInstAnalysis.h55 CmpInst::Predicate &Pred);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
64 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCmpInstAnalysis.h55 CmpInst::Predicate &Pred);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
64 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp2205 CmpInst::Predicate FastISel::optimizeCmpPredicate(const CmpInst *CI) const { in optimizeCmpPredicate()
2207 CmpInst::Predicate Predicate = CI->getPredicate(); in optimizeCmpPredicate()
2213 case CmpInst::FCMP_FALSE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2214 case CmpInst::FCMP_OEQ: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
2215 case CmpInst::FCMP_OGT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2216 case CmpInst::FCMP_OGE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
2217 case CmpInst::FCMP_OLT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2218 case CmpInst::FCMP_OLE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
2219 case CmpInst::FCMP_ONE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2220 case CmpInst::FCMP_ORD: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
[all …]

12345678910>>...18