• Home
  • Raw
  • Download

Lines Matching refs:macro_assembler

963   RegExpMacroAssembler* macro_assembler() { return macro_assembler_; }  in macro_assembler()  function in v8::internal::RegExpCompiler
1053 Isolate* isolate, RegExpMacroAssembler* macro_assembler, RegExpNode* start, in Assemble() argument
1057 macro_assembler_ = new RegExpMacroAssemblerTracer(isolate, macro_assembler); in Assemble()
1060 macro_assembler_ = macro_assembler; in Assemble()
1308 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in Flush()
1374 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in Emit()
1405 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in Emit()
1526 void ChoiceNode::GenerateGuard(RegExpMacroAssembler* macro_assembler, in GenerateGuard() argument
1532 macro_assembler->IfRegisterGE(guard->reg(), in GenerateGuard()
1538 macro_assembler->IfRegisterLT(guard->reg(), in GenerateGuard()
1581 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in EmitSimpleCharacter()
1604 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler(); in EmitAtomNonLetter() local
1622 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check); in EmitAtomNonLetter()
1625 macro_assembler->CheckNotCharacter(c, on_failure); in EmitAtomNonLetter()
1631 static bool ShortCutEmitCharacterPair(RegExpMacroAssembler* macro_assembler, in ShortCutEmitCharacterPair() argument
1647 macro_assembler->CheckNotCharacterAfterAnd(c1, mask, on_failure); in ShortCutEmitCharacterPair()
1658 macro_assembler->CheckNotCharacterAfterMinusAnd(c1 - diff, in ShortCutEmitCharacterPair()
1685 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler(); in EmitAtomLetter() local
1693 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check); in EmitAtomLetter()
1699 if (ShortCutEmitCharacterPair(macro_assembler, one_byte, chars[0], in EmitAtomLetter()
1702 macro_assembler->CheckCharacter(chars[0], &ok); in EmitAtomLetter()
1703 macro_assembler->CheckNotCharacter(chars[1], on_failure); in EmitAtomLetter()
1704 macro_assembler->Bind(&ok); in EmitAtomLetter()
1709 macro_assembler->CheckCharacter(chars[3], &ok); in EmitAtomLetter()
1712 macro_assembler->CheckCharacter(chars[0], &ok); in EmitAtomLetter()
1713 macro_assembler->CheckCharacter(chars[1], &ok); in EmitAtomLetter()
1714 macro_assembler->CheckNotCharacter(chars[2], on_failure); in EmitAtomLetter()
1715 macro_assembler->Bind(&ok); in EmitAtomLetter()
2073 static void EmitCharClass(RegExpMacroAssembler* macro_assembler, in EmitCharClass() argument
2100 macro_assembler->GoTo(on_failure); in EmitCharClass()
2103 macro_assembler->CheckPosition(cp_offset, on_failure); in EmitCharClass()
2111 macro_assembler->GoTo(on_failure); in EmitCharClass()
2115 macro_assembler->CheckPosition(cp_offset, on_failure); in EmitCharClass()
2122 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check_offset); in EmitCharClass()
2126 macro_assembler->CheckSpecialCharacterClass(cc->standard_type(), in EmitCharClass()
2159 GenerateBranches(macro_assembler, in EmitCharClass()
2168 macro_assembler->Bind(&fall_through); in EmitCharClass()
2183 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler(); in LimitVersions() local
2188 macro_assembler->GoTo(&label_); in LimitVersions()
2195 macro_assembler->Bind(&label_); in LimitVersions()
2399 compiler->macro_assembler()->CanReadUnaligned()); in EmitQuickCheck()
2403 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in EmitQuickCheck()
2477 Isolate* isolate = compiler->macro_assembler()->isolate(); in GetQuickCheckDetails()
2950 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in EmitHat()
2983 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in EmitBoundaryCheck()
3038 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in BacktrackIfPrevious()
3082 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in Emit()
3167 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in TextEmitPass()
3447 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler(); in Emit() local
3456 macro_assembler->AdvanceCurrentPosition(text_length); in Emit()
3457 macro_assembler->GoTo(trace->loop_label()); in Emit()
3473 if (compiler->macro_assembler()->CanReadUnaligned()) { in CalculatePreloadCharacters()
3939 compiler->macro_assembler()->Bind(&second_choice); in Emit()
3981 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler(); in EmitGreedyLoop() local
3990 macro_assembler->PushCurrentPosition(); in EmitGreedyLoop()
3996 macro_assembler->Bind(&loop_label); in EmitGreedyLoop()
4000 macro_assembler->Bind(&greedy_match_failed); in EmitGreedyLoop()
4003 macro_assembler->Bind(&second_choice); in EmitGreedyLoop()
4013 macro_assembler->Bind(greedy_loop_state->label()); in EmitGreedyLoop()
4015 macro_assembler->CheckGreedyLoop(trace->backtrack()); in EmitGreedyLoop()
4017 macro_assembler->AdvanceCurrentPosition(-text_length); in EmitGreedyLoop()
4018 macro_assembler->GoTo(&second_choice); in EmitGreedyLoop()
4044 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler(); in EmitOptimizedUnanchoredSearch() local
4045 Isolate* isolate = macro_assembler->isolate(); in EmitOptimizedUnanchoredSearch()
4068 bm->EmitSkipInstructions(macro_assembler); in EmitOptimizedUnanchoredSearch()
4079 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler(); in EmitChoices() local
4122 macro_assembler->Bind(&alt_gen->possible_success); in EmitChoices()
4130 macro_assembler->GoTo(trace->backtrack()); in EmitChoices()
4150 GenerateGuard(macro_assembler, guards->at(j), &new_trace); in EmitChoices()
4155 macro_assembler->Bind(&alt_gen->after); in EmitChoices()
4168 RegExpMacroAssembler* macro_assembler = compiler->macro_assembler(); in EmitOutOfLineContinuation() local
4169 macro_assembler->Bind(&alt_gen->possible_success); in EmitOutOfLineContinuation()
4180 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace); in EmitOutOfLineContinuation()
4183 macro_assembler->Bind(&reload_current_char); in EmitOutOfLineContinuation()
4187 macro_assembler->LoadCurrentCharacter(trace->cp_offset(), nullptr, false, in EmitOutOfLineContinuation()
4189 macro_assembler->GoTo(&(alt_gen->after)); in EmitOutOfLineContinuation()
4193 GenerateGuard(macro_assembler, guards->at(j), &out_of_line_trace); in EmitOutOfLineContinuation()
4201 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in Emit()
4323 RegExpMacroAssembler* assembler = compiler->macro_assembler(); in Emit()
6717 RegExpMacroAssemblerIA32 macro_assembler(isolate, zone, mode, in Compile() local
6720 RegExpMacroAssemblerX64 macro_assembler(isolate, zone, mode, in Compile() local
6723 RegExpMacroAssemblerARM macro_assembler(isolate, zone, mode, in Compile() local
6726 RegExpMacroAssemblerARM64 macro_assembler(isolate, zone, mode, in Compile() local
6729 RegExpMacroAssemblerS390 macro_assembler(isolate, zone, mode, in Compile() local
6732 RegExpMacroAssemblerPPC macro_assembler(isolate, zone, mode, in Compile() local
6735 RegExpMacroAssemblerMIPS macro_assembler(isolate, zone, mode, in Compile() local
6738 RegExpMacroAssemblerMIPS macro_assembler(isolate, zone, mode, in Compile() local
6747 RegExpMacroAssemblerIrregexp macro_assembler(isolate, codes, zone); in Compile() local
6750 macro_assembler.set_slow_safe(TooMuchRegExpCode(isolate, pattern)); in Compile()
6757 macro_assembler.SetCurrentPositionFromEnd(max_length); in Compile()
6767 macro_assembler.set_global_mode(mode); in Compile()
6770 return compiler.Assemble(isolate, &macro_assembler, node, data->capture_count, in Compile()