Lines Matching defs:ContextNode
235 struct ContextNode { struct in __anonf01a58700111::CallsiteContextGraph
239 bool IsAllocation;
243 bool Recursive = false;
246 CallInfo Call;
255 uint64_t OrigStackOrAllocId = 0;
259 uint8_t AllocTypes = 0;
263 std::vector<std::shared_ptr<ContextEdge>> CalleeEdges;
267 std::vector<std::shared_ptr<ContextEdge>> CallerEdges;
272 getEdgesWithAllocInfo() const { in getEdgesWithAllocInfo()
288 DenseSet<uint32_t> getContextIds() const { in getContextIds()
305 uint8_t computeAllocType() const { in computeAllocType()
323 bool emptyContextIds() const { in emptyContextIds()
335 std::vector<ContextNode *> Clones;
338 ContextNode *CloneOf = nullptr;
340 ContextNode(bool IsAllocation) : IsAllocation(IsAllocation), Call() {} in ContextNode() function
342 ContextNode(bool IsAllocation, CallInfo C) in ContextNode() argument
345 void addClone(ContextNode *Clone) { in addClone()
356 ContextNode *getOrigNode() { in getOrigNode()
370 void setCall(CallInfo C) { Call = C; } in setCall()
372 bool hasCall() const { return (bool)Call.call(); } in hasCall()
374 void printCall(raw_ostream &OS) const { Call.print(OS); } in printCall()
378 bool isRemoved() const { in isRemoved()
641 using ContextNode = typedef