Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncToAsyncRuntime.cpp636 static void rewriteCallsiteForCoroutine(func::CallOp oldCall, in rewriteCallsiteForCoroutine() argument
639 ImplicitLocOpBuilder callBuilder(loc, oldCall); in rewriteCallsiteForCoroutine()
641 func.getName(), func.getCallableResults(), oldCall.getArgOperands()); in rewriteCallsiteForCoroutine()
652 oldCall.replaceAllUsesWith(unwrappedResults); in rewriteCallsiteForCoroutine()
653 oldCall.erase(); in rewriteCallsiteForCoroutine()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjC.cpp2364 auto *oldCall = cast<llvm::CallBase>(value); in emitOptimizedARCReturnCall() local
2366 oldCall, llvm::LLVMContext::OB_clang_arc_attachedcall, OB, oldCall); in emitOptimizedARCReturnCall()
2367 newCall->copyMetadata(*oldCall); in emitOptimizedARCReturnCall()
2368 oldCall->replaceAllUsesWith(newCall); in emitOptimizedARCReturnCall()
2369 oldCall->eraseFromParent(); in emitOptimizedARCReturnCall()