/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | Analysis.cpp | 151 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) { in getFCmpCondCode() 154 case FCmpInst::FCMP_FALSE: FOC = FPC = ISD::SETFALSE; break; in getFCmpCondCode() 155 case FCmpInst::FCMP_OEQ: FOC = ISD::SETEQ; FPC = ISD::SETOEQ; break; in getFCmpCondCode() 156 case FCmpInst::FCMP_OGT: FOC = ISD::SETGT; FPC = ISD::SETOGT; break; in getFCmpCondCode() 157 case FCmpInst::FCMP_OGE: FOC = ISD::SETGE; FPC = ISD::SETOGE; break; in getFCmpCondCode() 158 case FCmpInst::FCMP_OLT: FOC = ISD::SETLT; FPC = ISD::SETOLT; break; in getFCmpCondCode() 159 case FCmpInst::FCMP_OLE: FOC = ISD::SETLE; FPC = ISD::SETOLE; break; in getFCmpCondCode() 160 case FCmpInst::FCMP_ONE: FOC = ISD::SETNE; FPC = ISD::SETONE; break; in getFCmpCondCode() 161 case FCmpInst::FCMP_ORD: FOC = FPC = ISD::SETO; break; in getFCmpCondCode() 162 case FCmpInst::FCMP_UNO: FOC = FPC = ISD::SETUO; break; in getFCmpCondCode() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1359 static FCmpInst::Predicate evaluateFCmpRelation(Constant *V1, Constant *V2) { in evaluateFCmpRelation() 1364 if (V1 == V2) return FCmpInst::FCMP_OEQ; in evaluateFCmpRelation() 1371 ConstantExpr::getFCmp(FCmpInst::FCMP_OEQ, V1, V2)); in evaluateFCmpRelation() 1373 return FCmpInst::FCMP_OEQ; in evaluateFCmpRelation() 1375 ConstantExpr::getFCmp(FCmpInst::FCMP_OLT, V1, V2)); in evaluateFCmpRelation() 1377 return FCmpInst::FCMP_OLT; in evaluateFCmpRelation() 1379 ConstantExpr::getFCmp(FCmpInst::FCMP_OGT, V1, V2)); in evaluateFCmpRelation() 1381 return FCmpInst::FCMP_OGT; in evaluateFCmpRelation() 1384 return FCmpInst::BAD_FCMP_PREDICATE; in evaluateFCmpRelation() 1388 FCmpInst::Predicate SwappedRelation = evaluateFCmpRelation(V2, V1); in evaluateFCmpRelation() [all …]
|
D | Instructions.cpp | 3210 return new FCmpInst(InsertBefore, CmpInst::Predicate(predicate), in Create() 3213 return new FCmpInst(CmpInst::Predicate(predicate), in Create() 3224 return new FCmpInst(*InsertAtEnd, CmpInst::Predicate(predicate), in Create() 3232 cast<FCmpInst>(this)->swapOperands(); in swapOperands() 3238 return cast<FCmpInst>(this)->isCommutative(); in isCommutative() 3244 return cast<FCmpInst>(this)->isEquality(); in isEquality() 3283 case FCmpInst::FCMP_FALSE: return "false"; in getPredicateName() 3284 case FCmpInst::FCMP_OEQ: return "oeq"; in getPredicateName() 3285 case FCmpInst::FCMP_OGT: return "ogt"; in getPredicateName() 3286 case FCmpInst::FCMP_OGE: return "oge"; in getPredicateName() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1343 static FCmpInst::Predicate evaluateFCmpRelation(Constant *V1, Constant *V2) { in evaluateFCmpRelation() 1348 if (V1 == V2) return FCmpInst::FCMP_OEQ; in evaluateFCmpRelation() 1355 ConstantExpr::getFCmp(FCmpInst::FCMP_OEQ, V1, V2)); in evaluateFCmpRelation() 1357 return FCmpInst::FCMP_OEQ; in evaluateFCmpRelation() 1359 ConstantExpr::getFCmp(FCmpInst::FCMP_OLT, V1, V2)); in evaluateFCmpRelation() 1361 return FCmpInst::FCMP_OLT; in evaluateFCmpRelation() 1363 ConstantExpr::getFCmp(FCmpInst::FCMP_OGT, V1, V2)); in evaluateFCmpRelation() 1365 return FCmpInst::FCMP_OGT; in evaluateFCmpRelation() 1368 return FCmpInst::BAD_FCMP_PREDICATE; in evaluateFCmpRelation() 1372 FCmpInst::Predicate SwappedRelation = evaluateFCmpRelation(V2, V1); in evaluateFCmpRelation() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 1532 static FCmpInst::Predicate evaluateFCmpRelation(Constant *V1, Constant *V2) { in evaluateFCmpRelation() 1538 return FCmpInst::BAD_FCMP_PREDICATE; in evaluateFCmpRelation() 1541 if (V1 == V2) return FCmpInst::FCMP_OEQ; in evaluateFCmpRelation() 1548 ConstantExpr::getFCmp(FCmpInst::FCMP_OEQ, V1, V2)); in evaluateFCmpRelation() 1550 return FCmpInst::FCMP_OEQ; in evaluateFCmpRelation() 1552 ConstantExpr::getFCmp(FCmpInst::FCMP_OLT, V1, V2)); in evaluateFCmpRelation() 1554 return FCmpInst::FCMP_OLT; in evaluateFCmpRelation() 1556 ConstantExpr::getFCmp(FCmpInst::FCMP_OGT, V1, V2)); in evaluateFCmpRelation() 1558 return FCmpInst::FCMP_OGT; in evaluateFCmpRelation() 1561 return FCmpInst::BAD_FCMP_PREDICATE; in evaluateFCmpRelation() [all …]
|
D | AsmWriter.cpp | 632 case FCmpInst::FCMP_FALSE: pred = "false"; break; in getPredicateText() 633 case FCmpInst::FCMP_OEQ: pred = "oeq"; break; in getPredicateText() 634 case FCmpInst::FCMP_OGT: pred = "ogt"; break; in getPredicateText() 635 case FCmpInst::FCMP_OGE: pred = "oge"; break; in getPredicateText() 636 case FCmpInst::FCMP_OLT: pred = "olt"; break; in getPredicateText() 637 case FCmpInst::FCMP_OLE: pred = "ole"; break; in getPredicateText() 638 case FCmpInst::FCMP_ONE: pred = "one"; break; in getPredicateText() 639 case FCmpInst::FCMP_ORD: pred = "ord"; break; in getPredicateText() 640 case FCmpInst::FCMP_UNO: pred = "uno"; break; in getPredicateText() 641 case FCmpInst::FCMP_UEQ: pred = "ueq"; break; in getPredicateText() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 112 static unsigned getFCmpCode(FCmpInst::Predicate CC, bool &isOrdered) { in getFCmpCode() 115 case FCmpInst::FCMP_ORD: isOrdered = true; return 0; // 000 in getFCmpCode() 116 case FCmpInst::FCMP_UNO: return 0; // 000 in getFCmpCode() 117 case FCmpInst::FCMP_OGT: isOrdered = true; return 1; // 001 in getFCmpCode() 118 case FCmpInst::FCMP_UGT: return 1; // 001 in getFCmpCode() 119 case FCmpInst::FCMP_OEQ: isOrdered = true; return 2; // 010 in getFCmpCode() 120 case FCmpInst::FCMP_UEQ: return 2; // 010 in getFCmpCode() 121 case FCmpInst::FCMP_OGE: isOrdered = true; return 3; // 011 in getFCmpCode() 122 case FCmpInst::FCMP_UGE: return 3; // 011 in getFCmpCode() 123 case FCmpInst::FCMP_OLT: isOrdered = true; return 4; // 100 in getFCmpCode() [all …]
|
D | InstCombine.h | 124 Value *FoldAndOfFCmps(FCmpInst *LHS, FCmpInst *RHS); 127 Value *FoldOrOfFCmps(FCmpInst *LHS, FCmpInst *RHS); 136 Instruction *FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, 141 Instruction *visitFCmpInst(FCmpInst &I);
|
D | InstCombineCompares.cpp | 2578 Instruction *InstCombiner::FoldFCmp_IntToFP_Cst(FCmpInst &I, in FoldFCmp_IntToFP_Cst() 2611 case FCmpInst::FCMP_UEQ: in FoldFCmp_IntToFP_Cst() 2612 case FCmpInst::FCMP_OEQ: in FoldFCmp_IntToFP_Cst() 2615 case FCmpInst::FCMP_UGT: in FoldFCmp_IntToFP_Cst() 2616 case FCmpInst::FCMP_OGT: in FoldFCmp_IntToFP_Cst() 2619 case FCmpInst::FCMP_UGE: in FoldFCmp_IntToFP_Cst() 2620 case FCmpInst::FCMP_OGE: in FoldFCmp_IntToFP_Cst() 2623 case FCmpInst::FCMP_ULT: in FoldFCmp_IntToFP_Cst() 2624 case FCmpInst::FCMP_OLT: in FoldFCmp_IntToFP_Cst() 2627 case FCmpInst::FCMP_ULE: in FoldFCmp_IntToFP_Cst() [all …]
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 162 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) { in getFCmpCondCode() 164 case FCmpInst::FCMP_FALSE: return ISD::SETFALSE; in getFCmpCondCode() 165 case FCmpInst::FCMP_OEQ: return ISD::SETOEQ; in getFCmpCondCode() 166 case FCmpInst::FCMP_OGT: return ISD::SETOGT; in getFCmpCondCode() 167 case FCmpInst::FCMP_OGE: return ISD::SETOGE; in getFCmpCondCode() 168 case FCmpInst::FCMP_OLT: return ISD::SETOLT; in getFCmpCondCode() 169 case FCmpInst::FCMP_OLE: return ISD::SETOLE; in getFCmpCondCode() 170 case FCmpInst::FCMP_ONE: return ISD::SETONE; in getFCmpCondCode() 171 case FCmpInst::FCMP_ORD: return ISD::SETO; in getFCmpCondCode() 172 case FCmpInst::FCMP_UNO: return ISD::SETUO; in getFCmpCondCode() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | Analysis.cpp | 161 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) { in getFCmpCondCode() 163 case FCmpInst::FCMP_FALSE: return ISD::SETFALSE; in getFCmpCondCode() 164 case FCmpInst::FCMP_OEQ: return ISD::SETOEQ; in getFCmpCondCode() 165 case FCmpInst::FCMP_OGT: return ISD::SETOGT; in getFCmpCondCode() 166 case FCmpInst::FCMP_OGE: return ISD::SETOGE; in getFCmpCondCode() 167 case FCmpInst::FCMP_OLT: return ISD::SETOLT; in getFCmpCondCode() 168 case FCmpInst::FCMP_OLE: return ISD::SETOLE; in getFCmpCondCode() 169 case FCmpInst::FCMP_ONE: return ISD::SETONE; in getFCmpCondCode() 170 case FCmpInst::FCMP_ORD: return ISD::SETO; in getFCmpCondCode() 171 case FCmpInst::FCMP_UNO: return ISD::SETUO; in getFCmpCondCode() [all …]
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 445 void Interpreter::visitFCmpInst(FCmpInst &I) { in visitFCmpInst() 453 case FCmpInst::FCMP_FALSE: R.IntVal = APInt(1,false); break; in visitFCmpInst() 454 case FCmpInst::FCMP_TRUE: R.IntVal = APInt(1,true); break; in visitFCmpInst() 455 case FCmpInst::FCMP_ORD: R = executeFCMP_ORD(Src1, Src2, Ty); break; in visitFCmpInst() 456 case FCmpInst::FCMP_UNO: R = executeFCMP_UNO(Src1, Src2, Ty); break; in visitFCmpInst() 457 case FCmpInst::FCMP_UEQ: R = executeFCMP_UEQ(Src1, Src2, Ty); break; in visitFCmpInst() 458 case FCmpInst::FCMP_OEQ: R = executeFCMP_OEQ(Src1, Src2, Ty); break; in visitFCmpInst() 459 case FCmpInst::FCMP_UNE: R = executeFCMP_UNE(Src1, Src2, Ty); break; in visitFCmpInst() 460 case FCmpInst::FCMP_ONE: R = executeFCMP_ONE(Src1, Src2, Ty); break; in visitFCmpInst() 461 case FCmpInst::FCMP_ULT: R = executeFCMP_ULT(Src1, Src2, Ty); break; in visitFCmpInst() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 838 case FCmpInst::FCMP_FALSE: Out << "FALSE"; break; in printConstant() 839 case FCmpInst::FCMP_ORD: Out << "ORD"; break; in printConstant() 840 case FCmpInst::FCMP_UNO: Out << "UNO"; break; in printConstant() 841 case FCmpInst::FCMP_OEQ: Out << "OEQ"; break; in printConstant() 842 case FCmpInst::FCMP_UEQ: Out << "UEQ"; break; in printConstant() 843 case FCmpInst::FCMP_ONE: Out << "ONE"; break; in printConstant() 844 case FCmpInst::FCMP_UNE: Out << "UNE"; break; in printConstant() 845 case FCmpInst::FCMP_OLT: Out << "OLT"; break; in printConstant() 846 case FCmpInst::FCMP_ULT: Out << "ULT"; break; in printConstant() 847 case FCmpInst::FCMP_OGT: Out << "OGT"; break; in printConstant() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 43 static unsigned getFCmpCode(FCmpInst::Predicate CC) { in getFCmpCode() 44 assert(FCmpInst::FCMP_FALSE <= CC && CC <= FCmpInst::FCMP_TRUE && in getFCmpCode() 48 static_assert(FCmpInst::FCMP_FALSE == 0, ""); // 0 0 0 0 in getFCmpCode() 49 static_assert(FCmpInst::FCMP_OEQ == 1, ""); // 0 0 0 1 in getFCmpCode() 50 static_assert(FCmpInst::FCMP_OGT == 2, ""); // 0 0 1 0 in getFCmpCode() 51 static_assert(FCmpInst::FCMP_OGE == 3, ""); // 0 0 1 1 in getFCmpCode() 52 static_assert(FCmpInst::FCMP_OLT == 4, ""); // 0 1 0 0 in getFCmpCode() 53 static_assert(FCmpInst::FCMP_OLE == 5, ""); // 0 1 0 1 in getFCmpCode() 54 static_assert(FCmpInst::FCMP_ONE == 6, ""); // 0 1 1 0 in getFCmpCode() 55 static_assert(FCmpInst::FCMP_ORD == 7, ""); // 0 1 1 1 in getFCmpCode() [all …]
|
D | InstCombineSelect.cpp | 56 return Ordered ? FCmpInst::FCMP_OLT : FCmpInst::FCMP_ULT; in getCmpPredicateForMinMax() 58 return Ordered ? FCmpInst::FCMP_OGT : FCmpInst::FCMP_UGT; in getCmpPredicateForMinMax() 992 if (FCmpInst *FCI = dyn_cast<FCmpInst>(CondVal)) { in visitSelectInst() 995 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst() 1007 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst() 1024 if (FCI->hasOneUse() && FCmpInst::isUnordered(FCI->getPredicate())) { in visitSelectInst() 1025 FCmpInst::Predicate InvPred = FCI->getInversePredicate(); in visitSelectInst() 1038 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst() 1050 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst() 1067 if (FCI->hasOneUse() && FCmpInst::isUnordered(FCI->getPredicate())) { in visitSelectInst() [all …]
|
D | InstCombineCompares.cpp | 4297 Instruction *InstCombiner::FoldFCmp_IntToFP_Cst(FCmpInst &I, in FoldFCmp_IntToFP_Cst() 4313 FCmpInst::Predicate P = I.getPredicate(); in FoldFCmp_IntToFP_Cst() 4325 if (P == FCmpInst::FCMP_OEQ || P == FCmpInst::FCMP_UEQ) in FoldFCmp_IntToFP_Cst() 4328 assert(P == FCmpInst::FCMP_ONE || P == FCmpInst::FCMP_UNE); in FoldFCmp_IntToFP_Cst() 4370 case FCmpInst::FCMP_UEQ: in FoldFCmp_IntToFP_Cst() 4371 case FCmpInst::FCMP_OEQ: in FoldFCmp_IntToFP_Cst() 4374 case FCmpInst::FCMP_UGT: in FoldFCmp_IntToFP_Cst() 4375 case FCmpInst::FCMP_OGT: in FoldFCmp_IntToFP_Cst() 4378 case FCmpInst::FCMP_UGE: in FoldFCmp_IntToFP_Cst() 4379 case FCmpInst::FCMP_OGE: in FoldFCmp_IntToFP_Cst() [all …]
|
D | InstCombineInternal.h | 251 Value *FoldAndOfFCmps(FCmpInst *LHS, FCmpInst *RHS); 254 Value *FoldOrOfFCmps(FCmpInst *LHS, FCmpInst *RHS); 265 Instruction *FoldFCmp_IntToFP_Cst(FCmpInst &I, Instruction *LHSI, 270 Instruction *visitFCmpInst(FCmpInst &I);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 28 static unsigned getFCmpCode(FCmpInst::Predicate CC) { in getFCmpCode() 29 assert(FCmpInst::FCMP_FALSE <= CC && CC <= FCmpInst::FCMP_TRUE && in getFCmpCode() 33 static_assert(FCmpInst::FCMP_FALSE == 0, ""); // 0 0 0 0 in getFCmpCode() 34 static_assert(FCmpInst::FCMP_OEQ == 1, ""); // 0 0 0 1 in getFCmpCode() 35 static_assert(FCmpInst::FCMP_OGT == 2, ""); // 0 0 1 0 in getFCmpCode() 36 static_assert(FCmpInst::FCMP_OGE == 3, ""); // 0 0 1 1 in getFCmpCode() 37 static_assert(FCmpInst::FCMP_OLT == 4, ""); // 0 1 0 0 in getFCmpCode() 38 static_assert(FCmpInst::FCMP_OLE == 5, ""); // 0 1 0 1 in getFCmpCode() 39 static_assert(FCmpInst::FCMP_ONE == 6, ""); // 0 1 1 0 in getFCmpCode() 40 static_assert(FCmpInst::FCMP_ORD == 7, ""); // 0 1 1 1 in getFCmpCode() [all …]
|
D | InstCombineCompares.cpp | 4882 Instruction *InstCombiner::foldFCmpIntToFPConst(FCmpInst &I, Instruction *LHSI, in foldFCmpIntToFPConst() 4897 FCmpInst::Predicate P = I.getPredicate(); in foldFCmpIntToFPConst() 4909 if (P == FCmpInst::FCMP_OEQ || P == FCmpInst::FCMP_UEQ) in foldFCmpIntToFPConst() 4912 assert(P == FCmpInst::FCMP_ONE || P == FCmpInst::FCMP_UNE); in foldFCmpIntToFPConst() 4954 case FCmpInst::FCMP_UEQ: in foldFCmpIntToFPConst() 4955 case FCmpInst::FCMP_OEQ: in foldFCmpIntToFPConst() 4958 case FCmpInst::FCMP_UGT: in foldFCmpIntToFPConst() 4959 case FCmpInst::FCMP_OGT: in foldFCmpIntToFPConst() 4962 case FCmpInst::FCMP_UGE: in foldFCmpIntToFPConst() 4963 case FCmpInst::FCMP_OGE: in foldFCmpIntToFPConst() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 610 void Interpreter::visitFCmpInst(FCmpInst &I) { in visitFCmpInst() 622 case FCmpInst::FCMP_FALSE: R = executeFCMP_BOOL(Src1, Src2, Ty, false); in visitFCmpInst() 624 case FCmpInst::FCMP_TRUE: R = executeFCMP_BOOL(Src1, Src2, Ty, true); in visitFCmpInst() 626 case FCmpInst::FCMP_ORD: R = executeFCMP_ORD(Src1, Src2, Ty); break; in visitFCmpInst() 627 case FCmpInst::FCMP_UNO: R = executeFCMP_UNO(Src1, Src2, Ty); break; in visitFCmpInst() 628 case FCmpInst::FCMP_UEQ: R = executeFCMP_UEQ(Src1, Src2, Ty); break; in visitFCmpInst() 629 case FCmpInst::FCMP_OEQ: R = executeFCMP_OEQ(Src1, Src2, Ty); break; in visitFCmpInst() 630 case FCmpInst::FCMP_UNE: R = executeFCMP_UNE(Src1, Src2, Ty); break; in visitFCmpInst() 631 case FCmpInst::FCMP_ONE: R = executeFCMP_ONE(Src1, Src2, Ty); break; in visitFCmpInst() 632 case FCmpInst::FCMP_ULT: R = executeFCMP_ULT(Src1, Src2, Ty); break; in visitFCmpInst() [all …]
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 610 void Interpreter::visitFCmpInst(FCmpInst &I) { in visitFCmpInst() 622 case FCmpInst::FCMP_FALSE: R = executeFCMP_BOOL(Src1, Src2, Ty, false); in visitFCmpInst() 624 case FCmpInst::FCMP_TRUE: R = executeFCMP_BOOL(Src1, Src2, Ty, true); in visitFCmpInst() 626 case FCmpInst::FCMP_ORD: R = executeFCMP_ORD(Src1, Src2, Ty); break; in visitFCmpInst() 627 case FCmpInst::FCMP_UNO: R = executeFCMP_UNO(Src1, Src2, Ty); break; in visitFCmpInst() 628 case FCmpInst::FCMP_UEQ: R = executeFCMP_UEQ(Src1, Src2, Ty); break; in visitFCmpInst() 629 case FCmpInst::FCMP_OEQ: R = executeFCMP_OEQ(Src1, Src2, Ty); break; in visitFCmpInst() 630 case FCmpInst::FCMP_UNE: R = executeFCMP_UNE(Src1, Src2, Ty); break; in visitFCmpInst() 631 case FCmpInst::FCMP_ONE: R = executeFCMP_ONE(Src1, Src2, Ty); break; in visitFCmpInst() 632 case FCmpInst::FCMP_ULT: R = executeFCMP_ULT(Src1, Src2, Ty); break; in visitFCmpInst() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
D | CBackend.cpp | 302 void visitFCmpInst(FCmpInst &I); 868 if (CE->getPredicate() == FCmpInst::FCMP_FALSE) in printConstant() 870 else if (CE->getPredicate() == FCmpInst::FCMP_TRUE) in printConstant() 876 case FCmpInst::FCMP_ORD: op = "ord"; break; in printConstant() 877 case FCmpInst::FCMP_UNO: op = "uno"; break; in printConstant() 878 case FCmpInst::FCMP_UEQ: op = "ueq"; break; in printConstant() 879 case FCmpInst::FCMP_UNE: op = "une"; break; in printConstant() 880 case FCmpInst::FCMP_ULT: op = "ult"; break; in printConstant() 881 case FCmpInst::FCMP_ULE: op = "ule"; break; in printConstant() 882 case FCmpInst::FCMP_UGT: op = "ugt"; break; in printConstant() [all …]
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 731 inline CmpClass_match<LHS, RHS, FCmpInst, FCmpInst::Predicate> 732 m_FCmp(FCmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_FCmp() 733 return CmpClass_match<LHS, RHS, FCmpInst, FCmpInst::Predicate>(Pred, L, R); in m_FCmp() 1014 static bool match(FCmpInst::Predicate Pred) { in match() 1021 static bool match(FCmpInst::Predicate Pred) { in match() 1028 static bool match(FCmpInst::Predicate Pred) { in match() 1035 static bool match(FCmpInst::Predicate Pred) { in match() 1074 inline MaxMin_match<FCmpInst, LHS, RHS, ofmax_pred_ty> m_OrdFMax(const LHS &L, in m_OrdFMax() 1076 return MaxMin_match<FCmpInst, LHS, RHS, ofmax_pred_ty>(L, R); in m_OrdFMax() 1089 inline MaxMin_match<FCmpInst, LHS, RHS, ofmin_pred_ty> m_OrdFMin(const LHS &L, in m_OrdFMin() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 879 const FCmpInst *FCmp = cast<FCmpInst>(I); in selectFCmp() 893 case FCmpInst::FCMP_OEQ: in selectFCmp() 896 case FCmpInst::FCMP_UNE: in selectFCmp() 899 case FCmpInst::FCMP_OGT: in selectFCmp() 902 case FCmpInst::FCMP_OGE: in selectFCmp() 905 case FCmpInst::FCMP_OLT: in selectFCmp() 908 case FCmpInst::FCMP_OLE: in selectFCmp() 911 case FCmpInst::FCMP_UGT: in selectFCmp() 915 case FCmpInst::FCMP_UGE: in selectFCmp() 919 case FCmpInst::FCMP_ULT: in selectFCmp() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 1026 const FCmpInst *FCmp = cast<FCmpInst>(I); in selectFCmp() 1040 case FCmpInst::FCMP_OEQ: in selectFCmp() 1043 case FCmpInst::FCMP_UNE: in selectFCmp() 1046 case FCmpInst::FCMP_OGT: in selectFCmp() 1049 case FCmpInst::FCMP_OGE: in selectFCmp() 1052 case FCmpInst::FCMP_OLT: in selectFCmp() 1055 case FCmpInst::FCMP_OLE: in selectFCmp() 1058 case FCmpInst::FCMP_UGT: in selectFCmp() 1062 case FCmpInst::FCMP_UGE: in selectFCmp() 1066 case FCmpInst::FCMP_ULT: in selectFCmp() [all …]
|