diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-14 05:43:23 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-14 05:43:23 +0000 |
commit | 1c7b907325e9cf3a0713ceab5029fef04d9e498c (patch) | |
tree | 309f209381b087a116d18a6fa3081cbd41b5e0e7 /include/llvm/Module.h | |
parent | 44da7d79760998f9a70340b49a3811229838224d (diff) |
Okay, the list of link-time passes wasn't such a hot idea. Its prone to
error. We'll strategize on this when we have multiple front ends to deal
with. For now llvm-ld just runs a standard set of transforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index 64a84d4db1..a4b675fd47 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -49,7 +49,6 @@ public: typedef iplist<GlobalVariable> GlobalListType; typedef iplist<Function> FunctionListType; typedef SetVector<std::string> LibraryListType; - typedef std::vector<std::string> PassListType; // Global Variable iterators... typedef GlobalListType::iterator giterator; @@ -66,9 +65,6 @@ public: // Library list iterators typedef LibraryListType::const_iterator lib_iterator; - // Link-time Pass list iterators - typedef PassListType::const_iterator pass_iterator; - enum Endianness { AnyEndianness, LittleEndian, BigEndian }; enum PointerSize { AnyPointerSize, Pointer32, Pointer64 }; @@ -76,7 +72,6 @@ private: GlobalListType GlobalList; // The Global Variables in the module FunctionListType FunctionList; // The Functions in the module LibraryListType LibraryList; // The Libraries needed by the module - PassListType PassList; // The Passes needed by the module at link time SymbolTable *SymTab; // Symbol Table for the module std::string ModuleID; // Human readable identifier for the module std::string TargetTriple; // Platform target triple Module compiled on @@ -253,27 +248,6 @@ public: inline const LibraryListType& getLibraries() const { return LibraryList; } //===--------------------------------------------------------------------===// - // Access functions for Link-time pass list - - /// @brief Get a constant iterator to beginning of pass list. - inline pass_iterator pass_begin() const { return PassList.begin(); } - - /// @brief Get a constant iterator to end of pass list. - inline pass_iterator pass_end() const { return PassList.end(); } - - /// @brief Returns the number of items in the list of passes. - inline unsigned pass_size() const { return PassList.size(); } - - /// @brief Add a library to the list of passes - inline void addPass(const std::string& Pass){ PassList.push_back(Pass); } - - /// @brief Remove a library from the list of passes - void removePass(const std::string& Lib); - - /// @brief Get all the passes - inline const PassListType& getPasses() const { return PassList; } - - //===--------------------------------------------------------------------===// // Utility functions for printing and dumping Module objects void print(std::ostream &OS) const { print(OS, 0); } |