blob: 8356bb808804bab4a606c3de8eb4decfc47e8eba [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//=====-- ARMTargetAsmInfo.h - ARM 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 ARMTargetAsmInfo class.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef ARMTARGETASMINFO_H
15#define ARMTARGETASMINFO_H
16
17#include "llvm/Target/TargetAsmInfo.h"
18#include "ARMSubtarget.h"
19
20namespace llvm {
21
22 // Forward declaration.
23 class ARMTargetMachine;
24
25 struct ARMTargetAsmInfo : public TargetAsmInfo {
Dan Gohmancdd820b2007-09-25 20:27:06 +000026 explicit ARMTargetAsmInfo(const ARMTargetMachine &TM);
Dan Gohmanf17a25c2007-07-18 16:29:46 +000027
28 const ARMSubtarget *Subtarget;
29
30 virtual unsigned getInlineAsmLength(const char *Str) const;
31 unsigned countArguments(const char *p) const;
32 unsigned countString(const char *p) const;
33 };
34
35
36} // namespace llvm
37
38#endif