Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceConverter.cpp454 Ice::InstFcmp::FCond Cond; in convertFCmpInstruction()
461 Cond = Ice::InstFcmp::False; in convertFCmpInstruction()
464 Cond = Ice::InstFcmp::Oeq; in convertFCmpInstruction()
467 Cond = Ice::InstFcmp::Ogt; in convertFCmpInstruction()
470 Cond = Ice::InstFcmp::Oge; in convertFCmpInstruction()
473 Cond = Ice::InstFcmp::Olt; in convertFCmpInstruction()
476 Cond = Ice::InstFcmp::Ole; in convertFCmpInstruction()
479 Cond = Ice::InstFcmp::One; in convertFCmpInstruction()
482 Cond = Ice::InstFcmp::Ord; in convertFCmpInstruction()
485 Cond = Ice::InstFcmp::Ueq; in convertFCmpInstruction()
[all …]
DIceInst.h523 class InstFcmp : public InstHighLevel {
524 InstFcmp() = delete;
525 InstFcmp(const InstFcmp &) = delete;
526 InstFcmp &operator=(const InstFcmp &) = delete;
536 static InstFcmp *create(Cfg *Func, FCond Condition, Variable *Dest, in create()
538 return new (Func->allocate<InstFcmp>()) in create()
539 InstFcmp(Func, Condition, Dest, Source1, Source2); in create()
547 InstFcmp(Cfg *Func, FCond Condition, Variable *Dest, Operand *Source1,
DPNaClTranslator.cpp2023 Ice::InstFcmp::FCond &Cond) const { in convertNaClBitcFCompOpToIce()
2026 Cond = Ice::InstFcmp::False; in convertNaClBitcFCompOpToIce()
2029 Cond = Ice::InstFcmp::Oeq; in convertNaClBitcFCompOpToIce()
2032 Cond = Ice::InstFcmp::Ogt; in convertNaClBitcFCompOpToIce()
2035 Cond = Ice::InstFcmp::Oge; in convertNaClBitcFCompOpToIce()
2038 Cond = Ice::InstFcmp::Olt; in convertNaClBitcFCompOpToIce()
2041 Cond = Ice::InstFcmp::Ole; in convertNaClBitcFCompOpToIce()
2044 Cond = Ice::InstFcmp::One; in convertNaClBitcFCompOpToIce()
2047 Cond = Ice::InstFcmp::Ord; in convertNaClBitcFCompOpToIce()
2050 Cond = Ice::InstFcmp::Uno; in convertNaClBitcFCompOpToIce()
[all …]
DWasmTranslator.cpp646 InstFcmp::create(Func, InstFcmp::Ueq, TmpDest, Left, Right)); in Binop()
656 InstFcmp::create(Func, InstFcmp::Une, TmpDest, Left, Right)); in Binop()
666 InstFcmp::create(Func, InstFcmp::Ule, TmpDest, Left, Right)); in Binop()
676 InstFcmp::create(Func, InstFcmp::Ult, TmpDest, Left, Right)); in Binop()
686 InstFcmp::create(Func, InstFcmp::Uge, TmpDest, Left, Right)); in Binop()
696 InstFcmp::create(Func, InstFcmp::Ugt, TmpDest, Left, Right)); in Binop()
DIceInstrumentation.h66 virtual void instrumentFcmp(LoweringContext &, class InstFcmp *) {} in instrumentFcmp() argument
DIceInstrumentation.cpp82 instrumentFcmp(Context, llvm::cast<InstFcmp>(Instr)); in instrumentInst()
DIceTargetLoweringMIPS32.cpp305 InstFcmp::FCond Cond = llvm::cast<InstFcmp>(Instr)->getCondition(); in genTargetHelperCallFor()
321 Context.insert<InstFcmp>(Cond, Dst, Op0, Op1); in genTargetHelperCallFor()
3972 void TargetMIPS32::lowerFcmp(const InstFcmp *Instr) { in lowerFcmp()
3983 InstFcmp::FCond Cond = Instr->getCondition(); in lowerFcmp()
3996 case InstFcmp::False: { in lowerFcmp()
4003 case InstFcmp::Oeq: { in lowerFcmp()
4014 case InstFcmp::Ogt: { in lowerFcmp()
4025 case InstFcmp::Oge: { in lowerFcmp()
4036 case InstFcmp::Olt: { in lowerFcmp()
4047 case InstFcmp::Ole: { in lowerFcmp()
[all …]
DIceInst.cpp369 InstFcmp::InstFcmp(Cfg *Func, FCond Condition, Variable *Dest, Operand *Source1, in InstFcmp() function in Ice::InstFcmp
852 void InstFcmp::dump(const Cfg *Func) const { in dump()
DIceTargetLoweringX86BaseImpl.h173 if (llvm::isa<InstFcmp>(Instr))
234 return Traits::TableFcmp[llvm::cast<InstFcmp>(Instr)->getCondition()].C2 !=
868 } else if (auto *Fcmp = llvm::dyn_cast<InstFcmp>(Next)) {
872 NewInst = InstFcmp::create(Func, Fcmp->getCondition(),
2583 lowerFcmpAndConsumer(llvm::cast<InstFcmp>(Producer), Br);
3322 void TargetX86Base<TraitsType>::lowerFcmp(const InstFcmp *Fcmp) {
3334 void TargetX86Base<TraitsType>::lowerFcmpAndConsumer(const InstFcmp *Fcmp,
3367 InstFcmp::FCond Condition = Fcmp->getCondition();
3440 void TargetX86Base<TraitsType>::lowerFcmpVector(const InstFcmp *Fcmp) {
3448 InstFcmp::FCond Condition = Fcmp->getCondition();
[all …]
DIceTargetLoweringX86Base.h274 void lowerFcmp(const InstFcmp *Instr) override;
1137 void lowerFcmpAndConsumer(const InstFcmp *Fcmp, const Inst *Consumer);
1150 void lowerFcmpVector(const InstFcmp *Icmp);
1162 bool lowerOptimizeFcmpSelect(const InstFcmp *Fcmp, const InstSelect *Select);
DIceTargetLoweringX8632.cpp417 #define X(tag, str) static const int _table1_##tag = InstFcmp::tag;
DIceTargetLoweringARM32.cpp3593 lowerFcmpCond(llvm::cast<InstFcmp>(Producer))); in lowerInt1ForBranch()
4272 #define X(tag, str) _fcmp_hl_##tag = InstFcmp::tag,
4311 TargetARM32::CondWhenTrue TargetARM32::lowerFcmpCond(const InstFcmp *Instr) { in lowerFcmpCond()
4312 InstFcmp::FCond Condition = Instr->getCondition(); in lowerFcmpCond()
4314 case InstFcmp::False: in lowerFcmpCond()
4316 case InstFcmp::True: in lowerFcmpCond()
4334 void TargetARM32::lowerFcmp(const InstFcmp *Instr) { in lowerFcmp()
4339 if (Instr->getCondition() == InstFcmp::False) { in lowerFcmp()
4347 if (Instr->getCondition() == InstFcmp::True) { in lowerFcmp()
4384 case InstFcmp::val: { \ in lowerFcmp()
[all …]
DIceTargetLowering.h407 virtual void lowerFcmp(const InstFcmp *Instr) = 0;
DIceTargetLoweringARM32.h250 CondWhenTrue lowerFcmpCond(const InstFcmp *Instr);
251 void lowerFcmp(const InstFcmp *Instr) override;
DIceTargetLoweringX8664.cpp759 #define X(tag, str) static const int _table1_##tag = InstFcmp::tag;
DIceTargetLowering.cpp439 lowerFcmp(llvm::cast<InstFcmp>(Instr)); in lower()
DIceTargetLoweringMIPS32.h775 void lowerFcmp(const InstFcmp *Instr) override;
DIceCfgNode.cpp246 llvm::isa<InstFcmp>(InsertionPoint)) { in placePhiStores()
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp1147 static Value *createFloatCompare(Ice::InstFcmp::FCond condition, Value *lhs, Value *rhs) in createFloatCompare()
1153 auto cmp = Ice::InstFcmp::create(::function, condition, result, lhs, rhs); in createFloatCompare()
1161 return createFloatCompare(Ice::InstFcmp::Oeq, lhs, rhs); in createFCmpOEQ()
1166 return createFloatCompare(Ice::InstFcmp::Ogt, lhs, rhs); in createFCmpOGT()
1171 return createFloatCompare(Ice::InstFcmp::Oge, lhs, rhs); in createFCmpOGE()
1176 return createFloatCompare(Ice::InstFcmp::Olt, lhs, rhs); in createFCmpOLT()
1181 return createFloatCompare(Ice::InstFcmp::Ole, lhs, rhs); in createFCmpOLE()
1186 return createFloatCompare(Ice::InstFcmp::One, lhs, rhs); in createFCmpONE()
1191 return createFloatCompare(Ice::InstFcmp::Ord, lhs, rhs); in createFCmpORD()
1196 return createFloatCompare(Ice::InstFcmp::Uno, lhs, rhs); in createFCmpUNO()
[all …]