Lines Matching refs:Operand
113 __ li(v0, Operand(FAILURE)); in RegExpMacroAssemblerMIPS()
141 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
151 __ Addu(a0, a0, Operand(by)); in AdvanceRegister()
172 BranchOrBacktrack(on_equal, eq, current_character(), Operand(c)); in CheckCharacter()
177 BranchOrBacktrack(on_greater, gt, current_character(), Operand(limit)); in CheckCharacterGT()
183 __ Addu(a0, current_input_offset(), Operand(-char_size())); in CheckAtStart()
184 BranchOrBacktrack(on_at_start, eq, a0, Operand(a1)); in CheckAtStart()
192 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
193 BranchOrBacktrack(on_not_at_start, ne, a0, Operand(a1)); in CheckNotAtStart()
198 BranchOrBacktrack(on_less, lt, current_character(), Operand(limit)); in CheckCharacterLT()
205 __ Branch(&backtrack_non_equal, ne, current_input_offset(), Operand(a0)); in CheckGreedyLoop()
208 Operand(kPointerSize)); in CheckGreedyLoop()
210 BranchOrBacktrack(on_equal, eq, current_input_offset(), Operand(a0)); in CheckGreedyLoop()
224 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); in CheckNotBackReferenceIgnoreCase()
229 BranchOrBacktrack(on_no_match, le, current_input_offset(), Operand(t0)); in CheckNotBackReferenceIgnoreCase()
233 BranchOrBacktrack(on_no_match, gt, t5, Operand(zero_reg)); in CheckNotBackReferenceIgnoreCase()
243 __ Addu(a0, a0, Operand(end_of_input_address())); in CheckNotBackReferenceIgnoreCase()
244 __ Addu(a2, end_of_input_address(), Operand(current_input_offset())); in CheckNotBackReferenceIgnoreCase()
246 __ Subu(a2, a2, Operand(a1)); in CheckNotBackReferenceIgnoreCase()
248 __ Addu(a1, a0, Operand(a1)); in CheckNotBackReferenceIgnoreCase()
261 __ Branch(&loop_check, eq, t0, Operand(a3)); in CheckNotBackReferenceIgnoreCase()
264 __ Or(a3, a3, Operand(0x20)); // Convert capture character to lower-case. in CheckNotBackReferenceIgnoreCase()
265 __ Or(t0, t0, Operand(0x20)); // Also convert input character. in CheckNotBackReferenceIgnoreCase()
266 __ Branch(&fail, ne, t0, Operand(a3)); in CheckNotBackReferenceIgnoreCase()
267 __ Subu(a3, a3, Operand('a')); in CheckNotBackReferenceIgnoreCase()
268 __ Branch(&loop_check, ls, a3, Operand('z' - 'a')); in CheckNotBackReferenceIgnoreCase()
270 __ Subu(a3, a3, Operand(224 - 'a')); in CheckNotBackReferenceIgnoreCase()
272 __ Branch(&fail, hi, a3, Operand(254 - 224)); in CheckNotBackReferenceIgnoreCase()
274 __ Branch(&fail, eq, a3, Operand(247 - 224)); in CheckNotBackReferenceIgnoreCase()
277 __ Branch(&loop, lt, a0, Operand(a1)); in CheckNotBackReferenceIgnoreCase()
289 __ Addu(current_input_offset(), current_input_offset(), Operand(t0)); in CheckNotBackReferenceIgnoreCase()
290 __ Subu(current_input_offset(), current_input_offset(), Operand(t5)); in CheckNotBackReferenceIgnoreCase()
313 __ Addu(a0, a0, Operand(end_of_input_address())); in CheckNotBackReferenceIgnoreCase()
319 __ Addu(a1, current_input_offset(), Operand(end_of_input_address())); in CheckNotBackReferenceIgnoreCase()
321 __ Subu(a1, a1, Operand(s3)); in CheckNotBackReferenceIgnoreCase()
330 __ li(a3, Operand(ExternalReference::isolate_address(masm_->isolate()))); in CheckNotBackReferenceIgnoreCase()
342 __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); in CheckNotBackReferenceIgnoreCase()
346 BranchOrBacktrack(on_no_match, eq, v0, Operand(zero_reg)); in CheckNotBackReferenceIgnoreCase()
349 __ Subu(current_input_offset(), current_input_offset(), Operand(s3)); in CheckNotBackReferenceIgnoreCase()
351 __ Addu(current_input_offset(), current_input_offset(), Operand(s3)); in CheckNotBackReferenceIgnoreCase()
373 __ Branch(&fallthrough, le, a1, Operand(zero_reg)); in CheckNotBackReference()
378 BranchOrBacktrack(on_no_match, le, current_input_offset(), Operand(t0)); in CheckNotBackReference()
382 BranchOrBacktrack(on_no_match, gt, t5, Operand(zero_reg)); in CheckNotBackReference()
387 __ Addu(a0, a0, Operand(end_of_input_address())); in CheckNotBackReference()
388 __ Addu(a2, end_of_input_address(), Operand(current_input_offset())); in CheckNotBackReference()
390 __ Subu(a2, a2, Operand(a1)); in CheckNotBackReference()
392 __ Addu(a1, a0, Operand(a1)); in CheckNotBackReference()
413 BranchOrBacktrack(on_no_match, ne, a3, Operand(t0)); in CheckNotBackReference()
414 __ Branch(&loop, lt, a0, Operand(a1)); in CheckNotBackReference()
421 __ Addu(current_input_offset(), current_input_offset(), Operand(t0)); in CheckNotBackReference()
422 __ Subu(current_input_offset(), current_input_offset(), Operand(t5)); in CheckNotBackReference()
430 BranchOrBacktrack(on_not_equal, ne, current_character(), Operand(c)); in CheckNotCharacter()
437 __ And(a0, current_character(), Operand(mask)); in CheckCharacterAfterAnd()
438 Operand rhs = (c == 0) ? Operand(zero_reg) : Operand(c); in CheckCharacterAfterAnd()
446 __ And(a0, current_character(), Operand(mask)); in CheckNotCharacterAfterAnd()
447 Operand rhs = (c == 0) ? Operand(zero_reg) : Operand(c); in CheckNotCharacterAfterAnd()
458 __ Subu(a0, current_character(), Operand(minus)); in CheckNotCharacterAfterMinusAnd()
459 __ And(a0, a0, Operand(mask)); in CheckNotCharacterAfterMinusAnd()
460 BranchOrBacktrack(on_not_equal, ne, a0, Operand(c)); in CheckNotCharacterAfterMinusAnd()
468 __ Subu(a0, current_character(), Operand(from)); in CheckCharacterInRange()
470 BranchOrBacktrack(on_in_range, ls, a0, Operand(to - from)); in CheckCharacterInRange()
478 __ Subu(a0, current_character(), Operand(from)); in CheckCharacterNotInRange()
480 BranchOrBacktrack(on_not_in_range, hi, a0, Operand(to - from)); in CheckCharacterNotInRange()
487 __ li(a0, Operand(table)); in CheckBitInTable()
489 __ And(a1, current_character(), Operand(kTableSize - 1)); in CheckBitInTable()
496 BranchOrBacktrack(on_bit_set, ne, a0, Operand(zero_reg)); in CheckBitInTable()
510 __ Branch(&success, eq, current_character(), Operand(' ')); in CheckSpecialCharacterClass()
512 __ Subu(a0, current_character(), Operand('\t')); in CheckSpecialCharacterClass()
513 __ Branch(&success, ls, a0, Operand('\r' - '\t')); in CheckSpecialCharacterClass()
515 BranchOrBacktrack(on_no_match, ne, a0, Operand(0x00A0 - '\t')); in CheckSpecialCharacterClass()
525 __ Subu(a0, current_character(), Operand('0')); in CheckSpecialCharacterClass()
526 BranchOrBacktrack(on_no_match, hi, a0, Operand('9' - '0')); in CheckSpecialCharacterClass()
530 __ Subu(a0, current_character(), Operand('0')); in CheckSpecialCharacterClass()
531 BranchOrBacktrack(on_no_match, ls, a0, Operand('9' - '0')); in CheckSpecialCharacterClass()
535 __ Xor(a0, current_character(), Operand(0x01)); in CheckSpecialCharacterClass()
537 __ Subu(a0, a0, Operand(0x0B)); in CheckSpecialCharacterClass()
538 BranchOrBacktrack(on_no_match, ls, a0, Operand(0x0C - 0x0B)); in CheckSpecialCharacterClass()
543 __ Subu(a0, a0, Operand(0x2028 - 0x0B)); in CheckSpecialCharacterClass()
544 BranchOrBacktrack(on_no_match, ls, a0, Operand(1)); in CheckSpecialCharacterClass()
550 __ Xor(a0, current_character(), Operand(0x01)); in CheckSpecialCharacterClass()
552 __ Subu(a0, a0, Operand(0x0B)); in CheckSpecialCharacterClass()
554 BranchOrBacktrack(on_no_match, hi, a0, Operand(0x0C - 0x0B)); in CheckSpecialCharacterClass()
557 BranchOrBacktrack(&done, ls, a0, Operand(0x0C - 0x0B)); in CheckSpecialCharacterClass()
561 __ Subu(a0, a0, Operand(0x2028 - 0x0B)); in CheckSpecialCharacterClass()
562 BranchOrBacktrack(on_no_match, hi, a0, Operand(1)); in CheckSpecialCharacterClass()
570 BranchOrBacktrack(on_no_match, hi, current_character(), Operand('z')); in CheckSpecialCharacterClass()
573 __ li(a0, Operand(map)); in CheckSpecialCharacterClass()
576 BranchOrBacktrack(on_no_match, eq, a0, Operand(zero_reg)); in CheckSpecialCharacterClass()
583 __ Branch(&done, hi, current_character(), Operand('z')); in CheckSpecialCharacterClass()
586 __ li(a0, Operand(map)); in CheckSpecialCharacterClass()
589 BranchOrBacktrack(on_no_match, ne, a0, Operand(zero_reg)); in CheckSpecialCharacterClass()
606 __ li(v0, Operand(FAILURE)); in Fail()
641 __ Addu(frame_pointer(), sp, Operand(4 * kPointerSize)); in GetCode()
652 __ li(a0, Operand(stack_limit)); in GetCode()
656 __ Branch(&stack_limit_hit, le, a0, Operand(zero_reg)); in GetCode()
659 __ Branch(&stack_ok, hs, a0, Operand(num_registers_ * kPointerSize)); in GetCode()
662 __ li(v0, Operand(EXCEPTION)); in GetCode()
668 __ Branch(&return_v0, ne, v0, Operand(zero_reg)); in GetCode()
672 __ Subu(sp, sp, Operand(num_registers_ * kPointerSize)); in GetCode()
682 __ Subu(a0, current_input_offset(), Operand(char_size())); in GetCode()
690 __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); in GetCode()
694 __ Branch(&load_char_start_regexp, ne, a1, Operand(zero_reg)); in GetCode()
695 __ li(current_character(), Operand('\n')); in GetCode()
709 __ Addu(a1, frame_pointer(), Operand(kRegisterZero)); in GetCode()
710 __ li(a2, Operand(num_saved_registers_)); in GetCode()
714 __ Addu(a1, a1, Operand(-kPointerSize)); in GetCode()
715 __ Subu(a2, a2, Operand(1)); in GetCode()
716 __ Branch(&init_loop, ne, a2, Operand(zero_reg)); in GetCode()
745 __ Addu(a1, a1, Operand(a2)); in GetCode()
765 __ Addu(a2, a1, Operand(a2)); in GetCode()
766 __ Addu(a3, a1, Operand(a3)); in GetCode()
788 __ Branch(&return_v0, lt, a1, Operand(num_saved_registers_)); in GetCode()
803 &load_char_start_regexp, ne, current_input_offset(), Operand(t7)); in GetCode()
806 Operand(zero_reg)); in GetCode()
812 Operand((mode_ == UC16) ? 2 : 1)); in GetCode()
818 __ li(v0, Operand(SUCCESS)); in GetCode()
853 __ Branch(&return_v0, ne, v0, Operand(zero_reg)); in GetCode()
857 __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); in GetCode()
874 __ Addu(a1, frame_pointer(), Operand(kStackHighEnd)); in GetCode()
875 __ li(a2, Operand(ExternalReference::isolate_address(masm_->isolate()))); in GetCode()
883 __ Branch(&exit_with_exception, eq, v0, Operand(zero_reg)); in GetCode()
887 __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); in GetCode()
896 __ li(v0, Operand(EXCEPTION)); in GetCode()
925 BranchOrBacktrack(if_ge, ge, a0, Operand(comparand)); in IfRegisterGE()
933 BranchOrBacktrack(if_lt, lt, a0, Operand(comparand)); in IfRegisterLT()
940 BranchOrBacktrack(if_eq, eq, a0, Operand(current_input_offset())); in IfRegisterEqPos()
980 __ li(a0, Operand(target + Code::kHeaderSize - kHeapObjectTag)); in PushBacktrack()
1023 __ Addu(backtrack_stackpointer(), backtrack_stackpointer(), Operand(a0)); in ReadStackPointerFromRegister()
1032 Operand(-by * char_size())); in SetCurrentPositionFromEnd()
1044 __ li(a0, Operand(to)); in SetRegister()
1060 __ Addu(a0, current_input_offset(), Operand(cp_offset * char_size())); in WriteCurrentPositionToRegister()
1094 __ Subu(sp, sp, Operand(kPointerSize)); in CallCheckStackGuardState()
1096 __ And(sp, sp, Operand(-stack_alignment)); in CallCheckStackGuardState()
1101 __ li(a1, Operand(masm_->CodeObject()), CONSTANT_SIZE); in CallCheckStackGuardState()
1105 __ Subu(sp, sp, Operand(stack_alignment)); in CallCheckStackGuardState()
1122 __ li(t9, Operand(stack_guard_check)); in CallCheckStackGuardState()
1139 __ li(code_pointer(), Operand(masm_->CodeObject())); in CallCheckStackGuardState()
1183 Operand(-cp_offset * char_size())); in CheckPosition()
1186 __ Addu(a0, current_input_offset(), Operand(cp_offset * char_size())); in CheckPosition()
1187 BranchOrBacktrack(on_outside_input, le, a0, Operand(a1)); in CheckPosition()
1195 const Operand& rt) { in BranchOrBacktrack()
1215 const Operand& rt) { in SafeCall()
1222 __ Addu(t5, ra, Operand(masm_->CodeObject())); in SafeReturn()
1229 __ Subu(ra, ra, Operand(masm_->CodeObject())); in SafeCallTarget()
1238 Operand(-kPointerSize)); in Push()
1254 __ li(a0, Operand(stack_limit)); in CheckPreemption()
1256 SafeCall(&check_preempt_label_, ls, sp, Operand(a0)); in CheckPreemption()
1264 __ li(a0, Operand(stack_limit)); in CheckStackLimit()
1266 SafeCall(&stack_overflow_label_, ls, backtrack_stackpointer(), Operand(a0)); in CheckStackLimit()
1275 __ Addu(t7, current_input_offset(), Operand(cp_offset * char_size())); in LoadCurrentCharacterUnchecked()
1281 __ Addu(t5, end_of_input_address(), Operand(offset)); in LoadCurrentCharacterUnchecked()