2006-09-07 22:05:02 +00:00
|
|
|
//=====-- 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"
|
2007-05-02 01:02:40 +00:00
|
|
|
#include "ARMSubtarget.h"
|
2006-09-07 22:05:02 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
// Forward declaration.
|
|
|
|
class ARMTargetMachine;
|
|
|
|
|
|
|
|
struct ARMTargetAsmInfo : public TargetAsmInfo {
|
|
|
|
ARMTargetAsmInfo(const ARMTargetMachine &TM);
|
2007-04-23 20:04:35 +00:00
|
|
|
|
2007-05-02 01:02:40 +00:00
|
|
|
const ARMSubtarget *Subtarget;
|
2007-04-29 19:17:45 +00:00
|
|
|
|
|
|
|
virtual unsigned getInlineAsmLength(const char *Str) const;
|
2007-05-02 01:02:40 +00:00
|
|
|
unsigned countArguments(const char *p) const;
|
|
|
|
unsigned countString(const char *p) const;
|
2006-09-07 22:05:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|