/art/compiler/optimizing/ |
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...] |
ssa_liveness_analysis_test.cc | 45 entry_ = new (GetAllocator()) HBasicBlock(graph_); 53 HBasicBlock* successor = new (GetAllocator()) HBasicBlock(graph); 68 HInstruction* arg = new (GetAllocator()) HParameterValue( 73 HInstruction* ret = new (GetAllocator()) HReturn(arg); 75 block->AddInstruction(new (GetAllocator()) HExit()); 88 HInstruction* array = new (GetAllocator()) HParameterValue( 90 HInstruction* index = new (GetAllocator()) HParameterValue( 92 HInstruction* value = new (GetAllocator()) HParameterValue( 94 HInstruction* extra_arg1 = new (GetAllocator()) HParameterValue( 96 HInstruction* extra_arg2 = new (GetAllocator()) HParameterValue [all...] |
loop_optimization_test.cc | 31 iva_(new (GetAllocator()) HInductionVarAnalysis(graph_)), 32 loop_opt_(new (GetAllocator()) HLoopOptimization(graph_, nullptr, iva_, nullptr)) { 41 entry_block_ = new (GetAllocator()) HBasicBlock(graph_); 42 return_block_ = new (GetAllocator()) HBasicBlock(graph_); 43 exit_block_ = new (GetAllocator()) HBasicBlock(graph_); 49 parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), 54 return_block_->AddInstruction(new (GetAllocator()) HReturnVoid()); 55 exit_block_->AddInstruction(new (GetAllocator()) HExit()); 62 HBasicBlock* header = new (GetAllocator()) HBasicBlock(graph_); 63 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); 108 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); 120 HInstruction* object = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), 124 HInstanceFieldSet* set_field10 = new (GetAllocator()) HInstanceFieldSet(object [all...] |
superblock_cloner_test.cc | 38 entry_block_ = new (GetAllocator()) HBasicBlock(graph_); 42 HBasicBlock* loop_preheader = new (GetAllocator()) HBasicBlock(graph_); 43 HBasicBlock* loop_header = new (GetAllocator()) HBasicBlock(graph_); 44 HBasicBlock* loop_body = new (GetAllocator()) HBasicBlock(graph_); 45 HBasicBlock* loop_exit = new (GetAllocator()) HBasicBlock(graph_); 52 exit_block_ = new (GetAllocator()) HBasicBlock(graph_); 67 parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), 72 loop_exit->AddInstruction(new (GetAllocator()) HReturnVoid()); 73 exit_block_->AddInstruction(new (GetAllocator()) HExit()); 85 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32) [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 | 421 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); 424 entry->AddInstruction(new (GetAllocator()) HGoto()); 426 HBasicBlock* first_block = new (GetAllocator()) HBasicBlock(graph); 431 HEqual* equal = new (GetAllocator()) HEqual(constant0, constant0); 433 first_block->AddInstruction(new (GetAllocator()) HIf(equal)); 435 HBasicBlock* then_block = new (GetAllocator()) HBasicBlock(graph); 436 HBasicBlock* else_block = new (GetAllocator()) HBasicBlock(graph); 437 HBasicBlock* exit_block = new (GetAllocator()) HBasicBlock(graph); 448 exit_block->AddInstruction(new (GetAllocator()) HExit()); 449 then_block->AddInstruction(new (GetAllocator()) HReturn(constant0)) [all...] |
side_effects_analysis.h | 32 graph->GetAllocator()->Adapter(kArenaAllocSideEffectsAnalysis)), 34 graph->GetAllocator()->Adapter(kArenaAllocSideEffectsAnalysis)) {}
|
register_allocator_test.cc | 479 register_allocator.registers_array_ = GetAllocator()->AllocArray<size_t>(1); 496 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); 499 HInstruction* parameter = new (GetAllocator()) HParameterValue( 503 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); 507 HInstruction* test = new (GetAllocator()) HInstanceFieldGet(parameter, 517 block->AddInstruction(new (GetAllocator()) HIf(test)); 518 HBasicBlock* then = new (GetAllocator()) HBasicBlock(graph); 519 HBasicBlock* else_ = new (GetAllocator()) HBasicBlock(graph); 520 HBasicBlock* join = new (GetAllocator()) HBasicBlock(graph); 529 then->AddInstruction(new (GetAllocator()) HGoto()) [all...] |
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());
|
constant_folding_test.cc | 742 HBasicBlock* entry_block = new (GetAllocator()) HBasicBlock(graph_); 745 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph_); 747 HBasicBlock* exit_block = new (GetAllocator()) HBasicBlock(graph_); 754 HInstruction* parameter = new (GetAllocator()) HParameterValue( 757 entry_block->AddInstruction(new (GetAllocator()) HGoto()); 762 block->AddInstruction(last = new (GetAllocator()) HAbove(zero, parameter)); 763 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); 764 block->AddInstruction(last = new (GetAllocator()) HAbove(parameter, zero)); 765 block->AddInstruction(new (GetAllocator()) HSelect(last, parameter, parameter, 0)); 766 block->AddInstruction(last = new (GetAllocator()) HAboveOrEqual(zero, parameter)) [all...] |
intrinsics_arm_vixl.h | 71 ArenaAllocator* GetAllocator();
|
/packages/apps/Test/connectivity/sl4n/facades/test/ |
test_facade.cpp | 74 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 75 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 77 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 78 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 91 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 92 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 94 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 95 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 108 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 109 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); [all...] |
/packages/apps/Test/connectivity/sl4n/utils/ |
common_utils.cpp | 28 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 29 doc.AddMember(sl4n::kErrorStr, sl4n::kInvalidParamStr, doc.GetAllocator());
|
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/ |
bt_binder_facade.cpp | 217 doc.AddMember(sl4n::kResultStr, sl4n::kFailStr, doc.GetAllocator()); 218 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 222 tmp.SetString(name.c_str(), doc.GetAllocator()); 223 doc.AddMember(sl4n::kResultStr, tmp, doc.GetAllocator()); 224 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 237 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 239 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 241 doc.AddMember(sl4n::kResultStr, init_result, doc.GetAllocator()); 253 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 254 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); [all...] |
/packages/apps/Test/connectivity/sl4n/facades/wifi/ |
wifi_facade.cpp | 166 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 167 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 169 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 170 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()); 183 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 184 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 186 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 187 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator());
|
/external/tensorflow/tensorflow/core/common_runtime/sycl/ |
sycl_device.cc | 39 Allocator* SYCLDevice::GetAllocator(AllocatorAttributes attr) { 51 Allocator* host_alloc = GetAllocator(attr); 62 Tensor copy(GetAllocator(alloc_attrs), parsed.dtype(), parsed.shape());
|
/external/tensorflow/tensorflow/core/common_runtime/ |
threadpool_device.h | 33 Allocator* GetAllocator(AllocatorAttributes attr) override;
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_device_factory.cc | 42 Allocator* GetAllocator(AllocatorAttributes attr) override { 92 Allocator* GetAllocator(AllocatorAttributes attr) override { 98 return ThreadPoolDevice::GetAllocator(attr);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
tutorial.cpp | 103 Document::AllocatorType& allocator = document.GetAllocator();
127 author.SetString(buffer, static_cast<size_t>(len), document.GetAllocator());
129 // document["hello"].SetString(buffer, document.GetAllocator());
132 // Value author(buffer, len, document.GetAllocator());
133 // Value author(buffer, document.GetAllocator());
137 document.AddMember("author", author, document.GetAllocator());
|