From: Owen Anderson Date: Fri, 22 Jun 2007 17:04:40 +0000 (+0000) Subject: Remove some code that I was using for collecting performance information that should... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b3b37345deb6fdeffb8ccb56e42cb45745c97bfb;p=oota-llvm.git Remove some code that I was using for collecting performance information that should not have been committed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37706 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/GVNPRE.cpp b/lib/Transforms/Scalar/GVNPRE.cpp index f58ea47b41b..a08d179aa29 100644 --- a/lib/Transforms/Scalar/GVNPRE.cpp +++ b/lib/Transforms/Scalar/GVNPRE.cpp @@ -367,47 +367,47 @@ namespace { // Helper fuctions // FIXME: eliminate or document these better - void dump(const SmallPtrSet& s) const __attribute__((noinline)); - void clean(SmallPtrSet& set) __attribute__((noinline)); + void dump(const SmallPtrSet& s) const; + void clean(SmallPtrSet& set); Value* find_leader(SmallPtrSet& vals, - uint32_t v) __attribute__((noinline)); - Value* phi_translate(Value* V, BasicBlock* pred, BasicBlock* succ) __attribute__((noinline)); + uint32_t v); + Value* phi_translate(Value* V, BasicBlock* pred, BasicBlock* succ); void phi_translate_set(SmallPtrSet& anticIn, BasicBlock* pred, - BasicBlock* succ, SmallPtrSet& out) __attribute__((noinline)); + BasicBlock* succ, SmallPtrSet& out); void topo_sort(SmallPtrSet& set, - std::vector& vec) __attribute__((noinline)); + std::vector& vec); - void cleanup() __attribute__((noinline)); - bool elimination() __attribute__((noinline)); + void cleanup(); + bool elimination(); - void val_insert(SmallPtrSet& s, Value* v) __attribute__((noinline)); - void val_replace(SmallPtrSet& s, Value* v) __attribute__((noinline)); - bool dependsOnInvoke(Value* V) __attribute__((noinline)); + void val_insert(SmallPtrSet& s, Value* v); + void val_replace(SmallPtrSet& s, Value* v); + bool dependsOnInvoke(Value* V); void buildsets_availout(BasicBlock::iterator I, SmallPtrSet& currAvail, SmallPtrSet& currPhis, SmallPtrSet& currExps, SmallPtrSet& currTemps, BitVector& availNumbers, - BitVector& expNumbers) __attribute__((noinline)); + BitVector& expNumbers); bool buildsets_anticout(BasicBlock* BB, SmallPtrSet& anticOut, - std::set& visited) __attribute__((noinline)); + std::set& visited); unsigned buildsets_anticin(BasicBlock* BB, SmallPtrSet& anticOut, SmallPtrSet& currExps, SmallPtrSet& currTemps, - std::set& visited) __attribute__((noinline)); - unsigned buildsets(Function& F) __attribute__((noinline)); + std::set& visited); + unsigned buildsets(Function& F); void insertion_pre(Value* e, BasicBlock* BB, std::map& avail, - SmallPtrSet& new_set) __attribute__((noinline)); + SmallPtrSet& new_set); unsigned insertion_mergepoint(std::vector& workList, df_iterator& D, - SmallPtrSet& new_set) __attribute__((noinline)); - bool insertion(Function& F) __attribute__((noinline)); + SmallPtrSet& new_set); + bool insertion(Function& F); };