Fix the last crimes against nature that used the 'ir' ordering to use the
[oota-llvm.git] / lib / Target / X86 / InstSelectPattern.cpp
index 74f540a8da1fd06efc2126c84c2301b8983ce186..6b848b00ea2f8f558d8e371b2910fb43b3620fd0 100644 (file)
@@ -1,4 +1,11 @@
 //===-- InstSelectPattern.cpp - A pattern matching inst selector for X86 --===//
+// 
+//                     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.
+// 
+//===----------------------------------------------------------------------===//
 //
 // This file defines a pattern matching instruction selector for X86.
 //
@@ -20,6 +27,7 @@
 
 // Include the generated instruction selector...
 #include "X86GenInstrSelector.inc"
+using namespace llvm;
 
 namespace {
   struct ISel : public FunctionPass, SelectionDAGTargetBuilder {
@@ -107,11 +115,10 @@ void ISel::expandCall(SelectionDAG &SD, CallInst &CI) {
   assert(0 && "ISel::expandCall not implemented!");
 }
 
-
 /// createX86PatternInstructionSelector - This pass converts an LLVM function
 /// into a machine code representation using pattern matching and a machine
 /// description file.
 ///
-FunctionPass *createX86PatternInstructionSelector(TargetMachine &TM) {
+FunctionPass *llvm::createX86PatternInstructionSelector(TargetMachine &TM) {
   return new ISel(TM);  
 }