/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
Analysis.cpp | 151 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) { 154 case FCmpInst::FCMP_FALSE: FOC = FPC = ISD::SETFALSE; break; 155 case FCmpInst::FCMP_OEQ: FOC = ISD::SETEQ; FPC = ISD::SETOEQ; break; 156 case FCmpInst::FCMP_OGT: FOC = ISD::SETGT; FPC = ISD::SETOGT; break; 157 case FCmpInst::FCMP_OGE: FOC = ISD::SETGE; FPC = ISD::SETOGE; break; 158 case FCmpInst::FCMP_OLT: FOC = ISD::SETLT; FPC = ISD::SETOLT; break; 159 case FCmpInst::FCMP_OLE: FOC = ISD::SETLE; FPC = ISD::SETOLE; break; 160 case FCmpInst::FCMP_ONE: FOC = ISD::SETNE; FPC = ISD::SETONE; break; 161 case FCmpInst::FCMP_ORD: FOC = FPC = ISD::SETO; break; 162 case FCmpInst::FCMP_UNO: FOC = FPC = ISD::SETUO; break [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
ConstantFold.cpp | [all...] |
Instructions.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 162 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) { 164 case FCmpInst::FCMP_FALSE: return ISD::SETFALSE; 165 case FCmpInst::FCMP_OEQ: return ISD::SETOEQ; 166 case FCmpInst::FCMP_OGT: return ISD::SETOGT; 167 case FCmpInst::FCMP_OGE: return ISD::SETOGE; 168 case FCmpInst::FCMP_OLT: return ISD::SETOLT; 169 case FCmpInst::FCMP_OLE: return ISD::SETOLE; 170 case FCmpInst::FCMP_ONE: return ISD::SETONE; 171 case FCmpInst::FCMP_ORD: return ISD::SETO; 172 case FCmpInst::FCMP_UNO: return ISD::SETUO [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineAndOrXor.cpp | 109 /// getFCmpCode - Similar to getICmpCode but for FCmpInst. This encodes a fcmp 112 static unsigned getFCmpCode(FCmpInst::Predicate CC, bool &isOrdered) { 115 case FCmpInst::FCMP_ORD: isOrdered = true; return 0; // 000 116 case FCmpInst::FCMP_UNO: return 0; // 000 117 case FCmpInst::FCMP_OGT: isOrdered = true; return 1; // 001 118 case FCmpInst::FCMP_UGT: return 1; // 001 119 case FCmpInst::FCMP_OEQ: isOrdered = true; return 2; // 010 120 case FCmpInst::FCMP_UEQ: return 2; // 010 121 case FCmpInst::FCMP_OGE: isOrdered = true; return 3; // 011 122 case FCmpInst::FCMP_UGE: return 3; // 01 [all...] |
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);
|
InstCombineCompares.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
Analysis.cpp | 161 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) { 163 case FCmpInst::FCMP_FALSE: return ISD::SETFALSE; 164 case FCmpInst::FCMP_OEQ: return ISD::SETOEQ; 165 case FCmpInst::FCMP_OGT: return ISD::SETOGT; 166 case FCmpInst::FCMP_OGE: return ISD::SETOGE; 167 case FCmpInst::FCMP_OLT: return ISD::SETOLT; 168 case FCmpInst::FCMP_OLE: return ISD::SETOLE; 169 case FCmpInst::FCMP_ONE: return ISD::SETONE; 170 case FCmpInst::FCMP_ORD: return ISD::SETO; 171 case FCmpInst::FCMP_UNO: return ISD::SETUO [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
Analysis.h | 71 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
ConstantFold.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 445 void Interpreter::visitFCmpInst(FCmpInst &I) { 453 case FCmpInst::FCMP_FALSE: R.IntVal = APInt(1,false); break; 454 case FCmpInst::FCMP_TRUE: R.IntVal = APInt(1,true); break; 455 case FCmpInst::FCMP_ORD: R = executeFCMP_ORD(Src1, Src2, Ty); break; 456 case FCmpInst::FCMP_UNO: R = executeFCMP_UNO(Src1, Src2, Ty); break; 457 case FCmpInst::FCMP_UEQ: R = executeFCMP_UEQ(Src1, Src2, Ty); break; 458 case FCmpInst::FCMP_OEQ: R = executeFCMP_OEQ(Src1, Src2, Ty); break; 459 case FCmpInst::FCMP_UNE: R = executeFCMP_UNE(Src1, Src2, Ty); break; 460 case FCmpInst::FCMP_ONE: R = executeFCMP_ONE(Src1, Src2, Ty); break; 461 case FCmpInst::FCMP_ULT: R = executeFCMP_ULT(Src1, Src2, Ty); break [all...] |
/external/llvm/include/llvm/CodeGen/ |
Analysis.h | 89 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
Analysis.h | 89 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
|
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/ |
CPPBackend.cpp | 836 Out << "getFCmp(FCmpInst::FCMP_"; 838 case FCmpInst::FCMP_FALSE: Out << "FALSE"; break; 839 case FCmpInst::FCMP_ORD: Out << "ORD"; break; 840 case FCmpInst::FCMP_UNO: Out << "UNO"; break; 841 case FCmpInst::FCMP_OEQ: Out << "OEQ"; break; 842 case FCmpInst::FCMP_UEQ: Out << "UEQ"; break; 843 case FCmpInst::FCMP_ONE: Out << "ONE"; break; 844 case FCmpInst::FCMP_UNE: Out << "UNE"; break; 845 case FCmpInst::FCMP_OLT: Out << "OLT"; break; 846 case FCmpInst::FCMP_ULT: Out << "ULT"; break [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAndOrXor.cpp | 41 /// Similar to getICmpCode but for FCmpInst. This encodes a fcmp predicate into 43 static unsigned getFCmpCode(FCmpInst::Predicate CC) { 44 assert(FCmpInst::FCMP_FALSE <= CC && CC <= FCmpInst::FCMP_TRUE && 46 // Take advantage of the bit pattern of FCmpInst::Predicate here. 48 static_assert(FCmpInst::FCMP_FALSE == 0, ""); // 0 0 0 0 49 static_assert(FCmpInst::FCMP_OEQ == 1, ""); // 0 0 0 1 50 static_assert(FCmpInst::FCMP_OGT == 2, ""); // 0 0 1 0 51 static_assert(FCmpInst::FCMP_OGE == 3, ""); // 0 0 1 1 52 static_assert(FCmpInst::FCMP_OLT == 4, ""); // 0 1 0 [all...] |
InstCombineSelect.cpp | 56 return Ordered ? FCmpInst::FCMP_OLT : FCmpInst::FCMP_ULT; 58 return Ordered ? FCmpInst::FCMP_OGT : FCmpInst::FCMP_UGT; [all...] |
InstCombineCompares.cpp | [all...] |
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/ |
InstCombineAndOrXor.cpp | 26 /// Similar to getICmpCode but for FCmpInst. This encodes a fcmp predicate into 28 static unsigned getFCmpCode(FCmpInst::Predicate CC) { 29 assert(FCmpInst::FCMP_FALSE <= CC && CC <= FCmpInst::FCMP_TRUE && 31 // Take advantage of the bit pattern of FCmpInst::Predicate here. 33 static_assert(FCmpInst::FCMP_FALSE == 0, ""); // 0 0 0 0 34 static_assert(FCmpInst::FCMP_OEQ == 1, ""); // 0 0 0 1 35 static_assert(FCmpInst::FCMP_OGT == 2, ""); // 0 0 1 0 36 static_assert(FCmpInst::FCMP_OGE == 3, ""); // 0 0 1 1 37 static_assert(FCmpInst::FCMP_OLT == 4, ""); // 0 1 0 [all...] |
/external/llvm/include/llvm/IR/ |
PatternMatch.h | 731 inline CmpClass_match<LHS, RHS, FCmpInst, FCmpInst::Predicate> 732 m_FCmp(FCmpInst::Predicate &Pred, const LHS &L, const RHS &R) { 733 return CmpClass_match<LHS, RHS, FCmpInst, FCmpInst::Predicate>(Pred, L, R); [all...] |
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyFastISel.cpp | 879 const FCmpInst *FCmp = cast<FCmpInst>(I); 893 case FCmpInst::FCMP_OEQ: 896 case FCmpInst::FCMP_UNE: 899 case FCmpInst::FCMP_OGT: 902 case FCmpInst::FCMP_OGE: 905 case FCmpInst::FCMP_OLT: 908 case FCmpInst::FCMP_OLE: 911 case FCmpInst::FCMP_UGT: 915 case FCmpInst::FCMP_UGE [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
IRBuilder.h | [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 610 void Interpreter::visitFCmpInst(FCmpInst &I) { 622 case FCmpInst::FCMP_FALSE: R = executeFCMP_BOOL(Src1, Src2, Ty, false); 624 case FCmpInst::FCMP_TRUE: R = executeFCMP_BOOL(Src1, Src2, Ty, true); 626 case FCmpInst::FCMP_ORD: R = executeFCMP_ORD(Src1, Src2, Ty); break; 627 case FCmpInst::FCMP_UNO: R = executeFCMP_UNO(Src1, Src2, Ty); break; 628 case FCmpInst::FCMP_UEQ: R = executeFCMP_UEQ(Src1, Src2, Ty); break; 629 case FCmpInst::FCMP_OEQ: R = executeFCMP_OEQ(Src1, Src2, Ty); break; 630 case FCmpInst::FCMP_UNE: R = executeFCMP_UNE(Src1, Src2, Ty); break; 631 case FCmpInst::FCMP_ONE: R = executeFCMP_ONE(Src1, Src2, Ty); break; 632 case FCmpInst::FCMP_ULT: R = executeFCMP_ULT(Src1, Src2, Ty); break [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 610 void Interpreter::visitFCmpInst(FCmpInst &I) { 622 case FCmpInst::FCMP_FALSE: R = executeFCMP_BOOL(Src1, Src2, Ty, false); 624 case FCmpInst::FCMP_TRUE: R = executeFCMP_BOOL(Src1, Src2, Ty, true); 626 case FCmpInst::FCMP_ORD: R = executeFCMP_ORD(Src1, Src2, Ty); break; 627 case FCmpInst::FCMP_UNO: R = executeFCMP_UNO(Src1, Src2, Ty); break; 628 case FCmpInst::FCMP_UEQ: R = executeFCMP_UEQ(Src1, Src2, Ty); break; 629 case FCmpInst::FCMP_OEQ: R = executeFCMP_OEQ(Src1, Src2, Ty); break; 630 case FCmpInst::FCMP_UNE: R = executeFCMP_UNE(Src1, Src2, Ty); break; 631 case FCmpInst::FCMP_ONE: R = executeFCMP_ONE(Src1, Src2, Ty); break; 632 case FCmpInst::FCMP_ULT: R = executeFCMP_ULT(Src1, Src2, Ty); break [all...] |