aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-06-22 17:04:40 +0000
committerOwen Anderson <resistor@mac.com>2007-06-22 17:04:40 +0000
commitb3b37345deb6fdeffb8ccb56e42cb45745c97bfb (patch)
tree727a4b3870e7f6d646b0819dc44c342633d0b30c /lib/Transforms
parent0819a9d386e2b690abee8ae779c8ba84639ec664 (diff)
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/GVNPRE.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/Transforms/Scalar/GVNPRE.cpp b/lib/Transforms/Scalar/GVNPRE.cpp
index f58ea47b41..a08d179aa2 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<Value*, 32>& s) const __attribute__((noinline));
- void clean(SmallPtrSet<Value*, 32>& set) __attribute__((noinline));
+ void dump(const SmallPtrSet<Value*, 32>& s) const;
+ void clean(SmallPtrSet<Value*, 32>& set);
Value* find_leader(SmallPtrSet<Value*, 32>& 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<Value*, 32>& anticIn, BasicBlock* pred,
- BasicBlock* succ, SmallPtrSet<Value*, 32>& out) __attribute__((noinline));
+ BasicBlock* succ, SmallPtrSet<Value*, 32>& out);
void topo_sort(SmallPtrSet<Value*, 32>& set,
- std::vector<Value*>& vec) __attribute__((noinline));
+ std::vector<Value*>& vec);
- void cleanup() __attribute__((noinline));
- bool elimination() __attribute__((noinline));
+ void cleanup();
+ bool elimination();
- void val_insert(SmallPtrSet<Value*, 32>& s, Value* v) __attribute__((noinline));
- void val_replace(SmallPtrSet<Value*, 32>& s, Value* v) __attribute__((noinline));
- bool dependsOnInvoke(Value* V) __attribute__((noinline));
+ void val_insert(SmallPtrSet<Value*, 32>& s, Value* v);
+ void val_replace(SmallPtrSet<Value*, 32>& s, Value* v);
+ bool dependsOnInvoke(Value* V);
void buildsets_availout(BasicBlock::iterator I,
SmallPtrSet<Value*, 32>& currAvail,
SmallPtrSet<PHINode*, 32>& currPhis,
SmallPtrSet<Value*, 32>& currExps,
SmallPtrSet<Value*, 32>& currTemps,
BitVector& availNumbers,
- BitVector& expNumbers) __attribute__((noinline));
+ BitVector& expNumbers);
bool buildsets_anticout(BasicBlock* BB,
SmallPtrSet<Value*, 32>& anticOut,
- std::set<BasicBlock*>& visited) __attribute__((noinline));
+ std::set<BasicBlock*>& visited);
unsigned buildsets_anticin(BasicBlock* BB,
SmallPtrSet<Value*, 32>& anticOut,
SmallPtrSet<Value*, 32>& currExps,
SmallPtrSet<Value*, 32>& currTemps,
- std::set<BasicBlock*>& visited) __attribute__((noinline));
- unsigned buildsets(Function& F) __attribute__((noinline));
+ std::set<BasicBlock*>& visited);
+ unsigned buildsets(Function& F);
void insertion_pre(Value* e, BasicBlock* BB,
std::map<BasicBlock*, Value*>& avail,
- SmallPtrSet<Value*, 32>& new_set) __attribute__((noinline));
+ SmallPtrSet<Value*, 32>& new_set);
unsigned insertion_mergepoint(std::vector<Value*>& workList,
df_iterator<DomTreeNode*>& D,
- SmallPtrSet<Value*, 32>& new_set) __attribute__((noinline));
- bool insertion(Function& F) __attribute__((noinline));
+ SmallPtrSet<Value*, 32>& new_set);
+ bool insertion(Function& F);
};