blob: 8356bb808804bab4a606c3de8eb4decfc47e8eba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  | 
//=====-- ARMTargetAsmInfo.h - ARM asm properties -------------*- C++ -*--====//
//
//                     The LLVM Compiler Infrastructure
//
// This file was developed by James M. Laskey and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the declaration of the ARMTargetAsmInfo class.
//
//===----------------------------------------------------------------------===//
#ifndef ARMTARGETASMINFO_H
#define ARMTARGETASMINFO_H
#include "llvm/Target/TargetAsmInfo.h"
#include "ARMSubtarget.h"
namespace llvm {
  // Forward declaration.
  class ARMTargetMachine;
  struct ARMTargetAsmInfo : public TargetAsmInfo {
    explicit ARMTargetAsmInfo(const ARMTargetMachine &TM);
    const ARMSubtarget *Subtarget;
    virtual unsigned getInlineAsmLength(const char *Str) const;
    unsigned countArguments(const char *p) const;
    unsigned countString(const char *p) const;
  };
} // namespace llvm
#endif
  |