Lines Matching refs:MethodBuilder
150 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()
319 void MethodBuilder::BuildConst4(Value target, int value) { in BuildConst4()
324 void MethodBuilder::BuildConstString(Value target, const std::string& value) { in BuildConstString()
329 void MethodBuilder::EncodeInstructions() { in EncodeInstructions()
336 void MethodBuilder::EncodeInstruction(const Instruction& instruction) { in EncodeInstruction()
366 void MethodBuilder::EncodeReturn(const Instruction& instruction, ::art::Instruction::Code opcode) { in EncodeReturn()
377 void MethodBuilder::EncodeMove(const Instruction& instruction) { in EncodeMove()
409 void MethodBuilder::EncodeInvoke(const Instruction& instruction, ::art::Instruction::Code opcode) { in EncodeInvoke()
479 void MethodBuilder::EncodeBranch(art::Instruction::Code op, const Instruction& instruction) { in EncodeBranch()
493 void MethodBuilder::EncodeNew(const Instruction& instruction) { in EncodeNew()
505 void MethodBuilder::EncodeCast(const Instruction& instruction) { in EncodeCast()
517 size_t MethodBuilder::RegisterValue(const Value& value) const { in RegisterValue()
527 void MethodBuilder::BindLabel(const Value& label_id) { in BindLabel()
543 ::dex::u2 MethodBuilder::LabelValue(const Value& label_id, size_t instruction_offset, in LabelValue()