blob: 4ee994f41c52f289619620bc3c252b95180d0151 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//=====-- 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
19namespace llvm {
20
21 // Forward declaration.
22 class X86TargetMachine;
23
24 struct X86TargetAsmInfo : public TargetAsmInfo {
Dan Gohmancdd820b2007-09-25 20:27:06 +000025 explicit X86TargetAsmInfo(const X86TargetMachine &TM);
Dan Gohmanf17a25c2007-07-18 16:29:46 +000026
27 virtual bool ExpandInlineAsm(CallInst *CI) const;
28 private:
29 bool LowerToBSwap(CallInst *CI) const;
30 };
31} // namespace llvm
32
33#endif