mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
24def37c85
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77878 91177308-0d34-0410-b5e6-96231b3b80d8
53 lines
1.6 KiB
C++
53 lines
1.6 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 LLVM_ARMTARGETASMINFO_H
|
|
#define LLVM_ARMTARGETASMINFO_H
|
|
|
|
#include "llvm/Target/DarwinTargetAsmInfo.h"
|
|
#include "llvm/Support/Compiler.h"
|
|
|
|
namespace llvm {
|
|
|
|
extern const char *const arm_asm_table[];
|
|
|
|
template <class BaseTAI>
|
|
struct ARMTargetAsmInfo : public BaseTAI {
|
|
explicit ARMTargetAsmInfo() {
|
|
BaseTAI::AsmTransCBE = arm_asm_table;
|
|
|
|
BaseTAI::AlignmentIsInBytes = false;
|
|
BaseTAI::Data64bitsDirective = 0;
|
|
BaseTAI::CommentString = "@";
|
|
BaseTAI::COMMDirectiveTakesAlignment = false;
|
|
BaseTAI::InlineAsmStart = "@ InlineAsm Start";
|
|
BaseTAI::InlineAsmEnd = "@ InlineAsm End";
|
|
BaseTAI::LCOMMDirective = "\t.lcomm\t";
|
|
}
|
|
};
|
|
|
|
EXTERN_TEMPLATE_INSTANTIATION(class ARMTargetAsmInfo<DarwinTargetAsmInfo>);
|
|
EXTERN_TEMPLATE_INSTANTIATION(class ARMTargetAsmInfo<TargetAsmInfo>);
|
|
|
|
struct ARMDarwinTargetAsmInfo : public ARMTargetAsmInfo<DarwinTargetAsmInfo> {
|
|
explicit ARMDarwinTargetAsmInfo();
|
|
};
|
|
|
|
struct ARMELFTargetAsmInfo : public ARMTargetAsmInfo<TargetAsmInfo> {
|
|
explicit ARMELFTargetAsmInfo();
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|