From 82488f563e7f72f8c626052893c1792d76ab3faf Mon Sep 17 00:00:00 2001 From: buzbee Date: Fri, 2 Mar 2012 08:20:26 -0800 Subject: 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 --- src/compiler/codegen/arm/Codegen.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/compiler/codegen/arm/Codegen.h') 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); -- cgit v1.2.3-59-g8ed1b