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.h530 class InstFcmp : public InstHighLevel {
531 InstFcmp() = delete;
532 InstFcmp(const InstFcmp &) = delete;
533 InstFcmp &operator=(const InstFcmp &) = delete;
543 static InstFcmp *create(Cfg *Func, FCond Condition, Variable *Dest, in create()
545 return new (Func->allocate<InstFcmp>()) in create()
546 InstFcmp(Func, Condition, Dest, Source1, Source2); in create()
554 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()
3957 void TargetMIPS32::lowerFcmp(const InstFcmp *Instr) { in lowerFcmp()
3968 InstFcmp::FCond Cond = Instr->getCondition(); in lowerFcmp()
3981 case InstFcmp::False: { in lowerFcmp()
3988 case InstFcmp::Oeq: { in lowerFcmp()
3999 case InstFcmp::Ogt: { in lowerFcmp()
4010 case InstFcmp::Oge: { in lowerFcmp()
4021 case InstFcmp::Olt: { in lowerFcmp()
4032 case InstFcmp::Ole: { in lowerFcmp()
[all …]
DIceInst.cpp361 InstFcmp::InstFcmp(Cfg *Func, FCond Condition, Variable *Dest, Operand *Source1, in InstFcmp() function in Ice::InstFcmp
844 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 !=
870 } else if (auto *Fcmp = llvm::dyn_cast<InstFcmp>(Next)) {
874 NewInst = InstFcmp::create(Func, Fcmp->getCondition(),
2640 lowerFcmpAndConsumer(llvm::cast<InstFcmp>(Producer), Br);
3398 void TargetX86Base<TraitsType>::lowerFcmp(const InstFcmp *Fcmp) {
3410 void TargetX86Base<TraitsType>::lowerFcmpAndConsumer(const InstFcmp *Fcmp,
3443 InstFcmp::FCond Condition = Fcmp->getCondition();
3516 void TargetX86Base<TraitsType>::lowerFcmpVector(const InstFcmp *Fcmp) {
3524 InstFcmp::FCond Condition = Fcmp->getCondition();
[all …]
DIceTargetLoweringX86Base.h274 void lowerFcmp(const InstFcmp *Instr) override;
1133 void lowerFcmpAndConsumer(const InstFcmp *Fcmp, const Inst *Consumer);
1146 void lowerFcmpVector(const InstFcmp *Icmp);
1158 bool lowerOptimizeFcmpSelect(const InstFcmp *Fcmp, const InstSelect *Select);
DIceTargetLoweringX8632.cpp454 #define X(tag, str) static const int _table1_##tag = InstFcmp::tag;
DIceTargetLoweringARM32.cpp3590 lowerFcmpCond(llvm::cast<InstFcmp>(Producer))); in lowerInt1ForBranch()
4269 #define X(tag, str) _fcmp_hl_##tag = InstFcmp::tag,
4307 TargetARM32::CondWhenTrue TargetARM32::lowerFcmpCond(const InstFcmp *Instr) { in lowerFcmpCond()
4308 InstFcmp::FCond Condition = Instr->getCondition(); in lowerFcmpCond()
4310 case InstFcmp::False: in lowerFcmpCond()
4312 case InstFcmp::True: in lowerFcmpCond()
4330 void TargetARM32::lowerFcmp(const InstFcmp *Instr) { in lowerFcmp()
4335 if (Instr->getCondition() == InstFcmp::False) { in lowerFcmp()
4343 if (Instr->getCondition() == InstFcmp::True) { in lowerFcmp()
4380 case InstFcmp::val: { \ in lowerFcmp()
[all …]
DIceTargetLowering.h400 virtual void lowerFcmp(const InstFcmp *Instr) = 0;
DIceTargetLoweringARM32.h250 CondWhenTrue lowerFcmpCond(const InstFcmp *Instr);
251 void lowerFcmp(const InstFcmp *Instr) override;
DIceTargetLoweringX8664.cpp830 #define X(tag, str) static const int _table1_##tag = InstFcmp::tag;
DIceTargetLowering.cpp426 lowerFcmp(llvm::cast<InstFcmp>(Instr)); in lower()
DIceCfgNode.cpp246 llvm::isa<InstFcmp>(InsertionPoint)) { in placePhiStores()
DIceTargetLoweringMIPS32.h775 void lowerFcmp(const InstFcmp *Instr) override;
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp1797 static Value *createFloatCompare(Ice::InstFcmp::FCond condition, Value *lhs, Value *rhs) in createFloatCompare()
1803 auto cmp = Ice::InstFcmp::create(::function, condition, result, lhs, rhs); in createFloatCompare()
1812 return createFloatCompare(Ice::InstFcmp::Oeq, lhs, rhs); in createFCmpOEQ()
1818 return createFloatCompare(Ice::InstFcmp::Ogt, lhs, rhs); in createFCmpOGT()
1824 return createFloatCompare(Ice::InstFcmp::Oge, lhs, rhs); in createFCmpOGE()
1830 return createFloatCompare(Ice::InstFcmp::Olt, lhs, rhs); in createFCmpOLT()
1836 return createFloatCompare(Ice::InstFcmp::Ole, lhs, rhs); in createFCmpOLE()
1842 return createFloatCompare(Ice::InstFcmp::One, lhs, rhs); in createFCmpONE()
1848 return createFloatCompare(Ice::InstFcmp::Ord, lhs, rhs); in createFCmpORD()
1854 return createFloatCompare(Ice::InstFcmp::Uno, lhs, rhs); in createFCmpUNO()
[all …]