Lines Matching refs:ContextEdge
224 struct ContextEdge;
255 std::vector<std::shared_ptr<ContextEdge>> CalleeEdges;
259 std::vector<std::shared_ptr<ContextEdge>> CallerEdges;
295 ContextEdge *findEdgeFromCallee(const ContextNode *Callee);
296 ContextEdge *findEdgeFromCaller(const ContextNode *Caller);
297 void eraseCalleeEdge(const ContextEdge *Edge);
298 void eraseCallerEdge(const ContextEdge *Edge);
325 struct ContextEdge { struct in __anonf4e331660111::CallsiteContextGraph
336 ContextEdge(ContextNode *Callee, ContextNode *Caller, uint8_t AllocType, in ContextEdge() argument
346 friend raw_ostream &operator<<(raw_ostream &OS, const ContextEdge &Edge) { in operator <<()
391 using EdgeIter = typename std::vector<std::shared_ptr<ContextEdge>>::iterator;
520 moveEdgeToNewCalleeClone(const std::shared_ptr<ContextEdge> &Edge,
527 void moveEdgeToExistingCalleeClone(const std::shared_ptr<ContextEdge> &Edge,
565 using ContextEdge = typedef
566 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge;
754 const std::vector<std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>>> in allocTypesMatch()
759 const std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>> &r) { in allocTypesMatch()
820 std::shared_ptr<ContextEdge> Edge = std::make_shared<ContextEdge>( in addOrUpdateCallerEdge()
841 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge *
851 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge *
862 eraseCalleeEdge(const ContextEdge *Edge) { in eraseCalleeEdge()
864 CalleeEdges, [Edge](const std::shared_ptr<ContextEdge> &CalleeEdge) { in eraseCalleeEdge()
873 eraseCallerEdge(const ContextEdge *Edge) { in eraseCallerEdge()
875 CallerEdges, [Edge](const std::shared_ptr<ContextEdge> &CallerEdge) { in eraseCallerEdge()
1021 DenseSet<const ContextEdge *> &Visited, in propagateDuplicateContextIds()
1039 DenseSet<const ContextEdge *> Visited; in propagateDuplicateContextIds()
1075 auto NewEdge = std::make_shared<ContextEdge>( in connectNewNode()
1081 auto NewEdge = std::make_shared<ContextEdge>( in connectNewNode()
1761 auto NewEdge = std::make_shared<ContextEdge>( in calleesMatch()
2108 void CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge::dump() in dump()
2115 void CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge::print( in print()
2146 const std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>> &Edge) { in checkEdge()
2225 using EdgePtrTy = std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>>;
2232 mapped_iterator<typename std::vector<std::shared_ptr<ContextEdge<
2350 const std::shared_ptr<ContextEdge> &Edge, EdgeIter *CallerEdgeI) { in moveEdgeToNewCalleeClone()
2364 moveEdgeToExistingCalleeClone(const std::shared_ptr<ContextEdge> &Edge, in moveEdgeToExistingCalleeClone()
2412 auto NewEdge = std::make_shared<ContextEdge>( in moveEdgeToExistingCalleeClone()
2508 [&](const std::shared_ptr<ContextEdge> &A, in identifyClones()
2509 const std::shared_ptr<ContextEdge> &B) { in identifyClones()
2591 Clone->CallerEdges, [&](const std::shared_ptr<ContextEdge> &E) { in identifyClones()
2613 [&](const std::shared_ptr<ContextEdge> &E) { in identifyClones()
2617 [&](const std::shared_ptr<ContextEdge> &E) { in identifyClones()
2847 Clone->CallerEdges, [&](const std::shared_ptr<ContextEdge> &E) { in assignFunctions()
2872 Clone->CallerEdges, [&](const std::shared_ptr<ContextEdge> &E) { in assignFunctions()
2877 const std::shared_ptr<ContextEdge> &Edge = *EI; in assignFunctions()