Lines Matching refs:Globals
11 // It also ensures that globals are properly laid out for the
105 "Import typeid resolutions from summary and globals"),
107 "Export typeid resolutions to summary and globals")),
407 ArrayRef<GlobalTypeMember *> Globals);
422 ArrayRef<GlobalTypeMember *> Globals,
533 // Create globals to stand in for byte arrays and masks. These never actually
756 /// Given a disjoint set of type identifiers and globals, lay out the globals,
759 ArrayRef<Metadata *> TypeIds, ArrayRef<GlobalTypeMember *> Globals) {
760 // Build a new global with the combined contents of the referenced globals.
762 // contents of the referenced globals and whose odd-indexed elements contain
766 for (GlobalTypeMember *G : Globals) {
794 // Compute the offsets of the original globals within the new global.
796 for (unsigned I = 0; I != Globals.size(); ++I)
798 GlobalLayout[Globals[I]] = CombinedGlobalLayout->getElementOffset(I * 2);
804 // to the original globals with references to the aliases.
805 for (unsigned I = 0; I != Globals.size(); ++I) {
806 GlobalVariable *GV = cast<GlobalVariable>(Globals[I]->getGlobal());
891 return {}; // Unsat: no globals match this type id.
1413 // arithmetic that we normally use for globals.
1518 ArrayRef<Metadata *> TypeIds, ArrayRef<GlobalTypeMember *> Globals,
1529 for (GlobalTypeMember *GTM : Globals) {
1558 GlobalLayoutBuilder GLB(Globals.size());
1562 // Build a vector of globals with the computed layout.
1564 Globals.empty() || isa<GlobalVariable>(Globals[0]->getGlobal());
1565 std::vector<GlobalTypeMember *> OrderedGTMs(Globals.size());
1569 if (IsGlobalSet != isa<GlobalVariable>(Globals[Offset]->getGlobal()))
1572 *OGTMI++ = Globals[Offset];
1732 // Equivalence class set containing type identifiers and the globals that
1743 // list of GlobalTypeMembers and last observed index in the list of globals.
1891 // globals to the equivalence class.
1898 // Add the referenced globals to the type identifier's equivalence class.
2010 std::vector<GlobalTypeMember *> Globals;
2018 Globals.push_back(MI->get<GlobalTypeMember *>());
2036 buildBitSetsFromDisjointSet(TypeIds, Globals, ICallBranchFunnels);