V8 Project
v8::internal::BASE_EMBEDDED< Visitor >::Element Class Reference
+ Collaboration diagram for v8::internal::BASE_EMBEDDED< Visitor >::Element:

Public Member Functions

HBasicBlock * block ()
 
void set_block (HBasicBlock *block)
 
bool is_start ()
 
bool is_proper_exit ()
 
bool is_in_loop ()
 
bool has_check ()
 
void set_has_check ()
 
InductionVariableLimitUpdateadditional_limit ()
 
void InitializeLoop (InductionVariableData *data)
 
void ResetCurrentDominatedBlock ()
 
HBasicBlock * CurrentDominatedBlock ()
 
HBasicBlock * NextDominatedBlock ()
 
 Element ()
 

Static Public Attributes

static const int kNoBlock = -1
 

Private Attributes

HBasicBlock * block_
 
bool is_start_
 
bool is_proper_exit_
 
bool is_in_loop_
 
bool has_check_
 
InductionVariableLimitUpdate additional_limit_
 
int current_dominated_block_
 

Detailed Description

template<class Visitor>
class v8::internal::BASE_EMBEDDED< Visitor >::Element

Definition at line 27 of file hydrogen-bch.cc.

Constructor & Destructor Documentation

◆ Element()

template<class Visitor >
v8::internal::BASE_EMBEDDED< Visitor >::Element::Element ( )
inline

Definition at line 67 of file hydrogen-bch.cc.

68  : block_(NULL), is_start_(false), is_proper_exit_(false),
69  has_check_(false), additional_limit_(),
InductionVariableLimitUpdate additional_limit_
Definition: hydrogen-bch.cc:78
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL

Member Function Documentation

◆ additional_limit()

template<class Visitor >
InductionVariableLimitUpdate* v8::internal::BASE_EMBEDDED< Visitor >::Element::additional_limit ( )
inline

Definition at line 38 of file hydrogen-bch.cc.

38  {
39  return &additional_limit_;
40  }

◆ block()

template<class Visitor >
HBasicBlock* v8::internal::BASE_EMBEDDED< Visitor >::Element::block ( )
inline

Definition at line 31 of file hydrogen-bch.cc.

31 { return block_; }

◆ CurrentDominatedBlock()

template<class Visitor >
HBasicBlock* v8::internal::BASE_EMBEDDED< Visitor >::Element::CurrentDominatedBlock ( )
inline

Definition at line 57 of file hydrogen-bch.cc.

57  {
59  return current_dominated_block_ < block()->dominated_blocks()->length() ?
60  block()->dominated_blocks()->at(current_dominated_block_) : NULL;
61  }
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK, and NULL.

◆ has_check()

template<class Visitor >
bool v8::internal::BASE_EMBEDDED< Visitor >::Element::has_check ( )
inline

Definition at line 36 of file hydrogen-bch.cc.

36 { return has_check_; }

◆ InitializeLoop()

template<class Visitor >
void v8::internal::BASE_EMBEDDED< Visitor >::Element::InitializeLoop ( InductionVariableData *  data)
inline

Definition at line 46 of file hydrogen-bch.cc.

46  {
47  DCHECK(data->limit() != NULL);
48  HLoopInformation* loop = data->phi()->block()->current_loop();
49  is_start_ = (block() == loop->loop_header());
50  is_proper_exit_ = (block() == data->induction_exit_target());
51  is_in_loop_ = loop->IsNestedInThisLoop(block()->current_loop());
52  has_check_ = false;
53  }

References DCHECK, and NULL.

◆ is_in_loop()

template<class Visitor >
bool v8::internal::BASE_EMBEDDED< Visitor >::Element::is_in_loop ( )
inline

Definition at line 35 of file hydrogen-bch.cc.

35 { return is_in_loop_; }

Referenced by v8::internal::BASE_EMBEDDED< Visitor >::CheckHoistability().

+ Here is the caller graph for this function:

◆ is_proper_exit()

template<class Visitor >
bool v8::internal::BASE_EMBEDDED< Visitor >::Element::is_proper_exit ( )
inline

Definition at line 34 of file hydrogen-bch.cc.

34 { return is_proper_exit_; }

Referenced by v8::internal::BASE_EMBEDDED< Visitor >::CheckHoistability().

+ Here is the caller graph for this function:

◆ is_start()

template<class Visitor >
bool v8::internal::BASE_EMBEDDED< Visitor >::Element::is_start ( )
inline

Definition at line 33 of file hydrogen-bch.cc.

33 { return is_start_; }

Referenced by v8::internal::BASE_EMBEDDED< Visitor >::CheckHoistability().

+ Here is the caller graph for this function:

◆ NextDominatedBlock()

template<class Visitor >
HBasicBlock* v8::internal::BASE_EMBEDDED< Visitor >::Element::NextDominatedBlock ( )
inline

Definition at line 62 of file hydrogen-bch.cc.

62  {
64  return CurrentDominatedBlock();
65  }

◆ ResetCurrentDominatedBlock()

template<class Visitor >
void v8::internal::BASE_EMBEDDED< Visitor >::Element::ResetCurrentDominatedBlock ( )
inline

Definition at line 56 of file hydrogen-bch.cc.

◆ set_block()

template<class Visitor >
void v8::internal::BASE_EMBEDDED< Visitor >::Element::set_block ( HBasicBlock *  block)
inline

Definition at line 32 of file hydrogen-bch.cc.

32 { block_ = block; }

Referenced by v8::internal::BASE_EMBEDDED< Visitor >::InductionVariableBlocksTable().

+ Here is the caller graph for this function:

◆ set_has_check()

template<class Visitor >
void v8::internal::BASE_EMBEDDED< Visitor >::Element::set_has_check ( )
inline

Definition at line 37 of file hydrogen-bch.cc.

37 { has_check_ = true; }

Member Data Documentation

◆ additional_limit_

template<class Visitor >
InductionVariableLimitUpdate v8::internal::BASE_EMBEDDED< Visitor >::Element::additional_limit_
private

Definition at line 78 of file hydrogen-bch.cc.

◆ block_

template<class Visitor >
HBasicBlock* v8::internal::BASE_EMBEDDED< Visitor >::Element::block_
private

Definition at line 73 of file hydrogen-bch.cc.

◆ current_dominated_block_

template<class Visitor >
int v8::internal::BASE_EMBEDDED< Visitor >::Element::current_dominated_block_
private

Definition at line 79 of file hydrogen-bch.cc.

◆ has_check_

template<class Visitor >
bool v8::internal::BASE_EMBEDDED< Visitor >::Element::has_check_
private

Definition at line 77 of file hydrogen-bch.cc.

◆ is_in_loop_

template<class Visitor >
bool v8::internal::BASE_EMBEDDED< Visitor >::Element::is_in_loop_
private

Definition at line 76 of file hydrogen-bch.cc.

◆ is_proper_exit_

template<class Visitor >
bool v8::internal::BASE_EMBEDDED< Visitor >::Element::is_proper_exit_
private

Definition at line 75 of file hydrogen-bch.cc.

◆ is_start_

template<class Visitor >
bool v8::internal::BASE_EMBEDDED< Visitor >::Element::is_start_
private

Definition at line 74 of file hydrogen-bch.cc.

◆ kNoBlock

template<class Visitor >
const int v8::internal::BASE_EMBEDDED< Visitor >::Element::kNoBlock = -1
static

Definition at line 29 of file hydrogen-bch.cc.


The documentation for this class was generated from the following file: