Lines Matching refs:instr
93 bool BasicBlocksVisitor::HandleAnnotation(Instruction* instr) { in HandleAnnotation() argument
95 StartBlock(instr); in HandleAnnotation()
100 bool BasicBlocksVisitor::SkipInstruction(Instruction* instr) { in SkipInstruction() argument
102 EndBlock(instr->prev); in SkipInstruction()
107 void BasicBlocksVisitor::StartBlock(Instruction* instr) { in StartBlock() argument
108 assert(instr != nullptr); in StartBlock()
112 current_block_.region.first = instr; in StartBlock()
117 void BasicBlocksVisitor::EndBlock(Instruction* instr) { in EndBlock() argument
118 assert(instr != nullptr); in EndBlock()
122 current_block_.region.last = instr; in EndBlock()
133 for (auto instr : code_ir->instructions) { in CreateBasicBlocks() local
134 instr->Accept(&visitor); in CreateBasicBlocks()