Lines Matching refs:MethodBuilder
167 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()
366 void MethodBuilder::BuildConst4(Value target, int value) { in BuildConst4()
371 void MethodBuilder::BuildConstString(Value target, const std::string& value) { in BuildConstString()
376 void MethodBuilder::EncodeInstructions() { in EncodeInstructions()
383 void MethodBuilder::EncodeInstruction(const Instruction& instruction) { in EncodeInstruction()
418 void MethodBuilder::EncodeReturn(const Instruction& instruction, ::dex::Opcode opcode) { in EncodeReturn()
429 void MethodBuilder::EncodeMove(const Instruction& instruction) { in EncodeMove()
461 void MethodBuilder::EncodeInvoke(const Instruction& instruction, ::dex::Opcode opcode) { in EncodeInvoke()
531 void MethodBuilder::EncodeBranch(::dex::Opcode op, const Instruction& instruction) { in EncodeBranch()
545 void MethodBuilder::EncodeNew(const Instruction& instruction) { in EncodeNew()
557 void MethodBuilder::EncodeCast(const Instruction& instruction) { in EncodeCast()
569 void MethodBuilder::EncodeFieldOp(const Instruction& instruction) { in EncodeFieldOp()
617 size_t MethodBuilder::RegisterValue(const Value& value) const { in RegisterValue()
627 void MethodBuilder::BindLabel(const Value& label_id) { in BindLabel()
643 ::dex::u2 MethodBuilder::LabelValue(const Value& label_id, size_t instruction_offset, in LabelValue()