V8 Project
|
Public Member Functions | |
BoundsCheckKey * | Key () const |
int32_t | LowerOffset () const |
int32_t | UpperOffset () const |
HBasicBlock * | BasicBlock () const |
HBoundsCheck * | LowerCheck () const |
HBoundsCheck * | UpperCheck () const |
BoundsCheckBbData * | NextInBasicBlock () const |
BoundsCheckBbData * | FatherInDominatorTree () const |
bool | OffsetIsCovered (int32_t offset) const |
bool | HasSingleCheck () |
void | UpdateUpperOffsets (HBoundsCheck *check, int32_t offset) |
void | UpdateLowerOffsets (HBoundsCheck *check, int32_t offset) |
void | CoverCheck (HBoundsCheck *new_check, int32_t new_offset) |
BoundsCheckBbData (BoundsCheckKey *key, int32_t lower_offset, int32_t upper_offset, HBasicBlock *bb, HBoundsCheck *lower_check, HBoundsCheck *upper_check, BoundsCheckBbData *next_in_bb, BoundsCheckBbData *father_in_dt) | |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Private Member Functions | |
void | MoveIndexIfNecessary (HValue *index_raw, HBoundsCheck *insert_before, HInstruction *end_of_scan_range) |
void | TightenCheck (HBoundsCheck *original_check, HBoundsCheck *tighter_check, int32_t new_offset) |
DISALLOW_COPY_AND_ASSIGN (BoundsCheckBbData) | |
Private Attributes | |
BoundsCheckKey * | key_ |
int32_t | lower_offset_ |
int32_t | upper_offset_ |
HBasicBlock * | basic_block_ |
HBoundsCheck * | lower_check_ |
HBoundsCheck * | upper_check_ |
BoundsCheckBbData * | next_in_bb_ |
BoundsCheckBbData * | father_in_dt_ |
Definition at line 96 of file hydrogen-bce.cc.
|
inline |
Definition at line 195 of file hydrogen-bce.cc.
|
inline |
Definition at line 101 of file hydrogen-bce.cc.
References basic_block_.
Referenced by v8::internal::HBoundsCheckEliminationPhase::PreProcessBlock().
|
inline |
Definition at line 143 of file hydrogen-bce.cc.
References DCHECK, HasSingleCheck(), lower_check_, lower_offset_, MoveIndexIfNecessary(), v8::internal::HInstruction::next(), v8::base::OS::Print(), TightenCheck(), v8::internal::HInstruction::Unlink(), UNREACHABLE, UpdateLowerOffsets(), UpdateUpperOffsets(), upper_check_, and upper_offset_.
Referenced by v8::internal::HBoundsCheckEliminationPhase::PreProcessBlock().
|
private |
|
inline |
Definition at line 105 of file hydrogen-bce.cc.
References father_in_dt_.
Referenced by v8::internal::HBoundsCheckEliminationPhase::PostProcessBlock(), UpdateLowerOffsets(), and UpdateUpperOffsets().
|
inline |
Definition at line 111 of file hydrogen-bce.cc.
References lower_check_, and upper_check_.
Referenced by CoverCheck().
|
inline |
Definition at line 98 of file hydrogen-bce.cc.
References key_.
Referenced by v8::internal::HBoundsCheckEliminationPhase::PostProcessBlock().
|
inline |
Definition at line 102 of file hydrogen-bce.cc.
References lower_check_.
Referenced by v8::internal::HBoundsCheckEliminationPhase::PreProcessBlock(), and UpdateLowerOffsets().
|
inline |
Definition at line 99 of file hydrogen-bce.cc.
References lower_offset_.
Referenced by OffsetIsCovered(), and v8::internal::HBoundsCheckEliminationPhase::PreProcessBlock().
|
inlineprivate |
Definition at line 222 of file hydrogen-bce.cc.
References v8::internal::HValue::cast(), v8::internal::HInstruction::InsertBefore(), v8::internal::HBinaryOperation::left(), NULL, v8::internal::HBinaryOperation::right(), and v8::internal::HInstruction::Unlink().
Referenced by CoverCheck(), and TightenCheck().
|
inline |
Definition at line 104 of file hydrogen-bce.cc.
References next_in_bb_.
Referenced by v8::internal::HBoundsCheckEliminationPhase::PostProcessBlock().
|
inline |
Definition at line 107 of file hydrogen-bce.cc.
References LowerOffset(), and UpperOffset().
Referenced by v8::internal::HBoundsCheckEliminationPhase::PreProcessBlock().
|
inlineprivate |
Definition at line 278 of file hydrogen-bce.cc.
References DCHECK, MoveIndexIfNecessary(), and v8::base::OS::Print().
Referenced by CoverCheck().
|
inline |
Definition at line 122 of file hydrogen-bce.cc.
References DCHECK, FatherInDominatorTree(), lower_offset_, LowerCheck(), and NULL.
Referenced by CoverCheck().
|
inline |
Definition at line 113 of file hydrogen-bce.cc.
References DCHECK, FatherInDominatorTree(), NULL, upper_offset_, and UpperCheck().
Referenced by CoverCheck().
|
inline |
Definition at line 103 of file hydrogen-bce.cc.
References upper_check_.
Referenced by v8::internal::HBoundsCheckEliminationPhase::PreProcessBlock(), and UpdateUpperOffsets().
|
inline |
Definition at line 100 of file hydrogen-bce.cc.
References upper_offset_.
Referenced by OffsetIsCovered(), and v8::internal::HBoundsCheckEliminationPhase::PreProcessBlock().
|
private |
Definition at line 216 of file hydrogen-bce.cc.
Referenced by BasicBlock().
|
private |
Definition at line 220 of file hydrogen-bce.cc.
Referenced by FatherInDominatorTree().
|
private |
Definition at line 213 of file hydrogen-bce.cc.
Referenced by Key().
|
private |
Definition at line 217 of file hydrogen-bce.cc.
Referenced by CoverCheck(), HasSingleCheck(), and LowerCheck().
|
private |
Definition at line 214 of file hydrogen-bce.cc.
Referenced by CoverCheck(), LowerOffset(), and UpdateLowerOffsets().
|
private |
Definition at line 219 of file hydrogen-bce.cc.
Referenced by NextInBasicBlock().
|
private |
Definition at line 218 of file hydrogen-bce.cc.
Referenced by CoverCheck(), HasSingleCheck(), and UpperCheck().
|
private |
Definition at line 215 of file hydrogen-bce.cc.
Referenced by CoverCheck(), UpdateUpperOffsets(), and UpperOffset().