HomeSort by relevance Sort by last modified time
    Searched refs:GetAllocator (Results 1 - 25 of 179) sorted by null

1 2 3 4 5 6 7 8

  /art/compiler/optimizing/
select_generator_test.cc 30 HBasicBlock* if_block = new (GetAllocator()) HBasicBlock(graph_);
31 HBasicBlock* then_block = new (GetAllocator()) HBasicBlock(graph_);
32 HBasicBlock* else_block = new (GetAllocator()) HBasicBlock(graph_);
45 HParameterValue* bool_param = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),
52 if_block->AddInstruction(new (GetAllocator()) HIf(bool_param));
55 then_block->AddInstruction(new (GetAllocator()) HGoto());
57 else_block->AddInstruction(new (GetAllocator()) HGoto());
59 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32);
78 HDivZeroCheck* instr = new (GetAllocator()) HDivZeroCheck(parameter_, 0)
    [all...]
ssa_liveness_analysis_test.cc 38 entry_ = new (GetAllocator()) HBasicBlock(graph_);
46 HBasicBlock* successor = new (GetAllocator()) HBasicBlock(graph);
58 HInstruction* arg = new (GetAllocator()) HParameterValue(
63 HInstruction* ret = new (GetAllocator()) HReturn(arg);
65 block->AddInstruction(new (GetAllocator()) HExit());
78 HInstruction* array = new (GetAllocator()) HParameterValue(
80 HInstruction* index = new (GetAllocator()) HParameterValue(
82 HInstruction* value = new (GetAllocator()) HParameterValue(
84 HInstruction* extra_arg1 = new (GetAllocator()) HParameterValue(
86 HInstruction* extra_arg2 = new (GetAllocator()) HParameterValue
    [all...]
gvn_test.cc 31 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph);
34 HInstruction* parameter = new (GetAllocator()) HParameterValue(graph->GetDexFile(),
40 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph);
44 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter,
53 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter,
63 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter,
74 block->AddInstruction(new (GetAllocator()) HInstanceFieldSet(parameter,
84 block->AddInstruction(new (GetAllocator()) HInstanceFieldGet(parameter,
94 block->AddInstruction(new (GetAllocator()) HExit());
112 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph)
    [all...]
nodes_vector_test.cc 37 entry_block_ = new (GetAllocator()) HBasicBlock(graph_);
38 exit_block_ = new (GetAllocator()) HBasicBlock(graph_);
43 int8_parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),
48 int16_parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),
53 int32_parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),
133 HVecOperation* v0 = new (GetAllocator())
134 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt32, 4, kNoDexPc);
135 HVecOperation* v1 = new (GetAllocator())
136 HVecReplicateScalar(GetAllocator(), int32_parameter_, DataType::Type::kInt32, 4, kNoDexPc);
137 HVecOperation* v2 = new (GetAllocator())
    [all...]
nodes_test.cc 34 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph);
37 HInstruction* parameter = new (GetAllocator()) HParameterValue(
40 entry->AddInstruction(new (GetAllocator()) HGoto());
42 HBasicBlock* first_block = new (GetAllocator()) HBasicBlock(graph);
45 HInstruction* null_check = new (GetAllocator()) HNullCheck(parameter, 0);
47 first_block->AddInstruction(new (GetAllocator()) HReturnVoid());
49 HBasicBlock* exit_block = new (GetAllocator()) HBasicBlock(graph);
52 exit_block->AddInstruction(new (GetAllocator()) HExit());
54 HEnvironment* environment = new (GetAllocator()) HEnvironment(
55 GetAllocator(), 1, graph->GetArtMethod(), 0, null_check)
    [all...]
bounds_check_elimination_test.cc 67 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_);
70 HInstruction* parameter1 = new (GetAllocator()) HParameterValue(
72 HInstruction* parameter2 = new (GetAllocator()) HParameterValue(
80 HBasicBlock* block1 = new (GetAllocator()) HBasicBlock(graph_);
82 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(parameter2, constant_0);
83 HIf* if_inst = new (GetAllocator()) HIf(cmp);
88 HBasicBlock* block2 = new (GetAllocator()) HBasicBlock(graph_);
90 HNullCheck* null_check = new (GetAllocator()) HNullCheck(parameter1, 0);
91 HArrayLength* array_length = new (GetAllocator()) HArrayLength(null_check, 0);
92 HBoundsCheck* bounds_check2 = new (GetAllocator())
    [all...]
loop_optimization_test.cc 31 iva_(new (GetAllocator()) HInductionVarAnalysis(graph_)),
32 loop_opt_(new (GetAllocator()) HLoopOptimization(
42 entry_block_ = new (GetAllocator()) HBasicBlock(graph_);
43 return_block_ = new (GetAllocator()) HBasicBlock(graph_);
44 exit_block_ = new (GetAllocator()) HBasicBlock(graph_);
50 parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),
55 return_block_->AddInstruction(new (GetAllocator()) HReturnVoid());
56 exit_block_->AddInstruction(new (GetAllocator()) HExit());
63 HBasicBlock* header = new (GetAllocator()) HBasicBlock(graph_);
64 HBasicBlock* body = new (GetAllocator()) HBasicBlock(graph_)
    [all...]
load_store_analysis_test.cc 33 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_);
47 HInstruction* array = new (GetAllocator()) HParameterValue(
49 HInstruction* index = new (GetAllocator()) HParameterValue(
54 HInstruction* array_get1 = new (GetAllocator()) HArrayGet(array, c1, DataType::Type::kInt32, 0);
55 HInstruction* array_get2 = new (GetAllocator()) HArrayGet(array, c2, DataType::Type::kInt32, 0);
57 new (GetAllocator()) HArraySet(array, c1, c3, DataType::Type::kInt32, 0);
59 new (GetAllocator()) HArraySet(array, index, c3, DataType::Type::kInt32, 0);
112 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_);
124 HInstruction* object = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),
128 HInstanceFieldSet* set_field10 = new (GetAllocator()) HInstanceFieldSet(object
    [all...]
licm_test.cc 50 entry_ = new (GetAllocator()) HBasicBlock(graph_);
51 loop_preheader_ = new (GetAllocator()) HBasicBlock(graph_);
52 loop_header_ = new (GetAllocator()) HBasicBlock(graph_);
53 loop_body_ = new (GetAllocator()) HBasicBlock(graph_);
54 return_ = new (GetAllocator()) HBasicBlock(graph_);
55 exit_ = new (GetAllocator()) HBasicBlock(graph_);
76 parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),
83 loop_preheader_->AddInstruction(new (GetAllocator()) HGoto());
84 loop_header_->AddInstruction(new (GetAllocator()) HIf(parameter_));
85 loop_body_->AddInstruction(new (GetAllocator()) HGoto())
    [all...]
scheduler_test.cc 80 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_);
81 HBasicBlock* block1 = new (GetAllocator()) HBasicBlock(graph_);
101 HInstruction* array = new (GetAllocator()) HParameterValue(graph_->GetDexFile(),
107 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2);
108 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2);
109 HInstruction* mul = new (GetAllocator()) HMul(DataType::Type::kInt32, add1, add2);
110 HInstruction* div_check = new (GetAllocator()) HDivZeroCheck(add2, 0);
111 HInstruction* div = new (GetAllocator()) HDiv(DataType::Type::kInt32, add1, div_check, 0);
113 new (GetAllocator()) HArrayGet(array, add1, DataType::Type::kInt32, 0);
115 new (GetAllocator()) HArraySet(array, add1, add2, DataType::Type::kInt32, 0)
    [all...]
induction_var_analysis_test.cc 53 loop_preheader_[d] = new (GetAllocator()) HBasicBlock(graph_);
55 loop_header_[d] = new (GetAllocator()) HBasicBlock(graph_);
61 loop_body_[d] = new (GetAllocator()) HBasicBlock(graph_);
80 entry_ = new (GetAllocator()) HBasicBlock(graph_);
83 return_ = new (GetAllocator()) HBasicBlock(graph_);
85 exit_ = new (GetAllocator()) HBasicBlock(graph_);
94 parameter_ = new (GetAllocator()) HParameterValue(
104 return_->AddInstruction(new (GetAllocator()) HReturnVoid());
105 exit_->AddInstruction(new (GetAllocator()) HExit());
109 basic_[d] = new (GetAllocator()) HPhi(GetAllocator(), d, 0, DataType::Type::kInt32)
    [all...]
codegen_test.cc 423 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph);
426 entry->AddInstruction(new (GetAllocator()) HGoto());
428 HBasicBlock* first_block = new (GetAllocator()) HBasicBlock(graph);
433 HEqual* equal = new (GetAllocator()) HEqual(constant0, constant0);
435 first_block->AddInstruction(new (GetAllocator()) HIf(equal));
437 HBasicBlock* then_block = new (GetAllocator()) HBasicBlock(graph);
438 HBasicBlock* else_block = new (GetAllocator()) HBasicBlock(graph);
439 HBasicBlock* exit_block = new (GetAllocator()) HBasicBlock(graph);
450 exit_block->AddInstruction(new (GetAllocator()) HExit());
451 then_block->AddInstruction(new (GetAllocator()) HReturn(constant0))
    [all...]
optimizing_unit_test.h 97 ArenaAllocator* GetAllocator() { return &allocator_; }
114 ArenaAllocator* GetAllocator() { return pool_and_allocator_->GetAllocator(); }
124 ArenaAllocator* const allocator = pool_and_allocator_->GetAllocator();
155 void* aligned_data = GetAllocator()->Alloc(code_item_size);
166 new (graph->GetAllocator()) DexCompilationUnit(
203 entry_block_ = new (GetAllocator()) HBasicBlock(graph_);
207 return_block_ = new (GetAllocator()) HBasicBlock(graph_);
210 exit_block_ = new (GetAllocator()) HBasicBlock(graph_);
217 parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile()
    [all...]
register_allocator_test.cc 473 register_allocator.registers_array_ = GetAllocator()->AllocArray<size_t>(1);
490 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph);
493 HInstruction* parameter = new (GetAllocator()) HParameterValue(
497 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph);
501 HInstruction* test = new (GetAllocator()) HInstanceFieldGet(parameter,
511 block->AddInstruction(new (GetAllocator()) HIf(test));
512 HBasicBlock* then = new (GetAllocator()) HBasicBlock(graph);
513 HBasicBlock* else_ = new (GetAllocator()) HBasicBlock(graph);
514 HBasicBlock* join = new (GetAllocator()) HBasicBlock(graph);
523 then->AddInstruction(new (GetAllocator()) HGoto())
    [all...]
side_effects_analysis.h 32 graph->GetAllocator()->Adapter(kArenaAllocSideEffectsAnalysis)),
34 graph->GetAllocator()->Adapter(kArenaAllocSideEffectsAnalysis)) {}
graph_checker_test.cc 38 HBasicBlock* entry_block = new (GetAllocator()) HBasicBlock(graph);
39 entry_block->AddInstruction(new (GetAllocator()) HReturnVoid());
42 HBasicBlock* exit_block = new (GetAllocator()) HBasicBlock(graph);
43 exit_block->AddInstruction(new (GetAllocator()) HExit());
superblock_cloner_test.cc 39 HBasicBlock* loop_preheader = new (GetAllocator()) HBasicBlock(graph_);
40 HBasicBlock* loop_header = new (GetAllocator()) HBasicBlock(graph_);
41 HBasicBlock* loop_body = new (GetAllocator()) HBasicBlock(graph_);
68 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32);
69 HInstruction* suspend_check = new (GetAllocator()) HSuspendCheck();
70 HInstruction* loop_check = new (GetAllocator()) HGreaterThanOrEqual(phi, const_128);
75 loop_header->AddInstruction(new (GetAllocator()) HIf(loop_check));
78 HInstruction* null_check = new (GetAllocator()) HNullCheck(parameter_, dex_pc);
79 HInstruction* array_length = new (GetAllocator()) HArrayLength(null_check, dex_pc)
    [all...]
constant_folding_test.cc 737 HBasicBlock* entry_block = new (GetAllocator()) HBasicBlock(graph_);
740 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph_);
742 HBasicBlock* exit_block = new (GetAllocator()) HBasicBlock(graph_);
749 HInstruction* parameter = new (GetAllocator()) HParameterValue(
752 entry_block->AddInstruction(new (GetAllocator()) HGoto());
757 block->AddInstruction(last = new (GetAllocator()) HAbove(zero, parameter));
758 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0));
759 block->AddInstruction(last = new (GetAllocator()) HAbove(parameter, zero));
760 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0));
761 block->AddInstruction(last = new (GetAllocator()) HAboveOrEqual(zero, parameter))
    [all...]
intrinsics_arm_vixl.h 71 ArenaAllocator* GetAllocator();
intrinsics_mips.h 79 ArenaAllocator* GetAllocator();
  /external/tensorflow/tensorflow/compiler/tf2xla/
xla_compilation_device.h 53 Allocator* GetAllocator(AllocatorAttributes attr) override;
  /external/tensorflow/tensorflow/core/common_runtime/sycl/
sycl_device.cc 38 Allocator* SYCLDevice::GetAllocator(AllocatorAttributes attr) {
50 Allocator* host_alloc = GetAllocator(attr);
61 Tensor copy(GetAllocator(alloc_attrs), parsed.dtype(), parsed.shape());
  /external/tensorflow/tensorflow/core/common_runtime/
threadpool_device.h 32 Allocator* GetAllocator(AllocatorAttributes attr) override;
  /external/tensorflow/tensorflow/core/grappler/optimizers/
evaluation_utils.h 44 Allocator* GetAllocator(AllocatorAttributes attr) override {
  /external/tensorflow/tensorflow/core/common_runtime/gpu/
gpu_device_factory.cc 43 Allocator* GetAllocator(AllocatorAttributes attr) override {
94 Allocator* GetAllocator(AllocatorAttributes attr) override {
100 return ThreadPoolDevice::GetAllocator(attr);

Completed in 380 milliseconds

1 2 3 4 5 6 7 8