| 232 | } |
| 233 | |
| 234 | std::string BasicBlock::PrettyPrint(uint32_t options) const { |
| 235 | std::ostringstream str; |
| 236 | ForEachInst([&str, options](const Instruction* inst) { |
| 237 | str << inst->PrettyPrint(options); |
| 238 | if (!spvOpcodeIsBlockTerminator(inst->opcode())) { |
| 239 | str << std::endl; |
| 240 | } |
| 241 | }); |
| 242 | return str.str(); |
| 243 | } |
| 244 | |
| 245 | BasicBlock* BasicBlock::SplitBasicBlock(IRContext* context, uint32_t label_id, |
| 246 | iterator iter) { |
no test coverage detected