blob: 0f698590ae7122f366ea186f67aca9bab2d9a3f8 [file] [log] [blame]
Jim Laskey8e8de8f2006-09-07 22:05:02 +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 {
25 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