mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
Standardize header file comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f474449804
commit
48486893f4
@ -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:
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
// 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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
// 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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
//
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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:
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
///
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
//===-- llvm/CodeGen/InstForest.h ------------------------------*- C++ -*--===//
|
||||
//===-- llvm/CodeGen/InstForest.h -------------------------------*- C++ -*-===//
|
||||
//
|
||||
// Purpose:
|
||||
// Convert SSA graph to instruction trees for instruction selection.
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user