/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleContextTracker.cpp | 31 FunctionId CalleeName) { in getChildContext() argument 32 if (CalleeName.empty()) in getChildContext() 35 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getChildContext() 106 FunctionId CalleeName) { in removeChildContext() argument 107 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in removeChildContext() 180 const LineLocation &CallSite, FunctionId CalleeName, bool AllowCreate) { in getOrCreateChildContext() argument 181 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getOrCreateChildContext() 184 assert(It->second.getFuncName() == CalleeName && in getOrCreateChildContext() 192 AllChildContext[Hash] = ContextTrieNode(this, CalleeName, nullptr, CallSite); in getOrCreateChildContext() 227 StringRef CalleeName) { in getCalleeContextSamplesFor() argument [all …]
|
H A D | SampleProfileMatcher.cpp | 64 StringRef CalleeName = PrevDIL->getSubprogramLinkageName(); in findIRAnchors() local 65 return std::make_pair(Callsite, FunctionId(CalleeName)); in findIRAnchors() 69 StringRef CalleeName = UnknownIndirectCallee; in findIRAnchors() local 71 CalleeName = FunctionSamples::getCanonicalFnName(Callee->getName()); in findIRAnchors() 72 return CalleeName; in findIRAnchors() 89 StringRef CalleeName; in findIRAnchors() local 93 CalleeName = GetCanonicalCalleeName(CB); in findIRAnchors() 96 IRAnchors.emplace(Loc, FunctionId(CalleeName)); in findIRAnchors() 111 StringRef CalleeName = GetCanonicalCalleeName(dyn_cast<CallBase>(&I)); in findIRAnchors() local 112 IRAnchors.emplace(Callsite, FunctionId(CalleeName)); in findIRAnchors() [all …]
|
H A D | SampleProfile.cpp | 700 StringRef CalleeName; in findCalleeFunctionSamples() local 702 CalleeName = Callee->getName(); in findCalleeFunctionSamples() 705 return ContextTracker->getCalleeContextSamplesFor(Inst, CalleeName); in findCalleeFunctionSamples() 712 CalleeName, Reader->getRemapper(), in findCalleeFunctionSamples()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | SampleProf.cpp | 282 const LineLocation &Loc, StringRef CalleeName, in findFunctionSamplesAt() argument 286 CalleeName = getCanonicalFnName(CalleeName); in findFunctionSamplesAt() 291 auto FS = I->second.find(getRepInFormat(CalleeName)); in findFunctionSamplesAt() 296 auto R = FuncNameToProfNameMap->find(FunctionId(CalleeName)); in findFunctionSamplesAt() 298 CalleeName = R->second.stringRef(); in findFunctionSamplesAt() 299 auto FS = I->second.find(getRepInFormat(CalleeName)); in findFunctionSamplesAt() 306 if (auto NameInProfile = Remapper->lookUpNameInProfile(CalleeName)) { in findFunctionSamplesAt() 315 if (!CalleeName.empty()) in findFunctionSamplesAt() 431 FunctionId CalleeName) { in getOrCreateChildFrame() argument 432 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getOrCreateChildFrame() [all …]
|
H A D | SampleProfReader.cpp | 216 uint32_t &Discriminator, StringRef &CalleeName, in ParseLine() argument 304 CalleeName = Rest.substr(0, n3); in ParseLine()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 604 StringRef CalleeName = Callee->getName(); in canLongjmp() local 610 if (CalleeName == "setjmp" || CalleeName == "malloc" || CalleeName == "free") in canLongjmp() 614 if (CalleeName == "__resumeException" || CalleeName == "llvm_eh_typeid_for" || in canLongjmp() 615 CalleeName == "__wasm_setjmp" || CalleeName == "__wasm_setjmp_test" || in canLongjmp() 616 CalleeName == "getTempRet0" || CalleeName == "setTempRet0") in canLongjmp() 658 if (CalleeName == "__cxa_end_catch") in canLongjmp() 660 if (CalleeName == "__cxa_begin_catch" || in canLongjmp() 661 CalleeName == "__cxa_allocate_exception" || CalleeName == "__cxa_throw" || in canLongjmp() 662 CalleeName == "__clang_call_terminate") in canLongjmp() 667 if (CalleeName == "_ZSt9terminatev") in canLongjmp() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | SampleContextTracker.h | 101 StringRef CalleeName); 132 FunctionId CalleeName); 193 FunctionId CalleeName);
|
H A D | ProfiledCallGraph.h | 150 void addProfiledCall(FunctionId CallerName, FunctionId CalleeName, 153 auto CalleeIt = ProfiledFunctions.find(CalleeName);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DiagnosticInfo.h | 1102 StringRef CalleeName; variable 1107 DiagnosticInfoDontCall(StringRef CalleeName, StringRef Note, in DiagnosticInfoDontCall() argument 1109 : DiagnosticInfo(DK_DontCall, DS), CalleeName(CalleeName), Note(Note), in DiagnosticInfoDontCall() 1111 StringRef getFunctionName() const { return CalleeName; } in getFunctionName()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | IRSimilarityIdentifier.h | 141 std::optional<std::string> CalleeName; member 281 llvm::hash_value(*ID.CalleeName), in hash_value() 286 std::string FunctionName = *ID.CalleeName; in hash_value()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | IRSimilarityIdentifier.cpp | 136 CalleeName = ""; in setCalleeName() 146 CalleeName = in setCalleeName() 150 CalleeName = Intrinsic::getName(IntrinsicID).str(); in setCalleeName() 156 CalleeName = CI->getCalledFunction()->getName().str(); in setCalleeName() 216 assert(CalleeName && "CalleeName has not been set"); in getCalleeName() 218 return *CalleeName; in getCalleeName()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SampleProf.h | 926 const LineLocation &Loc, StringRef CalleeName, 1421 FunctionId CalleeName);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 9023 void CheckFreeArgumentsOnLvalue(Sema &S, const std::string &CalleeName, in CheckFreeArgumentsOnLvalue() argument 9027 << CalleeName << 0 /*object: */ << cast<NamedDecl>(D); in CheckFreeArgumentsOnLvalue() 9032 void CheckFreeArgumentsAddressof(Sema &S, const std::string &CalleeName, in CheckFreeArgumentsAddressof() argument 9038 return CheckFreeArgumentsOnLvalue(S, CalleeName, UnaryExpr, D); in CheckFreeArgumentsAddressof() 9042 return CheckFreeArgumentsOnLvalue(S, CalleeName, UnaryExpr, in CheckFreeArgumentsAddressof() 9046 void CheckFreeArgumentsPlus(Sema &S, const std::string &CalleeName, in CheckFreeArgumentsPlus() argument 9054 << CalleeName << 2 /*object: lambda expression*/; in CheckFreeArgumentsPlus() 9057 void CheckFreeArgumentsStackArray(Sema &S, const std::string &CalleeName, in CheckFreeArgumentsStackArray() argument 9064 << CalleeName << 0 /*object: */ << Var; in CheckFreeArgumentsStackArray() 9067 void CheckFreeArgumentsCast(Sema &S, const std::string &CalleeName, in CheckFreeArgumentsCast() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.h | 607 makeExternalCall(SDValue Chain, SelectionDAG &DAG, const char *CalleeName,
|
H A D | SystemZISelLowering.cpp | 2119 SDValue Chain, SelectionDAG &DAG, const char *CalleeName, EVT RetVT, in makeExternalCall() argument 2135 DAG.getExternalSymbol(CalleeName, getPointerTy(DAG.getDataLayout())); in makeExternalCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1916 StringRef CalleeName = CalleeFn->getName(); in optimizeDoubleFP() local 1921 CallerName.size() == (CalleeName.size() + 1) && in optimizeDoubleFP() 1922 CallerName.starts_with(CalleeName)) in optimizeDoubleFP() 1939 R = isBinary ? emitBinaryFloatFnCall(V[0], V[1], TLI, CalleeName, B, in optimizeDoubleFP() 1941 : emitUnaryFloatFnCall(V[0], TLI, CalleeName, B, CalleeAttrs); in optimizeDoubleFP()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.cpp | 777 const char *CalleeName = E->getSymbol(); in hasReturnsTwiceAttr() local 778 CalleeFn = M->getFunction(CalleeName); in hasReturnsTwiceAttr()
|