/// empty slots at the top of each function stack
Pass *createStackSlotsPass(const TargetMachine &TM);
+// Interface to pre-selection pass that specializes LLVM code for a target
+// machine.
+Pass *createPreSelectionPass(TargetMachine &Target);
+
+// External interface to peephole optimization pass operating on machine code.
+FunctionPass *createPeepholeOptsPass(TargetMachine &Target);
+
//---------------------------------------------------------------------------
// class UltraSparc
//
//===----------------------------------------------------------------------===//
-#include "llvm/CodeGen/PeepholeOpts.h"
+#include "SparcInternals.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/TargetMachine.h"
//
//===----------------------------------------------------------------------===//
-#include "llvm/CodeGen/PreSelection.h"
+#include "SparcInternals.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionInfo.h"
-#include "llvm/CodeGen/PreSelection.h"
-#include "llvm/CodeGen/PeepholeOpts.h"
#include "llvm/CodeGen/InstrSelection.h"
#include "llvm/CodeGen/InstrScheduling.h"
#include "llvm/CodeGen/RegisterAllocation.h"