another missed SSE optimization
[oota-llvm.git] / lib / Target / X86 / X86TargetAsmInfo.h
1 //=====-- X86TargetAsmInfo.h - X86 asm properties -------------*- C++ -*--====//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by James M. Laskey and is distributed under the
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
7 //
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
19 namespace llvm {
20
21   // Forward declaration.
22   class X86TargetMachine;
23
24   struct X86TargetAsmInfo : public TargetAsmInfo {
25     X86TargetAsmInfo(const X86TargetMachine &TM);
26     
27     virtual bool ExpandInlineAsm(CallInst *CI) const;
28   private:
29     bool LowerToBSwap(CallInst *CI) const;
30   };
31 } // namespace llvm
32
33 #endif