Move annotation to support library
authorChris Lattner <sabre@nondot.org>
Tue, 14 Jan 2003 21:29:58 +0000 (21:29 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 14 Jan 2003 21:29:58 +0000 (21:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5268 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/Annotation.h
include/llvm/CodeGen/MachineCodeForInstruction.h
include/llvm/CodeGen/MachineFunction.h
include/llvm/CodeGen/MachineInstr.h
include/llvm/Support/Annotation.h
include/llvm/Target/TargetData.h
include/llvm/Value.h
lib/Support/Annotation.cpp
lib/Target/SparcV9/MachineCodeForInstruction.h
support/lib/Support/Annotation.cpp

index 90259536b876be05cac192b06b7f5c4f5459b83a..d9c02db83202f9d580301d171c9f9e46acd64661 100644 (file)
@@ -1,21 +1,19 @@
-//===-- llvm/Annotation.h - Annotation classes -------------------*- C++ -*--=//
+//===-- Support/Annotation.h - Annotation classes ---------------*- C++ -*-===//
 //
 // This file contains the declarations for two classes: Annotation & Annotable.
 // Using these two simple classes, anything that derives from Annotable can have
 // Annotation subclasses attached to them, ready for easy retrieval.
 //
-// Annotations are designed to be easily attachable to LLVM code (as all Value's
-// are Annotable), and can even be serialized to bytecode and to assembly.
+// Annotations are designed to be easily attachable to various classes.
 //
-// The AnnotationManager class (defined in AnnotationManager.h) is essential for
-// using these classes.  It is responsible for turning Annotation name strings
-// into tokens [unique id #'s] that may be used to search for and create
-// annotations.
+// The AnnotationManager class is essential for using these classes.  It is
+// responsible for turning Annotation name strings into tokens [unique id #'s]
+// that may be used to search for and create annotations.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_ANNOTATION_H
-#define LLVM_ANNOTATION_H
+#ifndef SUPPORT_ANNOTATION_H
+#define SUPPORT_ANNOTATION_H
 
 #include <string>
 class AnnotationID;
index 9894c94b109e63bc86c4f0a009723c808a6896b7..ff171e9621d4e02fd64cb5eeb12c737d13695901 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
 #define LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
 
-#include "llvm/Annotation.h"
+#include "Support/Annotation.h"
 #include <vector>
 class MachineInstr;
 class Instruction;
index 56452f10483bd5456c460ca3bf59acedc890223a..db6c1ca378572ae842daaa66c4aa8146d14cd02d 100644 (file)
@@ -12,7 +12,7 @@
 #define LLVM_CODEGEN_MACHINEFUNCTION_H
 
 #include "llvm/CodeGen/MachineBasicBlock.h"
-#include "llvm/Annotation.h"
+#include "Support/Annotation.h"
 #include "Support/ilist"
 
 class Function;
index 5b75df7381ea4eee6fcfc71b3369a1c69ddd2e3e..4fb23c0df7f01d189bd590f45915e0342b8b1f2c 100644 (file)
@@ -9,11 +9,10 @@
 #ifndef LLVM_CODEGEN_MACHINEINSTR_H
 #define LLVM_CODEGEN_MACHINEINSTR_H
 
-#include "llvm/Annotation.h"
 #include "llvm/Target/MRegisterInfo.h"
-#include "Support/iterator"
+#include "Support/Annotation.h"
 #include "Support/NonCopyable.h"
-#include <vector>
+#include "Support/iterator"
 class Value;
 class Function;
 class MachineBasicBlock;
index 90259536b876be05cac192b06b7f5c4f5459b83a..d9c02db83202f9d580301d171c9f9e46acd64661 100644 (file)
@@ -1,21 +1,19 @@
-//===-- llvm/Annotation.h - Annotation classes -------------------*- C++ -*--=//
+//===-- Support/Annotation.h - Annotation classes ---------------*- C++ -*-===//
 //
 // This file contains the declarations for two classes: Annotation & Annotable.
 // Using these two simple classes, anything that derives from Annotable can have
 // Annotation subclasses attached to them, ready for easy retrieval.
 //
-// Annotations are designed to be easily attachable to LLVM code (as all Value's
-// are Annotable), and can even be serialized to bytecode and to assembly.
+// Annotations are designed to be easily attachable to various classes.
 //
-// The AnnotationManager class (defined in AnnotationManager.h) is essential for
-// using these classes.  It is responsible for turning Annotation name strings
-// into tokens [unique id #'s] that may be used to search for and create
-// annotations.
+// The AnnotationManager class is essential for using these classes.  It is
+// responsible for turning Annotation name strings into tokens [unique id #'s]
+// that may be used to search for and create annotations.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_ANNOTATION_H
-#define LLVM_ANNOTATION_H
+#ifndef SUPPORT_ANNOTATION_H
+#define SUPPORT_ANNOTATION_H
 
 #include <string>
 class AnnotationID;
index b1ea6b9a17bdbaedfefe94b453d5aa619902fa6b..bd60ff3652cee939e52cecc4fd3f7805c9d00d08 100644 (file)
@@ -13,8 +13,8 @@
 #ifndef LLVM_TARGET_TARGETDATA_H
 #define LLVM_TARGET_TARGETDATA_H
 
-#include "llvm/Annotation.h"
 #include "llvm/Pass.h"
+#include "Support/Annotation.h"
 #include "Support/DataTypes.h"
 #include <vector>
 class Value;
index 9627a02ca0fb968af6170c71c7f72b3511b7ee07..f6bd144676f5f38f52e79a976d4f7f42c5ccdbe0 100644 (file)
@@ -10,8 +10,8 @@
 #ifndef LLVM_VALUE_H
 #define LLVM_VALUE_H
 
-#include "llvm/Annotation.h"
 #include "llvm/AbstractTypeUser.h"
+#include "Support/Annotation.h"
 #include "Support/Casting.h"
 #include <iostream>
 #include <vector>
index 96ead521f50aeab14549d0929d07b732d8d7aa50..9f24607af7c2e5ca54710847f08b8512d81aef81 100644 (file)
@@ -5,7 +5,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <map>
-#include "llvm/Annotation.h"
+#include "Support/Annotation.h"
 using std::string;
 using std::map;
 using std::pair;
index 9894c94b109e63bc86c4f0a009723c808a6896b7..ff171e9621d4e02fd64cb5eeb12c737d13695901 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
 #define LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
 
-#include "llvm/Annotation.h"
+#include "Support/Annotation.h"
 #include <vector>
 class MachineInstr;
 class Instruction;
index 96ead521f50aeab14549d0929d07b732d8d7aa50..9f24607af7c2e5ca54710847f08b8512d81aef81 100644 (file)
@@ -5,7 +5,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <map>
-#include "llvm/Annotation.h"
+#include "Support/Annotation.h"
 using std::string;
 using std::map;
 using std::pair;