Home
last modified time | relevance | path

Searched refs:cp_offset (Results 1 – 25 of 25) sorted by relevance

/external/v8/src/regexp/
Dregexp-macro-assembler-tracer.cc136 int cp_offset) { in WriteCurrentPositionToRegister() argument
139 cp_offset); in WriteCurrentPositionToRegister()
140 assembler_->WriteCurrentPositionToRegister(reg, cp_offset); in WriteCurrentPositionToRegister()
168 void RegExpMacroAssemblerTracer::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
174 cp_offset, in LoadCurrentCharacter()
178 assembler_->LoadCurrentCharacter(cp_offset, in LoadCurrentCharacter()
244 void RegExpMacroAssemblerTracer::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
246 PrintF(" CheckNotAtStart(cp_offset=%d, label[%08x]);\n", cp_offset, in CheckNotAtStart()
248 assembler_->CheckNotAtStart(cp_offset, on_not_at_start); in CheckNotAtStart()
372 void RegExpMacroAssemblerTracer::CheckPosition(int cp_offset, in CheckPosition() argument
[all …]
Dregexp-macro-assembler-irregexp.cc88 int register_index, int cp_offset) { in WriteCurrentPositionToRegister() argument
92 Emit32(cp_offset); // Current position offset. in WriteCurrentPositionToRegister()
214 void RegExpMacroAssemblerIrregexp::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
218 DCHECK(cp_offset >= kMinCPOffset); in LoadCurrentCharacter()
219 DCHECK(cp_offset <= kMaxCPOffset); in LoadCurrentCharacter()
240 Emit(bytecode, cp_offset); in LoadCurrentCharacter()
276 void RegExpMacroAssemblerIrregexp::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
278 Emit(BC_CHECK_NOT_AT_START, cp_offset); in CheckNotAtStart()
Dregexp-macro-assembler-tracer.h33 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
54 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
64 virtual void LoadCurrentCharacter(int cp_offset,
79 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
Dregexp-macro-assembler.h75 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start) = 0;
108 virtual void CheckPosition(int cp_offset, Label* on_outside_input) = 0;
127 virtual void LoadCurrentCharacter(int cp_offset,
145 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset) = 0;
Dregexp-macro-assembler-irregexp.h52 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
57 virtual void LoadCurrentCharacter(int cp_offset,
69 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
Djsregexp.cc1136 bool Trace::GetStoredPosition(int reg, int* cp_offset) { in GetStoredPosition() argument
1137 DCHECK_EQ(0, *cp_offset); in GetStoredPosition()
1143 *cp_offset = static_cast<DeferredCapture*>(action)->cp_offset(); in GetStoredPosition()
1256 store_position = pc->cp_offset(); in PerformDeferredActions()
1598 int cp_offset, in EmitSimpleCharacter() argument
1605 cp_offset, in EmitSimpleCharacter()
1621 int cp_offset, in EmitAtomNonLetter() argument
1642 macro_assembler->LoadCurrentCharacter(cp_offset, on_failure, check); in EmitAtomNonLetter()
1692 int cp_offset,
1702 int cp_offset, in EmitAtomLetter() argument
[all …]
Djsregexp.h1227 cp_offset_(trace->cp_offset()), in DeferredCapture()
1229 int cp_offset() { return cp_offset_; } in cp_offset() function
1234 void set_cp_offset(int cp_offset) { cp_offset_ = cp_offset; } in set_cp_offset() argument
1279 int cp_offset() { return cp_offset_; } in cp_offset() function
1313 bool GetStoredPosition(int reg, int* cp_offset);
Dregexp-ast.h156 int cp_offset() const { return cp_offset_; } in cp_offset() function
157 void set_cp_offset(int cp_offset) { cp_offset_ = cp_offset; } in set_cp_offset() argument
/external/v8/src/regexp/arm64/
Dregexp-macro-assembler-arm64.h36 int cp_offset,
42 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
66 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
76 virtual void LoadCurrentCharacter(int cp_offset,
91 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
146 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-arm64.cc220 void RegExpMacroAssemblerARM64::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
223 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
235 int cp_offset, in CheckCharacters() argument
242 CheckPosition(cp_offset + str.length() - 1, on_failure); in CheckCharacters()
250 if (cp_offset != 0) { in CheckCharacters()
251 __ Add(characters_address, characters_address, cp_offset * char_size()); in CheckCharacters()
1116 void RegExpMacroAssemblerARM64::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
1123 DCHECK(cp_offset < (1<<30)); in LoadCurrentCharacter()
1125 if (cp_offset >= 0) { in LoadCurrentCharacter()
1126 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
[all …]
/external/v8/src/regexp/x87/
Dregexp-macro-assembler-x87.cc167 void RegExpMacroAssemblerX87::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
169 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
969 void RegExpMacroAssemblerX87::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
973 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
975 if (cp_offset >= 0) { in LoadCurrentCharacter()
976 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
978 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
981 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1051 int cp_offset) { in WriteCurrentPositionToRegister() argument
1052 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
[all …]
Dregexp-macro-assembler-x87.h36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
60 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
69 virtual void LoadCurrentCharacter(int cp_offset,
84 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
130 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
/external/v8/src/regexp/ia32/
Dregexp-macro-assembler-ia32.cc167 void RegExpMacroAssemblerIA32::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
169 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
969 void RegExpMacroAssemblerIA32::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
973 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
975 if (cp_offset >= 0) { in LoadCurrentCharacter()
976 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
978 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
981 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1051 int cp_offset) { in WriteCurrentPositionToRegister() argument
1052 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
[all …]
Dregexp-macro-assembler-ia32.h36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
60 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
69 virtual void LoadCurrentCharacter(int cp_offset,
84 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
130 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
/external/v8/src/regexp/mips64/
Dregexp-macro-assembler-mips64.cc227 void RegExpMacroAssemblerMIPS::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
231 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
982 void RegExpMacroAssemblerMIPS::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
986 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works). in LoadCurrentCharacter()
988 if (cp_offset >= 0) { in LoadCurrentCharacter()
989 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
991 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
994 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1018 int cp_offset = offset + Code::kHeaderSize - kHeapObjectTag; in PushBacktrack() local
1022 if (is_int16(cp_offset)) { in PushBacktrack()
[all …]
Dregexp-macro-assembler-mips64.h36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
60 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
70 virtual void LoadCurrentCharacter(int cp_offset,
85 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
176 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
/external/v8/src/regexp/mips/
Dregexp-macro-assembler-mips.cc191 void RegExpMacroAssemblerMIPS::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
195 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
942 void RegExpMacroAssemblerMIPS::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
946 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works). in LoadCurrentCharacter()
948 if (cp_offset >= 0) { in LoadCurrentCharacter()
949 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
951 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
954 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
978 int cp_offset = offset + Code::kHeaderSize - kHeapObjectTag; in PushBacktrack() local
982 if (is_int16(cp_offset)) { in PushBacktrack()
[all …]
Dregexp-macro-assembler-mips.h36 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
60 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
70 virtual void LoadCurrentCharacter(int cp_offset,
85 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
134 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
/external/v8/src/regexp/ppc/
Dregexp-macro-assembler-ppc.h37 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
55 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
64 virtual void LoadCurrentCharacter(int cp_offset, Label* on_end_of_input,
78 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
126 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-ppc.cc200 void RegExpMacroAssemblerPPC::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
204 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
971 void RegExpMacroAssemblerPPC::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
975 DCHECK(cp_offset < (1 << 30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
977 if (cp_offset >= 0) { in LoadCurrentCharacter()
978 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
980 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
983 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1057 int cp_offset) { in WriteCurrentPositionToRegister() argument
1058 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
[all …]
/external/v8/src/regexp/arm/
Dregexp-macro-assembler-arm.h37 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
61 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
71 virtual void LoadCurrentCharacter(int cp_offset,
86 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
135 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
Dregexp-macro-assembler-arm.cc187 void RegExpMacroAssemblerARM::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
191 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
926 void RegExpMacroAssemblerARM::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
930 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
932 if (cp_offset >= 0) { in LoadCurrentCharacter()
933 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
935 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
938 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1012 int cp_offset) { in WriteCurrentPositionToRegister() argument
1013 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
[all …]
/external/v8/src/regexp/x64/
Dregexp-macro-assembler-x64.cc181 void RegExpMacroAssemblerX64::CheckNotAtStart(int cp_offset, in CheckNotAtStart() argument
183 __ leap(rax, Operand(rdi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
1039 void RegExpMacroAssemblerX64::LoadCurrentCharacter(int cp_offset, in LoadCurrentCharacter() argument
1043 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works) in LoadCurrentCharacter()
1045 if (cp_offset >= 0) { in LoadCurrentCharacter()
1046 CheckPosition(cp_offset + characters - 1, on_end_of_input); in LoadCurrentCharacter()
1048 CheckPosition(cp_offset, on_end_of_input); in LoadCurrentCharacter()
1051 LoadCurrentCharacterUnchecked(cp_offset, characters); in LoadCurrentCharacter()
1140 int cp_offset) { in WriteCurrentPositionToRegister() argument
1141 if (cp_offset == 0) { in WriteCurrentPositionToRegister()
[all …]
Dregexp-macro-assembler-x64.h37 virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start);
61 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
71 virtual void LoadCurrentCharacter(int cp_offset,
86 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset);
186 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count);
/external/v8/src/arm/
Dassembler-arm-inl.h510 int cp_offset; in constant_pool_entry_address() local
521 cp_offset = DecodeShiftImm(mov_instr) | DecodeShiftImm(orr_instr_1) | in constant_pool_entry_address()
529 cp_offset = (movt_instr->ImmedMovwMovtValue() << 16) | in constant_pool_entry_address()
534 cp_offset = GetLdrRegisterImmediateOffset(Memory::int32_at(pc)); in constant_pool_entry_address()
536 return constant_pool + cp_offset; in constant_pool_entry_address()