blob: 775ce43330841a29c1d6a5956aceb46537856050 [file] [log] [blame]
Jim Laskey8e8de8f2006-09-07 22:05:02 +00001//=====-- X86TargetAsmInfo.h - X86 asm properties -------------*- C++ -*--====//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Jim Laskey8e8de8f2006-09-07 22:05:02 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the declaration of the X86TargetAsmInfo class.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef X86TARGETASMINFO_H
15#define X86TARGETASMINFO_H
16
17#include "llvm/Target/TargetAsmInfo.h"
18
19namespace llvm {
Bill Wendlingeb9a42c2007-01-16 03:42:04 +000020
Jim Laskey8e8de8f2006-09-07 22:05:02 +000021 // Forward declaration.
22 class X86TargetMachine;
23
24 struct X86TargetAsmInfo : public TargetAsmInfo {
Dan Gohman677ccc62007-09-25 20:27:06 +000025 explicit X86TargetAsmInfo(const X86TargetMachine &TM);
Chris Lattner625bd052006-11-29 01:14:06 +000026
27 virtual bool ExpandInlineAsm(CallInst *CI) const;
28 private:
29 bool LowerToBSwap(CallInst *CI) const;
Jim Laskey8e8de8f2006-09-07 22:05:02 +000030 };
Jim Laskey8e8de8f2006-09-07 22:05:02 +000031} // namespace llvm
32
33#endif