Lines Matching refs:ContextIds

289       DenseSet<uint32_t> ContextIds;  in getContextIds()  local
296 ContextIds.reserve(Count); in getContextIds()
298 ContextIds.insert(Edge->getContextIds().begin(), in getContextIds()
300 return ContextIds; in getContextIds()
404 DenseSet<uint32_t> ContextIds; member
407 DenseSet<uint32_t> ContextIds) in ContextEdge()
409 ContextIds(std::move(ContextIds)) {} in ContextEdge()
411 DenseSet<uint32_t> &getContextIds() { return ContextIds; } in getContextIds()
572 uint8_t computeAllocType(DenseSet<uint32_t> &ContextIds);
902 assert(Edge->ContextIds.empty()); in removeNoneTypeCalleeEdges()
954 DenseSet<uint32_t> &ContextIds) { in computeAllocType() argument
958 for (auto Id : ContextIds) { in computeAllocType()
1100 auto GetNewIds = [&OldToNewContextIds](const DenseSet<uint32_t> &ContextIds) { in propagateDuplicateContextIds() argument
1102 for (auto Id : ContextIds) in propagateDuplicateContextIds()
1192 assert(!Edge->ContextIds.empty()); in checkEdge()
1208 Node->CallerEdges.front()->ContextIds); in checkNode()
1212 set_union(CallerEdgeContextIds, Edge->ContextIds); in checkNode()
1221 Node->CalleeEdges.front()->ContextIds); in checkNode()
1902 CurEdge->ContextIds.insert(Edge->ContextIds.begin(), in calleesMatch()
1903 Edge->ContextIds.end()); in calleesMatch()
1910 Callee, Caller, Edge->AllocTypes, Edge->ContextIds); in calleesMatch()
2231 auto ContextIds = getContextIds(); in print() local
2232 std::vector<uint32_t> SortedIds(ContextIds.begin(), ContextIds.end()); in print()
2267 std::vector<uint32_t> SortedIds(ContextIds.begin(), ContextIds.end()); in print()
2300 DenseSet<uint32_t> ContextIds = Node->getContextIds(); in printTotalSizes() local
2301 std::vector<uint32_t> SortedIds(ContextIds.begin(), ContextIds.end()); in printTotalSizes()
2418 return (Twine("tooltip=\"") + getContextIds(Edge->ContextIds) + "\"" + in getEdgeAttributes()
2430 static std::string getContextIds(const DenseSet<uint32_t> &ContextIds) { in getContextIds()
2432 if (ContextIds.size() < 100) { in getContextIds()
2433 std::vector<uint32_t> SortedIds(ContextIds.begin(), ContextIds.end()); in getContextIds()
2438 IdString += (" (" + Twine(ContextIds.size()) + " ids)").str(); in getContextIds()
2523 assert(Edge->ContextIds == ContextIdsToMove); in moveEdgeToExistingCalleeClone()
2524 Edge->ContextIds.clear(); in moveEdgeToExistingCalleeClone()
2558 set_subtract(Edge->ContextIds, ContextIdsToMove); in moveEdgeToExistingCalleeClone()
2559 Edge->AllocTypes = computeAllocType(Edge->ContextIds); in moveEdgeToExistingCalleeClone()
2726 if (A->ContextIds.empty()) in identifyClones()
2732 if (B->ContextIds.empty()) in identifyClones()
2738 return *A->ContextIds.begin() < *B->ContextIds.begin(); in identifyClones()