Searched refs:OldCall (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp900 Instruction *OldCall = CS.getInstruction(); local
903 OldCall);
904 // If OldCall does not return void then replaceAllUsesWith undef.
906 if (!OldCall->getType()->isVoidTy())
907 ReplaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType()));
908 if (isa<CallInst>(OldCall))
909 return EraseInstFromFunction(*OldCall);
913 cast<InvokeInst>(OldCall)->setCalledFunction(

Completed in 43 milliseconds