MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / isStdFunction

Function isStdFunction

src/compiler/stdpar/MallocToUSM.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84bool isStdFunction(llvm::Function* F) {
85 llvm::StringRef Name = F->getName();
86 if(llvmutils::starts_with(Name, "_ZNSt") ||
87 llvmutils::starts_with(Name, "_ZSt") ||
88 llvmutils::starts_with(Name, "_ZNKSt"))
89 return true;
90 return false;
91}
92
93template<class SetT>
94void collectAllCallees(llvm::CallGraph& CG, llvm::Function* F, SetT& Out) {

Callers 1

runMethod · 0.85

Calls 1

starts_withFunction · 0.85

Tested by

no test coverage detected