Definition at line 736 of file redundancy_elimination.cc.
◆ anonymous enum
◆ AliasedSet()
Definition at line 738 of file redundancy_elimination.cc.
743 : zone_(zone),
744 print_traces_(print_traces),
745 places_map_(places_map),
748 aliases_(5),
749 aliases_map_(),
750 typed_data_access_sizes_(),
751 representatives_(),
752 killed_(),
753 aliased_by_effects_(
new(zone) BitVector(zone,
places->length())) {
755 zone_, kAnyInstanceAnyIndexAlias));
756 for (intptr_t i = 0; i < places_.length(); i++) {
757 AddRepresentative(places_[i]);
758 }
759 ComputeKillSets();
760 }
const PhiPlaceMoves * phi_moves() const
const ZoneGrowableArray< Place * > & places() const
static Place * CreateAnyInstanceAnyIndexAlias(Zone *zone, intptr_t id)
◆ aliased_by_effects()
BitVector * dart::AliasedSet::aliased_by_effects |
( |
| ) |
const |
|
inline |
◆ CanBeAliased()
bool dart::AliasedSet::CanBeAliased |
( |
Definition * |
alloc | ) |
|
|
inline |
Definition at line 803 of file redundancy_elimination.cc.
803 {
805 return true;
806 }
807
808 if (alloc->Identity().IsUnknown()) {
809 ComputeAliasing(alloc);
810 }
811
812 return !alloc->Identity().IsNotAliased();
813 }
static bool IsAllocation(Definition *defn)
◆ GetKilledSet()
BitVector * dart::AliasedSet::GetKilledSet |
( |
intptr_t |
alias | ) |
|
|
inline |
◆ IsEmpty()
bool dart::AliasedSet::IsEmpty |
( |
| ) |
const |
|
inline |
◆ LookupAliasId()
intptr_t dart::AliasedSet::LookupAliasId |
( |
const Place & |
alias | ) |
|
|
inline |
◆ LookupCanonical()
Place * dart::AliasedSet::LookupCanonical |
( |
Place * |
place | ) |
const |
|
inline |
◆ max_place_id()
intptr_t dart::AliasedSet::max_place_id |
( |
| ) |
const |
|
inline |
◆ phi_moves()
◆ places()
◆ PrintSet()
void dart::AliasedSet::PrintSet |
( |
BitVector * |
set | ) |
|
|
inline |
Definition at line 782 of file redundancy_elimination.cc.
782 {
783 bool comma = false;
784 for (BitVector::Iterator it(set); !it.Done(); it.Advance()) {
785 if (comma) {
787 }
788 THR_Print(
"%s", places_[it.Current()]->ToCString());
789 comma = true;
790 }
791 }
#define THR_Print(format,...)
◆ RollbackAliasedIdentities()
void dart::AliasedSet::RollbackAliasedIdentities |
( |
| ) |
|
|
inline |
Definition at line 795 of file redundancy_elimination.cc.
795 {
796 for (intptr_t i = 0; i < identity_rollback_.length(); ++i) {
798 }
799 }
static AliasIdentity Unknown()
The documentation for this class was generated from the following file: