Home
last modified time | relevance | path

Searched refs:MemoryOptimizer (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/compiler/
Dmemory-optimizer.cc18 MemoryOptimizer::MemoryOptimizer(JSGraph* jsgraph, Zone* zone, in MemoryOptimizer() function in v8::internal::compiler::MemoryOptimizer
30 void MemoryOptimizer::Optimize() { in Optimize()
41 MemoryOptimizer::AllocationGroup::AllocationGroup(Node* node, in AllocationGroup()
48 MemoryOptimizer::AllocationGroup::AllocationGroup(Node* node, in AllocationGroup()
55 void MemoryOptimizer::AllocationGroup::Add(Node* node) { in Add()
59 bool MemoryOptimizer::AllocationGroup::Contains(Node* node) const { in Contains()
63 MemoryOptimizer::AllocationState::AllocationState() in AllocationState()
66 MemoryOptimizer::AllocationState::AllocationState(AllocationGroup* group) in AllocationState()
69 MemoryOptimizer::AllocationState::AllocationState(AllocationGroup* group, in AllocationState()
73 bool MemoryOptimizer::AllocationState::IsNewSpaceAllocation() const { in IsNewSpaceAllocation()
[all …]
Dmemory-optimizer.h32 class MemoryOptimizer final {
36 MemoryOptimizer(JSGraph* jsgraph, Zone* zone,
39 ~MemoryOptimizer() {} in ~MemoryOptimizer()
154 DISALLOW_IMPLICIT_CONSTRUCTORS(MemoryOptimizer);
Dpipeline.cc1579 MemoryOptimizer optimizer( in Run()
1582 ? MemoryOptimizer::AllocationFolding::kDoAllocationFolding in Run()
1583 : MemoryOptimizer::AllocationFolding::kDontAllocationFolding); in Run()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmemory_optimizer.h29 class MemoryOptimizer : public GraphOptimizer {
36 explicit MemoryOptimizer(
41 ~MemoryOptimizer() override {} in ~MemoryOptimizer()
Dmemory_optimizer_test.cc59 MemoryOptimizer optimizer(RewriterConfig::MANUAL); in TEST_F()
99 MemoryOptimizer optimizer(RewriterConfig::MANUAL); in TEST_F()
124 MemoryOptimizer optimizer(RewriterConfig::MANUAL, in TEST_F()
164 MemoryOptimizer optimizer(RewriterConfig::RECOMPUTATION_HEURISTICS); in TEST_F()
252 MemoryOptimizer optimizer(RewriterConfig::MANUAL); in TEST_F()
322 MemoryOptimizer optimizer(RewriterConfig::SWAPPING_HEURISTICS); in TEST_F()
373 MemoryOptimizer optimizer(RewriterConfig::SWAPPING_HEURISTICS); in TEST_F()
411 MemoryOptimizer optimizer(RewriterConfig::SCHEDULING_HEURISTICS); in TEST_F()
465 MemoryOptimizer optimizer(RewriterConfig::MANUAL); in TEST_F()
497 MemoryOptimizer optimizer(RewriterConfig::MANUAL); in TEST_F()
[all …]
Dmeta_optimizer.cc131 MK_OPT("memory", new MemoryOptimizer(RewriterConfig::MANUAL)); in MakeNewOptimizer()
206 MakeUnique<MemoryOptimizer>(cfg_.memory_optimization())); in InitializeOptimizers()
208 optimizers->push_back(MakeUnique<MemoryOptimizer>( in InitializeOptimizers()
Dmemory_optimizer.cc1339 Status MemoryOptimizer::Optimize(Cluster* cluster, const GrapplerItem& item, in Optimize()
1378 void MemoryOptimizer::Feedback(Cluster* cluster, const GrapplerItem& item, in Feedback()