Home
last modified time | relevance | path

Searched refs:MethodBuilder (Results 1 – 8 of 8) 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.cc150 MethodBuilder method{cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Int(), string_type})}; in WriteTestDexFile()
264 MethodBuilder ClassBuilder::CreateMethod(const std::string& name, Prototype prototype) { in CreateMethod()
267 return MethodBuilder{parent_, class_, decl}; in CreateMethod()
274 MethodBuilder::MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl) in MethodBuilder() function in startop::dex::MethodBuilder
277 ir::EncodedMethod* MethodBuilder::Encode() { in Encode()
301 Value MethodBuilder::MakeRegister() { return Value::Local(num_registers_++); } in MakeRegister()
303 Value MethodBuilder::MakeLabel() { in MakeLabel()
308 void MethodBuilder::AddInstruction(Instruction instruction) { in AddInstruction()
312 void MethodBuilder::BuildReturn() { AddInstruction(Instruction::OpNoArgs(Op::kReturn)); } in BuildReturn()
314 void MethodBuilder::BuildReturn(Value src, bool is_object) { in BuildReturn()
[all …]
Ddex_layout_compiler.h73 DexViewBuilder(dex::MethodBuilder* method);
89 dex::MethodBuilder* method_;
Ddex_builder_test.cc126 MethodBuilder method{cbuilder.CreateMethod( in TEST()
155 MethodBuilder method{cbuilder.CreateMethod( in TEST()
Dmain.cc42 using startop::dex::MethodBuilder;
153 MethodBuilder method{compiled_view.CreateMethod( in main()
Ddex_builder.h275 class MethodBuilder {
277 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
453 MethodBuilder CreateMethod(const std::string& name, Prototype prototype);
532 void MethodBuilder::BuildNew(Value target, TypeDescriptor type, Prototype constructor, T... args) { in BuildNew()
Dapk_layout_compiler.cc101 std::vector<dex::MethodBuilder> methods; in CompileApkAssetsLayouts()
Ddex_layout_compiler.cc45 DexViewBuilder::DexViewBuilder(dex::MethodBuilder* method) in DexViewBuilder()