Put all LLVM code into the llvm namespace, as per bug 109.
[oota-llvm.git] / include / llvm / CodeGen / InstrSelection.h
index 6c65dc7eba8c7f39a228abc27d558e517692deb4..2f269ea2d53aa4a1e0bf064c68c4a7bea7df3c28 100644 (file)
@@ -1,4 +1,11 @@
-//===-- llvm/CodeGen/InstrSelection.h --------------------------*- C++ -*--===//
+//===-- llvm/CodeGen/InstrSelection.h ---------------------------*- C++ -*-===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
 //
 // External interface to instruction selection.
 //
@@ -9,6 +16,8 @@
 
 #include "llvm/Instruction.h"
 
+namespace llvm {
+
 class Function;
 class InstrForest;
 class MachineInstr;
@@ -21,8 +30,6 @@ class FunctionPass;
 // Target-dependent functions that MUST be implemented for each target.
 //
 
-const unsigned MAX_INSTR_PER_VMINSTR = 8;
-
 extern void    GetInstructionsByRule   (InstructionNode* subtreeRoot,
                                         int ruleForNode,
                                         short* nts,
@@ -97,4 +104,6 @@ public:
   }
 };
 
+} // End llvm namespace
+
 #endif