Lines Matching defs:VarLocs
187 // The IDs in this set correspond to MachineLocs in VarLocs, as well as VarLocs
193 // is the set of all VarLocs.
202 /// to find the open VarLocs killed by a register def very quickly. This is a
216 /// The first location that is reserved for VarLocs with locations of kind
220 /// The first location greater than 0 that is not reserved for VarLocs with
224 /// A special location reserved for VarLocs with locations of kind
228 /// A special location reserved for VarLocs of kind EntryValueBackupKind and
233 /// A special location reserved for VarLocs with locations of kind
241 /// The first location that is reserved for VarLocs with locations of kind
259 /// Get the start of the interval reserved for VarLocs of kind RegisterKind
775 /// This operator guarantees that VarLocs are sorted by Variable first.
795 /// Map a location to a vector which holds VarLocs which live in that
809 // VarLocs use only the Backup bucket or none at all (except the
877 /// Collects all VarLocs from \p CollectFrom. Each unique VarLoc is added
883 /// Get the registers which are used by VarLocs of kind RegisterKind tracked
899 VarLocSet VarLocs;
908 : Alloc(Alloc), VarLocs(Alloc), OverlappingFragments(_OLapMap) {}
910 const VarLocSet &getVarLocs() const { return VarLocs; }
912 // Fetches all VarLocs in \p VarLocIDs and inserts them into \p Collected.
915 // location), but all VarLocs appear exactly once at the universal location
919 collectAllVarLocs(Collected, VarLocs, VarLocIDs);
940 VarLocs.clear();
948 Vars.empty() == VarLocs.empty() &&
950 return VarLocs.empty();
959 /// Get all set IDs for VarLocs with MLs of kind RegisterKind in \p Reg.
964 /// Get all set IDs for VarLocs with MLs of kind SpillLocKind.
970 /// Get all set IDs for VarLocs of EVKind EntryValueBackupKind or
977 /// Get all set IDs for VarLocs with MLs of kind WasmLocKind.
984 /// Collect all VarLoc IDs from \p CollectFrom for VarLocs with MLs of kind
1129 VarLocs.reset(ID.getAsRawInteger());
1168 VarLocs.intersectWithComplement(RemoveSet);
1189 VarLocs.set(ID.getAsRawInteger());
1216 // all possible VarLoc IDs for VarLocs with MLs of kind RegisterKind which
1241 // All register-based VarLocs are assigned indices greater than or equal to
1258 // even if there aren't any VarLocs living in `FoundReg+1`, we're still
1292 SmallVector<VarLoc, 32> VarLocs;
1293 collectAllVarLocs(VarLocs, L, VarLocIDs);
1295 for (const VarLoc &VL : VarLocs) {
1462 // possible VarLoc IDs for VarLocs with MLs of kind RegisterKind which live
1617 // Erase VarLocs which reside in one of the dead registers. For performance
1618 // reasons, it's critical to not iterate over the full set of open VarLocs.
1931 VarVec VarLocs;
1932 OpenRanges.getUniqueVarLocs(VarLocs, VarLocIDs);
1933 for (VarLoc &VL : VarLocs) {
2036 // For all predecessors of this MBB, find the set of VarLocs that
2065 VarVec VarLocs;
2066 collectAllVarLocs(VarLocs, InLocsT, VarLocIDs);
2067 for (const VarLoc &VL : VarLocs)
2118 SmallVector<VarLoc, 32> VarLocs;
2119 collectAllVarLocs(VarLocs, Pending, VarLocIDs);
2121 for (VarLoc DiffIt : VarLocs) {