Lines Matching refs:instr
61 Instruction* instr)
62 : instr_(instr),
65 latency_(GetInstructionLatency(instr)),
110 void InstructionScheduler::AddTerminator(Instruction* instr) {
111 ScheduleGraphNode* new_node = zone()->New<ScheduleGraphNode>(zone(), instr);
120 void InstructionScheduler::AddInstruction(Instruction* instr) {
121 if (IsBarrier(instr)) {
127 sequence()->AddInstruction(instr);
131 ScheduleGraphNode* new_node = zone()->New<ScheduleGraphNode>(zone(), instr);
134 DCHECK_NE(instr->flags_mode(), kFlags_branch);
136 if (IsFixedRegisterParameter(instr)) {
148 if ((last_deopt_or_trap_ != nullptr) && DependsOnDeoptOrTrap(instr)) {
154 if (HasSideEffect(instr)) {
163 } else if (IsLoadOperation(instr)) {
170 } else if (instr->IsDeoptimizeCall() || CanTrap(instr)) {
179 if (instr->IsDeoptimizeCall() || CanTrap(instr)) {
184 for (size_t i = 0; i < instr->InputCount(); ++i) {
185 const InstructionOperand* input = instr->InputAt(i);
196 for (size_t i = 0; i < instr->OutputCount(); ++i) {
197 const InstructionOperand* output = instr->OutputAt(i);
256 int InstructionScheduler::GetInstructionFlags(const Instruction* instr) const {
257 switch (instr->arch_opcode()) {
390 return GetTargetInstructionFlags(instr);