Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1980 Instruction *OldCall = CS.getInstruction(); in visitCallSite() local
1983 OldCall); in visitCallSite()
1986 if (!OldCall->getType()->isVoidTy()) in visitCallSite()
1987 ReplaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType())); in visitCallSite()
1988 if (isa<CallInst>(OldCall)) in visitCallSite()
1989 return EraseInstFromFunction(*OldCall); in visitCallSite()
1993 cast<InvokeInst>(OldCall)->setCalledFunction( in visitCallSite()