Lines Matching defs: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 {
406 ContextEdge(ContextNode *Callee, ContextNode *Caller, uint8_t AllocType,
416 friend raw_ostream &operator<<(raw_ostream &OS, const ContextEdge &Edge) {
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 =
645 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge;
833 const std::vector<std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>>>
838 const std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>> &r) {
890 std::shared_ptr<ContextEdge> Edge = std::make_shared<ContextEdge>(
911 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge *
921 typename CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge *
932 eraseCalleeEdge(const ContextEdge *Edge) {
934 CalleeEdges, [Edge](const std::shared_ptr<ContextEdge> &CalleeEdge) {
943 eraseCallerEdge(const ContextEdge *Edge) {
945 CallerEdges, [Edge](const std::shared_ptr<ContextEdge> &CallerEdge) {
1111 DenseSet<const ContextEdge *> &Visited,
1128 DenseSet<const ContextEdge *> Visited;
1160 auto NewEdge = std::make_shared<ContextEdge>(
1166 auto NewEdge = std::make_shared<ContextEdge>(
1188 const std::shared_ptr<ContextEdge<DerivedCCG, FuncTy, CallTy>> &Edge) {
1909 auto NewEdge = std::make_shared<ContextEdge>(
2255 void CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge::dump()
2262 void CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::ContextEdge::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,
2490 moveEdgeToExistingCalleeClone(const std::shared_ptr<ContextEdge> &Edge,
2550 auto NewEdge = std::make_shared<ContextEdge>(
2586 auto NewEdge = std::make_shared<ContextEdge>(
2722 [&](const std::shared_ptr<ContextEdge> &A,
2723 const std::shared_ptr<ContextEdge> &B) {
3058 Clone->CallerEdges, [&](const std::shared_ptr<ContextEdge> &E) {
3083 Clone->CallerEdges, [&](const std::shared_ptr<ContextEdge> &E) {
3088 const std::shared_ptr<ContextEdge> &Edge = *EI;