Lines Matching refs:HInstruction

98 void RemoveEnvironmentUses(HInstruction* instruction) {  in RemoveEnvironmentUses()
111 bool HasEnvironmentUsedByOthers(HInstruction* instruction) { in HasEnvironmentUsedByOthers()
116 HInstruction* user = environment->GetInstructionAt(i); in HasEnvironmentUsedByOthers()
126 void ResetEnvironmentInputRecords(HInstruction* instruction) { in ResetEnvironmentInputRecords()
139 static void RemoveAsUser(HInstruction* instruction) { in RemoveAsUser()
242 HInstruction* HBasicBlock::GetFirstInstructionDisregardMoves() const { in GetFirstInstructionDisregardMoves()
243 HInstruction* instruction = GetFirstInstruction(); in GetFirstInstructionDisregardMoves()
377 HInstruction* first_instr = phi->InputAt(first); in FixPhisAfterPredecessorsReodering()
378 HInstruction* second_instr = phi->InputAt(second); in FixPhisAfterPredecessorsReodering()
486 HInstruction* orig_input = header_phi->InputAt(first_nonbackedge_pred_pos); in TransformLoopToSinglePreheaderFormat()
493 HInstruction* input = header_phi->InputAt(input_pos); in TransformLoopToSinglePreheaderFormat()
527 HInstruction* first_instruction = header->GetFirstInstruction(); in SimplifyLoop()
639 HInstruction* insert_before = nullptr; in InsertConstant()
641 HInstruction* gota = entry_block_->GetLastInstruction(); in InsertConstant()
643 HInstruction* suspend_check = gota->GetPrevious(); in InsertConstant()
893 bool HLoopInformation::IsDefinedOutOfTheLoop(HInstruction* instruction) const { in IsDefinedOutOfTheLoop()
951 static void UpdateInputsUsers(HInstruction* instruction) { in UpdateInputsUsers()
967 void HBasicBlock::ReplaceAndRemoveInstructionWith(HInstruction* initial, in ReplaceAndRemoveInstructionWith()
968 HInstruction* replacement) { in ReplaceAndRemoveInstructionWith()
992 HInstruction* instruction) { in Add()
1001 void HBasicBlock::AddInstruction(HInstruction* instruction) { in AddInstruction()
1009 void HBasicBlock::InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionBefore()
1022 void HBasicBlock::InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionAfter()
1048 HInstruction* instruction, in Remove()
1060 void HBasicBlock::RemoveInstruction(HInstruction* instruction, bool ensure_safety) { in RemoveInstruction()
1069 void HBasicBlock::RemoveInstructionOrPhi(HInstruction* instruction, bool ensure_safety) { in RemoveInstructionOrPhi()
1077 void HEnvironment::CopyFrom(ArrayRef<HInstruction* const> locals) { in CopyFrom()
1079 HInstruction* instruction = locals[i]; in CopyFrom()
1089 HInstruction* instruction = env->GetInstructionAt(i); in CopyFrom()
1101 HInstruction* instruction = env->GetInstructionAt(i); in CopyFromWithLoopPhiAdjustment()
1109 HInstruction* initial = instruction->AsPhi()->InputAt(0); in CopyFromWithLoopPhiAdjustment()
1120 HInstruction* user = env_use.GetInstruction(); in RemoveAsUserOfInput()
1126 void HEnvironment::ReplaceInput(HInstruction* replacement, size_t index) { in ReplaceInput()
1128 HInstruction* orig_instr = env_use_record.GetInstruction(); in ReplaceInput()
1143 HInstruction* HInstruction::GetNextDisregardingMoves() const { in GetNextDisregardingMoves()
1144 HInstruction* next = GetNext(); in GetNextDisregardingMoves()
1151 HInstruction* HInstruction::GetPreviousDisregardingMoves() const { in GetPreviousDisregardingMoves()
1152 HInstruction* previous = GetPrevious(); in GetPreviousDisregardingMoves()
1159 void HInstructionList::AddInstruction(HInstruction* instruction) { in AddInstruction()
1171 void HInstructionList::InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionBefore()
1185 void HInstructionList::InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionAfter()
1199 void HInstructionList::RemoveInstruction(HInstruction* instruction) { in RemoveInstruction()
1214 bool HInstructionList::Contains(HInstruction* instruction) const { in Contains()
1223 bool HInstructionList::FoundBefore(const HInstruction* instruction1, in FoundBefore()
1224 const HInstruction* instruction2) const { in FoundBefore()
1238 bool HInstruction::StrictlyDominates(HInstruction* other_instruction) const { in StrictlyDominates()
1275 void HInstruction::RemoveEnvironment() { in RemoveEnvironment()
1280 void HInstruction::ReplaceWith(HInstruction* other) { in ReplaceWith()
1297 void HInstruction::ReplaceUsesDominatedBy(HInstruction* dominator, HInstruction* replacement) { in ReplaceUsesDominatedBy()
1298 const HUseList<HInstruction*>& uses = GetUses(); in ReplaceUsesDominatedBy()
1300 HInstruction* user = it->GetUser(); in ReplaceUsesDominatedBy()
1319 void HInstruction::ReplaceEnvUsesDominatedBy(HInstruction* dominator, HInstruction* replacement) { in ReplaceEnvUsesDominatedBy()
1332 void HInstruction::ReplaceInput(HInstruction* replacement, size_t index) { in ReplaceInput()
1333 HUserRecord<HInstruction*> input_use = InputRecordAt(index); in ReplaceInput()
1338 HUseList<HInstruction*>::iterator before_use_node = input_use.GetBeforeUseNode(); in ReplaceInput()
1349 size_t HInstruction::EnvironmentSize() const { in EnvironmentSize()
1353 void HVariableInputSizeInstruction::AddInput(HInstruction* input) { in AddInput()
1355 inputs_.push_back(HUserRecord<HInstruction*>(input)); in AddInput()
1359 void HVariableInputSizeInstruction::InsertInputAt(size_t index, HInstruction* input) { in InsertInputAt()
1360 inputs_.insert(inputs_.begin() + index, HUserRecord<HInstruction*>(input)); in InsertInputAt()
1387 size_t HConstructorFence::RemoveConstructorFences(HInstruction* instruction) { in RemoveConstructorFences()
1401 const HUseList<HInstruction*>& uses = instruction->GetUses(); in RemoveConstructorFences()
1404 const HUseListNode<HInstruction*>& use_node = *it; in RemoveConstructorFences()
1405 HInstruction* const use_instruction = use_node.GetUser(); in RemoveConstructorFences()
1451 for (const HUseListNode<HInstruction*>& use_node : instruction->GetUses()) { in RemoveConstructorFences()
1469 auto has_input = [](HInstruction* haystack, HInstruction* needle) { in Merge()
1481 HInstruction* other_input = other->InputAt(input_count); in Merge()
1490 HInstruction* HConstructorFence::GetAssociatedAllocation(bool ignore_inputs) { in GetAssociatedAllocation()
1491 HInstruction* new_instance_inst = GetPrevious(); in GetAssociatedAllocation()
1694 HInstruction* HBinaryOperation::GetLeastConstantLeft() const { in GetLeastConstantLeft()
1695 HInstruction* most_constant_right = GetConstantRight(); in GetLeastConstantLeft()
1720 bool HCondition::IsBeforeWhenDisregardMoves(HInstruction* instruction) const { in IsBeforeWhenDisregardMoves()
1724 bool HInstruction::Equals(const HInstruction* other) const { in Equals()
1739 std::ostream& operator<<(std::ostream& os, HInstruction::InstructionKind rhs) { in operator <<()
1740 #define DECLARE_CASE(type, super) case HInstruction::k##type: os << #type; break; in operator <<()
1751 void HInstruction::MoveBefore(HInstruction* cursor, bool do_checks) { in MoveBefore()
1783 void HInstruction::MoveBeforeFirstUserAndOutOfLoops() { in MoveBeforeFirstUserAndOutOfLoops()
1815 HInstruction* insert_pos = nullptr; in MoveBeforeFirstUserAndOutOfLoops()
1816 for (const HUseListNode<HInstruction*>& use : GetUses()) { in MoveBeforeFirstUserAndOutOfLoops()
1828 HInstruction* if_input = insert_pos->AsIf()->InputAt(0); in MoveBeforeFirstUserAndOutOfLoops()
1837 HBasicBlock* HBasicBlock::SplitBefore(HInstruction* cursor) { in SplitBefore()
1884 HBasicBlock* HBasicBlock::SplitBeforeForInlining(HInstruction* cursor) { in SplitBeforeForInlining()
1915 HBasicBlock* HBasicBlock::SplitAfterForInlining(HInstruction* cursor) { in SplitAfterForInlining()
2053 HInstruction* current = first_instruction_; in CountSize()
2061 for (HInstruction* current = first_instruction_; in SetBlockOfInstructions()
2068 void HInstructionList::AddAfter(HInstruction* cursor, const HInstructionList& instruction_list) { in AddAfter()
2082 void HInstructionList::AddBefore(HInstruction* cursor, const HInstructionList& instruction_list) { in AddBefore()
2110 static void RemoveUsesOfDeadInstruction(HInstruction* insn) { in RemoveUsesOfDeadInstruction()
2113 const HUseListNode<HInstruction*>& use = insn->GetUses().front(); in RemoveUsesOfDeadInstruction()
2184 HInstruction* insn = it.Current(); in DisconnectAndDelete()
2200 HInstruction* last_instruction = predecessor->GetLastInstruction(); in DisconnectAndDelete()
2423 HInstruction* HGraph::InlineInto(HGraph* outer_graph, HInvoke* invoke) { in InlineInto()
2433 HInstruction* current = instr_it.Current(); in InlineInto()
2460 HInstruction* return_value = nullptr; in InlineInto()
2471 HInstruction* last = body->GetLastInstruction(); in InlineInto()
2553 HInstruction* last = predecessor->GetLastInstruction(); in InlineInto()
2612 HInstruction* current = it.Current(); in InlineInto()
2613 HInstruction* replacement = nullptr; in InlineInto()
2799 void HInstruction::SetReferenceTypeInfo(ReferenceTypeInfo rti) { in SetReferenceTypeInfo()
2814 bool HBoundType::InstructionDataEquals(const HInstruction* other) const { in InstructionDataEquals()
2855 bool HInstruction::HasAnyEnvironmentUseBefore(HInstruction* other) { in HasAnyEnvironmentUseBefore()
2865 HInstruction* current = this; in HasAnyEnvironmentUseBefore()
2951 bool HLoadClass::InstructionDataEquals(const HInstruction* other) const { in InstructionDataEquals()
2972 bool HLoadString::InstructionDataEquals(const HInstruction* other) const { in InstructionDataEquals()
2992 void HInstruction::RemoveEnvironmentUsers() { in RemoveEnvironmentUsers()
3000 HInstruction* ReplaceInstrOrPhiByClone(HInstruction* instr) { in ReplaceInstrOrPhiByClone()
3001 HInstruction* clone = instr->Clone(instr->GetBlock()->GetGraph()->GetAllocator()); in ReplaceInstrOrPhiByClone()
3023 HInstruction* HGraph::InsertOppositeCondition(HInstruction* cond, HInstruction* cursor) { in InsertOppositeCondition()
3029 HInstruction* lhs = cond->InputAt(0); in InsertOppositeCondition()
3030 HInstruction* rhs = cond->InputAt(1); in InsertOppositeCondition()
3031 HInstruction* replacement = nullptr; in InsertOppositeCondition()
3058 HInstruction* replacement = new (allocator) HBooleanNot(cond); in InsertOppositeCondition()
3172 bool IsGEZero(HInstruction* instruction) { in IsGEZero()