Standardize header file comments
authorChris Lattner <sabre@nondot.org>
Tue, 30 Sep 2003 18:37:50 +0000 (18:37 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 30 Sep 2003 18:37:50 +0000 (18:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8

109 files changed:
include/Support/BitSetVector.h
include/Support/Casting.h
include/Support/CommandLine.h
include/Support/DOTGraphTraits.h
include/Support/DataTypes.h
include/Support/DepthFirstIterator.h
include/Support/EquivalenceClasses.h
include/Support/GraphTraits.h
include/Support/GraphWriter.h
include/Support/HashExtras.h
include/Support/MathExtras.h
include/Support/PostOrderIterator.h
include/Support/STLExtras.h
include/Support/SetOperations.h
include/Support/Signals.h
include/Support/StringExtras.h
include/Support/SystemUtils.h
include/Support/Tree.h
include/Support/TypeInfo.h
include/Support/hash_map
include/Support/ilist
include/llvm/ADT/BitSetVector.h
include/llvm/ADT/DepthFirstIterator.h
include/llvm/ADT/EquivalenceClasses.h
include/llvm/ADT/GraphTraits.h
include/llvm/ADT/HashExtras.h
include/llvm/ADT/PostOrderIterator.h
include/llvm/ADT/STLExtras.h
include/llvm/ADT/SetOperations.h
include/llvm/ADT/StringExtras.h
include/llvm/ADT/Tree.h
include/llvm/ADT/ilist
include/llvm/AbstractTypeUser.h
include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/ConstantsScanner.h
include/llvm/Analysis/Expressions.h
include/llvm/Analysis/FindUnsafePointerTypes.h
include/llvm/Analysis/FindUsedTypes.h
include/llvm/Analysis/InstForest.h
include/llvm/Analysis/Interval.h
include/llvm/Analysis/IntervalIterator.h
include/llvm/Analysis/IntervalPartition.h
include/llvm/Analysis/LoopInfo.h
include/llvm/Analysis/PostDominators.h
include/llvm/Analysis/SlotCalculator.h
include/llvm/Analysis/Verifier.h
include/llvm/Assembly/CWriter.h
include/llvm/Assembly/CachedWriter.h
include/llvm/Assembly/Parser.h
include/llvm/Assembly/PrintModulePass.h
include/llvm/Assembly/Writer.h
include/llvm/BasicBlock.h
include/llvm/Bytecode/Format.h
include/llvm/Bytecode/Primitives.h
include/llvm/Bytecode/Reader.h
include/llvm/Bytecode/WriteBytecodePass.h
include/llvm/Bytecode/Writer.h
include/llvm/CodeGen/InstrForest.h
include/llvm/CodeGen/InstrScheduling.h
include/llvm/CodeGen/MachineInstr.h
include/llvm/CodeGen/RegisterAllocation.h
include/llvm/CodeGen/SchedGraphCommon.h
include/llvm/Constant.h
include/llvm/ConstantHandling.h
include/llvm/Constants.h
include/llvm/DerivedTypes.h
include/llvm/GlobalValue.h
include/llvm/GlobalVariable.h
include/llvm/InstrTypes.h
include/llvm/Instruction.def
include/llvm/Linker.h
include/llvm/Module.h
include/llvm/Pass.h
include/llvm/PassAnalysisSupport.h
include/llvm/PassManager.h
include/llvm/SlotCalculator.h
include/llvm/Support/CFG.h
include/llvm/Support/Casting.h
include/llvm/Support/CommandLine.h
include/llvm/Support/DOTGraphTraits.h
include/llvm/Support/GraphWriter.h
include/llvm/Support/InstIterator.h
include/llvm/Support/InstVisitor.h
include/llvm/Support/Linker.h
include/llvm/Support/Mangler.h
include/llvm/Support/MathExtras.h
include/llvm/Support/SystemUtils.h
include/llvm/Support/TypeInfo.h
include/llvm/SymbolTable.h
include/llvm/SymbolTableListTraits.h
include/llvm/System/Signals.h
include/llvm/Target/TargetData.h
include/llvm/Target/TargetMachine.h
include/llvm/Target/TargetRegInfo.h
include/llvm/Target/TargetSchedInfo.h
include/llvm/Transforms/MutateStructTypes.h
include/llvm/Transforms/Scalar.h
include/llvm/Transforms/Utils/BasicBlockUtils.h
include/llvm/Transforms/Utils/Linker.h
include/llvm/Transforms/Utils/Local.h
include/llvm/Type.def
include/llvm/Type.h
include/llvm/User.h
include/llvm/Value.h
include/llvm/iOther.h
include/llvm/iPHINode.h
lib/Bytecode/Writer/SlotCalculator.h
lib/VMCore/ConstantFold.h
lib/VMCore/ConstantFolding.h

index cdcd52d948659e3add170ed806aaaadcc17f1000..fa2598a285635aafae6f571a042213edbcdec3d6 100644 (file)
@@ -1,13 +1,11 @@
-//===-- BitVectorSet.h - A bit-vector representation of sets -----*- C++ -*--=//
+//===-- BitVectorSet.h - A bit-vector representation of sets ----*- C++ -*-===//
 //
-// class BitVectorSet --
-// 
-// An implementation of the bit-vector representation of sets.
-// Unlike vector<bool>, this allows much more efficient parallel set
-// operations on bits, by using the bitset template .  The bitset template
-// unfortunately can only represent sets with a size chosen at compile-time.
-// We therefore use a vector of bitsets.  The maxmimum size of our sets
-// (i.e., the size of the universal set) can be chosen at creation time.
+// This is an implementation of the bit-vector representation of sets.  Unlike
+// vector<bool>, this allows much more efficient parallel set operations on
+// bits, by using the bitset template.  The bitset template unfortunately can
+// only represent sets with a size chosen at compile-time.  We therefore use a
+// vector of bitsets.  The maxmimum size of our sets (i.e., the size of the
+// universal set) can be chosen at creation time.
 //
 // External functions:
 // 
index 2815ecde71d89b75ef7869766bfae5e4241e3a27..fc2d4b21ea1bd42b2d09dccae7de279c5ecf032f 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/Casting.h - Allow flexible, checked, casts -------*- C++ -*--=//
+//===-- Support/Casting.h - Allow flexible, checked, casts ------*- C++ -*-===//
 //
 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
 // and dyn_cast_or_null<X>() templates.
index 789679e3990e894a482bb21f016d021e454ebc62..179bca378ba4f7ec03d037f298110e2ab7e0b07f 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/CommandLine.h - Flexible Command line parser ------*- C++ -*--=//
+//===- Support/CommandLine.h - Flexible Command line parser -----*- C++ -*-===//
 //
 // This class implements a command line argument processor that is useful when
 // creating a tool.  It provides a simple, minimalistic interface that is easily
index 2371b664077129f3de260189626b6a7a2f8b0053..6ffade878b199e17c2ee6c05f74931ac538e967a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/DotGraphTraits.h - Customize .dot output -------*- C++ -*--===//
+//===-- Support/DotGraphTraits.h - Customize .dot output --------*- C++ -*-===//
 //
 // This file defines a template class that can be used to customize dot output
 // graphs generated by the GraphWriter.h file.  The default implementation of
index 84f3c2b35661ae7fc43351ea802f38143bc07af0..eb933216d818040adc356f7406f13a46d1f40cd8 100644 (file)
@@ -1,4 +1,4 @@
-//===-- include/Support/DataTypes.h - Define fixed size types ----*- C++ -*--=//
+//===-- include/Support/DataTypes.h - Define fixed size types ---*- C++ -*-===//
 //
 // This file contains definitions to figure out the size of _HOST_ data types.
 // This file is important because different host OS's define different macros,
index 2bb2e68e670e636e05a042e5430eb4faa405c9cf..967a0e145ac2ba8c1c284643a5241b3c54831033 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/DepthFirstIterator.h - Depth First iterator -------*- C++ -*--=//
+//===- Support/DepthFirstIterator.h - Depth First iterator ------*- C++ -*-===//
 //
 // This file builds on the Support/GraphTraits.h file to build generic depth
 // first graph iterator.
index 96cfc87a7255cf1eeb4dc8df441051d979ec13db..dab5d73257c9b7f5eb1c351d9ced4e656b354497 100644 (file)
@@ -1,12 +1,11 @@
-//===-- Support/EquivalenceClasses.h -------------------------*- C++ -*--=//
+//===-- Support/EquivalenceClasses.h ----------------------------*- C++ -*-===//
 // 
-// Generic implementation of equivalence classes and implementation of 
-// union-find algorithms
-// A not-so-fancy implementation: 2 level tree i.e root and one more level
-// Overhead of a union = size of the equivalence class being attached
-// Overhead of a find = 1.
+// Generic implementation of equivalence classes and implementation of
+// union-find algorithms A not-so-fancy implementation: 2 level tree i.e root
+// and one more level Overhead of a union = size of the equivalence class being
+// attached Overhead of a find = 1.
 // 
-//===------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
 
 #ifndef SUPPORT_EQUIVALENCECLASSES_H
 #define SUPPORT_EQUIVALENCECLASSES_H
@@ -68,7 +67,6 @@ public:
       return EqClass;
     
     ElemTy classLeader = Elem2ECLeaderMap[Element1];
-
     for (typename std::map<ElemTy, ElemTy>::iterator ElemI = 
           Elem2ECLeaderMap.begin(), ElemE = Elem2ECLeaderMap.end(); 
         ElemI != ElemE; ++ElemI) {
@@ -77,13 +75,11 @@ public:
     }
     
     return EqClass;
-    
   }
 
   std::map<ElemTy, ElemTy>& getLeaderMap() {
     return Elem2ECLeaderMap ;
   }
-  
 };
 
 #endif
index 15c285da17034cacd3ebefe990a21e14aa4a5db2..e54d9631294c6ef173faeb72814975d672d1928a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/GraphTraits.h - Graph traits template ------------*- C++ -*--=//
+//===-- Support/GraphTraits.h - Graph traits template -----------*- C++ -*-===//
 //
 // This file defines the little GraphTraits<X> template class that should be 
 // specialized by classes that want to be iteratable by generic graph iterators.
index 3b7b3575544bca483c41e43b8b9763db4ea4016a..7b21dbf30f04190f4a14467360abb49e81ef4c25 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/GraphWriter.h - Write a graph to a .dot file ---*- C++ -*--===//
+//===-- Support/GraphWriter.h - Write a graph to a .dot file ----*- C++ -*-===//
 //
 // This file defines a simple interface that can be used to print out generic
 // LLVM graphs to ".dot" files.  "dot" is a tool that is part of the AT&T
index 44355a48e96cf20c5a401e8f2b229130117a4318..f648a28c099c58e38934c6b5edd27479cefea653 100644 (file)
@@ -1,4 +1,4 @@
-//===-- HashExtras.h - Useful functions for STL hash containers --*- C++ -*--=//
+//===-- HashExtras.h - Useful functions for STL hash containers -*- C++ -*-===//
 //
 // This file contains some templates that are useful if you are working with the
 // STL Hashed containers.
index bfb88552bf569a1fcb892970e16afc89671336ef..ea3bba40c9c58f765dfa4f1fc3a584a6b43c688a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/MathExtras.h - Useful math functions -------------*- C++ -*--=//
+//===-- Support/MathExtras.h - Useful math functions ------------*- C++ -*-===//
 //
 // This file contains some functions that are useful for math stuff.
 //
index d976f088764f6816d46215521ed97b212cb05d3e..2e5a0ad336dd152159f897f8ba05467cfb92ac8d 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/PostOrderIterator.h - Generic PostOrder iterator -*- C++ -*--=//
+//===- Support/PostOrderIterator.h - Generic PostOrder iterator -*- C++ -*-===//
 //
 // This file builds on the Support/GraphTraits.h file to build a generic graph
 // post order iterator.  This should work over any graph type that has a
index 348c4e17aac8b02802782ed8326801b733c18126..012d002427311dea868f27fbb0afa9c4a9dfbd73 100644 (file)
@@ -1,4 +1,4 @@
-//===-- STLExtras.h - Useful functions when working with the STL -*- C++ -*--=//
+//===- STLExtras.h - Useful functions when working with the STL -*- C++ -*-===//
 //
 // This file contains some templates that are useful if you are working with the
 // STL at all.
index 3a5e6f2bd46f12d6f51cadaa7e189ce89aaa41de..fe020b87daeebc15e9dfbda108ffde00de49fb3c 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/SetOperations.h - Generic Set Operations ---------*- C++ -*--=//
+//===-- Support/SetOperations.h - Generic Set Operations --------*- C++ -*-===//
 //
 // This file defines generic set operations that may be used on set's of
 // different types, and different element types.
index 1445bd461db38773e07dbb2b72fa37acdc2bfdc7..218cf99a2446ef7ec506cc3f64ffb0d556d7184f 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/Signals.h - Signal Handling support -------------*- C++ -*-===//
+//===- Support/Signals.h - Signal Handling support --------------*- C++ -*-===//
 //
 // This file defines some helpful functions for dealing with the possibility of
 // unix signals occuring while your program is running.
index 924f6c35f87055095dc1d2b9ed2ae6f38079eca3..9233d6c0cd4c57bffa35fe86a2dbfd2c7e08cf40 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/StringExtras.h - Useful string functions ---------*- C++ -*--=//
+//===-- Support/StringExtras.h - Useful string functions --------*- C++ -*-===//
 //
 // This file contains some functions that are useful when dealing with strings.
 //
index 26371c93dcc577a52982a60f3be47fbee0888217..01c8189723bf13054fece9e5a2f80506726029dc 100644 (file)
@@ -1,4 +1,4 @@
-//===- SystemUtils.h - Utilities to do low-level system stuff --*- C++ -*--===//
+//===- SystemUtils.h - Utilities to do low-level system stuff ---*- C++ -*-===//
 //
 // This file contains functions used to do a variety of low-level, often
 // system-specific, tasks.
index 928c99bca952cc74c514877ce7b16d193342de0c..15572614b0ee6af8d90abac09a6a69716c0721a3 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/Tree.h - Generic n-way tree structure -------------*- C++ -*--=//
+//===- Support/Tree.h - Generic n-way tree structure ------------*- C++ -*-===//
 //
 // This class defines a generic N way tree node structure.  The tree structure
 // is immutable after creation, but the payload contained within it is not.
index 9884f65e6918b06fe7cc9006833fa0bb80d4af99..488f56dc0f45ee20deebe59cf97ffd5eaba05881 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/TypeInfo.h - Support class for type_info objects --*- C++ -*--=//
+//===- Support/TypeInfo.h - Support class for type_info objects -*- C++ -*-===//
 //
 // This class makes std::type_info objects behave like first class objects that
 // can be put in maps and hashtables.  This code is based off of code in the
index b6eda7a0127ef4594c20986ae893612c9f501ebd..6e1ca2c6edab5f07517dc4853d61db041c2cc2fa 100644 (file)
@@ -1,5 +1,4 @@
 //===-- Support/hash_map - "Portable" wrapper around hash_map ---*- C++ -*-===//
-// vim:ft=cpp
 // 
 // This file provides a wrapper around the mysterious <hash_map> header file
 // that seems to move around between GCC releases into and out of namespaces at
index aa6e09c319d439c8f3cc7e0ac13da87d63e2109f..14683081d09e7bcb85eb189c25470e5e7f6b6b42 100644 (file)
@@ -1,4 +1,4 @@
-//===-- <Support/ilist> - Intrusive Linked List Template ---------*- C++ -*--=//
+//===-- Support/ilist - Intrusive Linked List Template ----------*- C++ -*-===//
 //
 // This file defines classes to implement an intrusive doubly linked list class
 // (ie each node of the list must contain a next and previous field for the
index cdcd52d948659e3add170ed806aaaadcc17f1000..fa2598a285635aafae6f571a042213edbcdec3d6 100644 (file)
@@ -1,13 +1,11 @@
-//===-- BitVectorSet.h - A bit-vector representation of sets -----*- C++ -*--=//
+//===-- BitVectorSet.h - A bit-vector representation of sets ----*- C++ -*-===//
 //
-// class BitVectorSet --
-// 
-// An implementation of the bit-vector representation of sets.
-// Unlike vector<bool>, this allows much more efficient parallel set
-// operations on bits, by using the bitset template .  The bitset template
-// unfortunately can only represent sets with a size chosen at compile-time.
-// We therefore use a vector of bitsets.  The maxmimum size of our sets
-// (i.e., the size of the universal set) can be chosen at creation time.
+// This is an implementation of the bit-vector representation of sets.  Unlike
+// vector<bool>, this allows much more efficient parallel set operations on
+// bits, by using the bitset template.  The bitset template unfortunately can
+// only represent sets with a size chosen at compile-time.  We therefore use a
+// vector of bitsets.  The maxmimum size of our sets (i.e., the size of the
+// universal set) can be chosen at creation time.
 //
 // External functions:
 // 
index 2bb2e68e670e636e05a042e5430eb4faa405c9cf..967a0e145ac2ba8c1c284643a5241b3c54831033 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/DepthFirstIterator.h - Depth First iterator -------*- C++ -*--=//
+//===- Support/DepthFirstIterator.h - Depth First iterator ------*- C++ -*-===//
 //
 // This file builds on the Support/GraphTraits.h file to build generic depth
 // first graph iterator.
index 96cfc87a7255cf1eeb4dc8df441051d979ec13db..dab5d73257c9b7f5eb1c351d9ced4e656b354497 100644 (file)
@@ -1,12 +1,11 @@
-//===-- Support/EquivalenceClasses.h -------------------------*- C++ -*--=//
+//===-- Support/EquivalenceClasses.h ----------------------------*- C++ -*-===//
 // 
-// Generic implementation of equivalence classes and implementation of 
-// union-find algorithms
-// A not-so-fancy implementation: 2 level tree i.e root and one more level
-// Overhead of a union = size of the equivalence class being attached
-// Overhead of a find = 1.
+// Generic implementation of equivalence classes and implementation of
+// union-find algorithms A not-so-fancy implementation: 2 level tree i.e root
+// and one more level Overhead of a union = size of the equivalence class being
+// attached Overhead of a find = 1.
 // 
-//===------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
 
 #ifndef SUPPORT_EQUIVALENCECLASSES_H
 #define SUPPORT_EQUIVALENCECLASSES_H
@@ -68,7 +67,6 @@ public:
       return EqClass;
     
     ElemTy classLeader = Elem2ECLeaderMap[Element1];
-
     for (typename std::map<ElemTy, ElemTy>::iterator ElemI = 
           Elem2ECLeaderMap.begin(), ElemE = Elem2ECLeaderMap.end(); 
         ElemI != ElemE; ++ElemI) {
@@ -77,13 +75,11 @@ public:
     }
     
     return EqClass;
-    
   }
 
   std::map<ElemTy, ElemTy>& getLeaderMap() {
     return Elem2ECLeaderMap ;
   }
-  
 };
 
 #endif
index 15c285da17034cacd3ebefe990a21e14aa4a5db2..e54d9631294c6ef173faeb72814975d672d1928a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/GraphTraits.h - Graph traits template ------------*- C++ -*--=//
+//===-- Support/GraphTraits.h - Graph traits template -----------*- C++ -*-===//
 //
 // This file defines the little GraphTraits<X> template class that should be 
 // specialized by classes that want to be iteratable by generic graph iterators.
index 44355a48e96cf20c5a401e8f2b229130117a4318..f648a28c099c58e38934c6b5edd27479cefea653 100644 (file)
@@ -1,4 +1,4 @@
-//===-- HashExtras.h - Useful functions for STL hash containers --*- C++ -*--=//
+//===-- HashExtras.h - Useful functions for STL hash containers -*- C++ -*-===//
 //
 // This file contains some templates that are useful if you are working with the
 // STL Hashed containers.
index d976f088764f6816d46215521ed97b212cb05d3e..2e5a0ad336dd152159f897f8ba05467cfb92ac8d 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/PostOrderIterator.h - Generic PostOrder iterator -*- C++ -*--=//
+//===- Support/PostOrderIterator.h - Generic PostOrder iterator -*- C++ -*-===//
 //
 // This file builds on the Support/GraphTraits.h file to build a generic graph
 // post order iterator.  This should work over any graph type that has a
index 348c4e17aac8b02802782ed8326801b733c18126..012d002427311dea868f27fbb0afa9c4a9dfbd73 100644 (file)
@@ -1,4 +1,4 @@
-//===-- STLExtras.h - Useful functions when working with the STL -*- C++ -*--=//
+//===- STLExtras.h - Useful functions when working with the STL -*- C++ -*-===//
 //
 // This file contains some templates that are useful if you are working with the
 // STL at all.
index 3a5e6f2bd46f12d6f51cadaa7e189ce89aaa41de..fe020b87daeebc15e9dfbda108ffde00de49fb3c 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/SetOperations.h - Generic Set Operations ---------*- C++ -*--=//
+//===-- Support/SetOperations.h - Generic Set Operations --------*- C++ -*-===//
 //
 // This file defines generic set operations that may be used on set's of
 // different types, and different element types.
index 924f6c35f87055095dc1d2b9ed2ae6f38079eca3..9233d6c0cd4c57bffa35fe86a2dbfd2c7e08cf40 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/StringExtras.h - Useful string functions ---------*- C++ -*--=//
+//===-- Support/StringExtras.h - Useful string functions --------*- C++ -*-===//
 //
 // This file contains some functions that are useful when dealing with strings.
 //
index 928c99bca952cc74c514877ce7b16d193342de0c..15572614b0ee6af8d90abac09a6a69716c0721a3 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/Tree.h - Generic n-way tree structure -------------*- C++ -*--=//
+//===- Support/Tree.h - Generic n-way tree structure ------------*- C++ -*-===//
 //
 // This class defines a generic N way tree node structure.  The tree structure
 // is immutable after creation, but the payload contained within it is not.
index aa6e09c319d439c8f3cc7e0ac13da87d63e2109f..14683081d09e7bcb85eb189c25470e5e7f6b6b42 100644 (file)
@@ -1,4 +1,4 @@
-//===-- <Support/ilist> - Intrusive Linked List Template ---------*- C++ -*--=//
+//===-- Support/ilist - Intrusive Linked List Template ----------*- C++ -*-===//
 //
 // This file defines classes to implement an intrusive doubly linked list class
 // (ie each node of the list must contain a next and previous field for the
index 7c6f429dc607a66d74853b564c24b4e09a4665db..5859617965298d544e7c910f888bce2d897e82d6 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/AbstractTypeUser.h - AbstractTypeUser Interface -----*- C++ -*--=//
+//===-- llvm/AbstractTypeUser.h - AbstractTypeUser Interface ----*- C++ -*-===//
 //
 // The AbstractTypeUser class is an interface to be implemented by classes who
 // could possible use an abstract type.  Abstract types are denoted by the
index f3bc052ff895126c4f052f34bc8ed1729317f70d..a898c5eb1b248e06740d8106e38c909ad29c494f 100644 (file)
@@ -1,4 +1,4 @@
-//===- CallGraph.h - Build a Module's call graph -----------------*- C++ -*--=//
+//===- CallGraph.h - Build a Module's call graph ----------------*- C++ -*-===//
 //
 // This interface is used to build and manipulate a call graph, which is a very 
 // useful tool for interprocedural optimization.
index 8035409bbf949483d23e8a3e77d8806f0cd3960f..1d7167673248c4c37ba338d1429182c5eb97abbe 100644 (file)
@@ -1,4 +1,4 @@
-//==-- llvm/Analysis/ConstantsScanner.h - Iterate over constants -*- C++ -*-==//
+//==- llvm/Analysis/ConstantsScanner.h - Iterate over constants -*- C++ -*-===//
 //
 // This class implements an iterator to walk through the constants referenced by
 // a method.  This is used by the Bytecode & Assembly writers to build constant
index ea336bd46d7df3b99754e5295ed27df8df256a62..8fb8b522c1ccc699178b340318535cf6e97140b0 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Analysis/Expressions.h - Expression Analysis Utils ---*- C++ -*--=//
+//===- llvm/Analysis/Expressions.h - Expression Analysis Utils --*- C++ -*-===//
 //
 // This file defines a package of expression analysis utilties:
 //
index e4e33df6b089ebf2f7b0dc704e86464080d0f4b8..c920f27c12d1210f5247a82288aadf484a9c109d 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Analysis/FindUnsafePointerTypes.h - Unsafe pointers ---*- C++ -*-=//
+//===- llvm/Analysis/FindUnsafePointerTypes.h - Unsafe pointers -*- C++ -*-===//
 //
 // This file defines a pass that can be used to determine, interprocedurally, 
 // which pointer types are accessed unsafely in a program.  If there is an
index 21fcabc1902f614c83f24c4e364e53867bb09944..64874162219a19e46041043ccc60175a14d8eaaa 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Analysis/FindUsedTypes.h - Find all Types in use -----*- C++ -*--=//
+//===- llvm/Analysis/FindUsedTypes.h - Find all Types in use ----*- C++ -*-===//
 //
 // This pass is used to seek out all of the types in use by the program.
 //
index f49fa98ff3764aeb90c1d78e7e1fd4f33c1b32e9..e0047965f1b427d7abd84fdee29cc07a3ac78a22 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Analysis/InstForest.h - Partition Func into forest ---*- C++ -*--=//
+//===- llvm/Analysis/InstForest.h - Partition Func into forest --*- C++ -*-===//
 //
 // This interface is used to partition a method into a forest of instruction
 // trees, where the following invariants hold:
index 13a6f45e86040afc7a5800731eb1937cb11d5001..3974c72871678cea37e5dcbf564f5833e267e8e9 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Analysis/Interval.h - Interval Class Declaration -----*- C++ -*--=//
+//===- llvm/Analysis/Interval.h - Interval Class Declaration ----*- C++ -*-===//
 //
 // This file contains the declaration of the Interval class, which
 // represents a set of CFG nodes and is a portion of an interval partition.
index e533f8ac16f542889c478a294a2640db886c6d58..0943eda703791aece61b88e536cc044035f9e213 100644 (file)
@@ -1,4 +1,4 @@
-//===- IntervalIterator.h - Interval Iterator Declaration --------*- C++ -*--=//
+//===- IntervalIterator.h - Interval Iterator Declaration -------*- C++ -*-===//
 //
 // This file defines an iterator that enumerates the intervals in a control flow
 // graph of some sort.  This iterator is parametric, allowing iterator over the
index 508f00589bc51f8ecdf46aa12a3cd89433a0a077..b03ac1f9726c491efed68512e4db75b7d1cdbe14 100644 (file)
@@ -1,4 +1,4 @@
-//===- IntervalPartition.h - Interval partition Calculation ------*- C++ -*--=//
+//===- IntervalPartition.h - Interval partition Calculation -----*- C++ -*-===//
 //
 // This file contains the declaration of the IntervalPartition class, which
 // calculates and represents the interval partition of a function, or a
index df1a091c0dab40ef4e626cbc3adf1eee694cbb03..9a43cce5406097ee8c296d5c69752b027a9688ad 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Analysis/LoopInfo.h - Natural Loop Calculator --------*- C++ -*--=//
+//===- llvm/Analysis/LoopInfo.h - Natural Loop Calculator -------*- C++ -*-===//
 //
 // This file defines the LoopInfo class that is used to identify natural loops
 // and determine the loop depth of various nodes of the CFG.  Note that natural
index 8463136ea19986a91072caa402de6827c73f1ec4..6e5e0981a15e4aecd6b42b16bec50293c82a72b7 100644 (file)
@@ -1,4 +1,4 @@
-//=- llvm/Analysis/PostDominators.h - Post Dominator Calculation -*- C++ -*--=//
+//=- llvm/Analysis/PostDominators.h - Post Dominator Calculation-*- C++ -*-===//
 //
 // This file exposes interfaces to post dominance information.
 //
index 91006d70175cdf77eefa3b1cdc79ff3fd010916d..9d88a0264f100c7966e3c61944e785945332384f 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/SlotCalculator.h - Calculate value slots ------------*- C++ -*-==//
+//===-- llvm/SlotCalculator.h - Calculate value slots -----------*- C++ -*-===//
 //
 // This class calculates the slots that values will land in.  This is useful for
 // when writing bytecode or assembly out, because you have to know these things.
index 645f1fa33112da5506ab1dda73c14ab6c4ad8f49..20fbec7764ec9ef190e6c36036bd7b82e900086f 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Analysis/Verifier.h - Module Verifier ---------------*- C++ -*-==//
+//===-- llvm/Analysis/Verifier.h - Module Verifier --------------*- C++ -*-===//
 //
 // This file defines the function verifier interface, that can be used for some
 // sanity checking of input to the system, and for checking that transformations
index 0608870f47165ba508e3364d9dc2d6e75da90dd5..0f907c19317fd6e4b8a1f32b7e76e0d95cacb45c 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Assembly/CWriter.h - C Printer for LLVM programs --*- C++ -*--===//
+//===-- llvm/Assembly/CWriter.h - C Printer for LLVM programs ---*- C++ -*-===//
 //
 // This functionality is implemented by the lib/CWriter library.  This library
 // is used to print C language files to an iostream.
index c1ef1037ee3f1f16ae9b7e03ec43bed74526956b..a0f05cf6779ad2c8a028c5b780aa1bfc600b7081 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Assembly/CachedWriter.h - Printer Accellerator ------*- C++ -*--=//
+//===-- llvm/Assembly/CachedWriter.h - Printer Accellerator -----*- C++ -*-===//
 //
 // This file defines a 'CacheWriter' class that is used to accelerate printing
 // chunks of LLVM.  This is used when a module is not being changed, but random
index b54617ad6d109112d0765ad76a21f769f8f4e582..e0855410a97342f846c1884350a131d11f336ecd 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Assembly/Parser.h - Parser for VM assembly files ----*- C++ -*--=//
+//===-- llvm/Assembly/Parser.h - Parser for VM assembly files ---*- C++ -*-===//
 //
 //  These classes are implemented by the lib/AsmParser library.
 //
@@ -27,8 +27,7 @@ Module *ParseAssemblyFile(const std::string &Filename);// throw (ParseException)
 // ParseException - For when an exceptional event is generated by the parser.
 // This class lets you print out the exception message
 //
-class ParseException {
-public:
+struct ParseException {
   ParseException(const std::string &filename, const std::string &message, 
                 int LineNo = -1, int ColNo = -1);
 
index a86f13cf7fba6a173a2428690427516d29f85262..1100e23cd9c93cd6314dc76cecda671ce3a3c21b 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Assembly/PrintModulePass.h - Printing Pass -----------*- C++ -*--=//
+//===- llvm/Assembly/PrintModulePass.h - Printing Pass ----------*- C++ -*-===//
 //
 // This file defines two passes to print out a module.  The PrintModulePass pass
 // simply prints out the entire module when it is executed.  The
index f87dc12ad0fd1952fbe6f83967511f4bf1d9acbc..dea44d07cba59b3d87adf0324ae78c4df0903f6a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Assembly/Writer.h - Printer for VM assembly files ---*- C++ -*--=//
+//===-- llvm/Assembly/Writer.h - Printer for VM assembly files --*- C++ -*-===//
 //
 // This functionality is implemented by the lib/Assembly/Writer library.
 // This library is used to print VM assembly language files to an iostream. It
@@ -21,14 +21,12 @@ class Type;
 class Module;
 class Value;
 
-
 // WriteTypeSymbolic - This attempts to write the specified type as a symbolic
 // type, iff there is an entry in the modules symbol table for the specified
 // type or one of it's component types.  This is slower than a simple x << Type;
 //
 std::ostream &WriteTypeSymbolic(std::ostream &, const Type *, const Module *M);
 
-
 // WriteAsOperand - Write the name of the specified value out to the specified
 // ostream.  This can be useful when you just want to print int %reg126, not the
 // whole instruction that generated it.  If you specify a Module for context,
index f4c75f1134043a46a75bbd5aff62b2c229b0084b..ab8e3b4d24aec4a15afa607eb39e100391c581cd 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/BasicBlock.h - Represent a basic block in the VM ----*- C++ -*--=//
+//===-- llvm/BasicBlock.h - Represent a basic block in the VM ---*- C++ -*-===//
 ///
 /// \class BasicBlock
 ///
index 4edc0915b03a3cb0ddcb15d02bd90a1d8e60cbce..846bbb7260124ea4ff3da35870b0e27a4a570d37 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Bytecode/Format.h - VM bytecode file format info ----*- C++ -*--=//
+//===-- llvm/Bytecode/Format.h - VM bytecode file format info ---*- C++ -*-===//
 //
 // This header defines intrinsic constants that are useful to libraries that 
 // need to hack on bytecode files directly, like the reader and writer.
@@ -24,7 +24,7 @@ public:
     ModuleGlobalInfo,
     GlobalTypePlane,
 
-    // Method subtypes:
+    // Function subtypes:
     MethodInfo = 0x21,
     // Can also have ConstantPool block
     // Can also have SymbolTable block
index a8094af337c86416056f1bd0f62d9ce7a8d4eb34..97548ccb3d4a3cc8b5d38adae7d375ec633aa540 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Bytecode/Primitives.h - Bytecode file format prims --*- C++ -*--=//
+//===-- llvm/Bytecode/Primitives.h - Bytecode file format prims -*- C++ -*-===//
 //
 // This header defines some basic functions for reading and writing basic 
 // primitive types to a bytecode stream.
index baf0603d3bf37d2cf29a1cb13562a7c0c1106d86..e195a322d1a70fb06b5fd72429158c9d207a22a4 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Bytecode/Reader.h - Reader for VM bytecode files ----*- C++ -*--=//
+//===-- llvm/Bytecode/Reader.h - Reader for VM bytecode files ---*- C++ -*-===//
 //
 // This functionality is implemented by the lib/Bytecode/Reader library.
 // This library is used to read VM bytecode files from an iostream.
index 1141a423464e9df625f93c7a86352356f0245dbe..1006cb6939af01c149bcae5be11b1b898f6c2ddd 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Bytecode/WriteBytecodePass.h - Bytecode Writer Pass --*- C++ -*--=//
+//===- llvm/Bytecode/WriteBytecodePass.h - Bytecode Writer Pass -*- C++ -*-===//
 //
 // This file defines a simple pass to write the working module to a file after
 // pass processing is completed.
index b4d5e78fd04f02745d90ba05d8ac0c90481a2f1b..0113f78a38cfa966b6c351d702337371b64fff6c 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Bytecode/Writer.h - Writer for VM bytecode files ----*- C++ -*--=//
+//===-- llvm/Bytecode/Writer.h - Writer for VM bytecode files ---*- C++ -*-===//
 //
 // This functionality is implemented by the lib/BytecodeWriter library.
 // This library is used to write VM bytecode files to an iostream.  First, you
index 1927b337586236ad3c7949e69423ff537b07875a..c770513ade65b0b88de47b5f787d2c8246fa96bb 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/CodeGen/InstForest.h ------------------------------*- C++ -*--===//
+//===-- llvm/CodeGen/InstForest.h -------------------------------*- C++ -*-===//
 //
 // Purpose:
 //     Convert SSA graph to instruction trees for instruction selection.
index 1e9c0dcf500157cb8378e535865048b9a9fb815e..1f04d02bc188d48a35726beb3fd8eb5d8cf28b5f 100644 (file)
@@ -1,4 +1,4 @@
-//===-- InstrScheduling.h - Interface To Instruction Scheduling --*- C++ -*-==//
+//===-- InstrScheduling.h - Interface To Instruction Scheduling -*- C++ -*-===//
 //
 // This file defines a minimal, but complete, interface to instruction
 // scheduling.
@@ -21,6 +21,6 @@ class TargetMachine;
 //   are still in SSA form.
 //---------------------------------------------------------------------------
 
-FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &Target);
+FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &TM);
 
 #endif
index 60707ba71efe7a465629b53dd2e035f431e5b2a5..f171d776cc9bda6ece2dca728479fe25871b6ebf 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/CodeGen/MachineInstr.h - MachineInstr class ---------*- C++ -*--=//
+//===-- llvm/CodeGen/MachineInstr.h - MachineInstr class --------*- C++ -*-===//
 //
 // This file contains the declaration of the MachineInstr class, which is the
 // basic representation for all target dependent machine instructions used by
@@ -12,7 +12,6 @@
 #include "llvm/Target/MRegisterInfo.h"
 #include "Support/Annotation.h"
 #include "Support/iterator"
-#include <set>
 
 class Value;
 class Function;
index 572c32561041e9adc17d05b542b1985bb4d1b674..60d0df511ac3896a9f6224a2bd52a2359db0ec64 100644 (file)
@@ -1,4 +1,4 @@
-//===-- CodeGen/RegisterAllocation.h - RegAlloc Pass -------------*- C++ -*--=//
+//===-- CodeGen/RegisterAllocation.h - RegAlloc Pass ------------*- C++ -*-===//
 //
 // This pass register allocates a module, a method at a time.
 //
index 46e49e14ea13d3e8566c450afa964fd5cebd5fd2..8501448fe22f6d89d7387924c9c75c8374834bfb 100644 (file)
@@ -1,9 +1,9 @@
-//===-- SchedGraphCommon.h - Scheduling Base Graph ---------------*- C++ -*---=//
+//===-- SchedGraphCommon.h - Scheduling Base Graph --------------*- C++ -*-===//
 //
 // A common graph class that is based on the SSA graph. It includes
 // extra dependencies that are caused by machine resources.
 //
-//===-------------------------------------------------------------------------=// 
+//===----------------------------------------------------------------------===//
 
 #ifndef LLVM_CODEGEN_SCHEDGRAPHCOMMON_H
 #define LLVM_CODEGEN_SCHEDGRAPHCOMMON_H
index e6f63b12921b9d6438f91bad7032711ae7dad1e6..48f1fcce194bedcee9f8bfd9bebc6db4f3be1931 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Constant.h - Constant class definition --------------*- C++ -*--=//
+//===-- llvm/Constant.h - Constant class definition -------------*- C++ -*-===//
 //
 // This file contains the declaration of the Constant class.
 //
index 66719cda8e5687294eb87f9e8f171373c432d5e4..b23566c2095e71b3854469012d5216e5cd8af4b3 100644 (file)
@@ -1,4 +1,4 @@
-//===-- ConstantHandling.h - Stuff for manipulating constants ----*- C++ -*--=//
+//===-- ConstantHandling.h - Stuff for manipulating constants ---*- C++ -*-===//
 //
 // This file contains the declarations of some cool operators that allow you
 // to do natural things with constant pool values.
index f36e28bd44bd93f3c44324fba661b8f42d52896e..dc6922e638363b3cdadfd18bf5395406a8685941 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Constants.h - Constant class subclass definitions ---*- C++ -*--=//
+//===-- llvm/Constants.h - Constant class subclass definitions --*- C++ -*-===//
 //
 // This file contains the declarations for the subclasses of Constant, which
 // represent the different type of constant pool values
index 39a87b80d3690c2ffc6cb04e158de8da1f8a1e46..f65a2ce1c5a8a8b6cab8798872386f6f37895037 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/DerivedTypes.h - Classes for handling data types ----*- C++ -*--=//
+//===-- llvm/DerivedTypes.h - Classes for handling data types ---*- C++ -*-===//
 //
 // This file contains the declarations of classes that represent "derived 
 // types".  These are things like "arrays of x" or "structure of x, y, z" or
index 13ad9237182949cd7302853cff5582949549c337..a80e1fe095a3ad9bd8a25a64faa01e9cd69f8d94 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/GlobalValue.h - Class to represent a global value ---*- C++ -*--=//
+//===-- llvm/GlobalValue.h - Class to represent a global value --*- C++ -*-===//
 //
 // This file is a common base class of all globally definable objects.  As such,
 // it is subclassed by GlobalVariable and by Function.  This is used because you
index 1fd004cb809e05294586054ab0fd346944863b63..064d3ef6d00c14caa9d292aa1ebaa4b1c294879f 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Global.h - Class to represent a global variable -----*- C++ -*--=//
+//===-- llvm/Global.h - Class to represent a global variable ----*- C++ -*-===//
 //
 // This file contains the declaration of the GlobalVariable class, which
 // represents a single global variable (or constant) in the VM.
index 931ae41a98e516df93bb765805d28dbe3799a11b..4c6f1441e3f7fe42ea73121fda162a26ca5eac3e 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/InstrTypes.h - Important Instruction subclasses -----*- C++ -*--=//
+//===-- llvm/InstrTypes.h - Important Instruction subclasses ----*- C++ -*-===//
 //
 // This file defines various meta classes of instructions that exist in the VM
 // representation.  Specific concrete subclasses of these may be found in the 
index 3b3858ad1664553494d99a406c0c368e9b11bbc3..ea3b71d53c8a1bcf81839964eb072a44256056b3 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Instruction.def - File that describes Instructions --*- C++ -*--=//
+//===-- llvm/Instruction.def - File that describes Instructions -*- C++ -*-===//
 //
 // This file contains descriptions of the various LLVM instructions.  This is
 // used as a central place for enumerating the different instructions and 
index dac0f9b90e73f500389a7d71f73f98aec102f1fe..f40cce3dcd122f15b755b324af1087928e416609 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface --*- C++ -*--=//
+//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface -*- C++ -*-===//
 //
 // This file defines the interface to the module linker.
 //
index 4afcc4bd0fa95b6009762bca73974b9c5f3d9c83..b27a01209529f0877065720ccb5aaef49bad9ffe 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Module.h - C++ class to represent a VM module -------*- C++ -*--=//
+//===-- llvm/Module.h - C++ class to represent a VM module ------*- C++ -*-===//
 //
 // This file contains the declarations for the Module class that is used to 
 // maintain all the information related to a VM module.
index 9e43b5e0a3a99c5c2f7a82a1f03450c7c7098974..637d26bf5543bf43f3666bfed0495a45991394c7 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Pass.h - Base class for XForm Passes -----------------*- C++ -*--=//
+//===- llvm/Pass.h - Base class for Passes ----------------------*- C++ -*-===//
 //
 // This file defines a base class that indicates that a specified class is a
 // transformation pass implementation.
index d27d66964979ccf9d099c5395f86c2b8d3adaa66..7355e85def07cc7483043271098288589e0542ae 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/PassAnalysisSupport.h - Analysis Pass Support code ---*- C++ -*-==//
+//===- llvm/PassAnalysisSupport.h - Analysis Pass Support code --*- C++ -*-===//
 //
 // This file defines stuff that is used to define and "use" Analysis Passes.
 // This file is automatically #included by Pass.h, so:
index c30164b54021ba8452aa2c8d9bd6cd3092db770a..367809e5cce54b55e2160b4bf6a1af4665521543 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/PassManager.h - Container for Passes -----------------*- C++ -*--=//
+//===- llvm/PassManager.h - Container for Passes ----------------*- C++ -*-===//
 //
 // This file defines the PassManager class.  This class is used to hold,
 // maintain, and optimize execution of Passes.  The PassManager class ensures
index 91006d70175cdf77eefa3b1cdc79ff3fd010916d..9d88a0264f100c7966e3c61944e785945332384f 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/SlotCalculator.h - Calculate value slots ------------*- C++ -*-==//
+//===-- llvm/SlotCalculator.h - Calculate value slots -----------*- C++ -*-===//
 //
 // This class calculates the slots that values will land in.  This is useful for
 // when writing bytecode or assembly out, because you have to know these things.
index 6a3abd92603ca298a2acda45b223428b743b722c..2d67c026eb54f40b42a981a416f73762f44490ce 100644 (file)
@@ -1,12 +1,12 @@
-//===-- llvm/Support/CFG.h - Process LLVM structures as graphs ---*- C++ -*--=//
+//===-- llvm/Support/CFG.h - Process LLVM structures as graphs --*- C++ -*-===//
 //
 // This file defines specializations of GraphTraits that allow Function and
 // BasicBlock graphs to be treated as proper graphs for generic algorithms.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_CFG_H
-#define LLVM_CFG_H
+#ifndef LLVM_SUPPORT_CFG_H
+#define LLVM_SUPPORT_CFG_H
 
 #include "Support/GraphTraits.h"
 #include "llvm/Function.h"
index 2815ecde71d89b75ef7869766bfae5e4241e3a27..fc2d4b21ea1bd42b2d09dccae7de279c5ecf032f 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/Casting.h - Allow flexible, checked, casts -------*- C++ -*--=//
+//===-- Support/Casting.h - Allow flexible, checked, casts ------*- C++ -*-===//
 //
 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
 // and dyn_cast_or_null<X>() templates.
index 789679e3990e894a482bb21f016d021e454ebc62..179bca378ba4f7ec03d037f298110e2ab7e0b07f 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/CommandLine.h - Flexible Command line parser ------*- C++ -*--=//
+//===- Support/CommandLine.h - Flexible Command line parser -----*- C++ -*-===//
 //
 // This class implements a command line argument processor that is useful when
 // creating a tool.  It provides a simple, minimalistic interface that is easily
index 2371b664077129f3de260189626b6a7a2f8b0053..6ffade878b199e17c2ee6c05f74931ac538e967a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/DotGraphTraits.h - Customize .dot output -------*- C++ -*--===//
+//===-- Support/DotGraphTraits.h - Customize .dot output --------*- C++ -*-===//
 //
 // This file defines a template class that can be used to customize dot output
 // graphs generated by the GraphWriter.h file.  The default implementation of
index 3b7b3575544bca483c41e43b8b9763db4ea4016a..7b21dbf30f04190f4a14467360abb49e81ef4c25 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/GraphWriter.h - Write a graph to a .dot file ---*- C++ -*--===//
+//===-- Support/GraphWriter.h - Write a graph to a .dot file ----*- C++ -*-===//
 //
 // This file defines a simple interface that can be used to print out generic
 // LLVM graphs to ".dot" files.  "dot" is a tool that is part of the AT&T
index 06fc9bd2818d328de86250d485c4573e244597cb..1f6862ba9165d61f133f102ce2614000bc4de28d 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Support/InstIterator.h - Classes for inst iteration -*- C++ -*--=//
+//===- llvm/Support/InstIterator.h - Classes for inst iteration -*- C++ -*-===//
 //
 // This file contains definitions of two iterators for iterating over the
 // instructions in a function.  This is effectively a wrapper around a two level
index 758cc99064b767e601569654da2f1f5a006e69d8..9934522f4565ec01a4853246e5bf28e3b4b28016 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Support/InstVisitor.h - Define instruction visitors --*- C++ -*--=//
+//===- llvm/Support/InstVisitor.h - Define instruction visitors -*- C++ -*-===//
 //
 // This template class is used to define instruction visitors in a typesafe
 // manner without having to use lots of casts and a big switch statement (in
index dac0f9b90e73f500389a7d71f73f98aec102f1fe..f40cce3dcd122f15b755b324af1087928e416609 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface --*- C++ -*--=//
+//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface -*- C++ -*-===//
 //
 // This file defines the interface to the module linker.
 //
index 15ec2f49fc48355c4d5befecb7017a0cff573bec..7e44827a476478e3085b272355fd0de7cfbaf3f8 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Mangler.h - Self-contained c/asm llvm name mangler -*- C++ -*- ----===//
+//===-- Mangler.h - Self-contained c/asm llvm name mangler ------*- C++ -*-===//
 //
 // Unified name mangler for CWriter and assembly backends.
 //
index bfb88552bf569a1fcb892970e16afc89671336ef..ea3bba40c9c58f765dfa4f1fc3a584a6b43c688a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Support/MathExtras.h - Useful math functions -------------*- C++ -*--=//
+//===-- Support/MathExtras.h - Useful math functions ------------*- C++ -*-===//
 //
 // This file contains some functions that are useful for math stuff.
 //
index 26371c93dcc577a52982a60f3be47fbee0888217..01c8189723bf13054fece9e5a2f80506726029dc 100644 (file)
@@ -1,4 +1,4 @@
-//===- SystemUtils.h - Utilities to do low-level system stuff --*- C++ -*--===//
+//===- SystemUtils.h - Utilities to do low-level system stuff ---*- C++ -*-===//
 //
 // This file contains functions used to do a variety of low-level, often
 // system-specific, tasks.
index 9884f65e6918b06fe7cc9006833fa0bb80d4af99..488f56dc0f45ee20deebe59cf97ffd5eaba05881 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/TypeInfo.h - Support class for type_info objects --*- C++ -*--=//
+//===- Support/TypeInfo.h - Support class for type_info objects -*- C++ -*-===//
 //
 // This class makes std::type_info objects behave like first class objects that
 // can be put in maps and hashtables.  This code is based off of code in the
index d020ecbb778008f28e96eda2fcc90922ccc31c3e..30dc14fb7f91c94bff7236170ed5e0a0e8280a82 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/SymbolTable.h - Implement a type plane'd symtab ------*- C++ -*-=//
+//===-- llvm/SymbolTable.h - Implement a type plane'd symtab ----*- C++ -*-===//
 //
 // This file implements a symbol table that has planed broken up by type.  
 // Identical types may have overlapping symbol names as long as they are 
index 74aede11a3e165ddc7d68003443148ea0f9cd394..633fe6d821f83c6a8d1455d8bfae1b575d3dafc1 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/SymbolTableListTraits.h - Traits for iplist -------*- C++ -*--===//
+//===-- llvm/SymbolTableListTraits.h - Traits for iplist --------*- C++ -*-===//
 //
 // This file defines a generic class that is used to implement the automatic
 // symbol table manipulation that occurs when you put (for example) a named
index 1445bd461db38773e07dbb2b72fa37acdc2bfdc7..218cf99a2446ef7ec506cc3f64ffb0d556d7184f 100644 (file)
@@ -1,4 +1,4 @@
-//===- Support/Signals.h - Signal Handling support -------------*- C++ -*-===//
+//===- Support/Signals.h - Signal Handling support --------------*- C++ -*-===//
 //
 // This file defines some helpful functions for dealing with the possibility of
 // unix signals occuring while your program is running.
index 11d078c2326a4a707ac074b1852a473b43915747..ae7780dc3a25d2c22d1ccafba2e81c0dd52d601d 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Target/TargetData.h - Data size & alignment routines-*- C++ -*-==//
+//===-- llvm/Target/TargetData.h - Data size & alignment info ---*- C++ -*-===//
 //
 // This file defines target properties related to datatype size/offset/alignment
 // information.  It uses lazy annotations to cache information about how 
index 0772c13755fefd6f0920911f245b5a4c36d17e30..447355e240a0e88ae5af6ef23353d74556d72fda 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Target/TargetMachine.h - General Target Information -*- C++ -*-==//
+//===-- llvm/Target/TargetMachine.h - Target Information --------*- C++ -*-===//
 //
 // This file describes the general parts of a Target machine.
 //
index 44ba3e06f2d1565ae80bca27b4f096d1be8a2030..51d11c2a6efcd911a9c4841070c0d508b40817b4 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Target/TargetRegInfo.h - Target Register Info -------*- C++ -*-==//
+//===-- llvm/Target/TargetRegInfo.h - Target Register Info ------*- C++ -*-===//
 //
 // This file is used to describe the register system of a target to the
 // register allocator.
index 5d42d40bcbdf79f7c57ab116fe728f8cfe017061..9c9da1d083979417e546636145af4ae67ae1999a 100644 (file)
@@ -1,4 +1,4 @@
-//===- Target/TargetSchedInfo.h - Target Instruction Sched Info --*- C++ -*-==//
+//===- Target/TargetSchedInfo.h - Target Instruction Sched Info -*- C++ -*-===//
 //
 // This file describes the target machine to the instruction scheduler.
 //
index 26da666c4a0b875b5feffbd508fd9e28851e3daa..1597ac9a105e0a0e491c616f57f6df01ec9bdb62 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Transforms/MutateStructTypes.h - Change struct defns -*- C++ -*--=//
+//===-- llvm/Transforms/MutateStructTypes.h - Rearrange structs -*- C++ -*-===//
 //
 // This pass is used to change structure accesses and type definitions in some
 // way.  It can be used to arbitrarily permute structure fields, safely, without
index 796d57b578a5908f7340aba7caf787a1deea49c9..1c9a1299c0c40d7353786449e567a50a062be793 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Scalar.h - Scalar Transformations ------------------------*- C++ -*-==//
+//===-- Scalar.h - Scalar Transformations -----------------------*- C++ -*-===//
 //
 // This header file defines prototypes for accessor functions that expose passes
 // in the Scalar transformations library.
index 3e8edcec1a0347088e6d18767af24dc2ec47c858..680ce41a5eec1a46daf9eda8a10156c38fe7ac7a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Transform/Utils/BasicBlockUtils.h - BasicBlock Utilities -*- C++ -*-==//
+//===-- Transform/Utils/BasicBlockUtils.h - BasicBlock Utils ----*- C++ -*-===//
 //
 // This family of functions perform manipulations on basic blocks, and
 // instructions contained within basic blocks.
index dac0f9b90e73f500389a7d71f73f98aec102f1fe..f40cce3dcd122f15b755b324af1087928e416609 100644 (file)
@@ -1,4 +1,4 @@
-//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface --*- C++ -*--=//
+//===- llvm/Transforms/Utils/Linker.h - Module Linker Interface -*- C++ -*-===//
 //
 // This file defines the interface to the module linker.
 //
index 86cabec79589546604ac97be3ed554ade77bb413..ac51bca1da5dfec97c14fc9b8759497901820038 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Local.h - Functions to perform local transformations -----*- C++ -*--=//
+//===-- Local.h - Functions to perform local transformations ----*- C++ -*-===//
 //
 // This family of functions perform various local transformations to the
 // program.
index c56da22b763ebda7e851259d31becd4f6eb54a38..e271f10f7e3dc0a22b4edab6583c93f5e0199eb4 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Type.def - File that describes various LLVM types ---*- C++ -*--=//
+//===-- llvm/Type.def - File that describes various LLVM types --*- C++ -*-===//
 //
 // This file contains descriptions of the various LLVM types and derived types.
 // This file serves as a source of in source documentation and a can be
index b72bcf97ba8377fa797405dee0d8ecc6e6e6dcf1..30949a6457776282acbde1070d50a906f560895a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Type.h - Classes for handling data types ------------*- C++ -*--=//
+//===-- llvm/Type.h - Classes for handling data types -----------*- C++ -*-===//
 //
 // This file contains the declaration of the Type class.  For more "Type" type
 // stuff, look in DerivedTypes.h.
@@ -37,8 +37,7 @@ class PointerType;
 class StructType;
 class OpaqueType;
 
-class Type : public Value {
-public:
+struct Type : public Value {
   ///===-------------------------------------------------------------------===//
   /// Definitions of all of the base types for the Type system.  Based on this
   /// value, you can cast to a "DerivedType" subclass (see DerivedTypes.h)
index cf0f53c4ad888d1cf9c985442077321499474daf..aa29f6dae380fdd77e2b054e390998b68c9891dd 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/User.h - User class definition ----------------------*- C++ -*--=//
+//===-- llvm/User.h - User class definition ---------------------*- C++ -*-===//
 //
 // This class defines the interface that one who 'use's a Value must implement.
 // Each instance of the Value class keeps track of what User's have handles
index 437a380801f995a9ea886e2c59e6c55175794b6b..99bc8affa4bed1174aa14dc916c325528f6f4cf1 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/Value.h - Definition of the Value class -------------*- C++ -*--=//
+//===-- llvm/Value.h - Definition of the Value class ------------*- C++ -*-===//
 //
 // This file defines the very important Value class.  This is subclassed by a
 // bunch of other important classes, like Instruction, Function, Type, etc...
index 45b8db367d8e27bfd9d165e4c099cf88d8ceb308..787483348fb9ebdf0184f0649cf62cfcca02dacb 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/iOther.h - "Other" instruction node definitions -----*- C++ -*--=//
+//===-- llvm/iOther.h - "Other" instruction node definitions ----*- C++ -*-===//
 //
 // This file contains the declarations for instructions that fall into the 
 // grandiose 'other' catagory...
index eba5a735542c2391dff74f371151c143d371c02f..4dbee257907c24c53b40e3a1323b1e54ff2017cf 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/iPHINode.h - PHI instruction definition -------------*- C++ -*--=//
+//===-- llvm/iPHINode.h - PHI instruction definition ------------*- C++ -*-===//
 //
 // This file defines the PHINode class.
 //
index 91006d70175cdf77eefa3b1cdc79ff3fd010916d..9d88a0264f100c7966e3c61944e785945332384f 100644 (file)
@@ -1,4 +1,4 @@
-//===-- llvm/SlotCalculator.h - Calculate value slots ------------*- C++ -*-==//
+//===-- llvm/SlotCalculator.h - Calculate value slots -----------*- C++ -*-===//
 //
 // This class calculates the slots that values will land in.  This is useful for
 // when writing bytecode or assembly out, because you have to know these things.
index 66719cda8e5687294eb87f9e8f171373c432d5e4..b23566c2095e71b3854469012d5216e5cd8af4b3 100644 (file)
@@ -1,4 +1,4 @@
-//===-- ConstantHandling.h - Stuff for manipulating constants ----*- C++ -*--=//
+//===-- ConstantHandling.h - Stuff for manipulating constants ---*- C++ -*-===//
 //
 // This file contains the declarations of some cool operators that allow you
 // to do natural things with constant pool values.
index 66719cda8e5687294eb87f9e8f171373c432d5e4..b23566c2095e71b3854469012d5216e5cd8af4b3 100644 (file)
@@ -1,4 +1,4 @@
-//===-- ConstantHandling.h - Stuff for manipulating constants ----*- C++ -*--=//
+//===-- ConstantHandling.h - Stuff for manipulating constants ---*- C++ -*-===//
 //
 // This file contains the declarations of some cool operators that allow you
 // to do natural things with constant pool values.