| Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 1 | //=====-- 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" | 
| Dale Johannesen | 67cf561 | 2007-05-02 01:02:40 +0000 | [diff] [blame] | 18 | #include "ARMSubtarget.h" | 
| Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 19 |  | 
 | 20 | namespace llvm { | 
 | 21 |  | 
 | 22 |   // Forward declaration. | 
 | 23 |   class ARMTargetMachine; | 
 | 24 |  | 
 | 25 |   struct ARMTargetAsmInfo : public TargetAsmInfo { | 
 | 26 |     ARMTargetAsmInfo(const ARMTargetMachine &TM); | 
| Dale Johannesen | 24fb52d | 2007-04-23 20:04:35 +0000 | [diff] [blame] | 27 |  | 
| Dale Johannesen | 67cf561 | 2007-05-02 01:02:40 +0000 | [diff] [blame] | 28 |     const ARMSubtarget *Subtarget; | 
| Dale Johannesen | 8650199 | 2007-04-29 19:17:45 +0000 | [diff] [blame] | 29 |  | 
 | 30 |     virtual unsigned getInlineAsmLength(const char *Str) const; | 
| Dale Johannesen | 67cf561 | 2007-05-02 01:02:40 +0000 | [diff] [blame] | 31 |     unsigned countArguments(const char *p) const; | 
 | 32 |     unsigned countString(const char *p) const; | 
| Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 33 |   }; | 
 | 34 |  | 
 | 35 |  | 
 | 36 | } // namespace llvm | 
 | 37 |  | 
 | 38 | #endif |