diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-07-22 04:40:02 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-07-22 04:40:02 +0000 |
| commit | aceb9132b7c0f2b22a2e51d523d0bd46f2cb3817 (patch) | |
| tree | d3b24eb01110102a9649cfd973933c1b80ac27f7 /include/llvm/CodeGen | |
| parent | c21d4fcb202b613e2ebe95684362b8c9b66d8034 (diff) | |
| download | external_llvm-aceb9132b7c0f2b22a2e51d523d0bd46f2cb3817.zip external_llvm-aceb9132b7c0f2b22a2e51d523d0bd46f2cb3817.tar.gz external_llvm-aceb9132b7c0f2b22a2e51d523d0bd46f2cb3817.tar.bz2 | |
Privatize LLCOptions. It had no business being visible to the entire
program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/InstrSelection.h | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/include/llvm/CodeGen/InstrSelection.h b/include/llvm/CodeGen/InstrSelection.h index 7538a15..0873003 100644 --- a/include/llvm/CodeGen/InstrSelection.h +++ b/include/llvm/CodeGen/InstrSelection.h @@ -12,29 +12,17 @@ #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); //--------------------------------------------------------------------------- |
