Home
last modified time | relevance | path

Searched refs:RegLocation (Results 1 – 25 of 40) sorted by relevance

12

/art/compiler/dex/portable/
Dmir_to_gbc.h41 struct RegLocation;
91 ::llvm::Type* LlvmTypeFromLocRec(RegLocation loc);
95 RegLocation rl_src);
97 RegLocation rl_src);
99 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest);
101 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src);
102 void ConvertFillArrayData(int32_t offset, RegLocation rl_array);
104 RegLocation loc);
107 RegLocation loc);
108 void ConvertMoveException(RegLocation rl_dest);
[all …]
Dmir_to_gbc.cc101 ::llvm::Type* MirConverter::LlvmTypeFromLocRec(RegLocation loc) { in LlvmTypeFromLocRec()
144 int32_t table_offset, RegLocation rl_src) { in ConvertPackedSwitch()
168 int32_t table_offset, RegLocation rl_src) { in ConvertSparseSwitch()
195 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) { in ConvertSget()
203 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) { in ConvertSput()
211 void MirConverter::ConvertFillArrayData(int32_t offset, RegLocation rl_array) { in ConvertFillArrayData()
222 RegLocation loc) { in EmitConst()
250 RegLocation loc) { in EmitCopy()
271 void MirConverter::ConvertMoveException(RegLocation rl_dest) { in ConvertMoveException()
278 void MirConverter::ConvertThrow(RegLocation rl_src) { in ConvertThrow()
[all …]
/art/compiler/dex/quick/mips/
Dcodegen_mips.h30 bool SmallLiteralDivRem(Instruction::Code dalvik_opcode, bool is_div, RegLocation rl_src,
31 RegLocation rl_dest, int lit);
32 bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE;
53 RegLocation GetReturnAlt();
54 RegLocation GetReturnWideAlt();
55 RegLocation LocCReturn();
56 RegLocation LocCReturnRef();
57 RegLocation LocCReturnDouble();
58 RegLocation LocCReturnFloat();
59 RegLocation LocCReturnWide();
[all …]
Dint_mips.cc44 void MipsMir2Lir::GenCmpLong(RegLocation rl_dest, RegLocation rl_src1, in GenCmpLong()
45 RegLocation rl_src2) { in GenCmpLong()
50 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenCmpLong()
238 RegLocation MipsMir2Lir::GenDivRem(RegLocation rl_dest, RegStorage reg1, RegStorage reg2, in GenDivRem()
241 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenDivRem()
250 RegLocation MipsMir2Lir::GenDivRemLit(RegLocation rl_dest, RegStorage reg1, int lit, in GenDivRemLit()
255 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenDivRemLit()
265 RegLocation MipsMir2Lir::GenDivRem(RegLocation rl_dest, RegLocation rl_src1, in GenDivRem()
266 RegLocation rl_src2, bool is_div, bool check_zero) { in GenDivRem()
271 RegLocation MipsMir2Lir::GenDivRemLit(RegLocation rl_dest, RegLocation rl_src1, int lit, bool is_di… in GenDivRemLit()
[all …]
Dfp_mips.cc25 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { in GenArithOpFloat()
27 RegLocation rl_result; in GenArithOpFloat()
71 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { in GenArithOpDouble()
73 RegLocation rl_result; in GenArithOpDouble()
116 void MipsMir2Lir::GenConversion(Instruction::Code opcode, RegLocation rl_dest, in GenConversion()
117 RegLocation rl_src) { in GenConversion()
119 RegLocation rl_result; in GenConversion()
168 void MipsMir2Lir::GenCmpFP(Instruction::Code opcode, RegLocation rl_dest, in GenCmpFP()
169 RegLocation rl_src1, RegLocation rl_src2) { in GenCmpFP()
206 RegLocation rl_result = GetReturn(kCoreReg); in GenCmpFP()
[all …]
Dcall_mips.cc64 void MipsMir2Lir::GenLargeSparseSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) { in GenLargeSparseSwitch()
141 void MipsMir2Lir::GenLargePackedSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) { in GenLargePackedSwitch()
223 void MipsMir2Lir::GenFillArrayData(DexOffset table_offset, RegLocation rl_src) { in GenFillArrayData()
261 void MipsMir2Lir::GenMoveException(RegLocation rl_dest) { in GenMoveException()
263 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenMoveException()
289 void MipsMir2Lir::GenEntrySequence(RegLocation* ArgLocs, RegLocation rl_method) { in GenEntrySequence()
/art/compiler/dex/quick/arm/
Dcodegen_arm.h30 bool SmallLiteralDivRem(Instruction::Code dalvik_opcode, bool is_div, RegLocation rl_src,
31 RegLocation rl_dest, int lit);
32 bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE;
50 RegLocation GetReturnAlt();
51 RegLocation GetReturnWideAlt();
52 RegLocation LocCReturn();
53 RegLocation LocCReturnRef();
54 RegLocation LocCReturnDouble();
55 RegLocation LocCReturnFloat();
56 RegLocation LocCReturnWide();
[all …]
Dfp_arm.cc23 void ArmMir2Lir::GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest, in GenArithOpFloat()
24 RegLocation rl_src1, RegLocation rl_src2) { in GenArithOpFloat()
26 RegLocation rl_result; in GenArithOpFloat()
70 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { in GenArithOpDouble()
72 RegLocation rl_result; in GenArithOpDouble()
116 void ArmMir2Lir::GenConversion(Instruction::Code opcode, RegLocation rl_dest, RegLocation rl_src) { in GenConversion()
119 RegLocation rl_result; in GenConversion()
217 RegLocation rl_src1; in GenFusedFPCmpBranch()
218 RegLocation rl_src2; in GenFusedFPCmpBranch()
265 void ArmMir2Lir::GenCmpFP(Instruction::Code opcode, RegLocation rl_dest, in GenCmpFP()
[all …]
Dint_arm.cc122 void ArmMir2Lir::GenCmpLong(RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { in GenCmpLong()
145 RegLocation rl_temp = LocCReturn(); // Just using as template, will change in GenCmpLong()
155 void ArmMir2Lir::GenFusedLongCmpImmBranch(BasicBlock* bb, RegLocation rl_src1, in GenFusedLongCmpImmBranch()
231 RegLocation rl_result; in GenSelect()
232 RegLocation rl_src = mir_graph_->GetSrc(mir, 0); in GenSelect()
233 RegLocation rl_dest = mir_graph_->GetDest(mir); in GenSelect()
282 RegLocation rl_true = mir_graph_->reg_location_[mir->ssa_rep->uses[1]]; in GenSelect()
283 RegLocation rl_false = mir_graph_->reg_location_[mir->ssa_rep->uses[2]]; in GenSelect()
306 RegLocation rl_src1 = mir_graph_->GetSrcWide(mir, 0); in GenFusedLongCmpBranch()
307 RegLocation rl_src2 = mir_graph_->GetSrcWide(mir, 2); in GenFusedLongCmpBranch()
[all …]
Dcall_arm.cc46 void ArmMir2Lir::GenLargeSparseSwitch(MIR* mir, uint32_t table_offset, RegLocation rl_src) { in GenLargeSparseSwitch()
94 void ArmMir2Lir::GenLargePackedSwitch(MIR* mir, uint32_t table_offset, RegLocation rl_src) { in GenLargePackedSwitch()
150 void ArmMir2Lir::GenFillArrayData(uint32_t table_offset, RegLocation rl_src) { in GenFillArrayData()
179 void ArmMir2Lir::GenMonitorEnter(int opt_flags, RegLocation rl_src) { in GenMonitorEnter()
250 void ArmMir2Lir::GenMonitorExit(int opt_flags, RegLocation rl_src) { in GenMonitorExit()
313 void ArmMir2Lir::GenMoveException(RegLocation rl_dest) { in GenMoveException()
315 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenMoveException()
340 void ArmMir2Lir::GenEntrySequence(RegLocation* ArgLocs, RegLocation rl_method) { in GenEntrySequence()
/art/compiler/dex/quick/x86/
Dcodegen_x86.h51 void Initialize(RegLocation* arg_locs, int count, InToRegStorageMapper* mapper);
67 bool SmallLiteralDivRem(Instruction::Code dalvik_opcode, bool is_div, RegLocation rl_src,
68 RegLocation rl_dest, int lit) OVERRIDE;
69 bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE;
111 RegLocation GetReturnAlt() OVERRIDE;
112 RegLocation GetReturnWideAlt() OVERRIDE;
113 RegLocation LocCReturn() OVERRIDE;
114 RegLocation LocCReturnRef() OVERRIDE;
115 RegLocation LocCReturnDouble() OVERRIDE;
116 RegLocation LocCReturnFloat() OVERRIDE;
[all …]
Dfp_x86.cc25 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { in GenArithOpFloat()
27 RegLocation rl_result; in GenArithOpFloat()
76 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { in GenArithOpDouble()
84 RegLocation rl_result; in GenArithOpDouble()
125 void X86Mir2Lir::GenLongToFP(RegLocation rl_dest, RegLocation rl_src, bool is_double) { in GenLongToFP()
172 RegLocation rl_result = is_double ? UpdateLocWideTyped(rl_dest, kFPReg) : in GenLongToFP()
193 void X86Mir2Lir::GenConversion(Instruction::Code opcode, RegLocation rl_dest, in GenConversion()
194 RegLocation rl_src) { in GenConversion()
197 RegLocation rl_result; in GenConversion()
342 void X86Mir2Lir::GenRemFP(RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2, bool is_do… in GenRemFP()
[all …]
Dint_x86.cc34 void X86Mir2Lir::GenCmpLong(RegLocation rl_dest, RegLocation rl_src1, in GenCmpLong()
35 RegLocation rl_src2) { in GenCmpLong()
39 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenCmpLong()
68 RegLocation rl_result = LocCReturn(); in GenCmpLong()
271 RegLocation rl_result; in GenSelect()
272 RegLocation rl_src = mir_graph_->GetSrc(mir, 0); in GenSelect()
273 RegLocation rl_dest = mir_graph_->GetDest(mir); in GenSelect()
347 RegLocation rl_true = mir_graph_->GetSrc(mir, 1); in GenSelect()
348 RegLocation rl_false = mir_graph_->GetSrc(mir, 2); in GenSelect()
386 RegLocation rl_src1 = mir_graph_->GetSrcWide(mir, 0); in GenFusedLongCmpBranch()
[all …]
Dcall_x86.cc30 void X86Mir2Lir::GenLargeSparseSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) { in GenLargeSparseSwitch()
63 void X86Mir2Lir::GenLargePackedSwitch(MIR* mir, DexOffset table_offset, RegLocation rl_src) { in GenLargePackedSwitch()
86 RegLocation rl_method = mir_graph_->GetRegLocation(base_of_code_->s_reg_low); in GenLargePackedSwitch()
137 void X86Mir2Lir::GenFillArrayData(DexOffset table_offset, RegLocation rl_src) { in GenFillArrayData()
160 RegLocation rl_method = mir_graph_->GetRegLocation(base_of_code_->s_reg_low); in GenFillArrayData()
175 void X86Mir2Lir::GenMoveException(RegLocation rl_dest) { in GenMoveException()
179 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenMoveException()
206 void X86Mir2Lir::GenEntrySequence(RegLocation* ArgLocs, RegLocation rl_method) { in GenEntrySequence()
/art/compiler/dex/quick/arm64/
Dcodegen_arm64.h50 void Initialize(RegLocation* arg_locs, int count, InToRegStorageMapper* mapper);
66 bool SmallLiteralDivRem(Instruction::Code dalvik_opcode, bool is_div, RegLocation rl_src,
67 RegLocation rl_dest, int lit) OVERRIDE;
69 RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE;
71 RegLocation rl_src, RegLocation rl_dest, int64_t lit);
72 bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE;
109 RegLocation GetReturnAlt() OVERRIDE;
110 RegLocation GetReturnWideAlt() OVERRIDE;
111 RegLocation LocCReturn() OVERRIDE;
112 RegLocation LocCReturnRef() OVERRIDE;
[all …]
Dfp_arm64.cc24 void Arm64Mir2Lir::GenArithOpFloat(Instruction::Code opcode, RegLocation rl_dest, in GenArithOpFloat()
25 RegLocation rl_src1, RegLocation rl_src2) { in GenArithOpFloat()
27 RegLocation rl_result; in GenArithOpFloat()
67 RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) { in GenArithOpDouble()
69 RegLocation rl_result; in GenArithOpDouble()
120 RegLocation rl_dest, RegLocation rl_src) { in GenConversion()
122 RegLocation rl_result; in GenConversion()
204 RegLocation rl_src1; in GenFusedFPCmpBranch()
205 RegLocation rl_src2; in GenFusedFPCmpBranch()
251 void Arm64Mir2Lir::GenCmpFP(Instruction::Code opcode, RegLocation rl_dest, in GenCmpFP()
[all …]
Dint_arm64.cc49 void Arm64Mir2Lir::GenCmpLong(RegLocation rl_dest, RegLocation rl_src1, in GenCmpLong()
50 RegLocation rl_src2) { in GenCmpLong()
51 RegLocation rl_result; in GenCmpLong()
63 void Arm64Mir2Lir::GenShiftOpLong(Instruction::Code opcode, RegLocation rl_dest, in GenShiftOpLong()
64 RegLocation rl_src1, RegLocation rl_shift) { in GenShiftOpLong()
84 RegLocation rl_result = EvalLocWide(rl_dest, kCoreReg, true); in GenShiftOpLong()
184 RegLocation rl_src = mir_graph_->GetSrc(mir, 0); in GenSelect()
189 RegLocation rl_dest = mir_graph_->GetDest(mir); in GenSelect()
193 RegLocation rl_result = EvalLoc(rl_dest, rl_dest.ref ? kRefReg : kCoreReg, true); in GenSelect()
198 RegLocation rl_true = mir_graph_->reg_location_[mir->ssa_rep->uses[1]]; in GenSelect()
[all …]
Dcall_arm64.cc46 void Arm64Mir2Lir::GenLargeSparseSwitch(MIR* mir, uint32_t table_offset, RegLocation rl_src) { in GenLargeSparseSwitch()
98 void Arm64Mir2Lir::GenLargePackedSwitch(MIR* mir, uint32_t table_offset, RegLocation rl_src) { in GenLargePackedSwitch()
159 void Arm64Mir2Lir::GenFillArrayData(uint32_t table_offset, RegLocation rl_src) { in GenFillArrayData()
188 void Arm64Mir2Lir::GenMonitorEnter(int opt_flags, RegLocation rl_src) { in GenMonitorEnter()
237 void Arm64Mir2Lir::GenMonitorExit(int opt_flags, RegLocation rl_src) { in GenMonitorExit()
279 void Arm64Mir2Lir::GenMoveException(RegLocation rl_dest) { in GenMoveException()
281 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenMoveException()
305 void Arm64Mir2Lir::GenEntrySequence(RegLocation* ArgLocs, RegLocation rl_method) { in GenEntrySequence()
Dtarget_arm64.cc85 RegLocation Arm64Mir2Lir::LocCReturn() { in LocCReturn()
89 RegLocation Arm64Mir2Lir::LocCReturnRef() { in LocCReturnRef()
93 RegLocation Arm64Mir2Lir::LocCReturnWide() { in LocCReturnWide()
97 RegLocation Arm64Mir2Lir::LocCReturnFloat() { in LocCReturnFloat()
101 RegLocation Arm64Mir2Lir::LocCReturnDouble() { in LocCReturnDouble()
697 RegLocation Arm64Mir2Lir::GetReturnWideAlt() { in GetReturnWideAlt()
698 RegLocation res = LocCReturnWide(); in GetReturnWideAlt()
709 RegLocation Arm64Mir2Lir::GetReturnAlt() { in GetReturnAlt()
710 RegLocation res = LocCReturn(); in GetReturnAlt()
832 void Arm64Mir2Lir::InToRegStorageMapping::Initialize(RegLocation* arg_locs, int count, in Initialize()
[all …]
/art/compiler/dex/quick/
Dmir_to_lir.h660 RegisterClass LocToRegClass(RegLocation loc);
697 bool IsInexpensiveConstant(RegLocation rl_src);
719 virtual RegLocation NarrowRegLoc(RegLocation loc);
761 virtual void FreeRegLocTemps(RegLocation rl_keep, RegLocation rl_free);
769 void MarkDef(RegLocation rl, LIR *start, LIR *finish);
770 void MarkDefWide(RegLocation rl, LIR *start, LIR *finish);
771 void ResetDefLoc(RegLocation rl);
772 void ResetDefLocWide(RegLocation rl);
778 void MarkLive(RegLocation loc);
783 void MarkClean(RegLocation loc);
[all …]
Dgen_loadstore.cc43 void Mir2Lir::Workaround7250540(RegLocation rl_dest, RegStorage zero_reg) { in Workaround7250540()
83 void Mir2Lir::LoadValueDirect(RegLocation rl_src, RegStorage r_dest) { in LoadValueDirect()
108 void Mir2Lir::LoadValueDirectFixed(RegLocation rl_src, RegStorage r_dest) { in LoadValueDirectFixed()
119 void Mir2Lir::LoadValueDirectWide(RegLocation rl_src, RegStorage r_dest) { in LoadValueDirectWide()
138 void Mir2Lir::LoadValueDirectWideFixed(RegLocation rl_src, RegStorage r_dest) { in LoadValueDirectWideFixed()
144 RegLocation Mir2Lir::LoadValue(RegLocation rl_src, RegisterClass op_kind) { in LoadValue()
169 RegLocation Mir2Lir::LoadValue(RegLocation rl_src) { in LoadValue()
173 void Mir2Lir::StoreValue(RegLocation rl_dest, RegLocation rl_src) { in StoreValue()
231 RegLocation Mir2Lir::LoadValueWide(RegLocation rl_src, RegisterClass op_kind) { in LoadValueWide()
257 void Mir2Lir::StoreValueWide(RegLocation rl_dest, RegLocation rl_src) { in StoreValueWide()
[all …]
Dgen_common.cc218 void Mir2Lir::GenCompareAndBranch(Instruction::Code opcode, RegLocation rl_src1, in GenCompareAndBranch()
219 RegLocation rl_src2, LIR* taken, in GenCompareAndBranch()
250 RegLocation rl_temp = rl_src1; in GenCompareAndBranch()
260 RegLocation rl_temp = UpdateLoc(rl_src2); in GenCompareAndBranch()
284 void Mir2Lir::GenCompareZeroAndBranch(Instruction::Code opcode, RegLocation rl_src, LIR* taken, in GenCompareZeroAndBranch()
315 void Mir2Lir::GenIntToLong(RegLocation rl_dest, RegLocation rl_src) { in GenIntToLong()
316 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenIntToLong()
326 void Mir2Lir::GenIntNarrowing(Instruction::Code opcode, RegLocation rl_dest, in GenIntNarrowing()
327 RegLocation rl_src) { in GenIntNarrowing()
329 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenIntNarrowing()
[all …]
Dgen_invoke.cc120 void Mir2Lir::CallRuntimeHelperRegLocation(QuickEntrypointEnum trampoline, RegLocation arg0, in CallRuntimeHelperRegLocation()
142 RegLocation arg1, bool safepoint_pc) { in CallRuntimeHelperImmRegLocation()
155 void Mir2Lir::CallRuntimeHelperRegLocationImm(QuickEntrypointEnum trampoline, RegLocation arg0, in CallRuntimeHelperRegLocationImm()
206 RegLocation arg2, bool safepoint_pc) { in CallRuntimeHelperRegMethodRegLocation()
220 RegLocation arg0, RegLocation arg1, in CallRuntimeHelperRegLocationRegLocation()
311 RegLocation arg2, bool safepoint_pc) { in CallRuntimeHelperImmMethodRegLocation()
331 RegLocation arg1, in CallRuntimeHelperImmRegLocationRegLocation()
332 RegLocation arg2, bool safepoint_pc) { in CallRuntimeHelperImmRegLocationRegLocation()
349 RegLocation arg0, in CallRuntimeHelperRegLocationRegLocationRegLocation()
350 RegLocation arg1, in CallRuntimeHelperRegLocationRegLocationRegLocation()
[all …]
Dralloc_util.cc563 void Mir2Lir::FreeRegLocTemps(RegLocation rl_keep, RegLocation rl_free) { in FreeRegLocTemps()
682 void Mir2Lir::MarkDef(RegLocation rl, LIR *start, LIR *finish) { in MarkDef()
696 void Mir2Lir::MarkDefWide(RegLocation rl, LIR *start, LIR *finish) { in MarkDefWide()
711 void Mir2Lir::ResetDefLoc(RegLocation rl) { in ResetDefLoc()
719 void Mir2Lir::ResetDefLocWide(RegLocation rl) { in ResetDefLocWide()
821 void Mir2Lir::MarkLive(RegLocation loc) { in MarkLive()
909 void Mir2Lir::MarkClean(RegLocation loc) { in MarkClean()
922 void Mir2Lir::MarkDirty(RegLocation loc) { in MarkDirty()
1008 RegLocation Mir2Lir::UpdateLoc(RegLocation loc) { in UpdateLoc()
1033 RegLocation Mir2Lir::UpdateLocWide(RegLocation loc) { in UpdateLocWide()
[all …]
/art/compiler/dex/
Dmir_graph.h520 RegLocation* args; // One for each word of arguments.
521 RegLocation result; // Eventual target of MOVE_RESULT.
528 RegLocation target; // Target of following move_result.
536 const RegLocation bad_loc = {kLocDalvikFrame, 0, 0, 0, 0, 0, 0, 0, 0, RegStorage(), INVALID_SREG,
685 void DumpRegLocTable(RegLocation* table, int count);
713 bool IsConst(RegLocation loc) const { in IsConst()
717 int32_t ConstantValue(RegLocation loc) const { in ConstantValue()
727 int64_t ConstantValueWide(RegLocation loc) const { in ConstantValueWide()
735 bool IsConstantNullRef(RegLocation loc) const { in IsConstantNullRef()
769 RegLocation GetRawSrc(MIR* mir, int num) { in GetRawSrc()
[all …]

12