Lines Matching defs:reachable
32 /// Returns a reference to a cached set of blocks that are reachable from the
35 /// reachable blocks; if it returns predecessors of a block, this will return
37 /// considered reachable form itself only if there is a cycle.
46 llvm::SmallPtrSet<Block *, 4> &reachable = it->second;
52 // The block is reachable from its transitive predecessors. Only add
54 if (reachable.insert(predecessor).second)
58 return reachable;
283 // intersection of blocks reachable from "from" and blocks from which "to"
289 llvm::SmallPtrSet<Block *, 4> reachable(getReachable(from));
290 llvm::set_intersect(reachable, sources);
295 reachable.insert(from);
300 for (Block *block : reachable) {
309 /// Popualtes `reachable` with the set of blocks that are rechable from the
310 /// given block. A block is considered reachable from itself if there is a
318 /// reachable.
376 /// Caches for sets of reachable blocks.