/art/compiler/dex/quick/ |
D | dex_file_method_inliner.cc | 110 DCHECK_LT(arg, invoke->dalvikInsn.vA); in GetInvokeReg() 111 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode)); in GetInvokeReg() 112 if (Instruction::FormatOf(invoke->dalvikInsn.opcode) == Instruction::k3rc) { in GetInvokeReg() 113 return invoke->dalvikInsn.vC + arg; // Non-range invoke. in GetInvokeReg() 115 DCHECK_EQ(Instruction::FormatOf(invoke->dalvikInsn.opcode), Instruction::k35c); in GetInvokeReg() 116 return invoke->dalvikInsn.arg[arg]; // Range invoke. in GetInvokeReg() 121 DCHECK_LT(arg + 1, invoke->dalvikInsn.vA); in WideArgIsInConsecutiveDalvikRegs() 122 DCHECK(!MIR::DecodedInstruction::IsPseudoMirOp(invoke->dalvikInsn.opcode)); in WideArgIsInConsecutiveDalvikRegs() 123 return Instruction::FormatOf(invoke->dalvikInsn.opcode) == Instruction::k3rc || in WideArgIsInConsecutiveDalvikRegs() 124 invoke->dalvikInsn.arg[arg + 1u] == invoke->dalvikInsn.arg[arg] + 1u; in WideArgIsInConsecutiveDalvikRegs() [all …]
|
D | mir_to_lir.cc | 318 DCHECK_EQ(mir->dalvikInsn.opcode, Instruction::RETURN_VOID); in GenSpecialCase() 383 Instruction::Code opcode = mir->dalvikInsn.opcode; in CompileDalvikInstruction() 385 uint32_t vB = mir->dalvikInsn.vB; in CompileDalvikInstruction() 386 uint32_t vC = mir->dalvikInsn.vC; in CompileDalvikInstruction() 511 GenConstWide(rl_dest, mir->dalvikInsn.vB_wide); in CompileDalvikInstruction() 1055 switch (static_cast<ExtendedMIROpcode>(mir->dalvikInsn.opcode)) { in HandleExtendedMethodMIR() 1156 int opcode = mir->dalvikInsn.opcode; in MethodBlockCodeGen() 1171 mir->dalvikInsn.opcode = work_half->dalvikInsn.opcode; in MethodBlockCodeGen() 1173 opcode = work_half->dalvikInsn.opcode; in MethodBlockCodeGen() 1177 work_half->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpCheckPart2); in MethodBlockCodeGen()
|
/art/compiler/dex/ |
D | mir_optimization.cc | 56 MIR::DecodedInstruction* d_insn = &mir->dalvikInsn; in DoConstantPropagation() 135 if ((mir->dalvikInsn.opcode == Instruction::MOVE_RESULT) || in FindMoveResult() 136 (mir->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) || in FindMoveResult() 137 (mir->dalvikInsn.opcode == Instruction::MOVE_RESULT_WIDE)) { in FindMoveResult() 141 if (MIR::DecodedInstruction::IsPseudoMirOp(mir->dalvikInsn.opcode)) { in FindMoveResult() 175 if (static_cast<int>(mir->dalvikInsn.opcode) == kMirOpPhi) { in FindPhi() 187 switch (mir->dalvikInsn.opcode) { in SelectKind() 342 Instruction::Code opcode = mir->dalvikInsn.opcode; in BasicBlockOpt() 356 if (IsInstructionIfCcZ(mir_next->dalvikInsn.opcode) && in BasicBlockOpt() 359 mir_next->meta.ccode = ConditionCodeForIfCcZ(mir_next->dalvikInsn.opcode); in BasicBlockOpt() [all …]
|
D | global_value_numbering.cc | 111 (bb->last_mir_insn->dalvikInsn.opcode == Instruction::RETURN_VOID || in PrepareBasicBlock() 112 bb->last_mir_insn->dalvikInsn.opcode == Instruction::RETURN || in PrepareBasicBlock() 113 bb->last_mir_insn->dalvikInsn.opcode == Instruction::RETURN_OBJECT || in PrepareBasicBlock() 114 bb->last_mir_insn->dalvikInsn.opcode == Instruction::RETURN_WIDE) && in PrepareBasicBlock() 116 (static_cast<int>(bb->first_mir_insn->dalvikInsn.opcode) == kMirOpPhi && in PrepareBasicBlock() 118 (static_cast<int>(bb->first_mir_insn->next->dalvikInsn.opcode) == kMirOpPhi && in PrepareBasicBlock() 187 Instruction::Code last_opcode = pred_bb->last_mir_insn->dalvikInsn.opcode; in HasNullCheckLastInsn()
|
D | mir_analysis.cc | 875 uint32_t ending_flags = analysis_attributes_[ending_bb->last_mir_insn->dalvikInsn.opcode]; in AnalyzeBlock() 878 ending_flags = analysis_attributes_[ending_bb->last_mir_insn->dalvikInsn.opcode]; in AnalyzeBlock() 905 if (MIR::DecodedInstruction::IsPseudoMirOp(mir->dalvikInsn.opcode)) { in AnalyzeBlock() 909 uint32_t flags = analysis_attributes_[mir->dalvikInsn.opcode]; in AnalyzeBlock() 1125 if (mir->dalvikInsn.opcode >= Instruction::IGET && in DoCacheFieldLoweringInfo() 1126 mir->dalvikInsn.opcode <= Instruction::SPUT_SHORT) { in DoCacheFieldLoweringInfo() 1131 if (mir->dalvikInsn.opcode <= Instruction::IPUT_SHORT) { in DoCacheFieldLoweringInfo() 1241 if (mir->dalvikInsn.opcode >= Instruction::INVOKE_VIRTUAL && in DoCacheMethodLoweringInfo() 1242 mir->dalvikInsn.opcode <= Instruction::INVOKE_INTERFACE_RANGE && in DoCacheMethodLoweringInfo() 1243 mir->dalvikInsn.opcode != Instruction::RETURN_VOID_BARRIER) { in DoCacheMethodLoweringInfo() [all …]
|
D | vreg_analysis.cc | 218 if ((mir->dalvikInsn.opcode == Instruction::RETURN) || in InferTypeAndSize() 219 (mir->dalvikInsn.opcode == Instruction::RETURN_WIDE) || in InferTypeAndSize() 220 (mir->dalvikInsn.opcode == Instruction::RETURN_OBJECT)) { in InferTypeAndSize() 253 Instruction::Code opcode = mir->dalvikInsn.opcode; in InferTypeAndSize() 255 0 : Instruction::FlagsOf(mir->dalvikInsn.opcode); in InferTypeAndSize() 259 int target_idx = mir->dalvikInsn.vB; in InferTypeAndSize() 265 if (move_result_mir && (move_result_mir->dalvikInsn.opcode != in InferTypeAndSize() 277 int num_uses = mir->dalvikInsn.vA; in InferTypeAndSize() 279 if (((mir->dalvikInsn.opcode != Instruction::INVOKE_STATIC) && in InferTypeAndSize() 280 (mir->dalvikInsn.opcode != Instruction::INVOKE_STATIC_RANGE))) { in InferTypeAndSize() [all …]
|
D | mir_graph.cc | 233 DCHECK(static_cast<int>(insn->dalvikInsn.opcode) == kMirOpCheck || in SplitBlock() 234 !MIR::DecodedInstruction::IsPseudoMirOp(insn->dalvikInsn.opcode)); in SplitBlock() 242 int opcode = p->dalvikInsn.opcode; in SplitBlock() 403 switch (insn->dalvikInsn.opcode) { in ProcessCanBranch() 407 target += insn->dalvikInsn.vA; in ProcessCanBranch() 416 target += insn->dalvikInsn.vC; in ProcessCanBranch() 425 target += insn->dalvikInsn.vB; in ProcessCanBranch() 428 LOG(FATAL) << "Unexpected opcode(" << insn->dalvikInsn.opcode << ") with kBranch set"; in ProcessCanBranch() 469 reinterpret_cast<const uint16_t*>(GetCurrentInsns() + cur_offset + insn->dalvikInsn.vB); in ProcessCanSwitch() 485 if (insn->dalvikInsn.opcode == Instruction::PACKED_SWITCH) { in ProcessCanSwitch() [all …]
|
D | mir_dataflow.cc | 941 MIR::DecodedInstruction* d_insn = &mir->dalvikInsn; in FindLocalLiveIn() 980 HandleExtended(use_v, def_v, live_in_v, mir->dalvikInsn); in FindLocalLiveIn() 1040 MIR::DecodedInstruction* d_insn = &mir->dalvikInsn; in DataFlowSSAFormat35C() 1053 MIR::DecodedInstruction* d_insn = &mir->dalvikInsn; in DataFlowSSAFormat3RC() 1065 switch (static_cast<int>(mir->dalvikInsn.opcode)) { in DataFlowSSAFormatExtended() 1067 LOG(ERROR) << "Missing case for extended MIR: " << mir->dalvikInsn.opcode; in DataFlowSSAFormatExtended() 1087 if (!MIR::DecodedInstruction::IsPseudoMirOp(mir->dalvikInsn.opcode)) { in DoSSAConversion() 1088 int flags = Instruction::FlagsOf(mir->dalvikInsn.opcode); in DoSSAConversion() 1146 MIR::DecodedInstruction* d_insn = &mir->dalvikInsn; in DoSSAConversion() 1270 Instruction::Code opcode = mir->dalvikInsn.opcode; in InvokeUsesMethodStar() [all …]
|
D | local_value_numbering.cc | 467 if ((Instruction::FlagsOf(mir->dalvikInsn.opcode) & Instruction::kInvoke) != 0) { in PruneNonAliasingRefsForCatch() 1347 uint16_t opcode = mir->dalvikInsn.opcode; in GetValueNumber() 1402 if (mir->next != nullptr && mir->next->dalvikInsn.opcode == Instruction::MOVE_RESULT_OBJECT) { in GetValueNumber() 1470 res = gvn_->LookupValue(Instruction::CONST_STRING, Low16Bits(mir->dalvikInsn.vB), in GetValueNumber() 1471 High16Bits(mir->dalvikInsn.vB), 0); in GetValueNumber() 1513 res = gvn_->LookupValue(Instruction::CONST, Low16Bits(mir->dalvikInsn.vB), in GetValueNumber() 1514 High16Bits(mir->dalvikInsn.vB), 0); in GetValueNumber() 1519 res = gvn_->LookupValue(Instruction::CONST, 0, mir->dalvikInsn.vB, 0); in GetValueNumber() 1525 uint16_t low_res = gvn_->LookupValue(Instruction::CONST, Low16Bits(mir->dalvikInsn.vB), in GetValueNumber() 1526 High16Bits(mir->dalvikInsn.vB >> 16), 1); in GetValueNumber() [all …]
|
D | post_opt_passes.cc | 64 Instruction::Code opcode = mir->dalvikInsn.opcode; in Worker()
|
D | ssa_transformation.cc | 534 phi->dalvikInsn.opcode = static_cast<Instruction::Code>(kMirOpPhi); in InsertPhiNodes() 535 phi->dalvikInsn.vA = dalvik_reg; in InsertPhiNodes() 550 if (mir->dalvikInsn.opcode != static_cast<Instruction::Code>(kMirOpPhi)) in InsertPhiNodeOperands()
|
D | local_value_numbering_test.cc | 139 mir->dalvikInsn.opcode = def->opcode; in DoPrepareMIRs() 140 mir->dalvikInsn.vB = static_cast<int32_t>(def->value); in DoPrepareMIRs() 141 mir->dalvikInsn.vB_wide = def->value; in DoPrepareMIRs() 156 mir->dalvikInsn.opcode = def->opcode; in DoPrepareMIRs()
|
D | frontend.cc | 584 int opcode = mir->dalvikInsn.opcode; in CanCompileMethod() 590 << mir->dalvikInsn.opcode; in CanCompileMethod() 603 uint32_t invoke_method_idx = mir->dalvikInsn.vB; in CanCompileMethod()
|
D | mir_graph.h | 346 } dalvikInsn; member 377 return SSARepresentation::GetStartUseIndex(dalvikInsn.opcode); in GetStartUseIndex()
|
D | mir_optimization_test.cc | 163 mir->dalvikInsn.opcode = def->opcode; in DoPrepareMIRs()
|
D | global_value_numbering_test.cc | 241 mir->dalvikInsn.opcode = def->opcode; in DoPrepareMIRs() 242 mir->dalvikInsn.vB = static_cast<int32_t>(def->value); in DoPrepareMIRs() 243 mir->dalvikInsn.vB_wide = def->value; in DoPrepareMIRs() 264 mir->dalvikInsn.opcode = def->opcode; in DoPrepareMIRs()
|
/art/compiler/dex/quick/x86/ |
D | target_x86.cc | 1685 switch (static_cast<ExtendedMIROpcode>(mir->dalvikInsn.opcode)) { in GenMachineSpecificExtendedMethodMIR() 1743 int num_vector_reg = mir->dalvikInsn.vA; in ReserveVectorRegisters() 1786 int type_size = mir->dalvikInsn.vB; in GenConst128() 1789 RegStorage rs_dest = RegStorage::Solo128(mir->dalvikInsn.vA); in GenConst128() 1790 uint32_t *args = mir->dalvikInsn.arg; in GenConst128() 1829 DCHECK_EQ(mir->dalvikInsn.vC & 0xFFFF, 128U); in GenMoveVector() 1830 RegStorage rs_dest = RegStorage::Solo128(mir->dalvikInsn.vA); in GenMoveVector() 1831 RegStorage rs_src = RegStorage::Solo128(mir->dalvikInsn.vB); in GenMoveVector() 1837 RegStorage rs_dest_src1 = RegStorage::Solo128(mir->dalvikInsn.vA); in GenMultiplyVectorSignedByte() 1838 RegStorage rs_src2 = RegStorage::Solo128(mir->dalvikInsn.vB); in GenMultiplyVectorSignedByte() [all …]
|
D | utility_x86.cc | 929 int opcode = mir->dalvikInsn.opcode; in AnalyzeBB() 1059 uint32_t index = mir->dalvikInsn.vB; in AnalyzeInvokeStatic()
|
D | int_x86.cc | 283 int true_val = mir->dalvikInsn.vB; in GenSelect() 284 int false_val = mir->dalvikInsn.vC; in GenSelect()
|
/art/compiler/dex/portable/ |
D | mir_to_gbc.cc | 708 Instruction::Code opcode = mir->dalvikInsn.opcode; in ConvertMIRNode() 710 uint32_t vB = mir->dalvikInsn.vB; in ConvertMIRNode() 711 uint32_t vC = mir->dalvikInsn.vC; in ConvertMIRNode() 814 irb_->getJLong(mir->dalvikInsn.vB_wide); in ConvertMIRNode() 1552 int opcode = mir->dalvikInsn.opcode; in HandlePhiNodes() 1600 switch (static_cast<ExtendedMIROpcode>(mir->dalvikInsn.opcode)) { in ConvertExtendedMIR() 1725 int opcode = mir->dalvikInsn.opcode; in BlockBitcodeConversion() 1727 Instruction::FormatOf(mir->dalvikInsn.opcode); in BlockBitcodeConversion() 1732 mir->dalvikInsn.opcode = work_half->dalvikInsn.opcode; in BlockBitcodeConversion() 1733 opcode = mir->dalvikInsn.opcode; in BlockBitcodeConversion() [all …]
|
/art/compiler/dex/quick/arm64/ |
D | int_arm64.cc | 194 GenSelect(mir->dalvikInsn.vB, mir->dalvikInsn.vC, mir->meta.ccode, rl_result.reg, in GenSelect()
|
/art/compiler/dex/quick/arm/ |
D | int_arm.cc | 241 int true_val = mir->dalvikInsn.vB; in GenSelect() 242 int false_val = mir->dalvikInsn.vC; in GenSelect()
|