Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp24 const StackFrameContext *CallSite; member in __anon2a72336a0111::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.cpp1366 const Stmt *CallSite = CalleeCtx->getCallSite(); in getCaller() local
1368 if (CallSite) { in getCaller()
1369 if (CallEventRef<> Out = getCall(CallSite, State, CallerCtx)) in getCaller()
1377 if (const auto *CE = dyn_cast<CXXConstructExpr>(CallSite)) in getCaller()
1379 else if (const auto *CIE = dyn_cast<CXXInheritedCtorInitExpr>(CallSite)) in getCaller()
H A DMemRegion.cpp958 const Stmt *CallSite = SFC->getCallSite(); in getVarRegion() local
959 if (CallSite) { in getVarRegion()
963 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
967 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
970 return getSubRegion<ParamVarRegion>(cast<Expr>(CallSite), Index, in getVarRegion()
/llvm-project-15.0.7/llvm/test/Transforms/CallSiteSplitting/
H A Dcallsite-instructions-before-call.ll32 ; CHECK: br label %CallSite
36 ; CHECK: br label %CallSite
37 ; CHECK: CallSite:
66 ; CHECK: br label %CallSite
70 ; CHECK: br label %CallSite
71 ; CHECK: CallSite:
103 ; CHECK-LABEL: CallSite:
138 ; CHECK-LABEL: CallSite:
151 CallSite:
172 ; CHECK-LABEL: CallSite:
[all …]
H A Dcallsite-split-preserve-debug.ll6 ; CHECK-LABEL: CallSite:
11 br i1 undef, label %CallSite, label %land.rhs
14 br label %CallSite
16 CallSite: ; preds = %land.rhs, %entry
27 ; CHECK-LABEL: CallSite:
34 br i1 %tobool, label %TBB, label %CallSite
37 br i1 undef, label %CallSite, label %End
39 CallSite: ; preds = %TBB, %Header
45 End: ; preds = %CallSite, %TBB
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A D2003-11-27-MultipleInheritanceThunk.cpp5 struct CallSite { struct
8 CallSite(const CallSite &CS); argument
14 virtual int getModRefInfo(CallSite CS);
24 int getModRefInfo(CallSite CS) { in getModRefInfo()
H A Dx86_32-arguments.cpp35 struct CallSite { struct
37 CallSite(unsigned XX) : Ptr(XX) {} in CallSite() function
42 virtual void getModRefInfo(CallSite CS) = 0;
50 void getModRefInfo(CallSite CS);
53 void BasicAliasAnalysis::getModRefInfo(CallSite CS) { in getModRefInfo()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp34 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
77 NewNode.setCallSiteLoc(CallSite); in moveContextSamples()
106 void ContextTrieNode::removeChildContext(const LineLocation &CallSite, in removeChildContext() argument
264 if (ChildNode.getCallSiteLoc() != CallSite) in getIndirectCalleeContextSamplesFor()
391 if (CallSite != NodeToPromo->getCallSiteLoc()) in promoteMergeContextSamplesTree()
403 CallerNode->getChildContext(CallSite, CalleeName); in promoteMergeContextSamplesTree()
[all …]
H A DSampleProfile.cpp717 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in findIndirectCallFunctionSamples() local
718 auto T = FS->findCallTargetMapAt(CallSite); in findIndirectCallFunctionSamples()
723 if (const FunctionSamplesMap *M = FS->findFunctionSamplesMapAt(CallSite)) { in findIndirectCallFunctionSamples()
1595 auto CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in generateMDProfMetadata() local
1596 auto T = FS->findCallTargetMapAt(CallSite); in generateMDProfMetadata()
1618 FS->findFunctionSamplesMapAt(CallSite)) { in generateMDProfMetadata()
/llvm-project-15.0.7/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, StringRef ChildName);
205 const LineLocation &CallSite,
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dinvalid-instantiated-field-decl.cpp30 class CallSite; // expected-note {{forward declaration of 'CallSite'}}
34 …SmallVector<CallSite, 2> DevirtualizedCalls; // expected-note {{in instantiation of template class…
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBlockCounter.h37 unsigned getNumVisited(const StackFrameContext *CallSite,
48 const StackFrameContext *CallSite,
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryEmitter.cpp875 for (const BinaryFunction::CallSite &CallSite : *Sites) in emitLSDA()
876 CallSiteTableLength += getULEB128Size(CallSite.Action); in emitLSDA()
967 for (const BinaryFunction::CallSite &CallSite : *Sites) { in emitLSDA()
968 const MCSymbol *BeginLabel = CallSite.Start; in emitLSDA()
969 const MCSymbol *EndLabel = CallSite.End; in emitLSDA()
978 emitLandingPad(CallSite.LP); in emitLSDA()
979 Streamer.emitULEB128IntValue(CallSite.Action); in emitLSDA()
H A DExceptions.cpp391 Sites->emplace_back(CallSite{StartRange, getFunctionEndLabel(), in updateEHRanges()
456 CallSite{StartRange, EndRange, PreviousEH.LP, PreviousEH.Action}); in updateEHRanges()
476 CallSite{StartRange, EndRange, PreviousEH.LP, PreviousEH.Action}); in updateEHRanges()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp178 const Stmt *CallSite = Context.getStackFrame()->getCallSite(); in checkEndFunction() local
179 if (CallSite) in checkEndFunction()
181 CallSite, Context.getSourceManager(), Node->getLocationContext()); in checkEndFunction()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A 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()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp120 Value *CallSite = in insertCallSiteStore() local
125 Builder.CreateStore(CallSiteNoC, CallSite, true /*volatile*/); in insertCallSiteStore()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProf.h841 findCallTargetMapAt(const LineLocation &CallSite) const {
842 const auto &Ret = BodySamples.find(CallSite);
1263 FrameNode *getOrCreateChildFrame(const LineLocation &CallSite,
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h275 CallSite, enumerator
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp271 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CallSite, OS) in operator <<()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp416 Profile(ID, getAnalysisDeclContext(), getParent(), CallSite, Block, in Profile()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryFunction.h138 struct CallSite { struct
145 using CallSitesType = SmallVector<CallSite, 0>; argument
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/
H A Dnoalias.ll355 ; Simple CallSite Test
382 ; CallSite Test
397 ; CallSite Argument

12