5#ifndef V8_COMPILER_BYTECODE_LIVENESS_MAP_H_
6#define V8_COMPILER_BYTECODE_LIVENESS_MAP_H_
140 liveness_[
offset].in =
nullptr;
141 liveness_[
offset].out =
nullptr;
158 return GetLiveness(
offset).in;
161 return GetLiveness(
offset).in;
165 return GetLiveness(
offset).out;
168 return GetLiveness(
offset).out;
bool UnionIsChanged(const BitVector &other)
void CopyFrom(const BitVector &other)
bool Contains(int i) const
void Union(const BitVector &other)
bool Equals(const BitVector &other) const
const BytecodeLivenessState * GetInLiveness(int offset) const
BytecodeLiveness & InsertNewLiveness(int offset)
BytecodeLivenessState * GetInLiveness(int offset)
const BytecodeLivenessState * GetOutLiveness(int offset) const
const BytecodeLiveness & GetLiveness(int offset) const
BytecodeLiveness * liveness_
BytecodeLivenessMap(int bytecode_size, Zone *zone)
BytecodeLivenessState * GetOutLiveness(int offset)
BytecodeLiveness & GetLiveness(int offset)
bool operator!=(const Iterator &other) const
Iterator(const BytecodeLivenessState &liveness, StartTag)
static constexpr struct v8::internal::compiler::BytecodeLivenessState::Iterator::EndTag kEndTag
Iterator(const BytecodeLivenessState &liveness, EndTag)
static constexpr struct v8::internal::compiler::BytecodeLivenessState::Iterator::StartTag kStartTag
void CopyFrom(const BytecodeLivenessState &other)
void Union(const BytecodeLivenessState &other)
int live_value_count() const
void MarkAccumulatorLive()
BytecodeLivenessState(int register_count, Zone *zone)
BytecodeLivenessState & operator=(const BytecodeLivenessState &)=delete
bool Equals(const BytecodeLivenessState &other) const
int register_count() const
void MarkRegisterLive(int index)
bool UnionIsChanged(const BytecodeLivenessState &other)
bool RegisterIsLive(int index) const
void MarkRegisterDead(int index)
BytecodeLivenessState(const BytecodeLivenessState &)=delete
void MarkAccumulatorDead()
BytecodeLivenessState(const BytecodeLivenessState &other, Zone *zone)
bool AccumulatorIsLive() const
std::string ToString(const BytecodeLivenessState &liveness)
#define DCHECK_GE(v1, v2)
#define DCHECK_LT(v1, v2)
#define V8_EXPORT_PRIVATE
BytecodeLivenessState * in
BytecodeLivenessState * out