//===-- 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.
//
// Include the generated instruction selector...
#include "X86GenInstrSelector.inc"
+using namespace llvm;
namespace {
struct ISel : public FunctionPass, SelectionDAGTargetBuilder {
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);
}