Home | History | Annotate | Download | only in codeflinger

Lines Matching refs:reg

34 #define CONTEXT_LOAD(REG, FIELD) \
35 LDR(AL, REG, mBuilderContext.Rctx, immed12_pre(GGL_OFFSETOF(FIELD)))
37 #define CONTEXT_STORE(REG, FIELD) \
38 STR(AL, REG, mBuilderContext.Rctx, immed12_pre(GGL_OFFSETOF(FIELD)))
47 int reserveReg(int reg);
49 void recycleReg(int reg);
66 int reserve(int reg);
69 void recycle(int reg);
73 inline int isUsed(int reg) const;
101 int reg = mRegFile.obtain();
102 mScratch |= 1<<reg;
103 return reg;
105 void recycle(int reg) {
106 mRegFile.recycle(reg);
107 mScratch &= ~(1<<reg);
109 bool isUsed(int reg) {
110 return (mScratch & (1<<reg));
133 int reg = 31 - __builtin_clz(mRegList);
134 mGen.STR(mGen.AL, reg, mGen.SP, mGen.immed12_pre(-4, 1));
145 int reg = 31 - __builtin_clz(mRegList);
146 mGen.LDR(mGen.AL, reg, mGen.SP, mGen.immed12_post(4));
197 reg_t() : reg(-1), flags(0) {
200 : reg(r), flags(f) {
203 reg=r; flags=f;
205 int reg;
251 : reg_t(rhs.reg, rhs.flags), h(rhs.s), l(0) {
254 setTo( rhs.reg,
345 r.reg = regs.obtain();