Home
last modified time | relevance | path

Searched refs:CompilationUnit (Results 1 – 25 of 44) sorted by relevance

12

/dalvik/vm/compiler/codegen/
DRalloc.h40 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 …]
DCompilerCodegen.h29 void dvmCompilerMIR2LIR(CompilationUnit *cUnit);
32 void dvmCompilerMethodMIR2LIR(CompilationUnit *cUnit);
35 void dvmCompilerAssembleLIR(CompilationUnit *cUnit, JitTranslationInfo *info);
41 void dvmJitInstallClassObjectPointers(CompilationUnit *cUnit,
48 void dvmCompilerCodegenDump(CompilationUnit *cUnit);
54 void dvmCompilerLocalRegAlloc(CompilationUnit *cUnit);
57 void dvmCompilerInitializeRegAlloc(CompilationUnit *cUnit);
72 void dvmCompilerGenMemBarrier(CompilationUnit *cUnit, int barrierKind);
DOptimizer.h36 struct CompilationUnit;
39 void dvmCompilerApplyLocalOptimizations(struct CompilationUnit *cUnit,
43 void dvmCompilerApplyGlobalOptimizations(struct CompilationUnit *cUnit);
DRallocUtil.cpp46 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 …]
DCodegenFactory.cpp35 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/x86/
DCodegenDriver.cpp27 extern X86LIR *loadConstant(CompilationUnit *cUnit, int rDest, int value);
28 extern X86LIR *loadWordDisp(CompilationUnit *cUnit, int rBase,
30 extern void dvmCompilerFlushAllRegs(CompilationUnit *cUnit);
31 extern void storeWordDisp(CompilationUnit *cUnit, int rBase,
33 extern X86LIR *opReg(CompilationUnit *cUnit, OpKind op, int rDestSrc);
43 static void genPuntToInterp(CompilationUnit *cUnit, unsigned int offset)
54 static void genInterpSingleStep(CompilationUnit *cUnit, MIR *mir)
92 static bool handleFmt10t_Fmt20t_Fmt30t(CompilationUnit *cUnit, MIR *mir,
99 static bool handleFmt10x(CompilationUnit *cUnit, MIR *mir)
104 static bool handleFmt11n_Fmt31i(CompilationUnit *cUnit, MIR *mir)
[all …]
DArchUtility.cpp22 void dvmCompilerCodegenDump(CompilationUnit *cUnit) in dvmCompilerCodegenDump()
/dalvik/vm/compiler/codegen/arm/
DCodegen.h32 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,
DArmRallocUtil.cpp52 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()
DArchFactory.cpp29 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()
DGlobalOptimizations.cpp25 static void applyRedundantBranchElimination(CompilationUnit *cUnit) in applyRedundantBranchElimination()
62 void dvmCompilerApplyGlobalOptimizations(CompilationUnit *cUnit) in dvmCompilerApplyGlobalOptimizations()
DCodegenCommon.cpp264 static ArmLIR *newLIR0(CompilationUnit *cUnit, ArmOpcode opcode) in newLIR0()
274 static ArmLIR *newLIR1(CompilationUnit *cUnit, ArmOpcode opcode, in newLIR1()
286 static ArmLIR *newLIR2(CompilationUnit *cUnit, ArmOpcode opcode, in newLIR2()
300 static ArmLIR *newLIR3(CompilationUnit *cUnit, ArmOpcode opcode, in newLIR3()
319 static ArmLIR *newLIR4(CompilationUnit *cUnit, ArmOpcode opcode, in newLIR4()
341 static RegLocation inlinedTarget(CompilationUnit *cUnit, MIR *mir, in inlinedTarget()
377 static ArmLIR *addWordData(CompilationUnit *cUnit, LIR **constantListP, in addWordData()
395 static RegLocation inlinedTargetWide(CompilationUnit *cUnit, MIR *mir, in inlinedTargetWide()
414 static void genBarrier(CompilationUnit *cUnit) in genBarrier()
422 static ArmLIR *genCheckCommon(CompilationUnit *cUnit, int dOffset, in genCheckCommon()
/dalvik/vm/compiler/
DCompiler.h179 struct CompilationUnit;
207 void dvmCompilerInlineMIR(struct CompilationUnit *cUnit,
209 void dvmInitializeSSAConversion(struct CompilationUnit *cUnit);
210 int dvmConvertSSARegToDalvik(const struct CompilationUnit *cUnit, int ssaReg);
211 bool dvmCompilerLoopOpt(struct CompilationUnit *cUnit);
212 void dvmCompilerInsertBackwardChaining(struct CompilationUnit *cUnit);
213 void dvmCompilerNonLoopAnalysis(struct CompilationUnit *cUnit);
214 bool dvmCompilerFindLocalLiveIn(struct CompilationUnit *cUnit,
216 bool dvmCompilerDoSSAConversion(struct CompilationUnit *cUnit,
218 bool dvmCompilerDoConstantPropagation(struct CompilationUnit *cUnit,
[all …]
DSSATransformation.cpp23 static void recordDFSPreOrder(CompilationUnit *cUnit, BasicBlock *block) in recordDFSPreOrder()
50 static void computeDFSOrder(CompilationUnit *cUnit) in computeDFSOrder()
72 static bool fillDefBlockMatrix(CompilationUnit *cUnit, BasicBlock *bb) in fillDefBlockMatrix()
88 static void computeDefBlockMatrix(CompilationUnit *cUnit) in computeDefBlockMatrix()
122 static void computeDomPostOrderTraversal(CompilationUnit *cUnit, BasicBlock *bb) in computeDomPostOrderTraversal()
161 static bool computeDominanceFrontier(CompilationUnit *cUnit, BasicBlock *bb) in computeDominanceFrontier()
208 static bool initializeDominationInfo(CompilationUnit *cUnit, BasicBlock *bb) in initializeDominationInfo()
231 static bool computeBlockDominators(CompilationUnit *cUnit, BasicBlock *bb) in computeBlockDominators()
265 static bool computeImmediateDominator(CompilationUnit *cUnit, BasicBlock *bb) in computeImmediateDominator()
308 static void computeDominators(CompilationUnit *cUnit) in computeDominators()
[all …]
DCompilerIR.h197 typedef struct CompilationUnit { struct
275 } CompilationUnit; argument
291 void dvmCompilerAppendLIR(CompilationUnit *cUnit, LIR *lir);
297 void dvmCompilerAbort(CompilationUnit *cUnit);
300 void dvmCompilerDumpCompilationUnit(CompilationUnit *cUnit);
/dalvik/vm/compiler/codegen/arm/FP/
DThumbPortableFP.cpp18 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()
DThumbVFP.cpp27 static void loadValueAddressDirect(CompilationUnit *cUnit, RegLocation rlSrc, in loadValueAddressDirect()
45 static bool genInlineSqrt(CompilationUnit *cUnit, MIR *mir) in genInlineSqrt()
64 static bool genArithOpFloat(CompilationUnit *cUnit, MIR *mir, in genArithOpFloat()
110 static bool genArithOpDouble(CompilationUnit *cUnit, MIR *mir, in genArithOpDouble()
154 static bool genConversion(CompilationUnit *cUnit, MIR *mir) in genConversion()
226 static bool genCmpFP(CompilationUnit *cUnit, MIR *mir, RegLocation rlDest, in genCmpFP()
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/
DMethodCodegenDriver.cpp38 static void genMethodInflateAndPunt(CompilationUnit *cUnit, MIR *mir, in genMethodInflateAndPunt()
106 static bool handleMethodFmt10t_Fmt20t_Fmt30t(CompilationUnit *cUnit, MIR *mir, in handleMethodFmt10t_Fmt20t_Fmt30t()
121 static bool handleMethodFmt10x(CompilationUnit *cUnit, MIR *mir) in handleMethodFmt10x()
132 static bool handleMethodFmt11n_Fmt31i(CompilationUnit *cUnit, MIR *mir) in handleMethodFmt11n_Fmt31i()
137 static bool handleMethodFmt11x(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, in handleMethodFmt11x()
150 static bool handleMethodFmt12x(CompilationUnit *cUnit, MIR *mir) in handleMethodFmt12x()
155 static bool handleMethodFmt20bc(CompilationUnit *cUnit, MIR *mir) in handleMethodFmt20bc()
160 static bool handleMethodFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) in handleMethodFmt21c_Fmt31c()
165 static bool handleMethodFmt21h(CompilationUnit *cUnit, MIR *mir) in handleMethodFmt21h()
170 static bool handleMethodFmt21s(CompilationUnit *cUnit, MIR *mir) in handleMethodFmt21s()
[all …]
/dalvik/vm/compiler/codegen/arm/Thumb/
DRalloc.cpp29 int dvmCompilerAllocTypedTempPair(CompilationUnit *cUnit, bool fpHint, in dvmCompilerAllocTypedTempPair()
41 int dvmCompilerAllocTypedTemp(CompilationUnit *cUnit, bool fpHint, int regClass) in dvmCompilerAllocTypedTemp()
DFactory.cpp27 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 …]
DGen.cpp50 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/
DRalloc.cpp32 int dvmCompilerAllocTypedTempPair(CompilationUnit *cUnit, in dvmCompilerAllocTypedTempPair()
54 int dvmCompilerAllocTypedTemp(CompilationUnit *cUnit, bool fpHint, in dvmCompilerAllocTypedTemp()
DFactory.cpp51 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 …]
DGen.cpp47 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 …]
/dalvik/vm/compiler/codegen/arm/armv5te/
DMethodCodegenDriver.cpp17 void dvmCompilerMethodMIR2LIR(CompilationUnit *cUnit) in dvmCompilerMethodMIR2LIR()

12