Merge from mainline.
[llvm-complete.git] / lib / Target / ARM / ARMTargetAsmInfo.h
blob56539696cde27e43130ce19d340411d346617919
1 //=====-- ARMTargetAsmInfo.h - ARM asm properties -------------*- C++ -*--====//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declaration of the ARMTargetAsmInfo class.
12 //===----------------------------------------------------------------------===//
14 #ifndef ARMTARGETASMINFO_H
15 #define ARMTARGETASMINFO_H
17 #include "llvm/Target/TargetAsmInfo.h"
18 #include "ARMSubtarget.h"
20 namespace llvm {
22 // Forward declaration.
23 class ARMTargetMachine;
25 struct ARMTargetAsmInfo : public TargetAsmInfo {
26 explicit ARMTargetAsmInfo(const ARMTargetMachine &TM);
28 const ARMSubtarget *Subtarget;
30 virtual unsigned getInlineAsmLength(const char *Str) const;
31 unsigned countArguments(const char *p) const;
32 unsigned countString(const char *p) const;
36 } // namespace llvm
38 #endif