Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp24 const StackFrameContext *CallSite; member in __anon6bb5763a0111::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.cpp1456 const Stmt *CallSite = CalleeCtx->getCallSite(); in getCaller() local
1458 if (CallSite) { in getCaller()
1459 if (CallEventRef<> Out = getCall(CallSite, State, CallerCtx, ElemRef)) in getCaller()
1467 if (const auto *CE = dyn_cast<CXXConstructExpr>(CallSite)) in getCaller()
1470 else if (const auto *CIE = dyn_cast<CXXInheritedCtorInitExpr>(CallSite)) in getCaller()
H A DMemRegion.cpp1047 const Stmt *CallSite = SFC->getCallSite(); in getVarRegion() local
1048 if (CallSite) { in getVarRegion()
1052 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
1056 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
1059 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
H A DBugReporter.cpp327 const Stmt *CallSite = CExit.getCalleeContext()->getCallSite(); in getMessage() local
328 const auto *CE = dyn_cast_or_null<CallExpr>(CallSite); in getMessage()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp30 ContextTrieNode *ContextTrieNode::getChildContext(const LineLocation &CallSite, in getChildContext() argument
33 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
70 FunctionSamples::getCallSiteHash(NodeToMove.getFuncName(), CallSite); in moveContextSamples()
76 NewNode.setCallSiteLoc(CallSite); in moveContextSamples()
105 void ContextTrieNode::removeChildContext(const LineLocation &CallSite, in removeChildContext() argument
107 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in removeChildContext()
[all …]
H A DSampleProfile.cpp759 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in findIndirectCallFunctionSamples() local
761 if (auto T = FS->findCallTargetMapAt(CallSite)) in findIndirectCallFunctionSamples()
764 if (const FunctionSamplesMap *M = FS->findFunctionSamplesMapAt(CallSite)) { in findIndirectCallFunctionSamples()
1633 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in generateMDProfMetadata() local
1635 FS->findCallTargetMapAt(CallSite); in generateMDProfMetadata()
1657 FS->findFunctionSamplesMapAt(CallSite)) { in generateMDProfMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h43 LLVM_ABI ContextTrieNode *getChildContext(const LineLocation &CallSite,
46 getHottestChildContext(const LineLocation &CallSite);
48 getOrCreateChildContext(const LineLocation &CallSite, FunctionId ChildName,
50 LLVM_ABI void removeChildContext(const LineLocation &CallSite,
208 const LineLocation &CallSite,
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBlockCounter.h37 unsigned getNumVisited(const StackFrameContext *CallSite,
48 const StackFrameContext *CallSite,
/freebsd/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/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRPrinter.cpp574 yaml::MachineInstrLoc CallSite; in convertCalledGlobals() local
575 CallSite.BlockNum = CallInst->getParent()->getNumber(); in convertCalledGlobals()
576 CallSite.Offset = std::distance(CallInst->getParent()->instr_begin(), in convertCalledGlobals()
579 yaml::CalledGlobal YamlCG{CallSite, CG.Callee->getName().str(), in convertCalledGlobals()
587 return std::tie(A.CallSite.BlockNum, A.CallSite.Offset) < in convertCalledGlobals()
588 std::tie(B.CallSite.BlockNum, B.CallSite.Offset); in convertCalledGlobals()
H A DSjLjEHPrepare.cpp138 Value *CallSite = in insertCallSiteStore() local
143 Builder.CreateStore(CallSiteNoC, CallSite, true /*volatile*/); in insertCallSiteStore()
/freebsd/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/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProf.cpp458 ProfileConverter::FrameNode::getOrCreateChildFrame(const LineLocation &CallSite, in getOrCreateChildFrame() argument
460 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getOrCreateChildFrame()
468 AllChildFrames[Hash] = FrameNode(CalleeName, nullptr, CallSite); in getOrCreateChildFrame()
H A DMemProfReader.cpp826 for (const auto &CallSite : Record.CallSites) { in parse() local
827 CallStackId CSId = AddCallStack(CallSite.Frames); in parse()
828 IndexedRecord.CallSites.emplace_back(CSId, CallSite.CalleeGuids); in parse()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h599 MachineInstrLoc CallSite;
604 return CallSite == Other.CallSite && Callee == Other.Callee &&
611 YamlIO.mapRequired("bb", CG.CallSite.BlockNum);
612 YamlIO.mapRequired("offset", CG.CallSite.Offset);
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h910 findCallTargetMapAt(const LineLocation &CallSite) const {
911 const auto &Ret = BodySamples.find(mapIRLocToProfileLoc(CallSite));
1433 LLVM_ABI FrameNode *getOrCreateChildFrame(const LineLocation &CallSite,
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h275 CallSite, enumerator
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.cpp268 const Expr *CallSite = S.Current->Caller->getExpr(S.Current->getRetPC()); in cleanupAfterFunctionCall() local
269 if (const auto *CE = dyn_cast<CallExpr>(CallSite)) { in cleanupAfterFunctionCall()
272 } else if (const auto *CE = dyn_cast<CXXConstructExpr>(CallSite)) { in cleanupAfterFunctionCall()
280 isa<CXXOperatorCallExpr>(CallSite)); in cleanupAfterFunctionCall()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp277 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CallSite, OS) in operator <<()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFunctionEffects.cpp1103 void followTypeDtor(QualType QT, SourceLocation CallSite) { in followTypeDtor()
1116 followCall(CI, CallSite); in followTypeDtor()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp413 Profile(ID, getAnalysisDeclContext(), getParent(), CallSite, Block, in Profile()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h618 void addHeapAllocSiteMetadata(llvm::CallBase *CallSite, QualType AllocatedTy,
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.cpp269 return PDB_SymType::CallSite; in CVSymToPDBSym()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp1146 yaml::MachineInstrLoc MILoc = YamlCG.CallSite; in parseCalledGlobals()

12