Searched refs:FuncStart (Results 1 – 2 of 2) sorted by relevance
56 if (Function* FuncStart = M->getFunction(name)) { in StripDebugInfoOfFunction() local57 while (!FuncStart->use_empty()) { in StripDebugInfoOfFunction()58 cast<CallInst>(*FuncStart->use_begin())->eraseFromParent(); in StripDebugInfoOfFunction()60 FuncStart->eraseFromParent(); in StripDebugInfoOfFunction()
297 if (Function* FuncStart = M->getFunction(name)) { in StripDebugInfoOfFunction() local298 while (!FuncStart->use_empty()) { in StripDebugInfoOfFunction()299 cast<CallInst>(*FuncStart->use_begin())->eraseFromParent(); in StripDebugInfoOfFunction()301 FuncStart->eraseFromParent(); in StripDebugInfoOfFunction()