Home
last modified time | relevance | path

Searched refs:CallRecord (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h146 struct CallRecord { struct
150 CallRecord() = default; argument
152 CallRecord(CallGraphNode *Callee_, Expr *CallExpr_) in CallRecord() argument
165 SmallVector<CallRecord, 5> CalledFunctions;
170 using iterator = SmallVectorImpl<CallRecord>::iterator;
171 using const_iterator = SmallVectorImpl<CallRecord>::const_iterator;
190 void addCallee(CallRecord Call) { CalledFunctions.push_back(Call); } in addCallee()
204 inline bool operator==(const CallGraphNode::CallRecord &LHS,
205 const CallGraphNode::CallRecord &RHS) {
214 template <> struct DenseMapInfo<clang::CallGraphNode::CallRecord> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMemoryUtils.cpp158 for (const CallGraphNode::CallRecord &R : *CG[F]) { in getTransitiveUsesOfLDS()
195 for (const CallGraphNode::CallRecord &R : *CG[F]) { in getTransitiveUsesOfLDS()
222 for (const CallGraphNode::CallRecord &R : *CG[&Func]) { in getTransitiveUsesOfLDS()
238 for (const CallGraphNode::CallRecord &CallRecord : *CG[F]) { in getTransitiveUsesOfLDS()
239 if (!CallRecord.second) in getTransitiveUsesOfLDS()
242 Function *Callee = CallRecord.second->getFunction(); in getTransitiveUsesOfLDS()
311 for (auto &CallRecord : *CG[F]) { in removeFnAttrFromReachable()
312 if (!CallRecord.second) in removeFnAttrFromReachable()
315 Function *Callee = CallRecord.second->getFunction(); in removeFnAttrFromReachable()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCallGraph.h174 using CallRecord = std::pair<std::optional<WeakTrackingVH>, CallGraphNode *>;
177 using CalledFunctionsVector = std::vector<CallRecord>;
189 using iterator = std::vector<CallRecord>::iterator;
190 using const_iterator = std::vector<CallRecord>::const_iterator;
268 std::vector<CallRecord> CalledFunctions;
418 using CGNPairTy = CallGraphNode::CallRecord;
437 using CGNPairTy = CallGraphNode::CallRecord;
438 using EdgeRef = const CallGraphNode::CallRecord &;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp37 struct CallRecord { struct in __anon7b2079cb0111::CastedAllocFinder
43 CallRecord(ExprParent CastedExprParent, const Expr *CastedExpr, in CallRecord() argument
50 typedef std::vector<CallRecord> CallVec;
61 Calls.push_back(CallRecord(Parent, cast<Expr>(S), AllocCall.first, in VisitChild()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCallGraph.cpp199 CallRecord &CR = *I; in removeOneAbstractEdgeTo()
H A DCallPrinter.cpp170 static const CallGraphNode *CGGetValuePtr(CallGraphNode::CallRecord P) { in CGGetValuePtr()