Home
last modified time | relevance | path

Searched refs:MethodBuilder (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/startop/view_compiler/
Ddex_testcase_generator.cc59 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
91 MethodBuilder returnIfZero{cbuilder.CreateMethod( in GenerateSimpleTestCases()
112 MethodBuilder returnIfNotZero{cbuilder.CreateMethod( in GenerateSimpleTestCases()
148 MethodBuilder backwardsBranch{ in GenerateSimpleTestCases()
150 [](MethodBuilder& method) { in GenerateSimpleTestCases()
178 MethodBuilder returnNull{cbuilder.CreateMethod("returnNull", Prototype{string_type})}; in GenerateSimpleTestCases()
179 [](MethodBuilder& method) { in GenerateSimpleTestCases()
189 MethodBuilder makeString{cbuilder.CreateMethod("makeString", Prototype{string_type})}; in GenerateSimpleTestCases()
190 [](MethodBuilder& method) { in GenerateSimpleTestCases()
200 MethodBuilder returnStringIfZeroAB{ in GenerateSimpleTestCases()
[all …]
Ddex_builder.cc167 MethodBuilder method{cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Int(), string_type})}; in WriteTestDexFile()
298 MethodBuilder ClassBuilder::CreateMethod(const std::string& name, Prototype prototype) { in CreateMethod()
301 return MethodBuilder{parent_, class_, decl}; in CreateMethod()
308 MethodBuilder::MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl) in MethodBuilder() function in startop::dex::MethodBuilder
311 ir::EncodedMethod* MethodBuilder::Encode() { in Encode()
335 LiveRegister MethodBuilder::AllocRegister() { in AllocRegister()
350 Value MethodBuilder::MakeLabel() { in MakeLabel()
355 void MethodBuilder::AddInstruction(Instruction instruction) { in AddInstruction()
359 void MethodBuilder::BuildReturn() { AddInstruction(Instruction::OpNoArgs(Op::kReturn)); } in BuildReturn()
361 void MethodBuilder::BuildReturn(Value src, bool is_object) { in BuildReturn()
[all …]
Ddex_layout_compiler.h73 DexViewBuilder(dex::MethodBuilder* method);
96 dex::MethodBuilder* method_;
Dmain.cc42 using startop::dex::MethodBuilder;
153 MethodBuilder method{compiled_view.CreateMethod( in main()
Ddex_builder.h147 friend class MethodBuilder; variable
331 class MethodBuilder {
333 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
525 MethodBuilder CreateMethod(const std::string& name, Prototype prototype);
612 void MethodBuilder::BuildNew(Value target, TypeDescriptor type, Prototype constructor, in BuildNew()
Dapk_layout_compiler.cc101 std::vector<dex::MethodBuilder> methods; in CompileApkAssetsLayouts()
Ddex_layout_compiler.cc45 DexViewBuilder::DexViewBuilder(dex::MethodBuilder* method) in DexViewBuilder()