[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp AlphaTargetAsmInfo.h
Jim Laskey
jlaskey at apple.com
Thu Sep 7 15:05:23 PDT 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaTargetAsmInfo.cpp added (r1.1)
AlphaTargetAsmInfo.h added (r1.1)
---
Log message:
Break out target asm info into separate files.
---
Diffs of the changes: (+51 -0)
AlphaTargetAsmInfo.cpp | 21 +++++++++++++++++++++
AlphaTargetAsmInfo.h | 30 ++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
Index: llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp
diff -c /dev/null llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp:1.1
*** /dev/null Thu Sep 7 17:05:12 2006
--- llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp Thu Sep 7 17:05:02 2006
***************
*** 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 = "$";
+ }
Index: llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h
diff -c /dev/null llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h:1.1
*** /dev/null Thu Sep 7 17:05:23 2006
--- llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h Thu Sep 7 17:05:02 2006
***************
*** 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
More information about the llvm-commits
mailing list