aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Analysis/Interval.h4
-rw-r--r--include/llvm/BasicBlock.h2
-rw-r--r--include/llvm/CodeGen/MachineRelocation.h4
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h4
-rw-r--r--include/llvm/Config/config.h.in6
-rw-r--r--include/llvm/Support/Annotation.h2
-rw-r--r--include/llvm/Support/CommandLine.h2
-rw-r--r--include/llvm/Support/DataTypes.h.in4
-rw-r--r--include/llvm/Support/MutexGuard.h8
-rw-r--r--include/llvm/System/Mutex.h6
-rw-r--r--include/llvm/System/Path.h56
-rw-r--r--include/llvm/System/Process.h2
-rw-r--r--include/llvm/Target/TargetLowering.h12
-rw-r--r--include/llvm/Target/TargetMachine.h2
-rw-r--r--lib/System/ltdl.h264
-rw-r--r--lib/Target/PowerPC/PPCRelocations.h2
-rw-r--r--lib/Target/SparcV9/EmitBytecodeToAssembly.cpp4
-rw-r--r--lib/Target/SparcV9/InstrSched/InstrScheduling.cpp220
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedGraph.cpp88
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedGraph.h48
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedGraphCommon.cpp54
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedPriorities.cpp26
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedPriorities.h80
-rw-r--r--lib/Target/SparcV9/LiveVar/BBLiveVar.cpp30
-rw-r--r--lib/Target/SparcV9/MachineFunctionInfo.cpp10
-rw-r--r--lib/Target/SparcV9/MachineFunctionInfo.h14
-rw-r--r--lib/Target/SparcV9/MappingInfo.cpp4
-rw-r--r--lib/Target/SparcV9/MappingInfo.h6
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/DependenceAnalyzer.cpp44
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/DependenceAnalyzer.h26
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSSchedule.cpp74
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSSchedule.h2
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSScheduleSB.cpp76
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSScheduleSB.h2
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSchedGraph.cpp516
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSchedGraph.h56
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSchedGraphSB.cpp576
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/MSchedGraphSB.h64
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.cpp1864
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h38
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/ModuloSchedulingSuperBlock.cpp2498
-rw-r--r--lib/Target/SparcV9/ModuloScheduling/ModuloSchedulingSuperBlock.h166
-rw-r--r--lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp8
-rw-r--r--lib/Target/SparcV9/RegAlloc/LiveRange.h2
-rw-r--r--lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp100
-rw-r--r--lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h4
-rw-r--r--lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp120
-rw-r--r--lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h8
-rw-r--r--lib/Target/SparcV9/RegAlloc/RegClass.cpp16
-rw-r--r--lib/Target/SparcV9/RegAlloc/RegClass.h10
-rw-r--r--lib/Target/SparcV9/SparcV9BurgISel.cpp254
-rw-r--r--lib/Target/SparcV9/SparcV9FrameInfo.h2
-rw-r--r--lib/Target/SparcV9/SparcV9InstrForest.h88
-rw-r--r--lib/Target/SparcV9/SparcV9Internals.h26
-rw-r--r--lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp4
-rw-r--r--lib/Target/SparcV9/SparcV9RegClassInfo.cpp24
-rw-r--r--lib/Target/SparcV9/SparcV9RegClassInfo.h2
-rw-r--r--lib/Target/SparcV9/SparcV9RegInfo.cpp62
-rw-r--r--lib/Target/SparcV9/SparcV9RegInfo.h6
-rw-r--r--lib/Target/SparcV9/SparcV9SchedInfo.cpp158
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp4
-rw-r--r--lib/Target/SparcV9/SparcV9TmpInstr.cpp2
-rw-r--r--lib/Target/X86/X86InstrInfo.h2
-rw-r--r--lib/Target/X86/X86Subtarget.h10
64 files changed, 3939 insertions, 3939 deletions
diff --git a/include/llvm/Analysis/Interval.h b/include/llvm/Analysis/Interval.h
index e91e66d0d6..b9e1d31e3a 100644
--- a/include/llvm/Analysis/Interval.h
+++ b/include/llvm/Analysis/Interval.h
@@ -110,7 +110,7 @@ inline Interval::succ_iterator succ_begin(Interval *I) {
inline Interval::succ_iterator succ_end(Interval *I) {
return I->Successors.end();
}
-
+
/// pred_begin/pred_end - define methods so that Intervals may be used
/// just like BasicBlocks can with the pred_* functions, and *::pred_iterator.
///
@@ -128,7 +128,7 @@ template <> struct GraphTraits<Interval*> {
static NodeType *getEntryNode(Interval *I) { return I; }
/// nodes_iterator/begin/end - Allow iteration over all nodes in the graph
- static inline ChildIteratorType child_begin(NodeType *N) {
+ static inline ChildIteratorType child_begin(NodeType *N) {
return succ_begin(N);
}
static inline ChildIteratorType child_end(NodeType *N) {
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index 5803d94595..ce301bd207 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -160,7 +160,7 @@ public:
/// splitBasicBlock - This splits a basic block into two at the specified
/// instruction. Note that all instructions BEFORE the specified iterator
/// stay as part of the original basic block, an unconditional branch is added
- /// to the original BB, and the rest of the instructions in the BB are moved
+ /// to the original BB, and the rest of the instructions in the BB are moved
/// to the new BB, including the old terminator. The newly formed BasicBlock
/// is returned. This function invalidates the specified iterator.
///
diff --git a/include/llvm/CodeGen/MachineRelocation.h b/include/llvm/CodeGen/MachineRelocation.h
index 1bf1b5142a..b25ed3b007 100644
--- a/include/llvm/CodeGen/MachineRelocation.h
+++ b/include/llvm/CodeGen/MachineRelocation.h
@@ -55,7 +55,7 @@ class MachineRelocation {
public:
MachineRelocation(unsigned Offset, unsigned RelocationType, GlobalValue *GV,
- intptr_t cst = 0, bool DoesntNeedFunctionStub = 0,
+ intptr_t cst = 0, bool DoesntNeedFunctionStub = 0,
bool GOTrelative = 0)
: OffsetTypeExternal(Offset + (RelocationType << 26)), ConstantVal(cst),
GOTRelative(GOTrelative), isConstPool(0) {
@@ -175,7 +175,7 @@ public:
}
/// getGOTIndex - Once this has been resolved to an entry in the GOT,
- /// this returns that index. The index is from the lowest address entry
+ /// this returns that index. The index is from the lowest address entry
/// in the GOT.
unsigned getGOTIndex() const {
return Target.GOTIndex;
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 9cbbfe2468..c666ab05e2 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -508,7 +508,7 @@ public:
assert(ResNo < Values.size() && "Illegal result number!");
return Values[ResNo];
}
-
+
typedef std::vector<MVT::ValueType>::const_iterator value_iterator;
value_iterator value_begin() const { return Values.begin(); }
value_iterator value_end() const { return Values.end(); }
@@ -523,7 +523,7 @@ public:
/// setAdjCallChain - This method should only be used by the legalizer.
void setAdjCallChain(SDOperand N);
-
+
protected:
friend class SelectionDAG;
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 79204ca2f7..ecd6b55e51 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -449,9 +449,9 @@
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown */
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
diff --git a/include/llvm/Support/Annotation.h b/include/llvm/Support/Annotation.h
index b957447715..f9d9f6095c 100644
--- a/include/llvm/Support/Annotation.h
+++ b/include/llvm/Support/Annotation.h
@@ -81,7 +81,7 @@ public:
//===----------------------------------------------------------------------===//
//
// Annotable - This class is used as a base class for all objects that would
-// like to have annotation capability.
+// like to have annotation capability.
//
// Annotable objects keep their annotation list sorted as annotations are
// inserted and deleted. This is used to ensure that annotations with identical
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 9cad99f441..2ed7581268 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/include/llvm/Support/CommandLine.h
@@ -734,7 +734,7 @@ class opt : public Option,
virtual bool handleOccurrence(unsigned pos, const char *ArgName,
const std::string &Arg) {
- typename ParserClass::parser_data_type Val =
+ typename ParserClass::parser_data_type Val =
typename ParserClass::parser_data_type();
if (Parser.parse(*this, ArgName, Arg, Val))
return true; // Parse error!
diff --git a/include/llvm/Support/DataTypes.h.in b/include/llvm/Support/DataTypes.h.in
index 69255c4566..b99739dc4e 100644
--- a/include/llvm/Support/DataTypes.h.in
+++ b/include/llvm/Support/DataTypes.h.in
@@ -1,10 +1,10 @@
//===-- include/Support/DataTypes.h - Define fixed size types ---*- C++ -*-===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
//
// This file contains definitions to figure out the size of _HOST_ data types.
diff --git a/include/llvm/Support/MutexGuard.h b/include/llvm/Support/MutexGuard.h
index 24bbbe1bb3..21c756d50b 100644
--- a/include/llvm/Support/MutexGuard.h
+++ b/include/llvm/Support/MutexGuard.h
@@ -1,10 +1,10 @@
//===-- Support/MutexGuard.h - Acquire/Release Mutex In Scope ---*- C++ -*-===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
//
// This file defines a guard for a block of code that ensures a Mutex is locked
@@ -18,7 +18,7 @@
#include <llvm/System/Mutex.h>
namespace llvm {
- /// Instances of this class acquire a given Mutex Lock when constructed and
+ /// Instances of this class acquire a given Mutex Lock when constructed and
/// hold that lock until destruction. The intention is to instantiate one of
/// these on the stack at the top of some scope to be assured that C++
/// destruction of the object will always release the Mutex and thus avoid
@@ -34,7 +34,7 @@ namespace llvm {
/// holds - Returns true if this locker instance holds the specified lock.
/// This is mostly used in assertions to validate that the correct mutex
/// is held.
- bool holds(const sys::Mutex& lock) const { return &M == &lock; }
+ bool holds(const sys::Mutex& lock) const { return &M == &lock; }
};
}
diff --git a/include/llvm/System/Mutex.h b/include/llvm/System/Mutex.h
index 282e1db731..5254703cbf 100644
--- a/include/llvm/System/Mutex.h
+++ b/include/llvm/System/Mutex.h
@@ -49,7 +49,7 @@ namespace llvm
/// Attempts to release the lock. If the lock is held by the current
/// thread, the lock is released allowing other threads to acquire the
- /// lock.
+ /// lock.
/// @returns false if any kind of error occurs, true otherwise.
/// @brief Unconditionally release the lock.
bool release(void);
@@ -61,7 +61,7 @@ namespace llvm
/// available, true otherwise.
/// @brief Try to acquire the lock.
bool tryacquire();
-
+
//@}
/// @name Platform Dependent Data
/// @{
@@ -71,7 +71,7 @@ namespace llvm
/// @}
/// @name Do Not Implement
/// @{
- private:
+ private:
Mutex(const Mutex & original);
void operator=(const Mutex &);
/// @}
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index 1fd4fe2e4f..3ff657b0f6 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -27,20 +27,20 @@ namespace sys {
/// in the operating system's filesystem and provides various basic operations
/// on it. Note that this class only represents the name of a path to a file
/// or directory which may or may not be valid for a given machine's file
- /// system. The class is patterned after the java.io.File class with various
- /// extensions and several omissions (not relevant to LLVM). A Path object
- /// ensures that the path it encapsulates is syntactically valid for the
- /// operating system it is running on but does not ensure correctness for
- /// any particular file system. That is, a syntactically valid path might
+ /// system. The class is patterned after the java.io.File class with various
+ /// extensions and several omissions (not relevant to LLVM). A Path object
+ /// ensures that the path it encapsulates is syntactically valid for the
+ /// operating system it is running on but does not ensure correctness for
+ /// any particular file system. That is, a syntactically valid path might
/// specify path components that do not exist in the file system and using
/// such a Path to act on the file system could produce errors. There is one
- /// invalid Path value which is permitted: the empty path. The class should
- /// never allow a syntactically invalid non-empty path name to be assigned.
+ /// invalid Path value which is permitted: the empty path. The class should
+ /// never allow a syntactically invalid non-empty path name to be assigned.
/// Empty paths are required in order to indicate an error result in some
- /// situations. If the path is empty, the isValid operation will return
- /// false. All operations will fail if isValid is false. Operations that
+ /// situations. If the path is empty, the isValid operation will return
+ /// false. All operations will fail if isValid is false. Operations that
/// change the path will either return false if it would cause a syntactically
- /// invalid path name (in which case the Path object is left unchanged) or
+ /// invalid path name (in which case the Path object is left unchanged) or
/// throw an std::string exception indicating the error. The methods are
/// grouped into four basic categories: Path Accessors (provide information
/// about the path without accessing disk), Disk Accessors (provide
@@ -323,16 +323,16 @@ namespace sys {
bool isDynamicLibrary() const;
/// This function determines if the path name references an existing file
- /// or directory in the file system.
- /// @returns true if the pathname references an existing file or
+ /// or directory in the file system.
+ /// @returns true if the pathname references an existing file or
/// directory.
/// @brief Determines if the path is a file or directory in
/// the file system.
bool exists() const;
/// This function determines if the path name references a readable file
- /// or directory in the file system. This function checks for
- /// the existence and readability (by the current program) of the file
+ /// or directory in the file system. This function checks for
+ /// the existence and readability (by the current program) of the file
/// or directory.
/// @returns true if the pathname references a readable file.
/// @brief Determines if the path is a readable file or directory
@@ -340,8 +340,8 @@ namespace sys {
bool canRead() const;
/// This function determines if the path name references a writable file
- /// or directory in the file system. This function checks for the
- /// existence and writability (by the current program) of the file or
+ /// or directory in the file system. This function checks for the
+ /// existence and writability (by the current program) of the file or
/// directory.
/// @returns true if the pathname references a writable file.
/// @brief Determines if the path is a writable file or directory
@@ -349,7 +349,7 @@ namespace sys {
bool canWrite() const;
/// This function determines if the path name references an executable
- /// file in the file system. This function checks for the existence and
+ /// file in the file system. This function checks for the existence and
/// executability (by the current program) of the file.
/// @returns true if the pathname references an executable file.
/// @brief Determines if the path is an executable file in the file
@@ -400,7 +400,7 @@ namespace sys {
/// This method sets the Path object to \p unverified_path. This can fail
/// if the \p unverified_path does not pass the syntactic checks of the
- /// isValid() method. If verification fails, the Path object remains
+ /// isValid() method. If verification fails, the Path object remains
/// unchanged and false is returned. Otherwise true is returned and the
/// Path object takes on the path value of \p unverified_path
/// @returns true if the path was set, false otherwise.
@@ -417,7 +417,7 @@ namespace sys {
/// The \p component is added to the end of the Path if it is a legal
/// name for the operating system. A directory separator will be added if
- /// needed.
+ /// needed.
/// @returns false if the path component could not be added.
/// @brief Appends one path component to the Path.
bool appendComponent( const std::string& component );
@@ -469,7 +469,7 @@ namespace sys {
/// @brief Make the file readable;
void makeExecutableOnDisk();
- /// This method allows the last modified time stamp and permission bits
+ /// This method allows the last modified time stamp and permission bits
/// to be set on the disk object referenced by the Path.
/// @throws std::string if an error occurs.
/// @returns true
@@ -480,8 +480,8 @@ namespace sys {
/// same name as the Path object. The \p create_parents parameter controls
/// whether intermediate directories are created or not. if \p
/// create_parents is true, then an attempt will be made to create all
- /// intermediate directories, as needed. If \p create_parents is false,
- /// then only the final directory component of the Path name will be
+ /// intermediate directories, as needed. If \p create_parents is false,
+ /// then only the final directory component of the Path name will be
/// created. The created directory will have no entries.
/// @returns false if the Path does not reference a directory, true
/// otherwise.
@@ -507,7 +507,7 @@ namespace sys {
/// file is created. Note that this will both change the Path object
/// *and* create the corresponding file. This function will ensure that
/// the newly generated temporary file name is unique in the file system.
- /// @param reuse_current When set to true, this parameter indicates that
+ /// @param reuse_current When set to true, this parameter indicates that
/// if the current file name does not exist then it will be used without
/// modification.
/// @returns true if successful, false if the file couldn't be created.
@@ -517,18 +517,18 @@ namespace sys {
bool createTemporaryFileOnDisk(bool reuse_current = false);
/// This method renames the file referenced by \p this as \p newName. The
- /// file referenced by \p this must exist. The file referenced by
+ /// file referenced by \p this must exist. The file referenced by
/// \p newName does not need to exist.
/// @returns true
/// @throws std::string if there is an file system error.
/// @brief Rename one file as another.
bool renamePathOnDisk(const Path& newName);
- /// This method attempts to destroy the file or directory named by the
+ /// This method attempts to destroy the file or directory named by the
/// last component of the Path. If the Path refers to a directory and the
- /// \p destroy_contents is false, an attempt will be made to remove just
- /// the directory (the final Path component). If \p destroy_contents is
- /// true, an attempt will be made to remove the entire contents of the
+ /// \p destroy_contents is false, an attempt will be made to remove just
+ /// the directory (the final Path component). If \p destroy_contents is
+ /// true, an attempt will be made to remove the entire contents of the
/// directory, recursively. If the Path refers to a file, the
/// \p destroy_contents parameter is ignored.
/// @param destroy_contents Indicates whether the contents of a destroyed
diff --git a/include/llvm/System/Process.h b/include/llvm/System/Process.h
index 08a20ed62b..600d8d5cc3 100644
--- a/include/llvm/System/Process.h
+++ b/include/llvm/System/Process.h
@@ -67,7 +67,7 @@ namespace sys {
/// Not all operating systems support this feature. Where it is not
/// supported, the function should return 65536 as the value.
static int GetCurrentUserId();
-
+
/// This static function will return the process' current group id number.
/// Not all operating systems support this feature. Where it is not
/// supported, the function should return 65536 as the value.
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 086da4b46b..92ffd398a5 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -208,8 +208,8 @@ public:
/// This function returns true if the target allows unaligned stores. This is
/// used in situations where an array copy/move/set is converted to a sequence
- /// of store operations. It ensures that such replacements don't generate
- /// code that causes an alignment error (trap) on the target machine.
+ /// of store operations. It ensures that such replacements don't generate
+ /// code that causes an alignment error (trap) on the target machine.
/// @brief Determine if the target supports unaligned stores.
bool allowsUnalignedStores() const { return allowUnalignedStores; }
@@ -399,7 +399,7 @@ protected:
/// should assume that the memset will be done using as many of the largest
/// store operations first, followed by smaller ones, if necessary, per
/// alignment restrictions. For example, storing 9 bytes on a 32-bit machine
- /// with 16-bit alignment would result in four 2-byte stores and one 1-byte
+ /// with 16-bit alignment would result in four 2-byte stores and one 1-byte
/// store. This only applies to setting a constant array of a constant size.
/// @brief Specify maximum number of store instructions per memset call.
unsigned maxStoresPerM