Changes in directory llvm/lib/Target/ARM:
ARMTargetAsmInfo.cpp added (r1.1) ARMTargetAsmInfo.h added (r1.1) --- Log message: Break out target asm info into separate files. --- Diffs of the changes: (+57 -0) ARMTargetAsmInfo.cpp | 26 ++++++++++++++++++++++++++ ARMTargetAsmInfo.h | 31 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) Index: llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp diff -c /dev/null llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp:1.1 *** /dev/null Thu Sep 7 17:05:12 2006 --- llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp Thu Sep 7 17:05:01 2006 *************** *** 0 **** --- 1,26 ---- + //===-- ARMTargetAsmInfo.cpp - ARM 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 ARMTargetAsmInfo properties. + // + //===----------------------------------------------------------------------===// + + #include "ARMTargetAsmInfo.h" + + using namespace llvm; + + ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) { + Data16bitsDirective = "\t.half\t"; + Data32bitsDirective = "\t.word\t"; + Data64bitsDirective = 0; + ZeroDirective = "\t.skip\t"; + CommentString = "@"; + ConstantPoolSection = "\t.text\n"; + AlignmentIsInBytes = false; + } Index: llvm/lib/Target/ARM/ARMTargetAsmInfo.h diff -c /dev/null llvm/lib/Target/ARM/ARMTargetAsmInfo.h:1.1 *** /dev/null Thu Sep 7 17:05:23 2006 --- llvm/lib/Target/ARM/ARMTargetAsmInfo.h Thu Sep 7 17:05:01 2006 *************** *** 0 **** --- 1,31 ---- + //=====-- ARMTargetAsmInfo.h - ARM 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 ARMTargetAsmInfo class. + // + //===----------------------------------------------------------------------===// + + #ifndef ARMTARGETASMINFO_H + #define ARMTARGETASMINFO_H + + #include "llvm/Target/TargetAsmInfo.h" + + namespace llvm { + + // Forward declaration. + class ARMTargetMachine; + + struct ARMTargetAsmInfo : public TargetAsmInfo { + ARMTargetAsmInfo(const ARMTargetMachine &TM); + }; + + + } // namespace llvm + + #endif _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits