Lines Matching refs:cont
117 FlagsContinuation* cont) { in VisitBinop() argument
128 if (cont->IsBranch()) { in VisitBinop()
129 inputs[input_count++] = g.Label(cont->true_block()); in VisitBinop()
130 inputs[input_count++] = g.Label(cont->false_block()); in VisitBinop()
134 if (cont->IsSet()) { in VisitBinop()
135 outputs[output_count++] = g.DefineAsRegister(cont->result()); in VisitBinop()
143 Instruction* instr = selector->Emit(cont->Encode(opcode), output_count, in VisitBinop()
145 if (cont->IsBranch()) instr->MarkAsControl(); in VisitBinop()
153 FlagsContinuation cont; in VisitBinop() local
154 VisitBinop<Matcher>(selector, node, opcode, operand_mode, &cont); in VisitBinop()
517 FlagsContinuation* cont) { in VisitInt32AddWithOverflow() argument
518 VisitBinop<Int32BinopMatcher>(this, node, kArm64Add32, kArithmeticImm, cont); in VisitInt32AddWithOverflow()
523 FlagsContinuation* cont) { in VisitInt32SubWithOverflow() argument
524 VisitBinop<Int32BinopMatcher>(this, node, kArm64Sub32, kArithmeticImm, cont); in VisitInt32SubWithOverflow()
531 FlagsContinuation* cont) { in VisitCompare() argument
533 opcode = cont->Encode(opcode); in VisitCompare()
534 if (cont->IsBranch()) { in VisitCompare()
535 selector->Emit(opcode, NULL, left, right, g.Label(cont->true_block()), in VisitCompare()
536 g.Label(cont->false_block()))->MarkAsControl(); in VisitCompare()
538 DCHECK(cont->IsSet()); in VisitCompare()
539 selector->Emit(opcode, g.DefineAsRegister(cont->result()), left, right); in VisitCompare()
546 InstructionCode opcode, FlagsContinuation* cont, in VisitWordCompare() argument
555 cont); in VisitWordCompare()
557 if (!commutative) cont->Commute(); in VisitWordCompare()
559 cont); in VisitWordCompare()
562 cont); in VisitWordCompare()
567 void InstructionSelector::VisitWord32Test(Node* node, FlagsContinuation* cont) { in VisitWord32Test() argument
570 return VisitWordCompare(this, node, kArm64Cmn32, cont, true); in VisitWord32Test()
572 return VisitWordCompare(this, node, kArm64Cmp32, cont, false); in VisitWord32Test()
574 return VisitWordCompare(this, node, kArm64Tst32, cont, true); in VisitWord32Test()
581 cont); in VisitWord32Test()
585 void InstructionSelector::VisitWord64Test(Node* node, FlagsContinuation* cont) { in VisitWord64Test() argument
588 return VisitWordCompare(this, node, kArm64Tst, cont, true); in VisitWord64Test()
594 VisitCompare(this, kArm64Tst, g.UseRegister(node), g.UseRegister(node), cont); in VisitWord64Test()
599 FlagsContinuation* cont) { in VisitWord32Compare() argument
600 VisitWordCompare(this, node, kArm64Cmp32, cont, false); in VisitWord32Compare()
605 FlagsContinuation* cont) { in VisitWord64Compare() argument
606 VisitWordCompare(this, node, kArm64Cmp, cont, false); in VisitWord64Compare()
611 FlagsContinuation* cont) { in VisitFloat64Compare() argument
616 g.UseRegister(right), cont); in VisitFloat64Compare()