diff options
Diffstat (limited to 'llvm/include/Support')
| -rw-r--r-- | llvm/include/Support/BitSetVector.h | 16 | ||||
| -rw-r--r-- | llvm/include/Support/Casting.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/CommandLine.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/DOTGraphTraits.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/DataTypes.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/DepthFirstIterator.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/EquivalenceClasses.h | 16 | ||||
| -rw-r--r-- | llvm/include/Support/GraphTraits.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/GraphWriter.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/HashExtras.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/MathExtras.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/PostOrderIterator.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/STLExtras.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/SetOperations.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/Signals.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/StringExtras.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/SystemUtils.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/Tree.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/TypeInfo.h | 2 | ||||
| -rw-r--r-- | llvm/include/Support/hash_map | 1 | ||||
| -rw-r--r-- | llvm/include/Support/ilist | 2 | 
21 files changed, 31 insertions, 38 deletions
| diff --git a/llvm/include/Support/BitSetVector.h b/llvm/include/Support/BitSetVector.h index cdcd52d9486..fa2598a2856 100644 --- a/llvm/include/Support/BitSetVector.h +++ b/llvm/include/Support/BitSetVector.h @@ -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:  //  diff --git a/llvm/include/Support/Casting.h b/llvm/include/Support/Casting.h index 2815ecde71d..fc2d4b21ea1 100644 --- a/llvm/include/Support/Casting.h +++ b/llvm/include/Support/Casting.h @@ -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. diff --git a/llvm/include/Support/CommandLine.h b/llvm/include/Support/CommandLine.h index 789679e3990..179bca378ba 100644 --- a/llvm/include/Support/CommandLine.h +++ b/llvm/include/Support/CommandLine.h @@ -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 diff --git a/llvm/include/Support/DOTGraphTraits.h b/llvm/include/Support/DOTGraphTraits.h index 2371b664077..6ffade878b1 100644 --- a/llvm/include/Support/DOTGraphTraits.h +++ b/llvm/include/Support/DOTGraphTraits.h @@ -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 diff --git a/llvm/include/Support/DataTypes.h b/llvm/include/Support/DataTypes.h index 84f3c2b3566..eb933216d81 100644 --- a/llvm/include/Support/DataTypes.h +++ b/llvm/include/Support/DataTypes.h @@ -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, diff --git a/llvm/include/Support/DepthFirstIterator.h b/llvm/include/Support/DepthFirstIterator.h index 2bb2e68e670..967a0e145ac 100644 --- a/llvm/include/Support/DepthFirstIterator.h +++ b/llvm/include/Support/DepthFirstIterator.h @@ -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. diff --git a/llvm/include/Support/EquivalenceClasses.h b/llvm/include/Support/EquivalenceClasses.h index 96cfc87a725..dab5d73257c 100644 --- a/llvm/include/Support/EquivalenceClasses.h +++ b/llvm/include/Support/EquivalenceClasses.h @@ -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 diff --git a/llvm/include/Support/GraphTraits.h b/llvm/include/Support/GraphTraits.h index 15c285da170..e54d9631294 100644 --- a/llvm/include/Support/GraphTraits.h +++ b/llvm/include/Support/GraphTraits.h @@ -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. diff --git a/llvm/include/Support/GraphWriter.h b/llvm/include/Support/GraphWriter.h index 3b7b3575544..7b21dbf30f0 100644 --- a/llvm/include/Support/GraphWriter.h +++ b/llvm/include/Support/GraphWriter.h @@ -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 diff --git a/llvm/include/Support/HashExtras.h b/llvm/include/Support/HashExtras.h index 44355a48e96..f648a28c099 100644 --- a/llvm/include/Support/HashExtras.h +++ b/llvm/include/Support/HashExtras.h @@ -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. diff --git a/llvm/include/Support/MathExtras.h b/llvm/include/Support/MathExtras.h index bfb88552bf5..ea3bba40c9c 100644 --- a/llvm/include/Support/MathExtras.h +++ b/llvm/include/Support/MathExtras.h @@ -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.  // diff --git a/llvm/include/Support/PostOrderIterator.h b/llvm/include/Support/PostOrderIterator.h index d976f088764..2e5a0ad336d 100644 --- a/llvm/include/Support/PostOrderIterator.h +++ b/llvm/include/Support/PostOrderIterator.h @@ -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 diff --git a/llvm/include/Support/STLExtras.h b/llvm/include/Support/STLExtras.h index 348c4e17aac..012d0024273 100644 --- a/llvm/include/Support/STLExtras.h +++ b/llvm/include/Support/STLExtras.h @@ -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. diff --git a/llvm/include/Support/SetOperations.h b/llvm/include/Support/SetOperations.h index 3a5e6f2bd46..fe020b87dae 100644 --- a/llvm/include/Support/SetOperations.h +++ b/llvm/include/Support/SetOperations.h @@ -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. diff --git a/llvm/include/Support/Signals.h b/llvm/include/Support/Signals.h index 1445bd461db..218cf99a244 100644 --- a/llvm/include/Support/Signals.h +++ b/llvm/include/Support/Signals.h @@ -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. diff --git a/llvm/include/Support/StringExtras.h b/llvm/include/Support/StringExtras.h index 924f6c35f87..9233d6c0cd4 100644 --- a/llvm/include/Support/StringExtras.h +++ b/llvm/include/Support/StringExtras.h @@ -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.  // diff --git a/llvm/include/Support/SystemUtils.h b/llvm/include/Support/SystemUtils.h index 26371c93dcc..01c8189723b 100644 --- a/llvm/include/Support/SystemUtils.h +++ b/llvm/include/Support/SystemUtils.h @@ -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. diff --git a/llvm/include/Support/Tree.h b/llvm/include/Support/Tree.h index 928c99bca95..15572614b0e 100644 --- a/llvm/include/Support/Tree.h +++ b/llvm/include/Support/Tree.h @@ -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. diff --git a/llvm/include/Support/TypeInfo.h b/llvm/include/Support/TypeInfo.h index 9884f65e691..488f56dc0f4 100644 --- a/llvm/include/Support/TypeInfo.h +++ b/llvm/include/Support/TypeInfo.h @@ -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 diff --git a/llvm/include/Support/hash_map b/llvm/include/Support/hash_map index b6eda7a0127..6e1ca2c6eda 100644 --- a/llvm/include/Support/hash_map +++ b/llvm/include/Support/hash_map @@ -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 diff --git a/llvm/include/Support/ilist b/llvm/include/Support/ilist index aa6e09c319d..14683081d09 100644 --- a/llvm/include/Support/ilist +++ b/llvm/include/Support/ilist @@ -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 | 

