Skip to content
  1. Aug 11, 2012
    • Jakob Stoklund Olesen's avatar
      Add a proper if-conversion cost model. · bc55bfde
      Jakob Stoklund Olesen authored
      Detect when there is not enough available ILP, so if-conversion can't
      speculate instructions for free.
      
      Compute the lengthening of the critical path when inserting a select
      instruction that depends on the condition as well as both sides of the
      if.
      
      Reject conversions that would stretch the critical path by more than
      half a mispredict penalty.
      
      llvm-svn: 161713
      bc55bfde
    • Jakob Stoklund Olesen's avatar
      Give MachineTraceMetrics its own debug tag. · a0042acd
      Jakob Stoklund Olesen authored
      llvm-svn: 161712
      a0042acd
    • Jakob Stoklund Olesen's avatar
      Add more trace query functions. · 34844209
      Jakob Stoklund Olesen authored
      Trace::getResourceLength() computes the number of cycles required to
      execute the trace when ignoring data dependencies. The number can be
      compared to the critical path to estimate the trace ILP.
      
      Trace::getPHIDepth() computes the data dependency depth of a PHI in a
      trace successor that isn't necessarily part of the trace.
      
      llvm-svn: 161711
      34844209
  2. Aug 10, 2012
  3. Aug 09, 2012
Loading