Searched refs:GetGraph (Results 1 - 25 of 62) sorted by relevance

123

/art/compiler/optimizing/
H A Dcha_guard_optimization.cc37 block_has_cha_guard_(GetGraph()->GetBlocks().size(),
41 number_of_guards_to_visit_ = GetGraph()->GetNumberOfCHAGuards();
44 GetGraph()->SetNumberOfCHAGuards(0);
205 HDeoptimize* deoptimize = new (GetGraph()->GetAllocator()) HDeoptimize(
206 GetGraph()->GetAllocator(), compare, DeoptimizationKind::kCHA, suspend->GetDexPc());
211 GetGraph()->IncrementNumberOfCHAGuards();
241 GetGraph()->IncrementNumberOfCHAGuards();
H A Dconstant_folding.cc108 InstructionWithAbsorbingInputSimplifier simplifier(GetGraph());
153 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0));
165 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 1));
177 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0));
189 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 1));
201 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 0));
213 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kBool, 1));
243 instruction->ReplaceWith(GetGraph()->GetConstant(DataType::Type::kInt32,
315 instruction->ReplaceWith(GetGraph()->GetConstant(type, 0));
348 instruction->ReplaceWith(GetGraph()
[all...]
H A Dpc_relative_fixups_mips.cc55 base_ = new (GetGraph()->GetAllocator()) HMipsComputeBaseMethodAddress();
56 HBasicBlock* entry_block = GetGraph()->GetEntryBlock();
113 HGraph* graph = GetGraph();
H A Dinstruction_simplifier.cc149 for (HBasicBlock* block : GetGraph()->GetReversePostOrder()) {
198 HNeg* neg = new (GetGraph()->GetAllocator()) HNeg(binop->GetType(), binop);
237 hbin = new (GetGraph()->GetAllocator()) HOr(type, src_left, src_right, dex_pc);
239 hbin = new (GetGraph()->GetAllocator()) HAnd(type, src_left, src_right, dex_pc);
243 hnot = new (GetGraph()->GetAllocator()) HBooleanNot(hbin, dex_pc);
245 hnot = new (GetGraph()->GetAllocator()) HNot(type, hbin, dex_pc);
286 ArenaAllocator* allocator = mul->GetBlock()->GetGraph()->GetAllocator();
368 instruction->ReplaceInput(GetGraph()->GetIntConstant(masked_cst), /* index */ 1);
420 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight());
664 HGraph* graph = GetGraph();
[all...]
H A Dpc_relative_fixups_x86.cc138 HGraph* graph = GetGraph();
157 HGraph* graph = GetGraph();
169 bool has_irreducible_loops = GetGraph()->HasIrreducibleLoops();
179 new (GetGraph()->GetAllocator()) HX86ComputeBaseMethodAddress();
183 HBasicBlock* entry_block = GetGraph()->GetEntryBlock();
193 new (GetGraph()->GetAllocator()) HX86LoadFromConstantTable(method_address, value);
H A Dcode_generator_vector_arm_vixl.cc37 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
80 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
131 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
160 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
168 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
197 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
224 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
271 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
301 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
341 CreateVecBinOpLocations(GetGraph()
[all...]
H A Dinstruction_simplifier_shared.cc78 ArenaAllocator* allocator = mul->GetBlock()->GetGraph()->GetAllocator();
108 ArenaAllocator* allocator = mul->GetBlock()->GetGraph()->GetAllocator();
155 mul->GetBlock()->GetGraph()->GetConstant(type, 0),
219 HBitwiseNegatedRight* neg_op = new (hnot->GetBlock()->GetGraph()->GetAllocator())
257 HGraph* graph = access->GetBlock()->GetGraph();
291 HGraph* graph = access->GetBlock()->GetGraph();
H A Dbounds_check_elimination.cc553 if (!GetGraph()->IsCompilingOsr()) {
1278 HInstruction* upper = GetGraph()->GetIntConstant(max_c);
1282 HInstruction* lower = new (GetGraph()->GetAllocator())
1283 HAdd(DataType::Type::kInt32, base, GetGraph()->GetIntConstant(min_c));
1284 upper = new (GetGraph()->GetAllocator()) HAdd(DataType::Type::kInt32, base, upper);
1287 InsertDeoptInBlock(bounds_check, new (GetGraph()->GetAllocator()) HAbove(lower, upper));
1290 bounds_check, new (GetGraph()->GetAllocator()) HAboveOrEqual(upper, array_length));
1337 HBasicBlock* exit = GetGraph()->GetExitBlock();
1493 other_bounds_check, other_index, GetGraph(), block, &max_lower, &max_upper);
1496 other_bounds_check, other_index, GetGraph(), bloc
[all...]
H A Dcode_generator_vector_x86.cc29 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
120 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
205 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
272 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
290 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
337 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
378 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
450 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
492 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
519 CreateVecBinOpLocations(GetGraph()
[all...]
H A Dcode_generator_vector_x86_64.cc29 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
111 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
188 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
255 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
273 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
320 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
361 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
433 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
475 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
502 CreateVecBinOpLocations(GetGraph()
[all...]
H A Dprepare_for_register_allocation.cc28 for (HBasicBlock* block : GetGraph()->GetReversePostOrder()) {
59 if (GetGraph()->GetArtMethod() != char_at_method) {
60 ArenaAllocator* allocator = GetGraph()->GetAllocator();
H A Dcode_generator_vector_mips.cc27 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
98 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
179 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
234 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
252 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
299 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
346 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
401 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
443 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
483 CreateVecBinOpLocations(GetGraph()
[all...]
H A Dcode_generator_vector_mips64.cc32 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
97 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
177 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
232 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
251 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
298 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
345 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
400 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
442 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
482 CreateVecBinOpLocations(GetGraph()
[all...]
H A Dcode_generator_vector_arm64.cc41 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
134 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instruction);
209 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
249 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
267 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
308 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
347 CreateVecUnOpLocations(GetGraph()->GetAllocator(), instruction);
398 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
440 CreateVecBinOpLocations(GetGraph()->GetAllocator(), instruction);
480 CreateVecBinOpLocations(GetGraph()
[all...]
H A Dsharpening.cc113 if (callee == codegen->GetGraph()->GetArtMethod() && !codegen->GetGraph()->IsDebuggable()) {
134 if (codegen->GetGraph()->IsDebuggable()) {
H A Dlocations.cc56 instruction->GetBlock()->GetGraph()->GetAllocator()) {}
H A Dcode_generator_arm64.cc185 unsigned v_reg_size = codegen->GetGraph()->HasSIMD() ? kQRegSize : kDRegSize;
554 HParallelMove parallel_move(codegen->GetGraph()->GetAllocator());
1228 HParallelMove parallel_move(codegen->GetGraph()->GetAllocator());
1464 scratch = LocationFrom(codegen_->GetGraph()->HasSIMD()
1477 vixl_temps_.Release(codegen_->GetGraph()->HasSIMD() ? QRegisterFrom(loc) : DRegisterFrom(loc));
1539 if (GetGraph()->HasShouldDeoptimizeFlag()) {
1632 if (GetGraph()->IsDebuggable()) {
1775 if (GetGraph()->HasSIMD()) {
2192 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(instr);
2221 new (GetGraph()
[all...]
H A Dinstruction_simplifier_arm64.cc109 left = GetGraph()->GetConstant(right->GetType(), 0);
142 new (GetGraph()->GetAllocator()) HDataProcWithShifterOp(use,
H A Dload_store_elimination.cc128 type_conversion = new (GetGraph()->GetAllocator()) HTypeConversion(
185 !GetGraph()->HasIrreducibleLoops())) {
482 << "method: " << GetGraph()->GetMethodName();
526 return GetGraph()->GetNullConstant();
533 return GetGraph()->GetIntConstant(0);
535 return GetGraph()->GetLongConstant(0);
537 return GetGraph()->GetFloatConstant(0);
539 return GetGraph()->GetDoubleConstant(0);
H A Dnodes_shared.h101 return GetBlock()->GetGraph()->GetIntConstant(
105 return GetBlock()->GetGraph()->GetLongConstant(
H A Dnodes.h1024 HGraph* GetGraph() const { return graph_; } function in class:art::HBasicBlock
1990 ArenaAllocator* GetAllocator() const { return block_->GetGraph()->GetAllocator(); }
2084 new (GetBlock()->GetGraph()->GetAllocator()) HUseListNode<HInstruction*>(user, index);
2094 new (GetBlock()->GetGraph()->GetAllocator()) HUseListNode<HEnvironment*>(user, index);
2177 ArenaAllocator* allocator = GetBlock()->GetGraph()->GetAllocator();
2188 ArenaAllocator* allocator = GetBlock()->GetGraph()->GetAllocator();
3631 return GetBlock()->GetGraph()->GetIntConstant(value, dex_pc);
4141 return GetBlock()->GetGraph()->GetIntConstant(value, dex_pc);
4500 DCHECK_EQ(InputAt(GetSpecialInputIndex()), GetBlock()->GetGraph()->GetCurrentMethod());
4766 return GetBlock()->GetGraph()
[all...]
H A Dgraph_checker.cc60 ScopedArenaAllocator allocator(GetGraph()->GetArenaStack());
112 if (GetGraph()->IsInSsaForm() && !block->EndsWithControlFlowInstruction()) {
264 if (!GetGraph()->HasBoundsChecks()) {
276 if (GetGraph()->IsCompilingOsr()) {
673 HBasicBlock* loop_block = GetGraph()->GetBlocks()[i];
845 ScopedArenaAllocator allocator(GetGraph()->GetArenaStack());
849 GetGraph()->GetCurrentInstructionId(),
H A Dregister_allocation_resolver.cc28 : allocator_(codegen->GetGraph()->GetAllocator()),
54 codegen_->GetGraph()->GetLinearOrder());
152 for (HBasicBlock* block : codegen_->GetGraph()->GetLinearOrder()) {
182 for (HBasicBlock* block : codegen_->GetGraph()->GetLinearOrder()) {
413 return instruction->GetBlock()->GetGraph()->HasIrreducibleLoops() &&
438 if (codegen_->GetGraph()->HasIrreducibleLoops() &&
462 if (codegen_->GetGraph()->HasIrreducibleLoops() &&
H A Dcode_generator_x86.cc408 HParallelMove parallel_move(codegen->GetGraph()->GetAllocator());
805 HParallelMove parallel_move(codegen->GetGraph()->GetAllocator());
968 if (GetGraph()->HasSIMD()) {
977 if (GetGraph()->HasSIMD()) {
1098 if (GetGraph()->HasShouldDeoptimizeFlag()) {
1337 HParallelMove move(GetGraph()->GetAllocator());
1694 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(if_instr);
1711 LocationSummary* locations = new (GetGraph()->GetAllocator())
1731 LocationSummary* locations = new (GetGraph()->GetAllocator())
1763 LocationSummary* locations = new (GetGraph()
[all...]
H A Dnodes.cc817 HGraph* graph = header_->GetGraph();
978 replacement->SetId(GetGraph()->GetNextInstructionId());
994 instruction->SetId(block->GetGraph()->GetNextInstructionId());
1015 instruction->SetId(GetGraph()->GetNextInstructionId());
1029 instruction->SetId(GetGraph()->GetNextInstructionId());
1039 phi->SetId(GetGraph()->GetNextInstructionId());
1508 HGraph* graph = GetBlock()->GetGraph();
1801 new (GetGraph()->GetAllocator()) HBasicBlock(GetGraph(), cursor->GetDexPc());
1813 AddInstruction(new (GetGraph()
[all...]

Completed in 744 milliseconds

123