diff options
| author | 2012-03-02 08:20:26 -0800 | |
|---|---|---|
| committer | 2012-03-02 13:02:52 -0800 | |
| commit | 82488f563e7f72f8c626052893c1792d76ab3faf (patch) | |
| tree | e17e3bc62adf8b57bfeb86a3a879dfb099d3d1d7 /src/compiler/codegen/arm/Codegen.h | |
| parent | 013b6f296ff7c0cb6aa5aeb6868df05995eeadb7 (diff) | |
Multi-target Codegen cleanup
Trying to get a bit more consistent in the abstraction layer
naming:
genXXX -> high-level codegen, for ex: genIGet()
opXXX -> instruction-level output, for ex: opRegImm()
Also more fleshing out of the Mips codegen support.
Change-Id: Iafdf397cbb5015bfe3aa2c38680d96c7c05f8bc4
Diffstat (limited to 'src/compiler/codegen/arm/Codegen.h')
| -rw-r--r-- | src/compiler/codegen/arm/Codegen.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/compiler/codegen/arm/Codegen.h b/src/compiler/codegen/arm/Codegen.h index 49e39db837..b985e1b72b 100644 --- a/src/compiler/codegen/arm/Codegen.h +++ b/src/compiler/codegen/arm/Codegen.h @@ -29,6 +29,8 @@ namespace art { #if defined(_CODEGEN_C) LIR *opRegImm(CompilationUnit* cUnit, OpKind op, int rDestSrc1, int value); LIR *opRegReg(CompilationUnit* cUnit, OpKind op, int rDestSrc1, int rSrc2); +LIR* opCmpImmBranch(CompilationUnit* cUnit, ConditionCode cond, int reg, + int checkValue, LIR* target); /* Forward declaraton the portable versions due to circular dependency */ bool genArithOpFloatPortable(CompilationUnit* cUnit, MIR* mir, @@ -47,11 +49,9 @@ int loadHelper(CompilationUnit* cUnit, int offset); LIR* callRuntimeHelper(CompilationUnit* cUnit, int reg); RegLocation getRetLoc(CompilationUnit* cUnit); LIR* loadConstant(CompilationUnit* cUnit, int reg, int immVal); -void genRegCopyWide(CompilationUnit* cUnit, int destLo, int destHi, - int srcLo, int srcHi); -LIR* genRegCopy(CompilationUnit* cUnit, int rDest, int rSrc); -LIR* genCmpImmBranch(CompilationUnit* cUnit, ConditionCode cond, int reg, - int checkValue); +void opRegCopyWide(CompilationUnit* cUnit, int destLo, int destHi, + int srcLo, int srcHi); +LIR* opRegCopy(CompilationUnit* cUnit, int rDest, int rSrc); void freeRegLocTemps(CompilationUnit* cUnit, RegLocation rlKeep, RegLocation rlFree); |