Lines Matching refs:instruction

229   explicit SafepointPosition(HInstruction* instruction)  in SafepointPosition()  argument
230 : instruction_(instruction), in SafepointPosition()
233 static size_t ComputePosition(HInstruction* instruction) { in ComputePosition() argument
236 if (instruction->IsEmittedAtUseSite()) { in ComputePosition()
239 DCHECK(instruction->IsNullCheck()) << instruction->DebugName(); in ComputePosition()
240 return instruction->GetLifetimePosition() + 2; in ComputePosition()
242 return instruction->GetLifetimePosition(); in ComputePosition()
281 HInstruction* instruction = nullptr) {
282 return new (allocator) LiveInterval(allocator, type, instruction);
300 void AddTempUse(HInstruction* instruction, size_t temp_index) { in AddTempUse() argument
304 size_t position = instruction->GetLifetimePosition(); in AddTempUse()
305 UsePosition* new_use = new (allocator_) UsePosition(instruction, temp_index, position); in AddTempUse()
313 void AddUse(HInstruction* instruction,
318 LocationSummary* locations = instruction->GetLocations();
320 actual_user = instruction;
331 DCHECK_EQ(instruction, actual_user);
338 if (!is_environment && instruction->IsInLoop()) {
339 AddBackEdgeUses(*instruction->GetBlock());
355 UsePosition* new_use = new (allocator_) UsePosition(instruction, input_index, position);
370 UsePosition* new_use = new (allocator_) UsePosition(instruction, input_index, position);
374 size_t start_block_position = instruction->GetBlock()->GetLifetimeStart();
398 void AddPhiUse(HInstruction* instruction, size_t input_index, HBasicBlock* block) { in AddPhiUse() argument
399 DCHECK(instruction->IsPhi()); in AddPhiUse()
404 new (allocator_) UsePosition(instruction, input_index, block->GetLifetimeEnd()); in AddPhiUse()
933 void AddSafepoint(HInstruction* instruction) { in AddSafepoint() argument
934 SafepointPosition* safepoint = new (allocator_) SafepointPosition(instruction); in AddSafepoint()
1210 HInstruction* instruction = GetInstructionFromPosition(index); in GetBlockFromPosition() local
1211 if (instruction == nullptr) { in GetBlockFromPosition()
1213 instruction = GetInstructionFromPosition(index + 1); in GetBlockFromPosition()
1215 return instruction->GetBlock(); in GetBlockFromPosition()
1269 static void ProcessEnvironment(HInstruction* instruction,
1272 static void RecursivelyProcessInputs(HInstruction* instruction,
1278 static bool ShouldBeLiveForEnvironment(HInstruction* env_holder, HInstruction* instruction) { in ShouldBeLiveForEnvironment() argument
1279 DCHECK(instruction != nullptr); in ShouldBeLiveForEnvironment()
1286 HGraph* graph = instruction->GetBlock()->GetGraph(); in ShouldBeLiveForEnvironment()
1292 return instruction->GetType() == DataType::Type::kReference; in ShouldBeLiveForEnvironment()
1304 HInstruction* instruction = GetInstructionFromSsaIndex(idx); in CheckNoLiveInIrreducibleLoop() local
1305 DCHECK(instruction->GetBlock()->IsEntryBlock()) << instruction->DebugName(); in CheckNoLiveInIrreducibleLoop()
1306 DCHECK(!instruction->IsParameterValue()); in CheckNoLiveInIrreducibleLoop()
1307 DCHECK(instruction->IsCurrentMethod() || instruction->IsConstant()) in CheckNoLiveInIrreducibleLoop()
1308 << instruction->DebugName(); in CheckNoLiveInIrreducibleLoop()