Searched refs:builder_ (Results 1 – 5 of 5) sorted by relevance
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | frontend.cc | 41 auto ir = builder_.ir(); in CompareAndBranch() 42 auto cur_bb = builder_.bb(); in CompareAndBranch() 51 builder_.StartBasicBlock(then_bb); in CompareAndBranch() 54 builder_.StartBasicBlock(else_bb); in CompareAndBranch() 99 return builder_.ir()->AllocVReg(); in AllocTempReg() 103 return SimdReg{builder_.ir()->AllocVReg()}; in AllocTempSimdReg() 152 auto ir = builder_.ir(); in ResolveJumps() 214 auto ir = builder_.ir(); in ReplaceJumpWithBranch() 243 builder_.StartBasicBlock(exit_bb); in ReplaceJumpWithBranch() 265 builder_.GenGet(dst, GetThreadStateRegOffset(reg)); in GetReg() [all …]
|
D | frontend.h | 61 builder_(machine_ir), in HeavyOptimizerFrontend() 239 builder_.GenGetSimd<8>(result.machine_reg(), GetThreadStateFRegOffset(reg)); in GetFRegAndUnboxNan() 242 builder_.Gen<x86_64::MacroUnboxNanFloat32AVX>(unboxed_result.machine_reg(), in GetFRegAndUnboxNan() 245 builder_.Gen<x86_64::MacroUnboxNanFloat32>(unboxed_result.machine_reg(), in GetFRegAndUnboxNan() 254 builder_.Gen<x86_64::MacroNanBoxFloat32AVX>(value.machine_reg(), value.machine_reg()); in NanBoxFpReg() 256 builder_.Gen<x86_64::MacroNanBoxFloat32>(value.machine_reg()); in NanBoxFpReg() 265 builder_.GenSetSimd<8>(GetThreadStateFRegOffset(reg), value.machine_reg()); in NanBoxAndSetFpReg() 395 &builder_, GetFlagsRegister(), args...)) { in CallIntrinsic() 399 CallIntrinsicImpl(&builder_, kFunction, GetFlagsRegister(), args...); in CallIntrinsic() 431 &builder_, result, GetFlagsRegister(), args...)) { in CallIntrinsic() [all …]
|
D | inline_intrinsic.h | 300 : builder_(builder), in TryBindingBasedInlineIntrinsicForHeavyOptimizer() 368 std::tuple_cat(std::tuple<x86_64::MachineIRBuilder&>{*builder_}, in operator() 401 MovFromInput<RegisterClass>(builder_, xmm_reg, std::get<arg_info.from>(input_args_)); in ProcessArgInput() 417 builder_, xmm_result_reg_, std::get<arg_info.from>(input_args_)); in ProcessArgInput() 422 MovFromInput<RegisterClass>(builder_, res, std::get<arg_info.from>(input_args_)); in ProcessArgInput() 425 MovFromInput<RegisterClass>(builder_, result_, std::get<arg_info.from>(input_args_)); in ProcessArgInput() 438 builder_, implicit_result_reg_, std::get<arg_info.from>(input_args_)); in ProcessArgInput() 444 MovFromInput<RegisterClass>(builder_, implicit_reg, std::get<arg_info.from>(input_args_)); in ProcessArgInput() 526 builder_->Gen<x86_64::MovsxlqRegReg>(result_, result_); in ProcessBindingsResults() 554 MovToResult<RegisterClass>(builder_, result_, xmm_result_reg_); in ProcessBindingResult() [all …]
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 162 voidType_ = builder_->GetType("V"); in preparePrePost() 165 hookType_ = builder_->GetType("Lcom/android/lock_checker/LockHook;"); in preparePrePost() 168 objectType_ = builder_->GetType("Ljava/lang/Object;"); in preparePrePost() 173 if (builder_ == nullptr) { in prepareBuilder() 174 builder_ = std::unique_ptr<ir::Builder>(new ir::Builder(dexIr_)); in prepareBuilder() 194 auto proto = builder_->GetProto(returnType, builder_->GetTypeList(types)); in addCall() 195 auto method = builder_->GetMethodDecl(builder_->GetAsciiString(methodName), proto, type); in addCall() 209 auto proto = builder_->GetProto(returnType, builder_->GetTypeList( { paramType })); in addCall() 210 auto method = builder_->GetMethodDecl(builder_->GetAsciiString(methodName), proto, type); in addCall() 219 std::unique_ptr<ir::Builder> builder_; member in __anon1a410cf30111::Transformer
|
/frameworks/libs/binary_translation/backend/x86_64/ |
D | machine_ir_exec_test.cc | 604 ExecMachineIRTest() : machine_ir_(&arena_), builder_(&machine_ir_), data_{} { in ExecMachineIRTest() 606 builder_.StartBasicBlock(bb_); 609 builder_.Gen<x86_64::MovqRegImm>(x86_64::kMachineRegRBP, reinterpret_cast<uintptr_t>(&data_)); 615 builder_.Gen<x86_64::MovdquXRegMemBaseDisp>( 619 builder_.Gen<PseudoCopy>(slots_[i], x86_64::kMachineRegXMM0, 16); 623 builder_.Gen<x86_64::MovdquXRegMemBaseDisp>( 628 builder_.Gen<x86_64::MovqRegMemBaseDisp>( 635 builder_.Gen<x86_64::MovqMemBaseDispReg>( in Finalize() 640 builder_.Gen<x86_64::MovdquMemBaseDispXReg>( in Finalize() 645 builder_.Gen<PseudoCopy>(x86_64::kMachineRegXMM0, slots_[i], 16); in Finalize() [all …]
|