Lines Matching refs:cp_offset
180 void RegExpMacroAssemblerX64::CheckNotAtStart(int cp_offset,
182 __ leap(rax, Operand(rdi, -char_size() + cp_offset * char_size()));
1049 void RegExpMacroAssemblerX64::LoadCurrentCharacter(int cp_offset,
1053 DCHECK(cp_offset < (1<<30)); // Be sane! (And ensure negation works)
1055 if (cp_offset >= 0) {
1056 CheckPosition(cp_offset + characters - 1, on_end_of_input);
1058 CheckPosition(cp_offset, on_end_of_input);
1061 LoadCurrentCharacterUnchecked(cp_offset, characters);
1150 int cp_offset) {
1151 if (cp_offset == 0) {
1154 __ leap(rax, Operand(rdi, cp_offset * char_size()));
1241 void RegExpMacroAssemblerX64::CheckPosition(int cp_offset,
1243 if (cp_offset >= 0) {
1244 __ cmpl(rdi, Immediate(-cp_offset * char_size()));
1247 __ leap(rax, Operand(rdi, cp_offset * char_size()));
1371 void RegExpMacroAssemblerX64::LoadCurrentCharacterUnchecked(int cp_offset,
1375 __ movl(current_character(), Operand(rsi, rdi, times_1, cp_offset));
1377 __ movzxwl(current_character(), Operand(rsi, rdi, times_1, cp_offset));
1380 __ movzxbl(current_character(), Operand(rsi, rdi, times_1, cp_offset));
1386 Operand(rsi, rdi, times_1, cp_offset * sizeof(uc16)));
1390 Operand(rsi, rdi, times_1, cp_offset * sizeof(uc16)));