| 110 | }; |
| 111 | |
| 112 | bool LoopFissionImpl::MovableInstruction(const Instruction& inst) const { |
| 113 | return inst.opcode() == spv::Op::OpLoad || |
| 114 | inst.opcode() == spv::Op::OpStore || |
| 115 | inst.opcode() == spv::Op::OpSelectionMerge || |
| 116 | inst.opcode() == spv::Op::OpPhi || inst.IsOpcodeCodeMotionSafe(); |
| 117 | } |
| 118 | |
| 119 | void LoopFissionImpl::TraverseUseDef(Instruction* inst, |
| 120 | std::set<Instruction*>* returned_set, |
nothing calls this directly
no test coverage detected