Home
last modified time | relevance | path

Searched refs:formal_type (Results 1 – 2 of 2) sorted by relevance

/external/v8/tools/clang/blink_gc_plugin/
DConfig.h183 static bool IsVisitorPtrType(const clang::QualType& formal_type) { in IsVisitorPtrType() argument
184 if (!formal_type->isPointerType()) in IsVisitorPtrType()
188 formal_type->getPointeeType()->getAsCXXRecordDecl(); in IsVisitorPtrType()
198 static bool IsVisitorDispatcherType(const clang::QualType& formal_type) { in IsVisitorDispatcherType() argument
201 formal_type.getTypePtr())) { in IsVisitorDispatcherType()
208 formal_type.getTypePtr())) { in IsVisitorDispatcherType()
215 return IsVisitorPtrType(formal_type); in IsVisitorDispatcherType()
235 const clang::QualType& formal_type = method->getParamDecl(0)->getType(); in GetTraceMethodType() local
237 if (!IsVisitorDispatcherType(formal_type)) in GetTraceMethodType()
239 } else if (!IsVisitorPtrType(formal_type)) { in GetTraceMethodType()
/external/mesa3d/src/compiler/glsl/
Dast_function.cpp337 fix_parameter(void *mem_ctx, ir_rvalue *actual, const glsl_type *formal_type, in fix_parameter() argument
346 if (formal_type == actual->type in fix_parameter()
372 new(mem_ctx) ir_variable(formal_type, "inout_tmp", ir_var_temporary); in fix_parameter()
385 assert (actual->type == formal_type); in fix_parameter()
406 if (actual->type != formal_type) in fix_parameter()