Lines Matching defs:blocks
39 // Each function's CFG of blocks. Has this hierarchy:
296 // true for all unreachable blocks, but should be set at least
332 for (int i = 0; i < (int)blocks.size(); ++i)
333 delete blocks[i];
339 void addBlock(Block* block) { blocks.push_back(block); }
342 auto found = find(blocks.begin(), blocks.end(), block);
343 assert(found != blocks.end());
344 blocks.erase(found);
349 Block* getEntryBlock() const { return blocks.front(); }
350 Block* getLastBlock() const { return blocks.back(); }
351 const std::vector<Block*>& getBlocks() const { return blocks; }
401 inReadableOrder(blocks[0], [&out](const Block* b, ReachReason, Block*) { b->dump(out); });
417 std::vector<Block*> blocks;
512 blocks[0]->addLocalVariable(std::move(inst));