Lines Matching refs:TNode
19 TNode<String> GetSubstitution(TNode<Context> context,
20 TNode<String> subject_string,
21 TNode<Smi> match_start_index,
22 TNode<Smi> match_end_index,
23 TNode<String> replace_string);
24 void StringEqual_Core(TNode<String> lhs, TNode<Word32T> lhs_instance_type,
25 TNode<String> rhs, TNode<Word32T> rhs_instance_type,
26 TNode<IntPtrT> length, Label* if_equal,
28 void BranchIfStringPrimitiveWithNoCustomIteration(TNode<Object> object,
29 TNode<Context> context,
33 TNode<Int32T> LoadSurrogatePairAt(TNode<String> string, TNode<IntPtrT> length,
34 TNode<IntPtrT> index,
37 TNode<String> StringFromSingleUTF16EncodedCodePoint(TNode<Int32T> codepoint);
43 TNode<String> SubString(TNode<String> string, TNode<IntPtrT> from,
44 TNode<IntPtrT> to);
45 TNode<String> SubString(TNode<String> string, TNode<UintPtrT> from,
46 TNode<UintPtrT> to) {
58 void CopyStringCharacters(TNode<T> from_string, TNode<String> to_string,
59 TNode<IntPtrT> from_index, TNode<IntPtrT> to_index,
60 TNode<IntPtrT> character_count,
67 TNode<IntPtrT> SearchOneByteStringInTwoByteString(
68 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
69 const TNode<RawPtrT> search_ptr, const TNode<IntPtrT> search_length,
70 const TNode<IntPtrT> start_position);
71 TNode<IntPtrT> SearchOneByteStringInOneByteString(
72 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
73 const TNode<RawPtrT> search_ptr, const TNode<IntPtrT> search_length,
74 const TNode<IntPtrT> start_position);
75 TNode<IntPtrT> SearchTwoByteStringInTwoByteString(
76 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
77 const TNode<RawPtrT> search_ptr, const TNode<IntPtrT> search_length,
78 const TNode<IntPtrT> start_position);
79 TNode<IntPtrT> SearchTwoByteStringInOneByteString(
80 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
81 const TNode<RawPtrT> search_ptr, const TNode<IntPtrT> search_length,
82 const TNode<IntPtrT> start_position);
83 TNode<IntPtrT> SearchOneByteInOneByteString(
84 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
85 const TNode<RawPtrT> search_ptr, const TNode<IntPtrT> start_position);
88 void StringEqual_Loop(TNode<String> lhs, TNode<Word32T> lhs_instance_type,
89 MachineType lhs_type, TNode<String> rhs,
90 TNode<Word32T> rhs_instance_type, MachineType rhs_type,
91 TNode<IntPtrT> length, Label* if_equal,
93 TNode<RawPtrT> DirectStringData(TNode<String> string,
94 TNode<Word32T> string_instance_type);
97 TNode<IntPtrT> CallSearchStringRaw(const TNode<RawPtrT> subject_ptr,
98 const TNode<IntPtrT> subject_length,
99 const TNode<RawPtrT> search_ptr,
100 const TNode<IntPtrT> search_length,
101 const TNode<IntPtrT> start_position);
103 void GenerateStringEqual(TNode<String> left, TNode<String> right);
104 void GenerateStringRelationalComparison(TNode<String> left,
105 TNode<String> right, Operation op);
107 using StringAtAccessor = std::function<TNode<Object>(
108 TNode<String> receiver, TNode<IntPtrT> length, TNode<IntPtrT> index)>;
110 const TNode<Smi> IndexOfDollarChar(const TNode<Context> context,
111 const TNode<String> string);
113 TNode<JSArray> StringToArray(TNode<NativeContext> context,
114 TNode<String> subject_string,
115 TNode<Smi> subject_length,
116 TNode<Number> limit_number);
118 TNode<BoolT> SmiIsNegative(TNode<Smi> value) {
122 TNode<String> AllocateConsString(TNode<Uint32T> length, TNode<String> left,
123 TNode<String> right);
125 TNode<String> StringAdd(TNode<ContextOrEmptyContext> context,
126 TNode<String> left, TNode<String> right);
130 void BranchIfCanDerefIndirectString(TNode<String> string,
131 TNode<Int32T> instance_type,
137 TNode<Int32T> instance_type);
141 TNode<Int32T> instance_type, Label* did_deref,
146 TNode<Int32T> left_instance_type,
148 TNode<Int32T> right_instance_type,
150 TNode<String> DerefIndirectString(TNode<String> string,
151 TNode<Int32T> instance_type,
167 using NodeFunction1 = std::function<void(TNode<Object> fn)>;
171 const TNode<Context> context, const TNode<Object> object,
172 const TNode<Object> maybe_string, Handle<Symbol> symbol,
178 TNode<String> AllocAndCopyStringCharacters(TNode<T> from,
179 TNode<Int32T> from_instance_type,
180 TNode<IntPtrT> from_index,
181 TNode<IntPtrT> character_count);