/external/swiftshader/third_party/subzero/src/ |
D | IceConverter.cpp | 454 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 …]
|
D | IceInst.h | 523 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,
|
D | PNaClTranslator.cpp | 2023 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 …]
|
D | WasmTranslator.cpp | 646 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()
|
D | IceInstrumentation.h | 66 virtual void instrumentFcmp(LoweringContext &, class InstFcmp *) {} in instrumentFcmp() argument
|
D | IceInstrumentation.cpp | 82 instrumentFcmp(Context, llvm::cast<InstFcmp>(Instr)); in instrumentInst()
|
D | IceTargetLoweringMIPS32.cpp | 305 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 …]
|
D | IceInst.cpp | 369 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()
|
D | IceTargetLoweringX86BaseImpl.h | 173 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 …]
|
D | IceTargetLoweringX86Base.h | 274 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);
|
D | IceTargetLoweringX8632.cpp | 417 #define X(tag, str) static const int _table1_##tag = InstFcmp::tag;
|
D | IceTargetLoweringARM32.cpp | 3593 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 …]
|
D | IceTargetLowering.h | 407 virtual void lowerFcmp(const InstFcmp *Instr) = 0;
|
D | IceTargetLoweringARM32.h | 250 CondWhenTrue lowerFcmpCond(const InstFcmp *Instr); 251 void lowerFcmp(const InstFcmp *Instr) override;
|
D | IceTargetLoweringX8664.cpp | 759 #define X(tag, str) static const int _table1_##tag = InstFcmp::tag;
|
D | IceTargetLowering.cpp | 439 lowerFcmp(llvm::cast<InstFcmp>(Instr)); in lower()
|
D | IceTargetLoweringMIPS32.h | 775 void lowerFcmp(const InstFcmp *Instr) override;
|
D | IceCfgNode.cpp | 246 llvm::isa<InstFcmp>(InsertionPoint)) { in placePhiStores()
|
/external/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 1147 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 …]
|