Home
last modified time | relevance | path

Searched refs:declarable (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/torque/
Ddeclarable.h69 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 …]
Dtypes.h64 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 …]
Ddeclarations.cc101 for (auto& declarable : declarables_) { in FindSomeInternalBuiltinWithType() local
102 if (Builtin* builtin = Builtin::DynamicCast(declarable.get())) { in FindSomeInternalBuiltinWithType()
136 Declarable* declarable = TryLookup(name); in TryLookupMacro() local
137 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() local
163 if (declarable != nullptr) { in LookupBuiltin()
164 if (declarable->IsBuiltin()) { in LookupBuiltin()
165 return Builtin::cast(declarable); in LookupBuiltin()
[all …]
Dtypes.cc296 VisitResult::VisitResult(const Type* type, const Value* declarable) in VisitResult() argument
297 : type_(type), value_(), declarable_(declarable) {} in VisitResult()
305 if (declarable()) { in RValue()
306 auto value = *declarable(); in RValue()
Dimplementation-visitor.cc1198 Declarable* declarable = declarations()->Lookup(mangled_name); in LookupCall() local
1199 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 …]
/external/v8/
DAndroid.bp110 "src/torque/declarable.cc",
DBUILD.gn2925 "src/torque/declarable.cc",
2926 "src/torque/declarable.h",
/external/llvm/docs/
DCodingStandards.rst116 * Strongly-typed and forward declarable enums: N2347_, N2764_
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DCodingStandards.rst117 * Strongly-typed and forward declarable enums: N2347_, N2764_