Lines Matching defs:blocks
43 public static TraceBuilderResult computeTraces(DebugContext debug, AbstractBlockBase<?> startBlock, AbstractBlockBase<?>[] blocks, TrivialTracePredicate pred) {
44 return new BiDirectionalTraceBuilder(blocks).build(debug, startBlock, blocks, pred);
51 private BiDirectionalTraceBuilder(AbstractBlockBase<?>[] blocks) {
52 processed = new BitSet(blocks.length);
53 worklist = createQueue(blocks);
54 blockToTrace = new Trace[blocks.length];
57 private static Deque<AbstractBlockBase<?>> createQueue(AbstractBlockBase<?>[] blocks) {
58 ArrayList<AbstractBlockBase<?>> queue = new ArrayList<>(Arrays.asList(blocks));
72 private TraceBuilderResult build(DebugContext debug, AbstractBlockBase<?> startBlock, AbstractBlockBase<?>[] blocks, TrivialTracePredicate pred) {
76 return TraceBuilderResult.create(debug, blocks, traces, blockToTrace, pred);
113 /* Number head blocks. Can not do this in the loop as we go backwards. */
123 /* This time we can number the blocks immediately as we go forwards. */