Lines Matching refs:ContextEdge

232   struct ContextEdge;
263 std::vector<std::shared_ptr<ContextEdge>> CalleeEdges;
267 std::vector<std::shared_ptr<ContextEdge>> CallerEdges;
271 const std::vector<std::shared_ptr<ContextEdge>> *
365 ContextEdge *findEdgeFromCallee(const ContextNode *Callee);
366 ContextEdge *findEdgeFromCaller(const ContextNode *Caller);
367 void eraseCalleeEdge(const ContextEdge *Edge);
368 void eraseCallerEdge(const ContextEdge *Edge);
395 struct ContextEdge { struct in __anonf01a58700111::CallsiteContextGraph
406 ContextEdge(ContextNode *Callee, ContextNode *Caller, uint8_t AllocType, in ContextEdge() argument
416 friend raw_ostream &operator<<(raw_ostream &OS, const ContextEdge &Edge) { in operator <<()
464 using EdgeIter = typename std::vector<std::shared_ptr<ContextEdge>>::iterator;
591 moveEdgeToNewCalleeClone(const std::shared_ptr<ContextEdge> &Edge,
600 void moveEdgeToExistingCalleeClone(const std::shared_ptr<ContextEdge> &Edge,
644 using ContextEdge = typedef
645 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge;
833 const std::vector<std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>>> in allocTypesMatch()
838 const std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>> &r) { in allocTypesMatch()
890 std::shared_ptr<ContextEdge> Edge = std::make_shared<ContextEdge>( in addOrUpdateCallerEdge()
911 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge *
921 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge *
932 eraseCalleeEdge(const ContextEdge *Edge) { in eraseCalleeEdge()
934 CalleeEdges, [Edge](const std::shared_ptr<ContextEdge> &CalleeEdge) { in eraseCalleeEdge()
943 eraseCallerEdge(const ContextEdge *Edge) { in eraseCallerEdge()
945 CallerEdges, [Edge](const std::shared_ptr<ContextEdge> &CallerEdge) { in eraseCallerEdge()
1111 DenseSet<const ContextEdge *> &Visited, in propagateDuplicateContextIds()
1128 DenseSet<const ContextEdge *> Visited; in propagateDuplicateContextIds()
1160 auto NewEdge = std::make_shared<ContextEdge>( in connectNewNode()
1166 auto NewEdge = std::make_shared<ContextEdge>( in connectNewNode()
1188 const std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>> &Edge) { in checkEdge()
1909 auto NewEdge = std::make_shared<ContextEdge>( in calleesMatch()
2255 void CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge::dump() in dump()
2262 void CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge::print( in print()
2349 using EdgePtrTy = std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>>;
2356 mapped_iterator<typename std::vector<std::shared_ptr<ContextEdge<
2474 const std::shared_ptr<ContextEdge> &Edge, EdgeIter *CallerEdgeI, in moveEdgeToNewCalleeClone()
2490 moveEdgeToExistingCalleeClone(const std::shared_ptr<ContextEdge> &Edge, in moveEdgeToExistingCalleeClone()
2550 auto NewEdge = std::make_shared<ContextEdge>( in moveEdgeToExistingCalleeClone()
2586 auto NewEdge = std::make_shared<ContextEdge>( in moveEdgeToExistingCalleeClone()
2722 [&](const std::shared_ptr<ContextEdge> &A, in identifyClones()
2723 const std::shared_ptr<ContextEdge> &B) { in identifyClones()
3058 Clone->CallerEdges, [&](const std::shared_ptr<ContextEdge> &E) { in assignFunctions()
3083 Clone->CallerEdges, [&](const std::shared_ptr<ContextEdge> &E) { in assignFunctions()
3088 const std::shared_ptr<ContextEdge> &Edge = *EI; in assignFunctions()