| 71 | |
| 72 | |
| 73 | bool isRestrictedToRegularMalloc(llvm::Function* F) { |
| 74 | llvm::StringRef Name = F->getName(); |
| 75 | if(!llvmutils::starts_with(Name, "_Z")) |
| 76 | return false; |
| 77 | |
| 78 | if(NameStartsWithItaniumIdentifier(Name, "hipsycl")) |
| 79 | return true; |
| 80 | |
| 81 | return false; |
| 82 | } |
| 83 | |
| 84 | bool isStdFunction(llvm::Function* F) { |
| 85 | llvm::StringRef Name = F->getName(); |
no test coverage detected