Home | History | Annotate | Download | only in Scalar

Lines Matching refs:EarlyCSE

1 //===- EarlyCSE.cpp - Simple and fast CSE pass ----------------------------===//
204 // EarlyCSE pass.
209 /// EarlyCSE - This pass does a simple depth-first walk over the dominator
215 class EarlyCSE : public FunctionPass {
253 explicit EarlyCSE() : FunctionPass(ID) {
271 char EarlyCSE::ID = 0;
275 return new EarlyCSE();
278 INITIALIZE_PASS_BEGIN(EarlyCSE, "early-cse", "Early CSE", false, false)
280 INITIALIZE_PASS_END(EarlyCSE, "early-cse", "Early CSE", false, false)
282 bool EarlyCSE::processNode(DomTreeNode *Node) {
322 DEBUG(dbgs() << "EarlyCSE DCE: " << *Inst << '\n');
332 DEBUG(dbgs() << "EarlyCSE Simplify: " << *Inst << " to: " << *V << '\n');
344 DEBUG(dbgs() << "EarlyCSE CSE: " << *Inst << " to: " << *V << '\n');
370 DEBUG(dbgs() << "EarlyCSE CSE LOAD: " << *Inst << " to: "
396 DEBUG(dbgs() << "EarlyCSE CSE CALL: " << *Inst << " to: "
422 DEBUG(dbgs() << "EarlyCSE DEAD STORE: " << *LastStore << " due to: "
456 bool EarlyCSE::runOnFunction(Function &F) {