Privatize LLCOptions. It had no business being visible to the entire
[oota-llvm.git] / include / llvm / CodeGen / InstrSelection.h
index 7538a1532b2a0f771834192230960546d1bd1fc0..0873003baf532687ab4dd960255ef51838b5fb83 100644 (file)
 #ifndef LLVM_CODEGEN_INSTR_SELECTION_H
 #define LLVM_CODEGEN_INSTR_SELECTION_H
 
-//************************** System Include Files **************************/
-
-//*************************** User Include Files ***************************/
-
 #include "llvm/Instruction.h"
-
-//************************* Opaque Declarations ****************************/
-
+#include <vector>
 class CompileContext;
-class Instruction;
 class Method;
 class InstrForest;
-class MachineInstruction;
+class MachineInstr;
+class InstructionNode;
 class TmpInstruction;
+class ConstPoolVal;
 
-
-//************************ Exported Constants ******************************/
-
-const int      DEBUG_INSTR_TREES = 2;
-const int      DEBUG_BURG_TREES  = 5;
-
-
-//****************** External Function Prototypes **************************/
+enum { DEBUG_TREES_NONE = 0, DEBUG_INSTR_TREES = 1, DEBUG_BURG_TREES = 5 };
 
 //---------------------------------------------------------------------------
 // GLOBAL data and an external function that must be implemented
@@ -65,12 +53,12 @@ extern bool ThisIsAChainRule        (int eruleno);
 //---------------------------------------------------------------------------
 
 bool           SelectInstructionsForMethod     (Method* method,
-                                                CompileContext& ccontext);
+                                                CompileContext& ccontext,
+                                                int DebugLevel);
 
 
 // Debugging function to print the generated instructions
-void           PrintMachineInstructions        (Method* method,
-                                                CompileContext& ccontext);
+void           PrintMachineInstructions        (Method* method);
 
 
 //---------------------------------------------------------------------------