Removed spurious EnablePPCRS check.
[oota-llvm.git] / lib / Target / X86 / X86TargetAsmInfo.h
index a5401da602bf34601b39884166aff59e407fd203..d9dd2753571acab54ea46e82b41c5fa52e7b848d 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by James M. Laskey and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
 #include "llvm/Target/TargetAsmInfo.h"
 
 namespace llvm {
-  
+
   // Forward declaration.
   class X86TargetMachine;
 
   struct X86TargetAsmInfo : public TargetAsmInfo {
-    X86TargetAsmInfo(const X86TargetMachine &TM);
-  };
-
+    explicit X86TargetAsmInfo(const X86TargetMachine &TM);
+    
+    virtual bool ExpandInlineAsm(CallInst *CI) const;
+    virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
+                                           bool Global) const;
 
+  private:
+    const X86TargetMachine* X86TM;
+    bool LowerToBSwap(CallInst *CI) const;
+  };
 } // namespace llvm
 
 #endif