/dalvik/vm/compiler/codegen/ |
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);
|
Optimizer.h | 39 void dvmCompilerApplyLocalOptimizations(struct CompilationUnit *cUnit, 43 void dvmCompilerApplyGlobalOptimizations(struct CompilationUnit *cUnit);
|
/dalvik/vm/compiler/ |
Ralloc.cpp | 27 static void inferTypes(CompilationUnit *cUnit, BasicBlock *bb) 39 cUnit->regLocation[ssaRep->uses[i]].fp = true; 43 cUnit->regLocation[ssaRep->defs[i]].fp = true; 57 void dvmCompilerLocalRegAlloc(CompilationUnit *cUnit) 63 loc = (RegLocation*)dvmCompilerNew(cUnit->numSSARegs * sizeof(*loc), true); 64 for (i=0; i< cUnit->numSSARegs; i++) { 68 cUnit->regLocation = loc; 72 dvmGrowableListIteratorInit(&cUnit->blockList, &iterator); 77 inferTypes(cUnit, bb); 81 for (i=0; i < cUnit->numSSARegs; i++) [all...] |
Loop.cpp | 26 static void dumpConstants(CompilationUnit *cUnit) 29 ALOGE("LOOP starting offset: %x", cUnit->entryBlock->startOffset); 30 for (i = 0; i < cUnit->numSSARegs; i++) { 31 if (dvmIsBitSet(cUnit->isConstantV, i)) { 32 int subNReg = dvmConvertSSARegToDalvik(cUnit, i); 35 cUnit->constantValues[i]); 40 static void dumpIVList(CompilationUnit *cUnit) 43 GrowableList *ivList = cUnit->loopAnalysis->ivList; 48 int iv = dvmConvertSSARegToDalvik(cUnit, ivInfo->ssaReg); 57 int biv = dvmConvertSSARegToDalvik(cUnit, ivInfo->basicSSAReg) [all...] |
Frontend.cpp | 512 static BasicBlock *splitBlock(CompilationUnit *cUnit, 527 cUnit->numBlocks++); 528 dvmInsertGrowableList(&cUnit->blockList, (intptr_t) bottomBlock); 596 static BasicBlock *findBlock(CompilationUnit *cUnit, 601 GrowableList *blockList = &cUnit->blockList; 613 BasicBlock *newBB = splitBlock(cUnit, codeOffset, bb, 620 bb = dvmCompilerNewBB(kDalvikByteCode, cUnit->numBlocks++); 621 dvmInsertGrowableList(&cUnit->blockList, (intptr_t) bb); 629 void dvmDumpCFG(CompilationUnit *cUnit, const char *dirPrefix) 631 const Method *method = cUnit->method [all...] |
Dataflow.cpp | 811 int dvmConvertSSARegToDalvik(const CompilationUnit *cUnit, int ssaReg) 813 return GET_ELEM_N(cUnit->ssaToDalvikMap, int, ssaReg); 909 char *getSSAName(const CompilationUnit *cUnit, int ssaReg, char *name) 911 int ssa2DalvikValue = dvmConvertSSARegToDalvik(cUnit, ssaReg); 921 char *dvmCompilerFullDisassembler(const CompilationUnit *cUnit, 937 getSSAName(cUnit, mir->ssaRep->defs[0], operand0), 938 getSSAName(cUnit, mir->ssaRep->uses[0], operand1)); 942 getSSAName(cUnit, mir->ssaRep->uses[i], operand0)); 962 getSSAName(cUnit, mir->ssaRep->uses[0], operand0)); 967 getSSAName(cUnit, mir->ssaRep->uses[0], operand0) [all...] |
Compiler.h | 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, 227 bool dvmCompilerFindInductionVariables(struct CompilationUnit *cUnit, [all...] |
IntermediateRep.cpp | 81 void dvmCompilerAppendLIR(CompilationUnit *cUnit, LIR *lir) 83 if (cUnit->firstLIRInsn == NULL) { 84 assert(cUnit->lastLIRInsn == NULL); 85 cUnit->lastLIRInsn = cUnit->firstLIRInsn = lir; 88 cUnit->lastLIRInsn->next = lir; 89 lir->prev = cUnit->lastLIRInsn; 91 cUnit->lastLIRInsn = lir;
|
Loop.h | 37 bool dvmCompilerFilterLoopBlocks(CompilationUnit *cUnit); 43 #define BAIL_LOOP_COMPILATION() if (cUnit->jitMode == kJitLoop) { \ 44 cUnit->quitLoopMode = true; \
|
InlineTransformation.cpp | 37 static bool inlineGetter(CompilationUnit *cUnit, 137 static bool inlineSetter(CompilationUnit *cUnit, 225 static bool tryInlineSingletonCallsite(CompilationUnit *cUnit, 250 return inlineGetter(cUnit, calleeMethod, invokeMIR, invokeBB, false, 253 return inlineSetter(cUnit, calleeMethod, invokeMIR, invokeBB, false, 259 static bool inlineEmptyVirtualCallee(CompilationUnit *cUnit, 273 static bool tryInlineVirtualCallsite(CompilationUnit *cUnit, 287 return inlineEmptyVirtualCallee(cUnit, calleeMethod, invokeMIR, 292 return inlineGetter(cUnit, calleeMethod, invokeMIR, invokeBB, true, 295 return inlineSetter(cUnit, calleeMethod, invokeMIR, invokeBB, true [all...] |
/dalvik/vm/compiler/codegen/arm/ |
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,
|
GlobalOptimizations.cpp | 25 static void applyRedundantBranchElimination(CompilationUnit *cUnit) 29 for (thisLIR = (ArmLIR *) cUnit->firstLIRInsn; 30 thisLIR != (ArmLIR *) cUnit->lastLIRInsn; 55 (nextLIR = (ArmLIR *) cUnit->lastLIRInsn)) 62 void dvmCompilerApplyGlobalOptimizations(CompilationUnit *cUnit) 64 applyRedundantBranchElimination(cUnit);
|
CodegenCommon.cpp | 264 static ArmLIR *newLIR0(CompilationUnit *cUnit, ArmOpcode opcode) 270 dvmCompilerAppendLIR(cUnit, (LIR *) insn); 274 static ArmLIR *newLIR1(CompilationUnit *cUnit, ArmOpcode opcode, 282 dvmCompilerAppendLIR(cUnit, (LIR *) insn); 286 static ArmLIR *newLIR2(CompilationUnit *cUnit, ArmOpcode opcode, 296 dvmCompilerAppendLIR(cUnit, (LIR *) insn); 300 static ArmLIR *newLIR3(CompilationUnit *cUnit, ArmOpcode opcode, 314 dvmCompilerAppendLIR(cUnit, (LIR *) insn); 319 static ArmLIR *newLIR4(CompilationUnit *cUnit, ArmOpcode opcode, 331 dvmCompilerAppendLIR(cUnit, (LIR *) insn) [all...] |
/dalvik/vm/compiler/codegen/arm/Thumb/ |
Ralloc.cpp | 29 int dvmCompilerAllocTypedTempPair(CompilationUnit *cUnit, bool fpHint, 35 lowReg = dvmCompilerAllocTemp(cUnit); 36 highReg = dvmCompilerAllocTemp(cUnit); 41 int dvmCompilerAllocTypedTemp(CompilationUnit *cUnit, bool fpHint, int regClass) 43 return dvmCompilerAllocTemp(cUnit);
|
/dalvik/vm/compiler/codegen/x86/ |
CodegenInterface.cpp | 39 //JitInstructionSetType dvmCompilerInstructionSet(CompilationUnit *cUnit) 178 void dvmCompilerCodegenDump(CompilationUnit *cUnit) //in ArchUtility.c 191 void dvmCompilerAssembleLIR(CompilationUnit *cUnit, JitTranslationInfo* info) 195 void dvmJitInstallClassObjectPointers(CompilationUnit *cUnit, char *codeAddress) 199 void dvmCompilerMethodMIR2LIR(CompilationUnit *cUnit) 639 static void handleNormalChainingCell(CompilationUnit *cUnit, 643 cUnit->method->name, blockId, offset, stream - streamMethodStart); 651 move_imm_to_reg(OpndSize_32, (int) (cUnit->method->insns + offset), P_GPR_1, true); 654 //move_imm_to_reg(OpndSize_32, (int) (cUnit->method->insns + offset), P_GPR_1, true); /* used when unchaining */ 661 static void handleHotChainingCell(CompilationUnit *cUnit, [all...] |
/art/compiler/llvm/ |
compiler_llvm.cc | 124 LlvmCompilationUnit* cunit = new LlvmCompilationUnit(this, next_cunit_id_++); local 126 cunit->SetBitcodeFileName(StringPrintf("%s-%zu", 128 cunit->GetCompilationUnitId())); 130 return cunit; 136 UniquePtr<LlvmCompilationUnit> cunit(AllocateCompilationUnit()); 138 cunit->SetDexCompilationUnit(dex_compilation_unit); 139 cunit->SetCompilerDriver(compiler_driver_); 150 cunit.get()); 152 cunit->Materialize(); 157 cunit->GetElfObject(), *verifier::MethodVerifier::GetDexGcMap(mref) [all...] |
/dalvik/vm/compiler/codegen/mips/ |
CodegenCommon.cpp | 272 static MipsLIR *newLIR0(CompilationUnit *cUnit, MipsOpCode opcode) 278 dvmCompilerAppendLIR(cUnit, (LIR *) insn); 282 static MipsLIR *newLIR1(CompilationUnit *cUnit, MipsOpCode opcode, 290 dvmCompilerAppendLIR(cUnit, (LIR *) insn); 294 static MipsLIR *newLIR2(CompilationUnit *cUnit, MipsOpCode opcode, 304 dvmCompilerAppendLIR(cUnit, (LIR *) insn); 308 static MipsLIR *newLIR3(CompilationUnit *cUnit, MipsOpCode opcode, 322 dvmCompilerAppendLIR(cUnit, (LIR *) insn); 326 static MipsLIR *newLIR4(CompilationUnit *cUnit, MipsOpCode opcode, 338 dvmCompilerAppendLIR(cUnit, (LIR *) insn) [all...] |
GlobalOptimizations.cpp | 25 static void applyRedundantBranchElimination(CompilationUnit *cUnit) 29 for (thisLIR = (MipsLIR *) cUnit->firstLIRInsn; 30 thisLIR != (MipsLIR *) cUnit->lastLIRInsn; 55 (nextLIR = (MipsLIR *) cUnit->lastLIRInsn)) 65 static void applyCopyPropagation(CompilationUnit *cUnit) 70 for (thisLIR = (MipsLIR *) cUnit->firstLIRInsn; 71 thisLIR != (MipsLIR *) cUnit->lastLIRInsn; 85 nextLIR != (MipsLIR *) cUnit->lastLIRInsn; 187 static void mergeMovs(CompilationUnit *cUnit) 192 for (thisLIR = (MipsLIR *) cUnit->firstLIRInsn [all...] |
/external/libsepol/tests/ |
libsepol-tests.c | 27 #include <CUnit/Basic.h> 28 #include <CUnit/Console.h> 29 #include <CUnit/TestDB.h>
|
test-cond.h | 24 #include <CUnit/Basic.h>
|
test-deps.h | 24 #include <CUnit/Basic.h>
|
test-expander.h | 24 #include <CUnit/Basic.h>
|
test-linker.h | 24 #include <CUnit/Basic.h>
|
/dalvik/vm/compiler/codegen/arm/armv5te/ |
MethodCodegenDriver.cpp | 17 void dvmCompilerMethodMIR2LIR(CompilationUnit *cUnit)
|
/dalvik/vm/compiler/codegen/mips/mips/ |
MethodCodegenDriver.cpp | 17 void dvmCompilerMethodMIR2LIR(CompilationUnit *cUnit)
|