diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-09-07 22:05:02 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-09-07 22:05:02 +0000 |
commit | 0e83541f8b4e4dc5c69c7048e1c9cb601be06a33 (patch) | |
tree | 580502ca811d3c2e152cd311ccddf8b858efe556 /llvm/lib/Target/Alpha | |
parent | 5606dd8a45c5f52074f8afab0e0904595bbf39b2 (diff) | |
download | bcm5719-llvm-0e83541f8b4e4dc5c69c7048e1c9cb601be06a33.tar.gz bcm5719-llvm-0e83541f8b4e4dc5c69c7048e1c9cb601be06a33.zip |
Break out target asm info into separate files.
llvm-svn: 30161
Diffstat (limited to 'llvm/lib/Target/Alpha')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp | 21 | ||||
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h | 30 |
2 files changed, 51 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp new file mode 100644 index 00000000000..fd77b87f2d9 --- /dev/null +++ b/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp @@ -0,0 +1,21 @@ +//===-- AlphaTargetAsmInfo.cpp - Alpha 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 declarations of the AlphaTargetAsmInfo properties. +// +//===----------------------------------------------------------------------===// + +#include "AlphaTargetAsmInfo.h" + +using namespace llvm; + +AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) { + AlignmentIsInBytes = false; + PrivateGlobalPrefix = "$"; +} diff --git a/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h b/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h new file mode 100644 index 00000000000..c8b4fd5c359 --- /dev/null +++ b/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h @@ -0,0 +1,30 @@ +//=====-- AlphaTargetAsmInfo.h - Alpha 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 AlphaTargetAsmInfo class. +// +//===----------------------------------------------------------------------===// + +#ifndef ALPHATARGETASMINFO_H +#define ALPHATARGETASMINFO_H + +#include "llvm/Target/TargetAsmInfo.h" + +namespace llvm { + + // Forward declaration. + class AlphaTargetMachine; + + struct AlphaTargetAsmInfo : public TargetAsmInfo { + AlphaTargetAsmInfo(const AlphaTargetMachine &TM); + }; + +} // namespace llvm + +#endif |