Lines Matching refs:instruction

116     HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i - 1);  in AllocateRegistersInternal()  local
117 LiveInterval* current = instruction->GetLiveInterval(); in AllocateRegistersInternal()
121 LocationSummary* locations = instruction->GetLocations(); in AllocateRegistersInternal()
136 size_t position = instruction->GetLifetimePosition(); in AllocateRegistersInternal()
141 BlockRegister(output, position, position + 1, instruction->GetType()); in AllocateRegistersInternal()
145 for (size_t i = 0; i < instruction->InputCount(); ++i) { in AllocateRegistersInternal()
148 BlockRegister(input, position, position + 1, instruction->InputAt(i)->GetType()); in AllocateRegistersInternal()
154 DCHECK(instruction->IsParameterValue()); in AllocateRegistersInternal()
156 } else if (current->HasSpillSlot() || instruction->IsConstant()) { in AllocateRegistersInternal()
209 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i); in ValidateInternal() local
210 if (ShouldProcess(processing_core_registers_, instruction->GetLiveInterval())) { in ValidateInternal()
211 intervals.Add(instruction->GetLiveInterval()); in ValidateInternal()
671 static bool IsInputMove(HInstruction* instruction) { in IsInputMove() argument
672 return instruction->GetLifetimePosition() == kInputMoveLifetimePosition; in IsInputMove()
675 void RegisterAllocator::AddInputMoveFor(HInstruction* instruction, in AddInputMoveFor() argument
680 DCHECK(instruction->AsPhi() == nullptr); in AddInputMoveFor()
682 HInstruction* previous = instruction->GetPrevious(); in AddInputMoveFor()
689 instruction->GetBlock()->InsertInstructionBefore(move, instruction); in AddInputMoveFor()
779 void RegisterAllocator::InsertMoveAfter(HInstruction* instruction, in InsertMoveAfter() argument
784 if (instruction->AsPhi() != nullptr) { in InsertMoveAfter()
785 InsertParallelMoveAtEntryOf(instruction->GetBlock(), source, destination); in InsertMoveAfter()
789 size_t position = instruction->GetLifetimePosition() + 1; in InsertMoveAfter()
790 HParallelMove* move = instruction->GetNext()->AsParallelMove(); in InsertMoveAfter()
797 instruction->GetBlock()->InsertInstructionBefore(move, instruction->GetNext()); in InsertMoveAfter()
914 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i); in Resolve() local
915 LiveInterval* current = instruction->GetLiveInterval(); in Resolve()
916 LocationSummary* locations = instruction->GetLocations(); in Resolve()
918 if (instruction->AsParameterValue() != nullptr) { in Resolve()
947 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i); in Resolve() local
948 ConnectSiblings(instruction->GetLiveInterval()); in Resolve()