Lines Matching refs:decl
265 ir::MethodDecl* decl = parent_->GetOrDeclareMethod(type_descriptor_, name, prototype).decl; in CreateMethod() local
267 return MethodBuilder{parent_, class_, decl}; in CreateMethod()
274 MethodBuilder::MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl) in MethodBuilder() argument
275 : dex_{dex}, class_{class_def}, decl_{decl} {} in MethodBuilder()
279 method->decl = decl_; in Encode()
562 if (entry.decl == nullptr) { in GetOrDeclareMethod()
564 ir::MethodDecl* decl = dex_file_->Alloc<ir::MethodDecl>(); in GetOrDeclareMethod() local
569 decl->name = dex_name; in GetOrDeclareMethod()
570 decl->parent = GetOrAddType(type.descriptor()); in GetOrDeclareMethod()
571 decl->prototype = GetOrEncodeProto(prototype); in GetOrDeclareMethod()
577 ir_node = decl; in GetOrDeclareMethod()
578 decl->orig_index = decl->index = new_index; in GetOrDeclareMethod()
580 entry = {id, decl}; in GetOrDeclareMethod()