1 //=====-- X86TargetAsmInfo.h - X86 asm properties -------------*- C++ -*--====//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declaration of the X86TargetAsmInfo class.
12 //===----------------------------------------------------------------------===//
14 #ifndef X86TARGETASMINFO_H
15 #define X86TARGETASMINFO_H
17 #include "llvm/Target/TargetAsmInfo.h"
21 // Forward declaration.
22 class X86TargetMachine;
24 struct X86TargetAsmInfo : public TargetAsmInfo {
25 explicit X86TargetAsmInfo(const X86TargetMachine &TM);
27 virtual bool ExpandInlineAsm(CallInst *CI) const;
29 bool LowerToBSwap(CallInst *CI) const;