Home
last modified time | relevance | path

Searched refs:dalvikInsn (Results 1 – 18 of 18) sorted by relevance

/dalvik/vm/compiler/
DInlineTransformation.cpp66 (moveResultMIR->dalvikInsn.opcode != OP_MOVE_RESULT && in inlineGetter()
67 moveResultMIR->dalvikInsn.opcode != OP_MOVE_RESULT_OBJECT && in inlineGetter()
68 moveResultMIR->dalvikInsn.opcode != OP_MOVE_RESULT_WIDE)) { in inlineGetter()
81 getterInsn.vB = convertRegId(&invokeMIR->dalvikInsn, calleeMethod, in inlineGetter()
86 getterInsn.vC = convertRegId(&invokeMIR->dalvikInsn, calleeMethod, in inlineGetter()
90 getterInsn.vA = moveResultMIR->dalvikInsn.vA; in inlineGetter()
93 newGetterMIR->dalvikInsn = getterInsn; in inlineGetter()
112 invokeMIR->dalvikInsn.opcode = (Opcode)kMirOpCheckInlinePrediction; in inlineGetter()
116 invokeMIR->dalvikInsn.vC = invokeMIRSlow->dalvikInsn.arg[0]; in inlineGetter()
162 setterInsn.vA = convertRegId(&invokeMIR->dalvikInsn, calleeMethod, in inlineSetter()
[all …]
DLoop.cpp207 Opcode opcode = branch->dalvikInsn.opcode; in isSimpleCountedLoop()
350 DecodedInstruction *dInsn = &mir->dalvikInsn; in doLoopBodyCodeMotion()
352 dvmCompilerDataFlowAttributes[mir->dalvikInsn.opcode]; in doLoopBodyCodeMotion()
449 rangeCheckMIR->dalvikInsn.opcode = (loopAnalysis->isCountUpLoop) ? in genHoistedChecks()
451 rangeCheckMIR->dalvikInsn.vA = arrayReg; in genHoistedChecks()
452 rangeCheckMIR->dalvikInsn.vB = idxReg; in genHoistedChecks()
453 rangeCheckMIR->dalvikInsn.vC = loopAnalysis->endConditionReg; in genHoistedChecks()
454 rangeCheckMIR->dalvikInsn.arg[0] = arrayAccessInfo->maxC; in genHoistedChecks()
455 rangeCheckMIR->dalvikInsn.arg[1] = arrayAccessInfo->minC; in genHoistedChecks()
456 rangeCheckMIR->dalvikInsn.arg[2] = loopAnalysis->loopBranchOpcode; in genHoistedChecks()
[all …]
DFrontend.cpp68 switch (insn->dalvikInsn.opcode) { in findBlockBoundary()
88 pResMethods[insn->dalvikInsn.vB]->methodIndex; in findBlockBoundary()
102 caller->clazz->pDvmDex->pResMethods[insn->dalvikInsn.vB]; in findBlockBoundary()
114 caller->clazz->super->vtable[insn->dalvikInsn.vB]; in findBlockBoundary()
126 caller->clazz->pDvmDex->pResMethods[insn->dalvikInsn.vB]; in findBlockBoundary()
137 *target = curOffset + (int) insn->dalvikInsn.vA; in findBlockBoundary()
146 *target = curOffset + (int) insn->dalvikInsn.vC; in findBlockBoundary()
155 *target = curOffset + (int) insn->dalvikInsn.vB; in findBlockBoundary()
166 switch (insn->dalvikInsn.opcode) { in isGoto()
181 switch (insn->dalvikInsn.opcode) { in isUnconditionalBranch()
[all …]
DDataflow.cpp926 const DecodedInstruction *insn = &mir->dalvikInsn; in dvmCompilerFullDisassembler()
1124 dvmCompilerDataFlowAttributes[mir->dalvikInsn.opcode]; in dvmCompilerFindLocalLiveIn()
1125 DecodedInstruction *dInsn = &mir->dalvikInsn; in dvmCompilerFindLocalLiveIn()
1187 DecodedInstruction *dInsn = &mir->dalvikInsn; in dataFlowSSAFormat35C()
1202 DecodedInstruction *dInsn = &mir->dalvikInsn; in dataFlowSSAFormat3RC()
1226 dvmCompilerDataFlowAttributes[mir->dalvikInsn.opcode]; in dvmCompilerDoSSAConversion()
1283 DecodedInstruction *dInsn = &mir->dalvikInsn; in dvmCompilerDoSSAConversion()
1353 dvmCompilerDataFlowAttributes[mir->dalvikInsn.opcode]; in dvmCompilerDoConstantPropagation()
1355 DecodedInstruction *dInsn = &mir->dalvikInsn; in dvmCompilerDoConstantPropagation()
1433 (int)bb->firstMIRInsn->dalvikInsn.opcode != (int)kMirOpPhi) { in dvmCompilerFindInductionVariables()
[all …]
DSSATransformation.cpp489 phi->dalvikInsn.opcode = (Opcode)kMirOpPhi; in insertPhiNodes()
490 phi->dalvikInsn.vA = dalvikReg; in insertPhiNodes()
510 if (mir->dalvikInsn.opcode != (Opcode)kMirOpPhi) in insertPhiNodeOperands()
DCompilerIR.h129 DecodedInstruction dalvikInsn; member
/dalvik/vm/compiler/codegen/arm/
DCodegenDriver.cpp88 switch (mir->dalvikInsn.opcode) { in genArithOpFloatPortable()
134 switch (mir->dalvikInsn.opcode) { in genArithOpDoublePortable()
178 Opcode opcode = mir->dalvikInsn.opcode; in genConversionPortable()
644 switch( mir->dalvikInsn.opcode) { in genShiftOpLong()
677 switch (mir->dalvikInsn.opcode) { in genArithOpLong()
787 switch (mir->dalvikInsn.opcode) { in genArithOpInt()
852 mir->dalvikInsn.opcode, mir->dalvikInsn.opcode); in genArithOpInt()
899 Opcode opcode = mir->dalvikInsn.opcode; in genArithOp()
1363 int flags = dexGetFlagsFromOpcode(mir->dalvikInsn.opcode); in genInterpSingleStep()
1373 if (mir->dalvikInsn.opcode == OP_NOP) in genInterpSingleStep()
[all …]
DCodegenCommon.cpp345 ((mir->next->dalvikInsn.opcode == OP_MOVE_RESULT) || in inlinedTarget()
346 (mir->next->dalvikInsn.opcode == OP_MOVE_RESULT_OBJECT))) { in inlinedTarget()
347 mir->next->dalvikInsn.opcode = OP_NOP; in inlinedTarget()
426 (mir->next->dalvikInsn.opcode == OP_MOVE_RESULT_WIDE)) { in inlinedTargetWide()
427 mir->next->dalvikInsn.opcode = OP_NOP; in inlinedTargetWide()
/dalvik/vm/compiler/codegen/mips/
DCodegenDriver.cpp131 switch (mir->dalvikInsn.opcode) { in genArithOpFloatPortable()
188 switch (mir->dalvikInsn.opcode) { in genArithOpDoublePortable()
242 Opcode opcode = mir->dalvikInsn.opcode; in genConversionPortable()
705 switch( mir->dalvikInsn.opcode) { in genShiftOpLong()
737 switch (mir->dalvikInsn.opcode) { in genArithOpLong()
841 switch (mir->dalvikInsn.opcode) { in genArithOpInt()
905 mir->dalvikInsn.opcode, mir->dalvikInsn.opcode); in genArithOpInt()
944 Opcode opcode = mir->dalvikInsn.opcode; in genArithOp()
1431 int flags = dexGetFlagsFromOpcode(mir->dalvikInsn.opcode); in genInterpSingleStep()
1441 if (mir->dalvikInsn.opcode == OP_NOP) in genInterpSingleStep()
[all …]
DCodegenCommon.cpp351 ((mir->next->dalvikInsn.opcode == OP_MOVE_RESULT) || in inlinedTarget()
352 (mir->next->dalvikInsn.opcode == OP_MOVE_RESULT_OBJECT))) { in inlinedTarget()
353 mir->next->dalvikInsn.opcode = OP_NOP; in inlinedTarget()
389 (mir->next->dalvikInsn.opcode == OP_MOVE_RESULT_WIDE)) { in inlinedTargetWide()
390 mir->next->dalvikInsn.opcode = OP_NOP; in inlinedTargetWide()
/dalvik/vm/compiler/codegen/arm/FP/
DThumbVFP.cpp74 switch (mir->dalvikInsn.opcode) { in genArithOpFloat()
116 switch (mir->dalvikInsn.opcode) { in genArithOpDouble()
156 Opcode opcode = mir->dalvikInsn.opcode; in genConversion()
233 switch(mir->dalvikInsn.opcode) { in genCmpFP()
DThumb2VFP.cpp28 switch (mir->dalvikInsn.opcode) { in genArithOpFloat()
70 switch (mir->dalvikInsn.opcode) { in genArithOpDouble()
113 Opcode opcode = mir->dalvikInsn.opcode; in genConversion()
218 switch(mir->dalvikInsn.opcode) { in genCmpFP()
DThumbPortableFP.cpp62 switch (mir->dalvikInsn.opcode) { in genCmpFP()
/dalvik/vm/compiler/codegen/mips/FP/
DMipsFP.cpp79 switch (mir->dalvikInsn.opcode) { in genArithOpFloat()
118 switch (mir->dalvikInsn.opcode) { in genArithOpFloat()
165 switch (mir->dalvikInsn.opcode) { in genArithOpDouble()
205 switch (mir->dalvikInsn.opcode) { in genArithOpDouble()
248 Opcode opcode = mir->dalvikInsn.opcode; in genConversion()
385 switch(mir->dalvikInsn.opcode) { in genCmpFP()
/dalvik/vm/compiler/codegen/x86/
DCodegenInterface.cpp792 DecodedInstruction *dInsn = &mir->dalvikInsn; in genHoistedChecksForCountUpLoop()
796 get_virtual_reg(mir->dalvikInsn.vA, OpndSize_32, P_GPR_1, true); in genHoistedChecksForCountUpLoop()
798 get_virtual_reg(mir->dalvikInsn.vC, OpndSize_32, P_GPR_2, true); in genHoistedChecksForCountUpLoop()
831 DecodedInstruction *dInsn = &mir->dalvikInsn; in genHoistedChecksForCountDownLoop()
835 get_virtual_reg(mir->dalvikInsn.vA, OpndSize_32, P_GPR_1, true); in genHoistedChecksForCountDownLoop()
837 get_virtual_reg(mir->dalvikInsn.vB, OpndSize_32, P_GPR_2, true); in genHoistedChecksForCountDownLoop()
862 DecodedInstruction *dInsn = &mir->dalvikInsn; in genHoistedLowerBoundCheck()
864 get_virtual_reg(mir->dalvikInsn.vA, OpndSize_32, P_GPR_1, true); //array in genHoistedLowerBoundCheck()
876 get_virtual_reg(mir->dalvikInsn.vC, OpndSize_32, PhysicalReg_EBX, true); in genValidationForPredictedInline()
884 get_virtual_reg(mir->dalvikInsn.vC, OpndSize_32, 5, false); in genValidationForPredictedInline()
[all …]
DAnalysisO1.cpp671 if(mir->dalvikInsn.opcode >= kMirOpFirst && in collectInfoOfBasicBlock()
672 mir->dalvikInsn.opcode != kMirOpCheckInlinePrediction) continue; in collectInfoOfBasicBlock()
673 if(ir->dalvikInsn.opcode == kMirOpCheckInlinePrediction) { //TODO in collectInfoOfBasicBlock()
676 if(mir->dalvikInsn.opcode >= kNumPackedOpcodes) continue; in collectInfoOfBasicBlock()
779 if(mir->dalvikInsn.opcode >= kMirOpFirst &&
780 mir->dalvikInsn.opcode != kMirOpCheckInlinePrediction) {
782 if(mir->dalvikInsn.opcode >= kNumPackedOpcodes) {
869 if (mir->dalvikInsn.opcode != OP_INVOKE_OBJECT_INIT_RANGE) {
874 mir->dalvikInsn.opcode);
3163 if(mir->dalvikInsn.opcode >= kNumPackedOpcodes) continue;
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/
DMethodCodegenDriver.cpp125 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
142 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
283 Opcode dalvikOpcode = mir->dalvikInsn.opcode;
298 &mir->dalvikInsn, ""));
/dalvik/vm/compiler/codegen/arm/Thumb2/
DGen.cpp349 if (mir->dalvikInsn.opcode == OP_MONITOR_ENTER) in genMonitor()