mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
ad9a6ccb83
llvm-svn: 45418
39 lines
1.0 KiB
C++
39 lines
1.0 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 "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
|