Skip to content
  • Jakob Stoklund Olesen's avatar
    Compute instruction heights through a trace. · 2db6b653
    Jakob Stoklund Olesen authored
    The height on an instruction is the minimum number of cycles from the
    instruction is issued to the end of the trace. Heights are computed for
    all instructions in and below the trace center block.
    
    The method for computing heights is different from the depth
    computation. As we visit instructions in the trace bottom-up, heights of
    used instructions are pushed upwards. This way, we avoid scanning long
    use lists, looking for uses in the current trace.
    
    At each basic block boundary, a list of live-in registers and their
    minimum heights is saved in the trace block info. These live-in lists
    are used when restarting depth computations on a trace that
    converges with an already computed trace. They will also be used to
    accurately compute the critical path length.
    
    llvm-svn: 161138
    2db6b653
Loading