Lines Matching refs:ir
95 ir::Proto* Encode(DexBuilder* dex) const;
327 ir::MethodDecl* decl;
333 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
336 ir::EncodedMethod* Encode();
477 ir::Class* class_;
478 ir::MethodDecl* decl_;
519 ClassBuilder(DexBuilder* parent, const std::string& name, ir::Class* class_def);
530 ir::Class* const class_;
548 ir::String* GetOrAddString(const std::string& string);
555 ir::Type* GetOrAddType(const std::string& descriptor);
556 inline ir::Type* GetOrAddType(TypeDescriptor descriptor) { in GetOrAddType()
560 ir::FieldDecl* GetOrAddField(TypeDescriptor parent, const std::string& name, TypeDescriptor type);
571 ir::Proto* GetOrEncodeProto(Prototype prototype);
573 std::shared_ptr<ir::DexFile> dex_file_;
583 std::unordered_map<std::string, ir::Type*> types_by_descriptor_;
602 std::unordered_map<std::string, ir::String*> strings_;
605 std::map<Prototype, ir::Proto*> proto_map_;
608 std::map<std::tuple<TypeDescriptor, std::string>, ir::FieldDecl*> field_decls_by_key_;
616 ir::Type* type_def = dex_->GetOrAddType(type.descriptor()); in BuildNew()