Flutter Engine
The Flutter Engine
Namespaces | Functions
redundancy_elimination_test.cc File Reference
#include "vm/compiler/backend/redundancy_elimination.h"
#include <functional>
#include <utility>
#include "vm/compiler/backend/block_builder.h"
#include "vm/compiler/backend/il_printer.h"
#include "vm/compiler/backend/il_test_helper.h"
#include "vm/compiler/backend/inliner.h"
#include "vm/compiler/backend/loops.h"
#include "vm/compiler/backend/type_propagator.h"
#include "vm/compiler/compiler_pass.h"
#include "vm/compiler/frontend/kernel_to_il.h"
#include "vm/compiler/jit/jit_call_specializer.h"
#include "vm/flags.h"
#include "vm/kernel_isolate.h"
#include "vm/log.h"
#include "vm/object.h"
#include "vm/parser.h"
#include "vm/symbols.h"
#include "vm/unit_test.h"

Go to the source code of this file.

Namespaces

namespace  dart
 

Functions

static void dart::NoopNative (Dart_NativeArguments args)
 
static Dart_NativeFunction dart::NoopNativeLookup (Dart_Handle name, int argument_count, bool *auto_setup_scope)
 
static void dart::FlattenScopeIntoEnvironment (FlowGraph *graph, LocalScope *scope, GrowableArray< LocalVariable * > *env)
 
static void dart::TryCatchOptimizerTest (Thread *thread, const char *script_chars, std::initializer_list< const char * > synchronized)
 
 dart::ISOLATE_UNIT_TEST_CASE (TryCatchOptimizer_DeadParameterElimination_Simple1)
 
 dart::ISOLATE_UNIT_TEST_CASE (TryCatchOptimizer_DeadParameterElimination_Simple2)
 
 dart::ISOLATE_UNIT_TEST_CASE (TryCatchOptimizer_DeadParameterElimination_Cyclic1)
 
 dart::ISOLATE_UNIT_TEST_CASE (TryCatchOptimizer_DeadParameterElimination_Cyclic2)
 
static void dart::TestAliasingViaRedefinition (Thread *thread, bool make_it_escape, std::function< Definition *(CompilerState *S, FlowGraph *, Definition *)> make_redefinition)
 
static Definition * dart::MakeCheckNull (CompilerState *S, FlowGraph *flow_graph, Definition *defn)
 
static Definition * dart::MakeRedefinition (CompilerState *S, FlowGraph *flow_graph, Definition *defn)
 
static Definition * dart::MakeAssertAssignable (CompilerState *S, FlowGraph *flow_graph, Definition *defn)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedefinitionAliasing_CheckNull_NoEscape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedefinitionAliasing_CheckNull_Escape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedefinitionAliasing_Redefinition_NoEscape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedefinitionAliasing_Redefinition_Escape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedefinitionAliasing_AssertAssignable_NoEscape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedefinitionAliasing_AssertAssignable_Escape)
 
static void dart::TestAliasingViaStore (Thread *thread, bool make_it_escape, bool make_host_escape, std::function< Definition *(CompilerState *S, FlowGraph *, Definition *)> make_redefinition)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_CheckNull_NoEscape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_CheckNull_Escape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_CheckNull_EscapeViaHost)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_Redefinition_NoEscape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_Redefinition_Escape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_Redefinition_EscapeViaHost)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_AssertAssignable_NoEscape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_AssertAssignable_Escape)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaStore_AssertAssignable_EscapeViaHost)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_AliasingViaTypedDataAndUntaggedTypedData)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_LoadDataFieldOfNewTypedData)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_TypedArrayViewAliasing)
 
static void dart::CountLoadsStores (FlowGraph *flow_graph, intptr_t *loads, intptr_t *stores)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedundantStoresAndLoads)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedundantStaticFieldInitialization)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedundantInitializerCallAfterIf)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedundantInitializerCallInLoop)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedundantInitializingStoreAOT)
 
 dart::ISOLATE_UNIT_TEST_CASE (LoadOptimizer_RedundantStoreAOT)
 
 dart::ISOLATE_UNIT_TEST_CASE (AllocationSinking_Arrays)
 
 dart::ISOLATE_UNIT_TEST_CASE (AllocationSinking_Records)
 
 dart::ISOLATE_UNIT_TEST_CASE (DelayAllocations_DelayAcrossCalls)
 
 dart::ISOLATE_UNIT_TEST_CASE (DelayAllocations_DontDelayIntoLoop)
 
 dart::ISOLATE_UNIT_TEST_CASE (CheckStackOverflowElimination_NoInterruptsPragma)
 
 dart::ISOLATE_UNIT_TEST_CASE (BoundsCheckElimination_Pragma)
 
 dart::ISOLATE_UNIT_TEST_CASE (CSE_Redefinitions)
 
 dart::ISOLATE_UNIT_TEST_CASE (AllocationSinking_NoViewDataMaterialization)
 
 dart::ISOLATE_UNIT_TEST_CASE (LICM_Deopt_Regress51220)
 
 dart::ISOLATE_UNIT_TEST_CASE (LICM_Deopt_Regress50245)