Home | History | Annotate | Download | only in src

Lines Matching defs:macro_assembler

810   RegExpMacroAssembler* macro_assembler() { return macro_assembler_; }
875 RegExpMacroAssembler* macro_assembler,
889 macro_assembler->set_slow_safe(use_slow_safe_regexp_compiler);
893 macro_assembler_ = new RegExpMacroAssemblerTracer(macro_assembler);
896 macro_assembler_ = macro_assembler;
1134 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1193 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1224 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1339 void ChoiceNode::GenerateGuard(RegExpMacroAssembler* macro_assembler,
1345 macro_assembler->IfRegisterGE(guard->reg(),
1351 macro_assembler->IfRegisterLT(guard->reg(),
1389 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1412 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
1429 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check);
1432 macro_assembler->CheckNotCharacter(c, on_failure);
1438 static bool ShortCutEmitCharacterPair(RegExpMacroAssembler* macro_assembler,
1456 macro_assembler->CheckNotCharacterAfterAnd(c1, mask, on_failure);
1467 macro_assembler->CheckNotCharacterAfterMinusAnd(c1 - diff,
1494 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
1502 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check);
1508 if (ShortCutEmitCharacterPair(macro_assembler,
1514 macro_assembler->CheckCharacter(chars[0], &ok);
1515 macro_assembler->CheckNotCharacter(chars[1], on_failure);
1516 macro_assembler->Bind(&ok);
1521 macro_assembler->CheckCharacter(chars[3], &ok);
1524 macro_assembler->CheckCharacter(chars[0], &ok);
1525 macro_assembler->CheckCharacter(chars[1], &ok);
1526 macro_assembler->CheckNotCharacter(chars[2], on_failure);
1527 macro_assembler->Bind(&ok);
1537 static void EmitCharClass(RegExpMacroAssembler* macro_assembler,
1572 macro_assembler->GoTo(on_failure);
1575 macro_assembler->CheckPosition(cp_offset, on_failure);
1585 macro_assembler->CheckPosition(cp_offset, on_failure);
1591 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check_offset);
1595 macro_assembler->CheckSpecialCharacterClass(cc->standard_type(),
1610 macro_assembler->CheckCharacter(to, char_is_in_class);
1613 macro_assembler->CheckCharacterLT(from, &next_range);
1616 macro_assembler->CheckCharacterLT(to + 1, char_is_in_class);
1618 macro_assembler->GoTo(char_is_in_class);
1621 macro_assembler->Bind(&next_range);
1633 macro_assembler->CheckCharacter(to, on_failure);
1635 macro_assembler->CheckNotCharacter(to, on_failure);
1640 macro_assembler->CheckCharacterLT(from, &success);
1642 macro_assembler->CheckCharacterLT(from, on_failure);
1647 macro_assembler->CheckCharacterLT(to + 1, on_failure);
1649 macro_assembler->CheckCharacterGT(to, on_failure);
1653 macro_assembler->GoTo(on_failure);
1657 macro_assembler->Bind(&success);
1672 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
1677 macro_assembler->GoTo(&label_);
1684 macro_assembler->GoTo(&label_);
1688 macro_assembler->Bind(&label_);
1867 compiler->macro_assembler()->CanReadUnaligned());
1871 RegExpMacroAssembler* assembler = compiler->macro_assembler();
2221 RegExpMacroAssembler* assembler = compiler->macro_assembler();
2258 RegExpMacroAssembler* assembler = compiler->macro_assembler();
2297 RegExpMacroAssembler* assembler = compiler->macro_assembler();
2375 RegExpMacroAssembler* assembler = compiler->macro_assembler();
2465 RegExpMacroAssembler* assembler = compiler->macro_assembler();
2706 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
2714 macro_assembler->AdvanceCurrentPosition(text_length);
2715 macro_assembler->GoTo(trace->loop_label());
2730 if (compiler->macro_assembler()->CanReadUnaligned()) {
2875 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
2919 macro_assembler->PushCurrentPosition();
2926 macro_assembler->Bind(&loop_label);
2930 macro_assembler->Bind(&greedy_match_failed);
2934 macro_assembler->Bind(&second_choice);
2981 macro_assembler->Bind(&alt_gen->possible_success);
2989 macro_assembler->GoTo(trace->backtrack());
3012 GenerateGuard(macro_assembler, guards->at(j), &new_trace);
3017 macro_assembler->Bind(&alt_gen->after);
3020 macro_assembler->Bind(&greedy_loop_label);
3022 macro_assembler->CheckGreedyLoop(trace->backtrack());
3024 macro_assembler->AdvanceCurrentPosition(-text_length);
3025 macro_assembler->GoTo(&second_choice);
3058 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
3059 macro_assembler->Bind(&alt_gen->possible_success);
3070 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace);
3073 macro_assembler->Bind(&reload_current_char);
3077 macro_assembler->LoadCurrentCharacter(trace->cp_offset(),
3081 macro_assembler->GoTo(&(alt_gen->after));
3085 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace);
3093 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3215 RegExpMacroAssembler* assembler = compiler->macro_assembler();
5312 RegExpMacroAssemblerIA32 macro_assembler(mode, (data->capture_count + 1) * 2);
5314 RegExpMacroAssemblerX64 macro_assembler(mode, (data->capture_count + 1) * 2);
5316 RegExpMacroAssemblerARM macro_assembler(mode, (data->capture_count + 1) * 2);
5318 RegExpMacroAssemblerMIPS macro_assembler(mode, (data->capture_count + 1) * 2);
5324 RegExpMacroAssemblerIrregexp macro_assembler(codes);
5333 macro_assembler.SetCurrentPositionFromEnd(max_length);
5336 return compiler.Assemble(&macro_assembler,