Lines Matching refs:SpvOpFAdd
397 if (op_inst->opcode() == SpvOpFAdd || op_inst->opcode() == SpvOpFSub || in MergeNegateAddSubArithmetic()
403 bool is_add = (op_inst->opcode() == SpvOpFAdd) || in MergeNegateAddSubArithmetic()
482 case SpvOpFAdd: in PerformFloatingPointOperation()
966 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddNegateArithmetic()
1023 opcode = HasFloatingPoint(type) ? SpvOpFAdd : SpvOpIAdd; in MergeSubNegateArithmetic()
1047 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddAddArithmetic()
1063 if (other_inst->opcode() == SpvOpFAdd || in MergeAddAddArithmetic()
1094 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeAddSubArithmetic()
1169 if (other_inst->opcode() == SpvOpFAdd || in MergeSubAddArithmetic()
1248 merge_op = uses_float ? SpvOpFAdd : SpvOpIAdd; in MergeSubSubArithmetic()
1259 op = uses_float ? SpvOpFAdd : SpvOpIAdd; in MergeSubSubArithmetic()
1309 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in MergeGenericAddSubArithmetic()
1337 inst->SetOpcode(inst->opcode() == SpvOpFAdd ? SpvOpFMul : SpvOpIMul); in FactorAddMulsOpnds()
1349 assert(inst->opcode() == SpvOpFAdd || inst->opcode() == SpvOpIAdd); in FactorAddMuls()
1920 assert(inst->opcode() == SpvOpFAdd && "Wrong opcode. Should be OpFAdd."); in RedundantFAdd()
2437 rules_[SpvOpFAdd].push_back(RedundantFAdd()); in AddFoldingRules()
2438 rules_[SpvOpFAdd].push_back(MergeAddNegateArithmetic()); in AddFoldingRules()
2439 rules_[SpvOpFAdd].push_back(MergeAddAddArithmetic()); in AddFoldingRules()
2440 rules_[SpvOpFAdd].push_back(MergeAddSubArithmetic()); in AddFoldingRules()
2441 rules_[SpvOpFAdd].push_back(MergeGenericAddSubArithmetic()); in AddFoldingRules()
2442 rules_[SpvOpFAdd].push_back(FactorAddMuls()); in AddFoldingRules()