/dalvik/vm/compiler/codegen/ |
D | Ralloc.h | 40 static inline int dvmCompilerS2VReg(CompilationUnit *cUnit, int sReg) in dvmCompilerS2VReg() 47 static inline void dvmCompilerResetNullCheck(CompilationUnit *cUnit) in dvmCompilerResetNullCheck() 67 static inline bool dvmCompilerLiveOut(CompilationUnit *cUnit, int sReg) in dvmCompilerLiveOut() 79 extern RegLocation dvmCompilerEvalLoc(CompilationUnit *cUnit, RegLocation loc, 82 extern void dvmCompilerClobber(CompilationUnit *cUnit, int reg); 84 extern RegLocation dvmCompilerUpdateLoc(CompilationUnit *cUnit, 88 extern RegLocation dvmCompilerUpdateLocWide(CompilationUnit *cUnit, 92 extern void dvmCompilerClobberHandlerRegs(CompilationUnit *cUnit); 94 extern void dvmCompilerMarkLive(CompilationUnit *cUnit, int reg, int sReg); 96 extern void dvmCompilerMarkDirty(CompilationUnit *cUnit, int reg); [all …]
|
D | CompilerCodegen.h | 30 void dvmCompilerMIR2LIR(CompilationUnit *cUnit); 32 void dvmCompilerMIR2LIR(CompilationUnit *cUnit, JitTranslationInfo* info); 36 void dvmCompilerMethodMIR2LIR(CompilationUnit *cUnit); 39 void dvmCompilerAssembleLIR(CompilationUnit *cUnit, JitTranslationInfo *info); 45 void dvmJitInstallClassObjectPointers(CompilationUnit *cUnit, 52 void dvmCompilerCodegenDump(CompilationUnit *cUnit); 58 void dvmCompilerLocalRegAlloc(CompilationUnit *cUnit); 61 void dvmCompilerInitializeRegAlloc(CompilationUnit *cUnit); 76 void dvmCompilerGenMemBarrier(CompilationUnit *cUnit, int barrierKind);
|
D | Optimizer.h | 36 struct CompilationUnit; 39 void dvmCompilerApplyLocalOptimizations(struct CompilationUnit *cUnit, 43 void dvmCompilerApplyGlobalOptimizations(struct CompilationUnit *cUnit);
|
D | RallocUtil.cpp | 46 extern void dvmCompilerResetRegPool(CompilationUnit *cUnit) in dvmCompilerResetRegPool() 83 static RegisterInfo *getRegInfo(CompilationUnit *cUnit, int reg) in getRegInfo() 105 void dvmCompilerFlushRegWide(CompilationUnit *cUnit, int reg1, int reg2) in dvmCompilerFlushRegWide() 124 void dvmCompilerFlushReg(CompilationUnit *cUnit, int reg) in dvmCompilerFlushReg() 136 static bool clobberRegBody(CompilationUnit *cUnit, RegisterInfo *p, in clobberRegBody() 165 void dvmCompilerClobber(CompilationUnit *cUnit, int reg) in dvmCompilerClobber() 187 extern void dvmCompilerClobberSReg(CompilationUnit *cUnit, int sReg) in dvmCompilerClobberSReg() 195 static int allocTempBody(CompilationUnit *cUnit, RegisterInfo *p, int numTemps, in allocTempBody() 233 extern int dvmCompilerAllocTempDouble(CompilationUnit *cUnit) in dvmCompilerAllocTempDouble() 281 extern int dvmCompilerAllocFreeTemp(CompilationUnit *cUnit) in dvmCompilerAllocFreeTemp() [all …]
|
D | CodegenFactory.cpp | 35 static TGT_LIR *loadWordDisp(CompilationUnit *cUnit, int rBase, in loadWordDisp() 42 static TGT_LIR *storeWordDisp(CompilationUnit *cUnit, int rBase, in storeWordDisp() 53 static void loadValueDirect(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueDirect() 73 static void loadValueDirectFixed(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueDirectFixed() 86 static void loadValueDirectWide(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueDirectWide() 109 static void loadValueDirectWideFixed(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueDirectWideFixed() 119 static RegLocation loadValue(CompilationUnit *cUnit, RegLocation rlSrc, in loadValue() 136 static void storeValue(CompilationUnit *cUnit, RegLocation rlDest, in storeValue() 185 static RegLocation loadValueWide(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueWide() 207 static void storeValueWide(CompilationUnit *cUnit, RegLocation rlDest, in storeValueWide()
|
/dalvik/vm/compiler/codegen/mips/ |
D | Ralloc.h | 44 static inline int dvmCompilerS2VReg(CompilationUnit *cUnit, int sReg) in dvmCompilerS2VReg() 51 static inline void dvmCompilerResetNullCheck(CompilationUnit *cUnit) in dvmCompilerResetNullCheck() 71 static inline bool dvmCompilerLiveOut(CompilationUnit *cUnit, int sReg) in dvmCompilerLiveOut() 83 extern RegLocation dvmCompilerEvalLoc(CompilationUnit *cUnit, RegLocation loc, 86 extern void dvmCompilerClobber(CompilationUnit *cUnit, int reg); 88 extern RegLocation dvmCompilerUpdateLoc(CompilationUnit *cUnit, 92 extern RegLocation dvmCompilerUpdateLocWide(CompilationUnit *cUnit, 96 extern void dvmCompilerClobberHandlerRegs(CompilationUnit *cUnit); 98 extern void dvmCompilerMarkLive(CompilationUnit *cUnit, int reg, int sReg); 100 extern void dvmCompilerMarkDirty(CompilationUnit *cUnit, int reg); [all …]
|
D | Codegen.h | 32 static MipsLIR *opRegImm(CompilationUnit *cUnit, OpKind op, int rDestSrc1, 34 static MipsLIR *opRegReg(CompilationUnit *cUnit, OpKind op, int rDestSrc1, 38 static bool genArithOpFloatPortable(CompilationUnit *cUnit, MIR *mir, 42 static bool genArithOpDoublePortable(CompilationUnit *cUnit, MIR *mir, 46 static bool genConversionPortable(CompilationUnit *cUnit, MIR *mir); 48 static void genMonitorPortable(CompilationUnit *cUnit, MIR *mir); 50 static void genInterpSingleStep(CompilationUnit *cUnit, MIR *mir); 64 extern int dvmCompilerAllocTypedTempPair(CompilationUnit *cUnit, 67 extern int dvmCompilerAllocTypedTemp(CompilationUnit *cUnit, bool fpHint, 70 extern MipsLIR* dvmCompilerRegCopyNoInsert(CompilationUnit *cUnit, int rDest, [all …]
|
D | RallocUtil.cpp | 48 extern void dvmCompilerResetRegPool(CompilationUnit *cUnit) in dvmCompilerResetRegPool() 85 static RegisterInfo *getRegInfo(CompilationUnit *cUnit, int reg) in getRegInfo() 107 static void flushRegWide(CompilationUnit *cUnit, int reg1, int reg2) in flushRegWide() 126 static void flushReg(CompilationUnit *cUnit, int reg) in flushReg() 138 static bool clobberRegBody(CompilationUnit *cUnit, RegisterInfo *p, in clobberRegBody() 167 void dvmCompilerClobber(CompilationUnit *cUnit, int reg) in dvmCompilerClobber() 189 extern void dvmCompilerClobberSReg(CompilationUnit *cUnit, int sReg) in dvmCompilerClobberSReg() 197 static int allocTempBody(CompilationUnit *cUnit, RegisterInfo *p, int numTemps, in allocTempBody() 235 extern int dvmCompilerAllocTempDouble(CompilationUnit *cUnit) in dvmCompilerAllocTempDouble() 282 extern int dvmCompilerAllocFreeTemp(CompilationUnit *cUnit) in dvmCompilerAllocFreeTemp() [all …]
|
D | CodegenFactory.cpp | 29 static MipsLIR *loadWordDisp(CompilationUnit *cUnit, int rBase, int displacement, in loadWordDisp() 36 static MipsLIR *storeWordDisp(CompilationUnit *cUnit, int rBase, in storeWordDisp() 47 static void loadValueDirect(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueDirect() 67 static void loadValueDirectFixed(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueDirectFixed() 80 static void loadValueDirectWide(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueDirectWide() 102 static void loadValueDirectWideFixed(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueDirectWideFixed() 112 static RegLocation loadValue(CompilationUnit *cUnit, RegLocation rlSrc, in loadValue() 128 static void storeValue(CompilationUnit *cUnit, RegLocation rlDest, in storeValue() 177 static RegLocation loadValueWide(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueWide() 198 static void storeValueWide(CompilationUnit *cUnit, RegLocation rlDest, in storeValueWide() [all …]
|
/dalvik/vm/compiler/codegen/arm/ |
D | Codegen.h | 32 static ArmLIR *opRegImm(CompilationUnit *cUnit, OpKind op, int rDestSrc1, 34 static ArmLIR *opRegReg(CompilationUnit *cUnit, OpKind op, int rDestSrc1, 38 static bool genArithOpFloatPortable(CompilationUnit *cUnit, MIR *mir, 42 static bool genArithOpDoublePortable(CompilationUnit *cUnit, MIR *mir, 46 static bool genConversionPortable(CompilationUnit *cUnit, MIR *mir); 49 static void genMonitorPortable(CompilationUnit *cUnit, MIR *mir); 52 static void genInterpSingleStep(CompilationUnit *cUnit, MIR *mir); 64 extern ArmLIR* dvmCompilerRegCopyNoInsert(CompilationUnit *cUnit, int rDest,
|
D | ArmRallocUtil.cpp | 52 extern void dvmCompilerClobberCallRegs(CompilationUnit *cUnit) in dvmCompilerClobberCallRegs() 65 extern void dvmCompilerClobberHandlerRegs(CompilationUnit *cUnit) in dvmCompilerClobberHandlerRegs() 76 extern RegLocation dvmCompilerGetReturnWide(CompilationUnit *cUnit) in dvmCompilerGetReturnWide() 87 extern RegLocation dvmCompilerGetReturnWideAlt(CompilationUnit *cUnit) in dvmCompilerGetReturnWideAlt() 100 extern RegLocation dvmCompilerGetReturn(CompilationUnit *cUnit) in dvmCompilerGetReturn() 108 extern RegLocation dvmCompilerGetReturnAlt(CompilationUnit *cUnit) in dvmCompilerGetReturnAlt()
|
D | ArchFactory.cpp | 29 static TGT_LIR *genRegImmCheck(CompilationUnit *cUnit, in genRegImmCheck() 57 static TGT_LIR *genNullCheck(CompilationUnit *cUnit, int sReg, int mReg, in genNullCheck() 72 static TGT_LIR *genRegRegCheck(CompilationUnit *cUnit, in genRegRegCheck() 88 static TGT_LIR *genZeroCheck(CompilationUnit *cUnit, int mReg, in genZeroCheck() 95 static TGT_LIR *genBoundsCheck(CompilationUnit *cUnit, int rIndex, in genBoundsCheck() 106 static void genDispatchToHandler(CompilationUnit *cUnit, TemplateOpcode opcode) in genDispatchToHandler()
|
D | GlobalOptimizations.cpp | 25 static void applyRedundantBranchElimination(CompilationUnit *cUnit) in applyRedundantBranchElimination() 62 void dvmCompilerApplyGlobalOptimizations(CompilationUnit *cUnit) in dvmCompilerApplyGlobalOptimizations()
|
/dalvik/vm/compiler/ |
D | Compiler.h | 186 struct CompilationUnit; 214 void dvmCompilerInlineMIR(struct CompilationUnit *cUnit, 216 void dvmInitializeSSAConversion(struct CompilationUnit *cUnit); 217 int dvmConvertSSARegToDalvik(const struct CompilationUnit *cUnit, int ssaReg); 218 bool dvmCompilerLoopOpt(struct CompilationUnit *cUnit); 219 void dvmCompilerInsertBackwardChaining(struct CompilationUnit *cUnit); 220 void dvmCompilerNonLoopAnalysis(struct CompilationUnit *cUnit); 221 bool dvmCompilerFindLocalLiveIn(struct CompilationUnit *cUnit, 223 bool dvmCompilerDoSSAConversion(struct CompilationUnit *cUnit, 225 bool dvmCompilerDoConstantPropagation(struct CompilationUnit *cUnit, [all …]
|
/dalvik/vm/compiler/codegen/arm/FP/ |
D | ThumbPortableFP.cpp | 18 static bool genArithOpFloatPortable(CompilationUnit *cUnit, MIR *mir, 22 static bool genArithOpDoublePortable(CompilationUnit *cUnit, MIR *mir, 26 static bool genConversionPortable(CompilationUnit *cUnit, MIR *mir); 28 static bool handleExecuteInlineC(CompilationUnit *cUnit, MIR *mir); 30 static bool genConversion(CompilationUnit *cUnit, MIR *mir) in genConversion() 35 static bool genArithOpFloat(CompilationUnit *cUnit, MIR *mir, in genArithOpFloat() 42 static bool genArithOpDouble(CompilationUnit *cUnit, MIR *mir, in genArithOpDouble() 49 static bool genInlineSqrt(CompilationUnit *cUnit, MIR *mir) in genInlineSqrt() 54 static bool genCmpFP(CompilationUnit *cUnit, MIR *mir, RegLocation rlDest, in genCmpFP()
|
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/ |
D | MethodCodegenDriver.cpp | 40 static void genMethodInflateAndPunt(CompilationUnit *cUnit, MIR *mir, 108 static bool handleMethodFmt10t_Fmt20t_Fmt30t(CompilationUnit *cUnit, MIR *mir, 123 static bool handleMethodFmt10x(CompilationUnit *cUnit, MIR *mir) 134 static bool handleMethodFmt11n_Fmt31i(CompilationUnit *cUnit, MIR *mir) 139 static bool handleMethodFmt11x(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, 152 static bool handleMethodFmt12x(CompilationUnit *cUnit, MIR *mir) 157 static bool handleMethodFmt20bc(CompilationUnit *cUnit, MIR *mir) 162 static bool handleMethodFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) 167 static bool handleMethodFmt21h(CompilationUnit *cUnit, MIR *mir) 172 static bool handleMethodFmt21s(CompilationUnit *cUnit, MIR *mir) [all …]
|
/dalvik/vm/compiler/codegen/mips/Mips32/ |
D | Factory.cpp | 32 static void storePair(CompilationUnit *cUnit, int base, int lowReg, 34 static void loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg); 35 static MipsLIR *loadWordDisp(CompilationUnit *cUnit, int rBase, int displacement, 37 static MipsLIR *storeWordDisp(CompilationUnit *cUnit, int rBase, 39 static MipsLIR *genRegRegCheck(CompilationUnit *cUnit, 43 static MipsLIR *loadConstant(CompilationUnit *cUnit, int rDest, int value); 46 static MipsLIR *fpRegCopy(CompilationUnit *cUnit, int rDest, int rSrc) in fpRegCopy() 88 static MipsLIR *loadConstantNoClobber(CompilationUnit *cUnit, int rDest, in loadConstantNoClobber() 129 static MipsLIR *loadConstant(CompilationUnit *cUnit, int rDest, int value) in loadConstant() 142 static MipsLIR *loadClassPointer(CompilationUnit *cUnit, int rDest, int value) in loadClassPointer() [all …]
|
D | Gen.cpp | 49 static int genTraceProfileEntry(CompilationUnit *cUnit) in genTraceProfileEntry() 81 static void genNegFloat(CompilationUnit *cUnit, RegLocation rlDest, in genNegFloat() 92 static void genNegDouble(CompilationUnit *cUnit, RegLocation rlDest, in genNegDouble() 104 static void genMulLong(CompilationUnit *cUnit, RegLocation rlDest, in genMulLong() 120 static void withCarryHelper(CompilationUnit *cUnit, MipsOpCode opc, in withCarryHelper() 132 static void genLong3Addr(CompilationUnit *cUnit, MIR *mir, OpKind firstOp, in genLong3Addr() 193 void dvmCompilerInitializeRegAlloc(CompilationUnit *cUnit) in dvmCompilerInitializeRegAlloc() 218 static MipsLIR *genExportPC(CompilationUnit *cUnit, MIR *mir) in genExportPC() 230 static void genMonitor(CompilationUnit *cUnit, MIR *mir) in genMonitor() 235 static void genCmpLong(CompilationUnit *cUnit, MIR *mir, RegLocation rlDest, in genCmpLong() [all …]
|
D | Ralloc.cpp | 29 int dvmCompilerAllocTypedTempPair(CompilationUnit *cUnit, bool fpHint, in dvmCompilerAllocTypedTempPair() 51 int dvmCompilerAllocTypedTemp(CompilationUnit *cUnit, bool fpHint, int regClass) in dvmCompilerAllocTypedTemp()
|
/dalvik/vm/compiler/codegen/arm/Thumb/ |
D | Factory.cpp | 27 static void storePair(CompilationUnit *cUnit, int base, int lowReg, 29 static void loadPair(CompilationUnit *cUnit, int base, int lowReg, int highReg); 30 static ArmLIR *loadWordDisp(CompilationUnit *cUnit, int rBase, int displacement, 32 static ArmLIR *storeWordDisp(CompilationUnit *cUnit, int rBase, 34 static ArmLIR *genRegRegCheck(CompilationUnit *cUnit, 49 static ArmLIR *loadConstantNoClobber(CompilationUnit *cUnit, int rDest, in loadConstantNoClobber() 104 static ArmLIR *loadConstant(CompilationUnit *cUnit, int rDest, int value) in loadConstant() 117 static ArmLIR *loadClassPointer(CompilationUnit *cUnit, int rDest, int value) in loadClassPointer() 143 static ArmLIR *opNone(CompilationUnit *cUnit, OpKind op) in opNone() 157 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) in opCondBranch() [all …]
|
D | Ralloc.cpp | 29 int dvmCompilerAllocTypedTempPair(CompilationUnit *cUnit, bool fpHint, in dvmCompilerAllocTypedTempPair() 41 int dvmCompilerAllocTypedTemp(CompilationUnit *cUnit, bool fpHint, int regClass) in dvmCompilerAllocTypedTemp()
|
D | Gen.cpp | 50 static int genTraceProfileEntry(CompilationUnit *cUnit) in genTraceProfileEntry() 85 static void genNegFloat(CompilationUnit *cUnit, RegLocation rlDest, in genNegFloat() 96 static void genNegDouble(CompilationUnit *cUnit, RegLocation rlDest, in genNegDouble() 108 static void genMulLong(CompilationUnit *cUnit, RegLocation rlDest, in genMulLong() 124 static void genLong3Addr(CompilationUnit *cUnit, MIR *mir, OpKind firstOp, in genLong3Addr() 169 void dvmCompilerInitializeRegAlloc(CompilationUnit *cUnit) in dvmCompilerInitializeRegAlloc() 186 static ArmLIR *genExportPC(CompilationUnit *cUnit, MIR *mir) in genExportPC() 199 static void genMonitor(CompilationUnit *cUnit, MIR *mir) in genMonitor() 204 static void genCmpLong(CompilationUnit *cUnit, MIR *mir, RegLocation rlDest, in genCmpLong() 215 static bool genInlinedAbsFloat(CompilationUnit *cUnit, MIR *mir) in genInlinedAbsFloat() [all …]
|
/dalvik/vm/compiler/codegen/arm/Thumb2/ |
D | Ralloc.cpp | 32 int dvmCompilerAllocTypedTempPair(CompilationUnit *cUnit, in dvmCompilerAllocTypedTempPair() 54 int dvmCompilerAllocTypedTemp(CompilationUnit *cUnit, bool fpHint, in dvmCompilerAllocTypedTemp()
|
D | Factory.cpp | 51 static ArmLIR *loadFPConstantValue(CompilationUnit *cUnit, int rDest, in loadFPConstantValue() 136 static ArmLIR *loadConstantNoClobber(CompilationUnit *cUnit, int rDest, in loadConstantNoClobber() 195 static ArmLIR *loadConstant(CompilationUnit *cUnit, int rDest, int value) in loadConstant() 208 static ArmLIR *loadClassPointer(CompilationUnit *cUnit, int rDest, int value) in loadClassPointer() 234 static ArmLIR *opNone(CompilationUnit *cUnit, OpKind op) in opNone() 247 static ArmLIR *opCondBranch(CompilationUnit *cUnit, ArmConditionCode cc) in opCondBranch() 252 static ArmLIR *opImm(CompilationUnit *cUnit, OpKind op, int value) in opImm() 286 static ArmLIR *opReg(CompilationUnit *cUnit, OpKind op, int rDestSrc) in opReg() 299 static ArmLIR *opRegRegShift(CompilationUnit *cUnit, OpKind op, int rDestSrc1, in opRegRegShift() 415 static ArmLIR *opRegReg(CompilationUnit *cUnit, OpKind op, int rDestSrc1, in opRegReg() [all …]
|
D | Gen.cpp | 47 static int genTraceProfileEntry(CompilationUnit *cUnit) in genTraceProfileEntry() 76 static void genNegFloat(CompilationUnit *cUnit, RegLocation rlDest, in genNegFloat() 86 static void genNegDouble(CompilationUnit *cUnit, RegLocation rlDest, in genNegDouble() 102 static void genMulLong(CompilationUnit *cUnit, RegLocation rlDest, in genMulLong() 125 static void genLong3Addr(CompilationUnit *cUnit, MIR *mir, OpKind firstOp, in genLong3Addr() 139 void dvmCompilerInitializeRegAlloc(CompilationUnit *cUnit) in dvmCompilerInitializeRegAlloc() 167 static ArmLIR *genIT(CompilationUnit *cUnit, ArmConditionCode code, in genIT() 198 static ArmLIR *genExportPC(CompilationUnit *cUnit, MIR *mir) in genExportPC() 237 static void genMonitorEnter(CompilationUnit *cUnit, MIR *mir) in genMonitorEnter() 292 static void genMonitorExit(CompilationUnit *cUnit, MIR *mir) in genMonitorExit() [all …]
|