Searched refs:declarable (Results 1 – 9 of 9) sorted by relevance
69 static x* cast(Declarable* declarable) { \70 DCHECK(declarable->Is##x()); \71 return static_cast<x*>(declarable); \73 static const x* cast(const Declarable* declarable) { \74 DCHECK(declarable->Is##x()); \75 return static_cast<const x*>(declarable); \78 static x* DynamicCast(Declarable* declarable) { \79 if (!declarable) return nullptr; \80 if (!declarable->Is##x()) return nullptr; \81 return static_cast<x*>(declarable); \[all …]
64 static x* cast(TypeBase* declarable) { \65 DCHECK(declarable->Is##x()); \66 return static_cast<x*>(declarable); \68 static const x* cast(const TypeBase* declarable) { \69 DCHECK(declarable->Is##x()); \70 return static_cast<const x*>(declarable); \72 static x* DynamicCast(TypeBase* declarable) { \73 if (!declarable) return nullptr; \74 if (!declarable->Is##x()) return nullptr; \75 return static_cast<x*>(declarable); \[all …]
101 for (auto& declarable : declarables_) { in FindSomeInternalBuiltinWithType() local102 if (Builtin* builtin = Builtin::DynamicCast(declarable.get())) { in FindSomeInternalBuiltinWithType()136 Declarable* declarable = TryLookup(name); in TryLookupMacro() local137 if (declarable != nullptr) { in TryLookupMacro()138 if (declarable->IsMacroList()) { in TryLookupMacro()139 for (auto& m : MacroList::cast(declarable)->list()) { in TryLookupMacro()162 Declarable* declarable = Lookup(name); in LookupBuiltin() local163 if (declarable != nullptr) { in LookupBuiltin()164 if (declarable->IsBuiltin()) { in LookupBuiltin()165 return Builtin::cast(declarable); in LookupBuiltin()[all …]
296 VisitResult::VisitResult(const Type* type, const Value* declarable) in VisitResult() argument297 : type_(type), value_(), declarable_(declarable) {} in VisitResult()305 if (declarable()) { in RValue()306 auto value = *declarable(); in RValue()
1198 Declarable* declarable = declarations()->Lookup(mangled_name); in LookupCall() local1199 if (declarable->IsBuiltin()) { in LookupCall()1200 result = Builtin::cast(declarable); in LookupCall()1201 } else if (declarable->IsRuntimeFunction()) { in LookupCall()1202 result = RuntimeFunction::cast(declarable); in LookupCall()1203 } else if (declarable->IsMacroList()) { in LookupCall()1206 for (Macro* m : MacroList::cast(declarable)->list()) { in LookupCall()1253 stream << "can't call " << declarable->type_name() << " " << name in LookupCall()1392 if (result.declarable()) { in GetLocationReference()1394 declarations()->LookupValue((*result.declarable())->name() + "." + in GetLocationReference()[all …]
110 "src/torque/declarable.cc",
2925 "src/torque/declarable.cc",2926 "src/torque/declarable.h",
116 * Strongly-typed and forward declarable enums: N2347_, N2764_
117 * Strongly-typed and forward declarable enums: N2347_, N2764_