diff options
Diffstat (limited to 'include/llvm/CodeGen/TailDuplicator.h')
| -rw-r--r-- | include/llvm/CodeGen/TailDuplicator.h | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/include/llvm/CodeGen/TailDuplicator.h b/include/llvm/CodeGen/TailDuplicator.h index 483c0ab1eec9..be6562c85f2e 100644 --- a/include/llvm/CodeGen/TailDuplicator.h +++ b/include/llvm/CodeGen/TailDuplicator.h @@ -19,11 +19,7 @@  #include "llvm/ADT/DenseSet.h"  #include "llvm/ADT/SetVector.h"  #include "llvm/ADT/SmallVector.h" -#include "llvm/ADT/STLExtras.h" -#include "llvm/CodeGen/RegisterScavenging.h" -#include "llvm/Support/CommandLine.h" -#include "llvm/Target/TargetInstrInfo.h" -#include "llvm/Target/TargetSubtargetInfo.h" +#include "llvm/CodeGen/TargetInstrInfo.h"  #include <utility>  #include <vector> @@ -61,13 +57,14 @@ class TailDuplicator {  public:    /// Prepare to run on a specific machine function.    /// @param MF - Function that will be processed +  /// @param PreRegAlloc - true if used before register allocation    /// @param MBPI - Branch Probability Info. Used to propagate correct    ///     probabilities when modifying the CFG.    /// @param LayoutMode - When true, don't use the existing layout to make    ///     decisions.    /// @param TailDupSize - Maxmimum size of blocks to tail-duplicate. Zero    ///     default implies using the command line value TailDupSize. -  void initMF(MachineFunction &MF, +  void initMF(MachineFunction &MF, bool PreRegAlloc,                const MachineBranchProbabilityInfo *MBPI,                bool LayoutMode, unsigned TailDupSize = 0); | 
