//
// 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