Changes in directory llvm/lib/Target/IA64:
IA64TargetAsmInfo.cpp added (r1.1) IA64TargetAsmInfo.h added (r1.1) --- Log message: Break out target asm info into separate files. --- Diffs of the changes: (+65 -0) IA64TargetAsmInfo.cpp | 34 ++++++++++++++++++++++++++++++++++ IA64TargetAsmInfo.h | 31 +++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) Index: llvm/lib/Target/IA64/IA64TargetAsmInfo.cpp diff -c /dev/null llvm/lib/Target/IA64/IA64TargetAsmInfo.cpp:1.1 *** /dev/null Thu Sep 7 17:05:12 2006 --- llvm/lib/Target/IA64/IA64TargetAsmInfo.cpp Thu Sep 7 17:05:02 2006 *************** *** 0 **** --- 1,34 ---- + //===-- IA64TargetAsmInfo.cpp - IA64 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 IA64TargetAsmInfo properties. + // + //===----------------------------------------------------------------------===// + + #include "IA64TargetAsmInfo.h" + + using namespace llvm; + + IA64TargetAsmInfo::IA64TargetAsmInfo(const IA64TargetMachine &TM) { + CommentString = "//"; + Data8bitsDirective = "\tdata1\t"; // FIXME: check that we are + Data16bitsDirective = "\tdata2.ua\t"; // disabling auto-alignment + Data32bitsDirective = "\tdata4.ua\t"; // properly + Data64bitsDirective = "\tdata8.ua\t"; + ZeroDirective = "\t.skip\t"; + AsciiDirective = "\tstring\t"; + + GlobalVarAddrPrefix=""; + GlobalVarAddrSuffix=""; + FunctionAddrPrefix="@fptr("; + FunctionAddrSuffix=")"; + + // FIXME: would be nice to have rodata (no 'w') when appropriate? + ConstantPoolSection = "\n\t.section .data, \"aw\", \"progbits\"\n"; + } Index: llvm/lib/Target/IA64/IA64TargetAsmInfo.h diff -c /dev/null llvm/lib/Target/IA64/IA64TargetAsmInfo.h:1.1 *** /dev/null Thu Sep 7 17:05:23 2006 --- llvm/lib/Target/IA64/IA64TargetAsmInfo.h Thu Sep 7 17:05:02 2006 *************** *** 0 **** --- 1,31 ---- + //=====-- IA64TargetAsmInfo.h - IA64 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 IA64TargetAsmInfo class. + // + //===----------------------------------------------------------------------===// + + #ifndef IA64TARGETASMINFO_H + #define IA64TARGETASMINFO_H + + #include "llvm/Target/TargetAsmInfo.h" + + namespace llvm { + + // Forward declaration. + class IA64TargetMachine; + + struct IA64TargetAsmInfo : public TargetAsmInfo { + IA64TargetAsmInfo(const IA64TargetMachine &TM); + }; + + + } // namespace llvm + + #endif _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits