Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp24 const StackFrameContext *CallSite; member in __anonbe1669360111::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()
DCallEvent.cpp1402 const Stmt *CallSite = CalleeCtx->getCallSite(); in getCaller() local
1404 if (CallSite) { in getCaller()
1405 if (CallEventRef<> Out = getCall(CallSite, State, CallerCtx)) in getCaller()
1413 if (const auto *CE = dyn_cast<CXXConstructExpr>(CallSite)) in getCaller()
1415 else if (const auto *CIE = dyn_cast<CXXInheritedCtorInitExpr>(CallSite)) in getCaller()
DMemRegion.cpp970 const Stmt *CallSite = SFC->getCallSite(); in getVarRegion() local
971 if (CallSite) { in getVarRegion()
975 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
979 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
982 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
DBugReporter.cpp293 const Stmt *CallSite = CExit.getCalleeContext()->getCallSite(); in getMessage() local
294 const auto *CE = dyn_cast_or_null<CallExpr>(CallSite); in getMessage()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DSampleContextTracker.cpp31 ContextTrieNode *ContextTrieNode::getChildContext(const LineLocation &CallSite, in getChildContext() argument
34 return getHottestChildContext(CallSite); in getChildContext()
36 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getChildContext()
44 ContextTrieNode::getHottestChildContext(const LineLocation &CallSite) { in getHottestChildContext() argument
52 if (ChildNode.CallSiteLoc != CallSite) in getHottestChildContext()
68 const LineLocation &CallSite, in moveContextSamples() argument
71 FunctionSamples::getCallSiteHash(NodeToMove.getFuncName(), CallSite); in moveContextSamples()
77 NewNode.setCallSiteLoc(CallSite); in moveContextSamples()
106 void ContextTrieNode::removeChildContext(const LineLocation &CallSite, in removeChildContext() argument
108 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in removeChildContext()
[all …]
DSampleProfile.cpp755 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in findIndirectCallFunctionSamples() local
756 auto T = FS->findCallTargetMapAt(CallSite); in findIndirectCallFunctionSamples()
761 if (const FunctionSamplesMap *M = FS->findFunctionSamplesMapAt(CallSite)) { in findIndirectCallFunctionSamples()
1631 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in generateMDProfMetadata() local
1632 auto T = FS->findCallTargetMapAt(CallSite); in generateMDProfMetadata()
1654 FS->findFunctionSamplesMapAt(CallSite)) { in generateMDProfMetadata()
DAttributorAttributes.cpp11590 SWITCH_PK_CREATE(CLASS, IRP, IRP_CALL_SITE, CallSite) \
11617 SWITCH_PK_CREATE(CLASS, IRP, IRP_CALL_SITE, CallSite) \
11650 SWITCH_PK_CREATE(CLASS, IRP, IRP_CALL_SITE, CallSite) \
/openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
DSampleContextTracker.h43 ContextTrieNode *getChildContext(const LineLocation &CallSite,
45 ContextTrieNode *getHottestChildContext(const LineLocation &CallSite);
46 ContextTrieNode *getOrCreateChildContext(const LineLocation &CallSite,
49 void removeChildContext(const LineLocation &CallSite, StringRef ChildName);
201 const LineLocation &CallSite,
/openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBlockCounter.h37 unsigned getNumVisited(const StackFrameContext *CallSite,
48 const StackFrameContext *CallSite,
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
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()
/openbsd/src/gnu/llvm/clang/include/clang/Analysis/
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()
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
DUninitializedObjectChecker.cpp178 const Stmt *CallSite = Context.getStackFrame()->getCallSite(); in checkEndFunction() local
179 if (CallSite) in checkEndFunction()
181 CallSite, Context.getSourceManager(), Node->getLocationContext()); in checkEndFunction()
/openbsd/src/gnu/llvm/llvm/lib/ProfileData/
DSampleProf.cpp466 const LineLocation &CallSite, StringRef CalleeName) { in getOrCreateChildFrame() argument
467 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getOrCreateChildFrame()
475 AllChildFrames[Hash] = FrameNode(CalleeName, nullptr, CallSite); in getOrCreateChildFrame()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp120 Value *CallSite = in insertCallSiteStore() local
125 Builder.CreateStore(CallSiteNoC, CallSite, true /*volatile*/); in insertCallSiteStore()
/openbsd/src/gnu/llvm/llvm/include/llvm/ProfileData/
DSampleProf.h849 findCallTargetMapAt(const LineLocation &CallSite) const {
850 const auto &Ret = BodySamples.find(CallSite);
1275 FrameNode *getOrCreateChildFrame(const LineLocation &CallSite,
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/
DPDBTypes.h275 CallSite, enumerator
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp271 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CallSite, OS) in operator <<()
/openbsd/src/gnu/llvm/clang/lib/Analysis/
DAnalysisDeclContext.cpp415 Profile(ID, getAnalysisDeclContext(), getParent(), CallSite, Block, in Profile()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGDebugInfo.h556 void addHeapAllocSiteMetadata(llvm::CallBase *CallSite, QualType AllocatedTy,
DCGObjCMac.cpp2219 llvm::CallBase *CallSite; in EmitMessageSend() local
2222 &CallSite); in EmitMessageSend()
2227 CallSite->setDoesNotReturn(); in EmitMessageSend()
/openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbUtil.cpp269 return PDB_SymType::CallSite; in CVSymToPDBSym()
/openbsd/src/gnu/llvm/llvm/docs/CommandGuide/
Dllvm-debuginfo-analyzer.rst510 =CallSite: A call site.
/openbsd/src/gnu/llvm/llvm/docs/
DLangRef.rst1643 least ``CallSite.Args[EltSizeParam]`` bytes will be available at the
1645 ``CallSite.Args[EltSizeParam] * CallSite.Args[NumEltsParam]`` bytes are