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.h526 class InstFcmp : public InstHighLevel {
527 InstFcmp() = delete;
528 InstFcmp(const InstFcmp &) = delete;
529 InstFcmp &operator=(const InstFcmp &) = delete;
539 static InstFcmp *create(Cfg *Func, FCond Condition, Variable *Dest, in create()
541 return new (Func->allocate<InstFcmp>()) in create()
542 InstFcmp(Func, Condition, Dest, Source1, Source2); in create()
550 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.h186 if (llvm::isa<InstFcmp>(Instr))
247 return Traits::TableFcmp[llvm::cast<InstFcmp>(Instr)->getCondition()].C2 !=
881 } else if (auto *Fcmp = llvm::dyn_cast<InstFcmp>(Next)) {
885 NewInst = InstFcmp::create(Func, Fcmp->getCondition(),
2636 lowerFcmpAndConsumer(llvm::cast<InstFcmp>(Producer), Br);
3394 void TargetX86Base<TraitsType>::lowerFcmp(const InstFcmp *Fcmp) {
3406 void TargetX86Base<TraitsType>::lowerFcmpAndConsumer(const InstFcmp *Fcmp,
3439 InstFcmp::FCond Condition = Fcmp->getCondition();
3512 void TargetX86Base<TraitsType>::lowerFcmpVector(const InstFcmp *Fcmp) {
3520 InstFcmp::FCond Condition = Fcmp->getCondition();
[all …]
DIceTargetLoweringX86Base.h274 void lowerFcmp(const InstFcmp *Instr) override;
1147 void lowerFcmpAndConsumer(const InstFcmp *Fcmp, const Inst *Consumer);
1160 void lowerFcmpVector(const InstFcmp *Icmp);
1172 bool lowerOptimizeFcmpSelect(const InstFcmp *Fcmp, const InstSelect *Select);
DIceTargetLoweringX8632.cpp459 #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.cpp831 #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.cpp1702 static Value *createFloatCompare(Ice::InstFcmp::FCond condition, Value *lhs, Value *rhs) in createFloatCompare()
1708 auto cmp = Ice::InstFcmp::create(::function, condition, result, lhs, rhs); in createFloatCompare()
1717 return createFloatCompare(Ice::InstFcmp::Oeq, lhs, rhs); in createFCmpOEQ()
1723 return createFloatCompare(Ice::InstFcmp::Ogt, lhs, rhs); in createFCmpOGT()
1729 return createFloatCompare(Ice::InstFcmp::Oge, lhs, rhs); in createFCmpOGE()
1735 return createFloatCompare(Ice::InstFcmp::Olt, lhs, rhs); in createFCmpOLT()
1741 return createFloatCompare(Ice::InstFcmp::Ole, lhs, rhs); in createFCmpOLE()
1747 return createFloatCompare(Ice::InstFcmp::One, lhs, rhs); in createFCmpONE()
1753 return createFloatCompare(Ice::InstFcmp::Ord, lhs, rhs); in createFCmpORD()
1759 return createFloatCompare(Ice::InstFcmp::Uno, lhs, rhs); in createFCmpUNO()
[all …]