Lines Matching refs:macro_assembler
1013 RegExpMacroAssembler* macro_assembler() { return macro_assembler_; }
1108 RegExpMacroAssembler* macro_assembler,
1117 new RegExpMacroAssemblerTracer(isolate(), macro_assembler);
1120 macro_assembler_ = macro_assembler;
1371 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1437 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1468 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1590 void ChoiceNode::GenerateGuard(RegExpMacroAssembler* macro_assembler,
1596 macro_assembler->IfRegisterGE(guard->reg(),
1602 macro_assembler->IfRegisterLT(guard->reg(),
1645 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1668 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
1686 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check);
1689 macro_assembler->CheckNotCharacter(c, on_failure);
1695 static bool ShortCutEmitCharacterPair(RegExpMacroAssembler* macro_assembler,
1711 macro_assembler->CheckNotCharacterAfterAnd(c1, mask, on_failure);
1722 macro_assembler->CheckNotCharacterAfterMinusAnd(c1 - diff,
1749 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
1757 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check);
1763 if (ShortCutEmitCharacterPair(macro_assembler, one_byte, chars[0],
1766 macro_assembler->CheckCharacter(chars[0], &ok);
1767 macro_assembler->CheckNotCharacter(chars[1], on_failure);
1768 macro_assembler->Bind(&ok);
1773 macro_assembler->CheckCharacter(chars[3], &ok);
1776 macro_assembler->CheckCharacter(chars[0], &ok);
1777 macro_assembler->CheckCharacter(chars[1], &ok);
1778 macro_assembler->CheckNotCharacter(chars[2], on_failure);
1779 macro_assembler->Bind(&ok);
2138 static void EmitCharClass(RegExpMacroAssembler* macro_assembler,
2165 macro_assembler->GoTo(on_failure);
2168 macro_assembler->CheckPosition(cp_offset, on_failure);
2176 macro_assembler->GoTo(on_failure);
2180 macro_assembler->CheckPosition(cp_offset, on_failure);
2187 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check_offset);
2191 macro_assembler->CheckSpecialCharacterClass(cc->standard_type(),
2224 GenerateBranches(macro_assembler,
2233 macro_assembler->Bind(&fall_through);
2248 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
2253 macro_assembler->GoTo(&label_);
2260 macro_assembler->Bind(&label_);
2469 compiler->macro_assembler()->CanReadUnaligned());
2473 RegExpMacroAssembler* assembler = compiler->macro_assembler();
2547 Isolate* isolate = compiler->macro_assembler()->isolate();
3029 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3062 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3117 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3161 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3246 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3523 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
3532 macro_assembler->AdvanceCurrentPosition(text_length);
3533 macro_assembler->GoTo(trace->loop_label());
3548 if (compiler->macro_assembler()->CanReadUnaligned()) {
4015 compiler->macro_assembler()->Bind(&second_choice);
4057 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
4066 macro_assembler->PushCurrentPosition();
4072 macro_assembler->Bind(&loop_label);
4076 macro_assembler->Bind(&greedy_match_failed);
4079 macro_assembler->Bind(&second_choice);
4089 macro_assembler->Bind(greedy_loop_state->label());
4091 macro_assembler->CheckGreedyLoop(trace->backtrack());
4093 macro_assembler->AdvanceCurrentPosition(-text_length);
4094 macro_assembler->GoTo(&second_choice);
4120 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
4121 Isolate* isolate = macro_assembler->isolate();
4144 bm->EmitSkipInstructions(macro_assembler);
4155 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
4198 macro_assembler->Bind(&alt_gen->possible_success);
4206 macro_assembler->GoTo(trace->backtrack());
4226 GenerateGuard(macro_assembler, guards->at(j), &new_trace);
4231 macro_assembler->Bind(&alt_gen->after);
4244 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
4245 macro_assembler->Bind(&alt_gen->possible_success);
4256 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace);
4259 macro_assembler->Bind(&reload_current_char);
4263 macro_assembler->LoadCurrentCharacter(trace->cp_offset(),
4267 macro_assembler->GoTo(&(alt_gen->after));
4271 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace);
4279 RegExpMacroAssembler* assembler = compiler->macro_assembler();
4401 RegExpMacroAssembler* assembler = compiler->macro_assembler();
6709 RegExpMacroAssemblerIA32 macro_assembler(isolate, zone, mode,
6712 RegExpMacroAssemblerX64 macro_assembler(isolate, zone, mode,
6715 RegExpMacroAssemblerARM macro_assembler(isolate, zone, mode,
6718 RegExpMacroAssemblerARM64 macro_assembler(isolate, zone, mode,
6721 RegExpMacroAssemblerS390 macro_assembler(isolate, zone, mode,
6724 RegExpMacroAssemblerPPC macro_assembler(isolate, zone, mode,
6727 RegExpMacroAssemblerMIPS macro_assembler(isolate, zone, mode,
6730 macro_assembler(isolate, zone, mode,
6733 RegExpMacroAssemblerX87 macro_assembler(isolate, zone, mode,
6742 RegExpMacroAssemblerIrregexp macro_assembler(isolate, codes, zone);
6745 macro_assembler.set_slow_safe(TooMuchRegExpCode(pattern));
6753 macro_assembler.SetCurrentPositionFromEnd(max_length);
6763 macro_assembler.set_global_mode(mode);
6766 return compiler.Assemble(¯o_assembler,