reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
803 if (auto F = dyn_cast<Function>(GA->getBaseObject())) { 804 bool GAInst = isInstrumented(GA), FInst = isInstrumented(F); 806 addGlobalNamePrefix(GA); 812 buildWrapperFunction(F, "", GA->getLinkage(), F->getFunctionType()); 813 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewF, GA->getType())); 813 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewF, GA->getType())); 814 NewF->takeName(GA); 815 GA->eraseFromParent();