Home
last modified time | relevance | path

Searched refs:DeadFunctions (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalDCE.cpp105 std::vector<Function*> DeadFunctions; in runOnModule() local
108 DeadFunctions.push_back(I); // Keep track of dead globals in runOnModule()
122 if (!DeadFunctions.empty()) { in runOnModule()
125 for (unsigned i = 0, e = DeadFunctions.size(); i != e; ++i) { in runOnModule()
126 RemoveUnusedGlobalValue(*DeadFunctions[i]); in runOnModule()
127 M.getFunctionList().erase(DeadFunctions[i]); in runOnModule()
129 NumFunctions += DeadFunctions.size(); in runOnModule()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBasicInliner.cpp66 SmallPtrSet<Function *, 8> DeadFunctions; member
136 DeadFunctions.insert(Callee); in inlineFunctions()
146 for(SmallPtrSet<Function *, 8>::iterator I = DeadFunctions.begin(), in inlineFunctions()
147 E = DeadFunctions.end(); I != E; ++I) { in inlineFunctions()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp141 std::vector<Function *> DeadFunctions; in run() local
144 DeadFunctions.push_back(&F); // Keep track of dead globals in run()
165 if (!DeadFunctions.empty()) { in run()
168 for (Function *F : DeadFunctions) { in run()
172 NumFunctions += DeadFunctions.size(); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp223 std::vector<Function *> DeadFunctions; in run() local
226 DeadFunctions.push_back(&F); // Keep track of dead globals in run()
255 NumFunctions += DeadFunctions.size(); in run()
256 for (Function *F : DeadFunctions) in run()
DInliner.cpp898 SmallVector<Function *, 4> DeadFunctions; in run() local
1053 assert(find(DeadFunctions, &Callee) == DeadFunctions.end() && in run()
1055 DeadFunctions.push_back(&Callee); in run()
1122 for (Function *DeadF : DeadFunctions) { in run()