llvm.org GIT mirror llvm / cb09cc2
Move annotation to support library git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5268 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
10 changed file(s) with 31 addition(s) and 36 deletion(s). Raw diff Collapse all Expand all
None //===-- llvm/Annotation.h - Annotation classes -------------------*- C++ -*--=//
0 //===-- Support/Annotation.h - Annotation classes ---------------*- C++ -*-===//
11 //
22 // This file contains the declarations for two classes: Annotation & Annotable.
33 // Using these two simple classes, anything that derives from Annotable can have
44 // Annotation subclasses attached to them, ready for easy retrieval.
55 //
6 // Annotations are designed to be easily attachable to LLVM code (as all Value's
7 // are Annotable), and can even be serialized to bytecode and to assembly.
8 //
9 // The AnnotationManager class (defined in AnnotationManager.h) is essential for
10 // using these classes. It is responsible for turning Annotation name strings
11 // into tokens [unique id #'s] that may be used to search for and create
12 // annotations.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_ANNOTATION_H
17 #define LLVM_ANNOTATION_H
6 // Annotations are designed to be easily attachable to various classes.
7 //
8 // The AnnotationManager class is essential for using these classes. It is
9 // responsible for turning Annotation name strings into tokens [unique id #'s]
10 // that may be used to search for and create annotations.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef SUPPORT_ANNOTATION_H
15 #define SUPPORT_ANNOTATION_H
1816
1917 #include
2018 class AnnotationID;
1717 #ifndef LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
1818 #define LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
1919
20 #include "llvm/Annotation.h"
20 #include "Support/Annotation.h"
2121 #include
2222 class MachineInstr;
2323 class Instruction;
1111 #define LLVM_CODEGEN_MACHINEFUNCTION_H
1212
1313 #include "llvm/CodeGen/MachineBasicBlock.h"
14 #include "llvm/Annotation.h"
14 #include "Support/Annotation.h"
1515 #include "Support/ilist"
1616
1717 class Function;
88 #ifndef LLVM_CODEGEN_MACHINEINSTR_H
99 #define LLVM_CODEGEN_MACHINEINSTR_H
1010
11 #include "llvm/Annotation.h"
1211 #include "llvm/Target/MRegisterInfo.h"
12 #include "Support/Annotation.h"
13 #include "Support/NonCopyable.h"
1314 #include "Support/iterator"
14 #include "Support/NonCopyable.h"
15 #include
1615 class Value;
1716 class Function;
1817 class MachineBasicBlock;
None //===-- llvm/Annotation.h - Annotation classes -------------------*- C++ -*--=//
0 //===-- Support/Annotation.h - Annotation classes ---------------*- C++ -*-===//
11 //
22 // This file contains the declarations for two classes: Annotation & Annotable.
33 // Using these two simple classes, anything that derives from Annotable can have
44 // Annotation subclasses attached to them, ready for easy retrieval.
55 //
6 // Annotations are designed to be easily attachable to LLVM code (as all Value's
7 // are Annotable), and can even be serialized to bytecode and to assembly.
8 //
9 // The AnnotationManager class (defined in AnnotationManager.h) is essential for
10 // using these classes. It is responsible for turning Annotation name strings
11 // into tokens [unique id #'s] that may be used to search for and create
12 // annotations.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_ANNOTATION_H
17 #define LLVM_ANNOTATION_H
6 // Annotations are designed to be easily attachable to various classes.
7 //
8 // The AnnotationManager class is essential for using these classes. It is
9 // responsible for turning Annotation name strings into tokens [unique id #'s]
10 // that may be used to search for and create annotations.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef SUPPORT_ANNOTATION_H
15 #define SUPPORT_ANNOTATION_H
1816
1917 #include
2018 class AnnotationID;
1212 #ifndef LLVM_TARGET_TARGETDATA_H
1313 #define LLVM_TARGET_TARGETDATA_H
1414
15 #include "llvm/Annotation.h"
1615 #include "llvm/Pass.h"
16 #include "Support/Annotation.h"
1717 #include "Support/DataTypes.h"
1818 #include
1919 class Value;
99 #ifndef LLVM_VALUE_H
1010 #define LLVM_VALUE_H
1111
12 #include "llvm/Annotation.h"
1312 #include "llvm/AbstractTypeUser.h"
13 #include "Support/Annotation.h"
1414 #include "Support/Casting.h"
1515 #include
1616 #include
44 //===----------------------------------------------------------------------===//
55
66 #include
7 #include "llvm/Annotation.h"
7 #include "Support/Annotation.h"
88 using std::string;
99 using std::map;
1010 using std::pair;
1717 #ifndef LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
1818 #define LLVM_CODEGEN_MACHINECODE_FOR_INSTRUCTION_H
1919
20 #include "llvm/Annotation.h"
20 #include "Support/Annotation.h"
2121 #include
2222 class MachineInstr;
2323 class Instruction;
44 //===----------------------------------------------------------------------===//
55
66 #include
7 #include "llvm/Annotation.h"
7 #include "Support/Annotation.h"
88 using std::string;
99 using std::map;
1010 using std::pair;