reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/InlineFunction.cpp
 1542   assert(TheCall->getParent() && TheCall->getFunction()
 1542   assert(TheCall->getParent() && TheCall->getFunction()
 1546   if (isa<CallBrInst>(TheCall))
 1577   BasicBlock *OrigBB = TheCall->getParent();
 1695         ActualArg = HandleByValArgument(ActualArg, TheCall, CalledFunc, IFI,
 1715                               &InlinedFunctionInfo, TheCall);
 1724     updateCallProfile(CalledFunc, VMap, CalledFunc->getEntryCount(), TheCall,
 1795     fixupLineNumbers(Caller, FirstNewBlock, TheCall,
 1874     if (CallInst *CI = dyn_cast<CallInst>(TheCall))
 2036   if (auto *II = dyn_cast<InvokeInst>(TheCall)) {
 2118     if (Caller->getReturnType() == TheCall->getType()) {
 2177     bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy;
 2177     bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy;
 2226     OrigBB->getInstList().splice(TheCall->getIterator(),
 2234     if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) {
 2235       BranchInst *NewBr = BranchInst::Create(II->getNormalDest(), TheCall);
 2241     if (!TheCall->use_empty()) {
 2243       if (TheCall == R->getReturnValue())
 2244         TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType()));
 2244         TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType()));
 2246         TheCall->replaceAllUsesWith(R->getReturnValue());
 2249     TheCall->eraseFromParent();
 2266   if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) {
 2269     CreatedBranchToNormalDest = BranchInst::Create(II->getNormalDest(), TheCall);
 2282     AfterCallBB = OrigBB->splitBasicBlock(TheCall->getIterator(),
 2315     if (!TheCall->use_empty()) {
 2316       PHI = PHINode::Create(RTy, Returns.size(), TheCall->getName(),
 2320       TheCall->replaceAllUsesWith(PHI);
 2352     if (!TheCall->use_empty()) {
 2353       if (TheCall == Returns[0]->getReturnValue())
 2354         TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType()));
 2354         TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType()));
 2356         TheCall->replaceAllUsesWith(Returns[0]->getReturnValue());
 2374   } else if (!TheCall->use_empty()) {
 2377     TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType()));
 2377     TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType()));
 2381   TheCall->eraseFromParent();