Home
last modified time | relevance | path

Searched refs:CallSite (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp24 const StackFrameContext *CallSite; member in __anon2f4e83b00111::CountKey
29 : CallSite(CS), BlockID(ID) {} in CountKey()
32 return (CallSite == RHS.CallSite) && (BlockID == RHS.BlockID); in operator ==()
36 return std::tie(CallSite, BlockID) < std::tie(RHS.CallSite, RHS.BlockID); in operator <()
40 ID.AddPointer(CallSite); in Profile()
57 unsigned BlockCounter::getNumVisited(const StackFrameContext *CallSite, in getNumVisited() argument
60 CountMap::data_type* T = M.lookup(CountKey(CallSite, BlockID)); in getNumVisited()
74 const StackFrameContext *CallSite, in IncrementCount() argument
77 CountKey(CallSite, BlockID), in IncrementCount()
78 BC.getNumVisited(CallSite, BlockID)+1).getRoot()); in IncrementCount()
H A DCallEvent.cpp1433 const Stmt *CallSite = CalleeCtx->getCallSite(); in getCaller() local
1435 if (CallSite) { in getCaller()
1436 if (CallEventRef<> Out = getCall(CallSite, State, CallerCtx, ElemRef)) in getCaller()
1444 if (const auto *CE = dyn_cast<CXXConstructExpr>(CallSite)) in getCaller()
1447 else if (const auto *CIE = dyn_cast<CXXInheritedCtorInitExpr>(CallSite)) in getCaller()
H A DMemRegion.cpp989 const Stmt *CallSite = SFC->getCallSite(); in getVarRegion() local
990 if (CallSite) { in getVarRegion()
994 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
998 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
1001 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
H A DBugReporter.cpp296 const Stmt *CallSite = CExit.getCalleeContext()->getCallSite(); in getMessage() local
297 const auto *CE = dyn_cast_or_null<CallExpr>(CallSite); in getMessage()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp33 return getHottestChildContext(CallSite); in getChildContext()
35 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getChildContext()
43 ContextTrieNode::getHottestChildContext(const LineLocation &CallSite) { in getHottestChildContext() argument
51 if (ChildNode.CallSiteLoc != CallSite) in getHottestChildContext()
67 const LineLocation &CallSite, in moveContextSamples() argument
76 NewNode.setCallSiteLoc(CallSite); in moveContextSamples()
105 void ContextTrieNode::removeChildContext(const LineLocation &CallSite, in removeChildContext() argument
263 if (ChildNode.getCallSiteLoc() != CallSite) in getIndirectCalleeContextSamplesFor()
386 if (CallSite != NodeToPromo->getCallSiteLoc()) in promoteMergeContextSamplesTree()
398 CallerNode->getChildContext(CallSite, CalleeName); in promoteMergeContextSamplesTree()
[all …]
H A DSampleProfile.cpp796 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in findIndirectCallFunctionSamples() local
798 if (auto T = FS->findCallTargetMapAt(CallSite)) in findIndirectCallFunctionSamples()
801 if (const FunctionSamplesMap *M = FS->findFunctionSamplesMapAt(CallSite)) { in findIndirectCallFunctionSamples()
1680 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in generateMDProfMetadata() local
1682 FS->findCallTargetMapAt(CallSite); in generateMDProfMetadata()
1704 FS->findFunctionSamplesMapAt(CallSite)) { in generateMDProfMetadata()
H A DAttributorAttributes.cpp12949 SWITCH_PK_CREATE(CLASS, IRP, IRP_CALL_SITE, CallSite) \
12988 SWITCH_PK_CREATE(CLASS, IRP, IRP_CALL_SITE, CallSite) \
13021 SWITCH_PK_CREATE(CLASS, IRP, IRP_CALL_SITE, CallSite) \
13061 CREATE_ABSTRACT_ATTRIBUTE_FOR_ONE_POSITION(IRP_CALL_SITE, CallSite,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h42 ContextTrieNode *getChildContext(const LineLocation &CallSite,
44 ContextTrieNode *getHottestChildContext(const LineLocation &CallSite);
45 ContextTrieNode *getOrCreateChildContext(const LineLocation &CallSite,
48 void removeChildContext(const LineLocation &CallSite, FunctionId ChildName);
202 const LineLocation &CallSite,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBlockCounter.h37 unsigned getNumVisited(const StackFrameContext *CallSite,
48 const StackFrameContext *CallSite,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DReplayInlineAdvisor.cpp63 auto CallSite = Pair.second.split(";").first; in ReplayInlineAdvisor() local
65 if (Callee.empty() || Caller.empty() || CallSite.empty()) { in ReplayInlineAdvisor()
70 std::string Combined = (Callee + CallSite).str(); in ReplayInlineAdvisor()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h303 const Stmt *CallSite; variable
319 : LocationContext(StackFrame, ADC, ParentLC, ID), CallSite(S), in StackFrameContext()
325 const Stmt *getCallSite() const { return CallSite; } in getCallSite()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp175 const Stmt *CallSite = Context.getStackFrame()->getCallSite(); in checkEndFunction() local
176 if (CallSite) in checkEndFunction()
178 CallSite, Context.getSourceManager(), Node->getLocationContext()); in checkEndFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProf.cpp414 ProfileConverter::FrameNode::getOrCreateChildFrame(const LineLocation &CallSite, in getOrCreateChildFrame() argument
416 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getOrCreateChildFrame()
424 AllChildFrames[Hash] = FrameNode(CalleeName, nullptr, CallSite); in getOrCreateChildFrame()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp138 Value *CallSite = in insertCallSiteStore() local
143 Builder.CreateStore(CallSiteNoC, CallSite, true /*volatile*/); in insertCallSiteStore()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h898 findCallTargetMapAt(const LineLocation &CallSite) const {
899 const auto &Ret = BodySamples.find(mapIRLocToProfileLoc(CallSite));
1413 FrameNode *getOrCreateChildFrame(const LineLocation &CallSite,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h275 CallSite, enumerator
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp273 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CallSite, OS) in operator <<()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp415 Profile(ID, getAnalysisDeclContext(), getParent(), CallSite, Block, in Profile()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h577 void addHeapAllocSiteMetadata(llvm::CallBase *CallSite, QualType AllocatedTy,
H A DCGObjCMac.cpp2211 llvm::CallBase *CallSite; in EmitMessageSend() local
2214 &CallSite); in EmitMessageSend()
2219 CallSite->setDoesNotReturn(); in EmitMessageSend()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.cpp269 return PDB_SymType::CallSite; in CVSymToPDBSym()