Lines Matching refs:Builtin
37 (isolate)->builtins()->code_handle(i::Builtin::k##name)
39 enum class Builtin : int32_t { enum
52 V8_INLINE constexpr bool operator<(Builtin a, Builtin b) {
53 using type = typename std::underlying_type<Builtin>::type;
57 V8_INLINE Builtin operator++(Builtin& builtin) {
58 using type = typename std::underlying_type<Builtin>::type;
59 return builtin = static_cast<Builtin>(static_cast<type>(builtin) + 1);
81 static constexpr Builtin kFirst = static_cast<Builtin>(0);
82 static constexpr Builtin kLast = static_cast<Builtin>(kBuiltinCount - 1);
83 static constexpr Builtin kLastTier0 =
84 static_cast<Builtin>(kBuiltinTier0Count - 1);
87 static_cast<int>(Builtin::kFirstBytecodeHandler) +
95 static constexpr bool IsBuiltinId(Builtin builtin) { in IsBuiltinId()
96 return builtin != Builtin::kNoBuiltinId; in IsBuiltinId()
99 STATIC_ASSERT(static_cast<int>(Builtin::kNoBuiltinId) == -1); in IsBuiltinId()
103 static constexpr bool IsTier0(Builtin builtin) { in IsTier0()
107 static constexpr Builtin FromInt(int id) { in FromInt()
109 return static_cast<Builtin>(id); in FromInt()
111 static constexpr int ToInt(Builtin id) { in ToInt()
119 static BytecodeOffset GetContinuationBytecodeOffset(Builtin builtin);
120 static Builtin GetBuiltinFromBytecodeOffset(BytecodeOffset);
122 static constexpr Builtin GetRecordWriteStub( in GetRecordWriteStub()
128 return Builtin::kRecordWriteEmitRememberedSetIgnoreFP; in GetRecordWriteStub()
130 return Builtin::kRecordWriteEmitRememberedSetSaveFP; in GetRecordWriteStub()
135 return Builtin::kRecordWriteOmitRememberedSetIgnoreFP; in GetRecordWriteStub()
137 return Builtin::kRecordWriteOmitRememberedSetSaveFP; in GetRecordWriteStub()
142 static constexpr Builtin GetEphemeronKeyBarrierStub(SaveFPRegsMode fp_mode) { in GetEphemeronKeyBarrierStub()
145 return Builtin::kEphemeronKeyBarrierIgnoreFP; in GetEphemeronKeyBarrierStub()
147 return Builtin::kEphemeronKeyBarrierSaveFP; in GetEphemeronKeyBarrierStub()
160 void set_code(Builtin builtin, CodeT code);
162 V8_EXPORT_PRIVATE CodeT code(Builtin builtin);
163 V8_EXPORT_PRIVATE Handle<CodeT> code_handle(Builtin builtin);
165 static CallInterfaceDescriptor CallInterfaceDescriptorFor(Builtin builtin);
167 Builtin builtin);
168 static bool HasJSLinkage(Builtin builtin);
170 static int GetStackParameterCount(Builtin builtin);
172 static const char* name(Builtin builtin);
180 static Address CppEntryOf(Builtin builtin);
182 static Kind KindOf(Builtin builtin);
183 static const char* KindNameOf(Builtin builtin);
185 static bool IsCpp(Builtin builtin);
193 bool IsBuiltinHandle(Handle<HeapObject> maybe_code, Builtin* index) const;
204 static constexpr bool IsIsolateIndependent(Builtin builtin) { in IsIsolateIndependent()
252 static bool CodeObjectIsExecutable(Builtin builtin);
254 static bool IsJSEntryVariant(Builtin builtin) { in IsJSEntryVariant()
256 case Builtin::kJSEntry: in IsJSEntryVariant()
257 case Builtin::kJSConstructEntry: in IsJSEntryVariant()
258 case Builtin::kJSRunMicrotasksEntry: in IsJSEntryVariant()
280 FullObjectSlot builtin_slot(Builtin builtin);
282 FullObjectSlot builtin_tier0_slot(Builtin builtin);
328 V8_INLINE constexpr bool IsInterpreterTrampolineBuiltin(Builtin builtin_id) {
331 return builtin_id != Builtin::kNoBuiltinId &&
332 (builtin_id == Builtin::kInterpreterEntryTrampoline ||
333 builtin_id == Builtin::kInterpreterEnterAtBytecode ||
334 builtin_id == Builtin::kInterpreterEnterAtNextBytecode);
337 V8_INLINE constexpr bool IsBaselineTrampolineBuiltin(Builtin builtin_id) {
340 return builtin_id != Builtin::kNoBuiltinId &&
341 (builtin_id == Builtin::kBaselineOutOfLinePrologue ||
342 builtin_id == Builtin::kBaselineOrInterpreterEnterAtBytecode ||
343 builtin_id == Builtin::kBaselineOrInterpreterEnterAtNextBytecode);
346 Builtin ExampleBuiltinForTorqueFunctionPointerType(