search for: deadstoreelim

Displaying 1 result from an estimated 1 matches for "deadstoreelim".

2008 Aug 11
2
[LLVMdev] Applying different Optimizations for different Functions - Questions?
...en: bool ComplNewBBFuncs::runOnModule(Module &M) { Function *Main = M.getFunction("main"); if (Main == 0) { cerr << "!!! No Main Function" << std::endl; return false; } //Determine each Function LoopPass * UnrollLoops; FunctionPass *DeadStoreElim; LPPassManager *LPPM; Function *CurFunc1 = M.getFunction("NewFunction1"); Function &Current1 = (*CurFunc1); Function *CurFunc2 = M.getFunction("NewFunction2"); Function &Current2 = (*CurFunc2); cerr << "Dead Store Eliminations" << std:...