• Home
  • Raw
  • Download

Lines Matching refs:SpvOpFSub

459     if (op_inst->opcode() == SpvOpFAdd || op_inst->opcode() == SpvOpFSub ||  in MergeNegateAddSubArithmetic()
484 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeNegateAddSubArithmetic()
548 case SpvOpFSub: in PerformFloatingPointOperation()
1029 inst->SetOpcode(HasFloatingPoint(type) ? SpvOpFSub : SpvOpISub); in MergeAddNegateArithmetic()
1048 assert(inst->opcode() == SpvOpFSub || inst->opcode() == SpvOpISub); in MergeSubNegateArithmetic()
1159 if (other_inst->opcode() == SpvOpFSub || in MergeAddSubArithmetic()
1202 assert(inst->opcode() == SpvOpFSub || inst->opcode() == SpvOpISub); in MergeSubAddArithmetic()
1267 assert(inst->opcode() == SpvOpFSub || inst->opcode() == SpvOpISub); in MergeSubSubArithmetic()
1283 if (other_inst->opcode() == SpvOpFSub || in MergeSubSubArithmetic()
1336 if (sub_inst->opcode() != SpvOpFSub && sub_inst->opcode() != SpvOpISub) in MergeGenericAddendSub()
1338 if (sub_inst->opcode() == SpvOpFSub && in MergeGenericAddendSub()
1539 assert(sub->opcode() == SpvOpFSub); in MergeMulSubArithmetic()
2387 assert(inst->opcode() == SpvOpFSub && "Wrong opcode. Should be OpFSub."); in RedundantFSub()
2907 rules_[SpvOpFSub].push_back(RedundantFSub()); in AddFoldingRules()
2908 rules_[SpvOpFSub].push_back(MergeSubNegateArithmetic()); in AddFoldingRules()
2909 rules_[SpvOpFSub].push_back(MergeSubAddArithmetic()); in AddFoldingRules()
2910 rules_[SpvOpFSub].push_back(MergeSubSubArithmetic()); in AddFoldingRules()
2911 rules_[SpvOpFSub].push_back(MergeMulSubArithmetic); in AddFoldingRules()