Lines Matching defs:macro_assembler
1039 RegExpMacroAssembler* macro_assembler() { return macro_assembler_; }
1112 RegExpMacroAssembler* macro_assembler,
1126 macro_assembler->set_slow_safe(use_slow_safe_regexp_compiler);
1130 macro_assembler_ = new RegExpMacroAssemblerTracer(macro_assembler);
1133 macro_assembler_ = macro_assembler;
1375 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1436 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1467 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1589 void ChoiceNode::GenerateGuard(RegExpMacroAssembler* macro_assembler,
1595 macro_assembler->IfRegisterGE(guard->reg(),
1601 macro_assembler->IfRegisterLT(guard->reg(),
1639 RegExpMacroAssembler* assembler = compiler->macro_assembler();
1662 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
1679 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check);
1682 macro_assembler->CheckNotCharacter(c, on_failure);
1688 static bool ShortCutEmitCharacterPair(RegExpMacroAssembler* macro_assembler,
1706 macro_assembler->CheckNotCharacterAfterAnd(c1, mask, on_failure);
1717 macro_assembler->CheckNotCharacterAfterMinusAnd(c1 - diff,
1744 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
1752 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check);
1758 if (ShortCutEmitCharacterPair(macro_assembler,
1764 macro_assembler
1765 macro_assembler->CheckNotCharacter(chars[1], on_failure);
1766 macro_assembler->Bind(&ok);
1771 macro_assembler->CheckCharacter(chars[3], &ok);
1774 macro_assembler->CheckCharacter(chars[0], &ok);
1775 macro_assembler->CheckCharacter(chars[1], &ok);
1776 macro_assembler->CheckNotCharacter(chars[2], on_failure);
1777 macro_assembler->Bind(&ok);
2139 static void EmitCharClass(RegExpMacroAssembler* macro_assembler,
2172 macro_assembler->GoTo(on_failure);
2175 macro_assembler->CheckPosition(cp_offset, on_failure);
2183 macro_assembler->GoTo(on_failure);
2187 macro_assembler->CheckPosition(cp_offset, on_failure);
2197 macro_assembler->CheckPosition(cp_offset, on_failure);
2203 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check_offset);
2207 macro_assembler->CheckSpecialCharacterClass(cc->standard_type(),
2240 GenerateBranches(macro_assembler,
2249 macro_assembler->Bind(&fall_through);
2264 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
2269 macro_assembler->GoTo(&label_);
2276 macro_assembler->GoTo(&label_);
2280 macro_assembler->Bind(&label_);
2485 compiler->macro_assembler()->CanReadUnaligned());
2489 RegExpMacroAssembler* assembler = compiler->macro_assembler();
2553 Isolate* isolate = compiler->macro_assembler()->zone()->isolate();
3035 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3068 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3122 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3166 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3251 RegExpMacroAssembler* assembler = compiler->macro_assembler();
3510 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
3518 macro_assembler->AdvanceCurrentPosition(text_length);
3519 macro_assembler->GoTo(trace->loop_label());
3534 if (compiler->macro_assembler()->CanReadUnaligned()) {
3922 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
3966 macro_assembler->PushCurrentPosition();
3973 macro_assembler->Bind(&loop_label);
3977 macro_assembler->Bind(&greedy_match_failed);
3981 macro_assembler->Bind(&second_choice);
4018 skip_was_emitted = bm->EmitSkipInstructions(macro_assembler);
4021 skip_was_emitted = lookahead->EmitSkipInstructions(macro_assembler);
4074 macro_assembler->Bind(&alt_gen->possible_success);
4082 macro_assembler->GoTo(trace->backtrack());
4105 GenerateGuard(macro_assembler, guards->at(j), &new_trace);
4110 macro_assembler->Bind(&alt_gen->after);
4113 macro_assembler->Bind(&greedy_loop_label);
4115 macro_assembler->CheckGreedyLoop(trace->backtrack());
4117 macro_assembler->AdvanceCurrentPosition(-text_length);
4118 macro_assembler->GoTo(&second_choice);
4151 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler();
4152 macro_assembler->Bind(&alt_gen->possible_success);
4163 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace);
4166 macro_assembler->Bind(&reload_current_char);
4170 macro_assembler->LoadCurrentCharacter(trace->cp_offset(),
4174 macro_assembler->GoTo(&(alt_gen->after));
4178 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace);
4186 RegExpMacroAssembler* assembler = compiler->macro_assembler();
4308 RegExpMacroAssembler* assembler = compiler->macro_assembler();
6080 RegExpMacroAssemblerIA32 macro_assembler(mode, (data->capture_count + 1) * 2,
6083 RegExpMacroAssemblerX64 macro_assembler(mode, (data->capture_count + 1) * 2,
6086 RegExpMacroAssemblerARM macro_assembler(mode, (data->capture_count + 1) * 2,
6089 RegExpMacroAssemblerMIPS macro_assembler(mode, (data->capture_count + 1) * 2,
6096 RegExpMacroAssemblerIrregexp macro_assembler(codes, zone);
6105 macro_assembler.SetCurrentPositionFromEnd(max_length);
6109 macro_assembler.set_global_mode(
6115 return compiler.Assemble(¯o_assembler,