V8 Project
|
#include <data-flow.h>
Classes | |
class | BASE_EMBEDDED |
Public Member Functions | |
BitVector (int length, Zone *zone) | |
BitVector (const BitVector &other, Zone *zone) | |
BitVector & | operator= (const BitVector &rhs) |
void | CopyFrom (const BitVector &other) |
bool | Contains (int i) const |
void | Add (int i) |
void | Remove (int i) |
void | Union (const BitVector &other) |
bool | UnionIsChanged (const BitVector &other) |
void | Intersect (const BitVector &other) |
bool | IntersectIsChanged (const BitVector &other) |
void | Subtract (const BitVector &other) |
void | Clear () |
bool | IsEmpty () const |
bool | Equals (const BitVector &other) |
int | Count () const |
int | length () const |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Static Public Member Functions | |
static int | SizeFor (int length) |
Private Attributes | |
int | length_ |
int | data_length_ |
uint32_t * | data_ |
Definition at line 18 of file data-flow.h.
Definition at line 65 of file data-flow.h.
References Clear(), DCHECK, and length().
Definition at line 73 of file data-flow.h.
References CopyFrom().
|
inline |
Definition at line 105 of file data-flow.h.
References data_, DCHECK, and length().
Referenced by v8::internal::HInferRepresentationPhase::AddToWorklist(), v8::internal::HRangeAnalysisPhase::AddToWorklist(), v8::internal::compiler::ComputeLoopInfo(), v8::internal::HInferTypesPhase::InferTypes(), v8::internal::HEnvironmentLivenessAnalysisPhase::Run(), v8::internal::HInferRepresentationPhase::Run(), v8::internal::compiler::ScheduleVerifier::Run(), and v8::internal::HEnvironmentLivenessAnalysisPhase::UpdateLivenessAtInstruction().
|
inline |
Definition at line 158 of file data-flow.h.
References data_, and data_length_.
Referenced by BitVector(), v8::internal::HRangeAnalysisPhase::PropagateMinusZeroChecks(), v8::internal::HEnvironmentLivenessAnalysisPhase::UpdateLivenessAtBlockEnd(), and v8::internal::HEnvironmentLivenessAnalysisPhase::UpdateLivenessAtInstruction().
Definition at line 99 of file data-flow.h.
References data_, DCHECK, and length().
Referenced by v8::internal::HInferRepresentationPhase::AddToWorklist(), v8::internal::HRangeAnalysisPhase::AddToWorklist(), v8::internal::compiler::Scheduler::ComputeSpecialRPO(), v8::internal::HInferTypesPhase::InferTypes(), v8::internal::HEnvironmentLivenessAnalysisPhase::Run(), v8::internal::HInferRepresentationPhase::Run(), v8::internal::compiler::ScheduleVerifier::Run(), v8::internal::HEnvironmentLivenessAnalysisPhase::UpdateLivenessAtInstruction(), and v8::internal::HEnvironmentLivenessAnalysisPhase::ZapEnvironmentSlotsInSuccessors().
|
inline |
Definition at line 89 of file data-flow.h.
References data_, data_length_, DCHECK, and length().
Referenced by BitVector(), v8::internal::BASE_EMBEDDED< Visitor >::EnsureCapacity(), operator=(), and v8::internal::compiler::ScheduleVerifier::Run().
int v8::internal::BitVector::Count | ( | ) | const |
Definition at line 44 of file data-flow.cc.
References v8::base::bits::CountPopulation32(), data_, and data_length_.
Definition at line 171 of file data-flow.h.
References data_, and data_length_.
Referenced by v8::internal::HEnvironmentLivenessAnalysisPhase::ZapEnvironmentSlotsInSuccessors().
|
inline |
Definition at line 133 of file data-flow.h.
References data_, data_length_, DCHECK, and length().
Definition at line 140 of file data-flow.h.
References data_, data_length_, DCHECK, and length().
Referenced by v8::internal::compiler::ScheduleVerifier::Run().
|
inline |
Definition at line 164 of file data-flow.h.
References data_, and data_length_.
Referenced by v8::internal::compiler::Frame::DidAllocateDoubleRegisters(), v8::internal::HInferTypesPhase::InferTypes(), v8::internal::HRangeAnalysisPhase::PropagateMinusZeroChecks(), and v8::internal::HEnvironmentLivenessAnalysisPhase::Run().
|
inline |
Definition at line 180 of file data-flow.h.
References length_.
Referenced by Add(), BitVector(), Contains(), CopyFrom(), Intersect(), IntersectIsChanged(), Remove(), SizeFor(), Subtract(), Union(), UnionIsChanged(), and v8::internal::HEnvironmentLivenessAnalysisPhase::ZapEnvironmentSlotsInSuccessors().
Definition at line 84 of file data-flow.h.
References CopyFrom().
|
inline |
Definition at line 110 of file data-flow.h.
References data_, DCHECK, and length().
Referenced by v8::internal::HInferTypesPhase::InferTypes(), v8::internal::HEnvironmentLivenessAnalysisPhase::Run(), v8::internal::HInferRepresentationPhase::Run(), v8::internal::compiler::ScheduleVerifier::Run(), and v8::internal::HEnvironmentLivenessAnalysisPhase::UpdateLivenessAtInstruction().
Definition at line 80 of file data-flow.h.
References length().
|
inline |
Definition at line 151 of file data-flow.h.
References data_, data_length_, DCHECK, and length().
|
inline |
Definition at line 115 of file data-flow.h.
References data_, data_length_, DCHECK, and length().
Referenced by v8::internal::HEnvironmentLivenessAnalysisPhase::UpdateLivenessAtBlockEnd(), and v8::internal::HEnvironmentLivenessAnalysisPhase::UpdateLivenessAtInstruction().
Definition at line 122 of file data-flow.h.
References data_, data_length_, DCHECK, and length().
|
private |
Definition at line 189 of file data-flow.h.
Referenced by Add(), Clear(), Contains(), CopyFrom(), Count(), Equals(), Intersect(), IntersectIsChanged(), IsEmpty(), Remove(), Subtract(), Union(), and UnionIsChanged().
|
private |
Definition at line 188 of file data-flow.h.
Referenced by Clear(), CopyFrom(), Count(), Equals(), Intersect(), IntersectIsChanged(), IsEmpty(), v8::internal::BitVector::BASE_EMBEDDED::Iterator(), Subtract(), Union(), and UnionIsChanged().
|
private |
Definition at line 187 of file data-flow.h.
Referenced by length().