Searched refs:r_inst (Results 1 – 6 of 6) sorted by relevance
48 for (auto r_inst : get_decoration_mgr()->GetDecorationsFor(r_id, false)) in IsRelaxed() local49 if (r_inst->opcode() == SpvOpDecorate && in IsRelaxed()50 r_inst->GetSingleWordInOperand(1) == SpvDecorationRelaxedPrecision) in IsRelaxed()55 bool RelaxFloatOpsPass::ProcessInst(Instruction* r_inst) { in ProcessInst() argument56 uint32_t r_id = r_inst->result_id(); in ProcessInst()58 if (!IsFloat32(r_inst)) return false; in ProcessInst()60 if (!IsRelaxable(r_inst)) return false; in ProcessInst()
47 for (auto r_inst : get_decoration_mgr()->GetDecorationsFor(r_id, false)) in IsDecoratedRelaxed() local48 if (r_inst->opcode() == SpvOpDecorate && in IsDecoratedRelaxed()49 r_inst->GetSingleWordInOperand(1) == SpvDecorationRelaxedPrecision) in IsDecoratedRelaxed()