Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Utils/
DCallGraphUpdater.cpp32 for (Function *DeadFn : DeadFunctions) { in finalize()
33 DeadFn->removeDeadConstantUsers(); in finalize()
34 CallGraphNode *DeadCGN = (*CG)[DeadFn]; in finalize()
37 DeadFn->replaceAllUsesWith(UndefValue::get(DeadFn->getType())); in finalize()
41 for (Function *DeadFn : DeadFunctions) { in finalize()
42 CallGraphNode *DeadCGN = CG->getOrInsertFunction(DeadFn); in finalize()
50 for (Function *DeadFn : DeadFunctions) { in finalize()
51 DeadFn->removeDeadConstantUsers(); in finalize()
52 DeadFn->replaceAllUsesWith(UndefValue::get(DeadFn->getType())); in finalize()
54 if (LCG && !ReplacedFunctions.count(DeadFn)) { in finalize()
[all …]