Lines Matching full:cse
1 //===- EarlyCSE.cpp - Simple and fast CSE pass ----------------------------===//
63 #define DEBUG_TYPE "early-cse"
66 STATISTIC(NumCSE, "Number of instructions CSE'd");
68 STATISTIC(NumCSELoad, "Number of load instructions CSE'd");
69 STATISTIC(NumCSECall, "Number of call instructions CSE'd");
70 STATISTIC(NumCSEGEP, "Number of GEP instructions CSE'd");
73 DEBUG_COUNTER(CSECounter, "early-cse",
127 // Since we CSE across function calls we must not allow in canHandle()
192 // mechanism that may remove flags to increase the likelihood of CSE. in matchSelectWithOptionalNotCond()
223 // Don't CSE convergent calls in different basic blocks, because they in hashCallInst()
334 // Don't CSE convergent calls in different basic blocks, because they in getHashValueImpl()
633 /// A simple and fast domtree-based CSE pass.
673 /// CSE loads with other loads that have no intervening store. Ordering
1531 LLVM_DEBUG(dbgs() << "EarlyCSE CSE: " << Inst << " to: " << *V in processNode()
1582 LLVM_DEBUG(dbgs() << "EarlyCSE CSE LOAD: " << Inst in processNode()
1629 LLVM_DEBUG(dbgs() << "EarlyCSE CSE CALL: " << Inst in processNode()
1658 LLVM_DEBUG(dbgs() << "EarlyCSE CSE GEP: " << Inst << " to: " << *V in processNode()
1720 // Okay, this isn't something we can CSE at all. Check to see if it is in processNode()
1836 EarlyCSE CSE(F.getDataLayout(), TLI, TTI, DT, AC, MSSA); in run() local
1838 if (!CSE.run()) in run()
1860 /// A simple and fast domtree-based CSE pass.
1890 EarlyCSE CSE(F.getDataLayout(), TLI, TTI, DT, AC, MSSA); in runOnFunction() local
1892 return CSE.run(); in runOnFunction()
1918 INITIALIZE_PASS_BEGIN(EarlyCSELegacyPass, "early-cse", "Early CSE", false,
1924 INITIALIZE_PASS_END(EarlyCSELegacyPass, "early-cse", "Early CSE", false, false)
1939 INITIALIZE_PASS_BEGIN(EarlyCSEMemSSALegacyPass, "early-cse-memssa",
1940 "Early CSE w/ MemorySSA", false, false)
1947 INITIALIZE_PASS_END(EarlyCSEMemSSALegacyPass, "early-cse-memssa",
1948 "Early CSE w/ MemorySSA", false, false)