#include <hydrogen-infer-types.h>
Definition at line 14 of file hydrogen-infer-types.h.
◆ HInferTypesPhase()
v8::internal::HInferTypesPhase::HInferTypesPhase |
( |
HGraph * |
graph | ) |
|
|
inlineexplicit |
Definition at line 16 of file hydrogen-infer-types.h.
ZoneList< HValue * > worklist_
HPhase(const char *name, HGraph *graph)
◆ DISALLOW_COPY_AND_ASSIGN()
◆ InferTypes()
void v8::internal::HInferTypesPhase::InferTypes |
( |
int |
from_inclusive, |
|
|
int |
to_inclusive |
|
) |
| |
|
private |
Definition at line 10 of file hydrogen-infer-types.cc.
11 for (
int i = from_inclusive;
i <= to_inclusive; ++
i) {
12 HBasicBlock* block =
graph()->blocks()->at(
i);
14 const ZoneList<HPhi*>* phis = block->phis();
15 for (
int j = 0; j < phis->length(); j++) {
16 phis->at(j)->UpdateInferredType();
19 for (HInstructionIterator it(block); !it.Done(); it.Advance()) {
20 it.Current()->UpdateInferredType();
23 if (block->IsLoopHeader()) {
24 HBasicBlock* last_back_edge =
25 block->loop_information()->GetLastBackEdge();
28 i = last_back_edge->block_id();
31 for (
int j = 0; j < block->phis()->length(); ++j) {
32 HPhi* phi = block->phis()->at(j);
39 if (current->UpdateInferredType()) {
40 for (HUseIterator it(current->uses()); !it.Done(); it.Advance()) {
41 HValue*
use = it.value();
bool Contains(int i) const
void InferTypes(int from_inclusive, int to_inclusive)
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 expose gc extension under the specified name show built in functions in stack traces use random jit cookie to mask large constants minimum length for automatic enable preparsing CPU profiler sampling interval in microseconds trace out of bounds accesses to external arrays default size of stack region v8 is allowed to use(in kBytes)") DEFINE_INT(max_stack_trace_source_length
#define DCHECK(condition)
References v8::internal::BitVector::Add(), v8::internal::List< T, AllocationPolicy >::at(), v8::internal::BitVector::Contains(), DCHECK, v8::internal::HPhase::graph(), v8::internal::HValue::id(), in_worklist_, v8::internal::BitVector::IsEmpty(), v8::internal::BitVector::Remove(), v8::internal::HValue::UpdateInferredType(), use(), v8::internal::HValue::uses(), and worklist_.
Referenced by Run().
◆ Run()
void v8::internal::HInferTypesPhase::Run |
( |
| ) |
|
|
inline |
◆ in_worklist_
BitVector v8::internal::HInferTypesPhase::in_worklist_ |
|
private |
◆ worklist_
The documentation for this class was generated from the following files: