Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Utils/
DCallGraphUpdater.cpp140 bool CallGraphUpdater::replaceCallSite(CallBase &OldCS, CallBase &NewCS) { in replaceCallSite() argument
145 Function *Caller = OldCS.getCaller(); in replaceCallSite()
149 if (llvm::none_of(*CallerNode, [&OldCS](const CallGraphNode::CallRecord &CR) { in replaceCallSite()
150 return CR.first && *CR.first == &OldCS; in replaceCallSite()
153 CallerNode->replaceCallEdge(OldCS, NewCS, NewCalleeNode); in replaceCallSite()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DCallGraphUpdater.h104 bool replaceCallSite(CallBase &OldCS, CallBase &NewCS);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp108 Optional<function_ref<void(CallSite OldCS, CallSite NewCS)>> in doPromotion() argument
869 Optional<function_ref<void(CallSite OldCS, CallSite NewCS)>> in promoteArguments() argument
1138 auto ReplaceCallSite = [&](CallSite OldCS, CallSite NewCS) { in runOnSCC() argument
1139 Function *Caller = OldCS.getInstruction()->getParent()->getParent(); in runOnSCC()
1143 CallerNode->replaceCallEdge(*cast<CallBase>(OldCS.getInstruction()), in runOnSCC()
/external/llvm-project/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp108 Optional<function_ref<void(CallBase &OldCS, CallBase &NewCS)>> in doPromotion() argument
869 Optional<function_ref<void(CallBase &OldCS, CallBase &NewCS)>> in promoteArguments() argument
1138 auto ReplaceCallSite = [&](CallBase &OldCS, CallBase &NewCS) { in runOnSCC() argument
1139 Function *Caller = OldCS.getParent()->getParent(); in runOnSCC()
1143 CallerNode->replaceCallEdge(cast<CallBase>(OldCS), in runOnSCC()