Returns the set of cpu flags required to run this code. */
| 42 | |
| 43 | /** Returns the set of cpu flags required to run this code. */ |
| 44 | FlagSet required_flags() const { |
| 45 | auto fs = FlagSet::empty(); |
| 46 | for (const auto& instr : *this) { |
| 47 | fs |= instr.required_flags(); |
| 48 | } |
| 49 | return fs; |
| 50 | } |
| 51 | |
| 52 | /** Returns the set of registers this code must read. */ |
| 53 | RegSet must_read_set() const { |
nothing calls this directly
no outgoing calls
no test coverage detected