Skip to content
  1. Jul 31, 2012
    • Jakob Stoklund Olesen's avatar
      Allow traces to enter nested loops. · c14cf57b
      Jakob Stoklund Olesen authored
      This lets traces include the final iteration of a nested loop above the
      center block, and the first iteration of a nested loop below the center
      block.
      
      We still don't allow traces to contain backedges, and traces are
      truncated where they would leave a loop, as seen from the center block.
      
      llvm-svn: 161003
      c14cf57b
  2. Jul 30, 2012
  3. Jul 28, 2012
  4. Jul 26, 2012
    • Jakob Stoklund Olesen's avatar
      Use an otherwise unused variable. · 35400b1d
      Jakob Stoklund Olesen authored
      llvm-svn: 160798
      35400b1d
    • Jakob Stoklund Olesen's avatar
      Start scaffolding for a MachineTraceMetrics analysis pass. · f9029fef
      Jakob Stoklund Olesen authored
      This is still a work in progress.
      
      Out-of-order CPUs usually execute instructions from multiple basic
      blocks simultaneously, so it is necessary to look at longer traces when
      estimating the performance effects of code transformations.
      
      The MachineTraceMetrics analysis will pick a typical trace through a
      given basic block and provide performance metrics for the trace. Metrics
      will include:
      
      - Instruction count through the trace.
      - Issue count per functional unit.
      - Critical path length, and per-instruction 'slack'.
      
      These metrics can be used to determine the performance limiting factor
      when executing the trace, and how it will be affected by a code
      transformation.
      
      Initially, this will be used by the early if-conversion pass.
      
      llvm-svn: 160796
      f9029fef
Loading