diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-22 20:48:53 +0000 |
| commit | 7b26fce23e5f733d1a614beae71d0499e78aeab1 (patch) | |
| tree | c952f7380295ff3ba73e21eff6c90dafd9cfdf85 /llvm/lib/Target/Alpha | |
| parent | 259717287abf3ec138f6c149cbe7703315848d43 (diff) | |
| download | bcm5719-llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.tar.gz bcm5719-llvm-7b26fce23e5f733d1a614beae71d0499e78aeab1.zip | |
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.
llvm-svn: 79763
Diffstat (limited to 'llvm/lib/Target/Alpha')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaBranchSelector.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaMCAsmInfo.cpp (renamed from llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp) | 8 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaMCAsmInfo.h (renamed from llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h) | 10 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp | 4 |
5 files changed, 14 insertions, 14 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaBranchSelector.cpp b/llvm/lib/Target/Alpha/AlphaBranchSelector.cpp index aca8ca73489..719ffaec3ea 100644 --- a/llvm/lib/Target/Alpha/AlphaBranchSelector.cpp +++ b/llvm/lib/Target/Alpha/AlphaBranchSelector.cpp @@ -17,7 +17,7 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/Support/Compiler.h" #include "llvm/Target/TargetMachine.h" -#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/MC/MCAsmInfo.h" using namespace llvm; namespace { diff --git a/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp b/llvm/lib/Target/Alpha/AlphaMCAsmInfo.cpp index ebb89ecf526..b652a5305a0 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.cpp +++ b/llvm/lib/Target/Alpha/AlphaMCAsmInfo.cpp @@ -1,4 +1,4 @@ -//===-- AlphaTargetAsmInfo.cpp - Alpha asm properties -----------*- C++ -*-===// +//===-- AlphaMCAsmInfo.cpp - Alpha asm properties ---------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -7,14 +7,14 @@ // //===----------------------------------------------------------------------===// // -// This file contains the declarations of the AlphaTargetAsmInfo properties. +// This file contains the declarations of the AlphaMCAsmInfo properties. // //===----------------------------------------------------------------------===// -#include "AlphaTargetAsmInfo.h" +#include "AlphaMCAsmInfo.h" using namespace llvm; -AlphaTargetAsmInfo::AlphaTargetAsmInfo(const Target &T, const StringRef &TT) { +AlphaMCAsmInfo::AlphaMCAsmInfo(const Target &T, const StringRef &TT) { AlignmentIsInBytes = false; PrivateGlobalPrefix = "$"; PICJumpTableDirective = ".gprel32"; diff --git a/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h b/llvm/lib/Target/Alpha/AlphaMCAsmInfo.h index 20903c730f2..c27065d2842 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetAsmInfo.h +++ b/llvm/lib/Target/Alpha/AlphaMCAsmInfo.h @@ -1,4 +1,4 @@ -//=====-- AlphaTargetAsmInfo.h - Alpha asm properties ---------*- C++ -*--====// +//=====-- AlphaMCAsmInfo.h - Alpha asm properties -------------*- C++ -*--====// // // The LLVM Compiler Infrastructure // @@ -7,21 +7,21 @@ // //===----------------------------------------------------------------------===// // -// This file contains the declaration of the AlphaTargetAsmInfo class. +// This file contains the declaration of the AlphaMCAsmInfo class. // //===----------------------------------------------------------------------===// #ifndef ALPHATARGETASMINFO_H #define ALPHATARGETASMINFO_H -#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/MC/MCAsmInfo.h" namespace llvm { class Target; class StringRef; - struct AlphaTargetAsmInfo : public TargetAsmInfo { - explicit AlphaTargetAsmInfo(const Target &T, const StringRef &TT); + struct AlphaMCAsmInfo : public MCAsmInfo { + explicit AlphaMCAsmInfo(const Target &T, const StringRef &TT); }; } // namespace llvm diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp index 19218704a6f..b8bc13b6309 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -12,7 +12,7 @@ #include "Alpha.h" #include "AlphaJITInfo.h" -#include "AlphaTargetAsmInfo.h" +#include "AlphaMCAsmInfo.h" #include "AlphaTargetMachine.h" #include "llvm/PassManager.h" #include "llvm/Support/FormattedStream.h" @@ -22,7 +22,7 @@ using namespace llvm; extern "C" void LLVMInitializeAlphaTarget() { // Register the target. RegisterTargetMachine<AlphaTargetMachine> X(TheAlphaTarget); - RegisterAsmInfo<AlphaTargetAsmInfo> Y(TheAlphaTarget); + RegisterAsmInfo<AlphaMCAsmInfo> Y(TheAlphaTarget); } AlphaTargetMachine::AlphaTargetMachine(const Target &T, const std::string &TT, diff --git a/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp index a19661d08d7..47701d1f0cf 100644 --- a/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp +++ b/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp @@ -22,7 +22,7 @@ #include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/DwarfWriter.h" #include "llvm/MC/MCStreamer.h" -#include "llvm/Target/TargetAsmInfo.h" +#include "llvm/MC/MCAsmInfo.h" #include "llvm/Target/TargetLoweringObjectFile.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetRegistry.h" @@ -41,7 +41,7 @@ namespace { /// explicit AlphaAsmPrinter(formatted_raw_ostream &o, TargetMachine &tm, - const TargetAsmInfo *T, bool V) + const MCAsmInfo *T, bool V) : AsmPrinter(o, tm, T, V) {} virtual const char *getPassName() const { |

