Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2029 Instruction *OldCall = &Call; in visitCallBase() local
2030 CreateNonTerminatorUnreachable(OldCall); in visitCallBase()
2033 if (!OldCall->getType()->isVoidTy()) in visitCallBase()
2034 replaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType())); in visitCallBase()
2035 if (isa<CallInst>(OldCall)) in visitCallBase()
2036 return eraseInstFromFunction(*OldCall); in visitCallBase()
2040 cast<CallBase>(OldCall)->setCalledFunction( in visitCallBase()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2534 Instruction *OldCall = CS.getInstruction(); in visitCallSite() local
2537 OldCall); in visitCallSite()
2540 if (!OldCall->getType()->isVoidTy()) in visitCallSite()
2541 replaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType())); in visitCallSite()
2542 if (isa<CallInst>(OldCall)) in visitCallSite()
2543 return eraseInstFromFunction(*OldCall); in visitCallSite()
2547 cast<InvokeInst>(OldCall)->setCalledFunction( in visitCallSite()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4454 Instruction *OldCall = &Call; in visitCallBase() local
4455 CreateNonTerminatorUnreachable(OldCall); in visitCallBase()
4458 if (!OldCall->getType()->isVoidTy()) in visitCallBase()
4459 replaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType())); in visitCallBase()
4460 if (isa<CallInst>(OldCall)) in visitCallBase()
4461 return eraseInstFromFunction(*OldCall); in visitCallBase()
4465 cast<CallBase>(OldCall)->setCalledFunction( in visitCallBase()