mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
0f3cc65738
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54458 91177308-0d34-0410-b5e6-96231b3b80d8
51 lines
1.5 KiB
C++
51 lines
1.5 KiB
C++
//=====-- ARMTargetAsmInfo.h - ARM asm properties -------------*- C++ -*--====//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file 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 "llvm/Target/ELFTargetAsmInfo.h"
|
|
#include "llvm/Target/DarwinTargetAsmInfo.h"
|
|
|
|
#include "ARMSubtarget.h"
|
|
|
|
namespace llvm {
|
|
|
|
// Forward declaration.
|
|
class ARMTargetMachine;
|
|
|
|
struct ARMTargetAsmInfo : public virtual 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;
|
|
};
|
|
|
|
struct ARMDarwinTargetAsmInfo : public virtual ARMTargetAsmInfo,
|
|
public virtual DarwinTargetAsmInfo {
|
|
explicit ARMDarwinTargetAsmInfo(const ARMTargetMachine &TM);
|
|
};
|
|
|
|
struct ARMELFTargetAsmInfo : public virtual ARMTargetAsmInfo,
|
|
public virtual ELFTargetAsmInfo {
|
|
explicit ARMELFTargetAsmInfo(const ARMTargetMachine &TM);
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|