Lines Matching refs:iReg
13239 int iReg; /* Reg with value of this column. 0 means none. */ member
66872 if( x->iLevel>pParse->iCacheLevel || x->iReg==0 ) continue;
66873 printf(" r[%d]={%d:%d}", x->iReg, x->iTable, x->iColumn);
73284 static void registerTrace(int iReg, Mem *p){
73285 printf("REG[%d] = ", iReg);
87275 pParse->aTempReg[pParse->nTempReg++] = p->iReg;
87286 SQLITE_PRIVATE void sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg){
87293 assert( iReg>0 || pParse->nErr || pParse->db->mallocFailed );
87309 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
87315 if( p->iReg==0 ){
87319 p->iReg = iReg;
87340 p->iReg = iReg;
87351 SQLITE_PRIVATE void sqlite3ExprCacheRemove(Parse *pParse, int iReg, int nReg){
87353 int iLast = iReg + nReg - 1;
87356 int r = p->iReg;
87357 if( r>=iReg && r<=iLast ){
87359 p->iReg = 0;
87394 if( p->iReg && p->iLevel>pParse->iCacheLevel ){
87396 p->iReg = 0;
87407 static void sqlite3ExprCachePinRegister(Parse *pParse, int iReg){
87411 if( p->iReg==iReg ){
87478 int iReg, /* Store results here */
87486 if( p->iReg>0 && p->iTable==iTable && p->iColumn==iColumn ){
87488 sqlite3ExprCachePinRegister(pParse, p->iReg);
87489 return p->iReg;
87493 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg);
87497 sqlite3ExprCacheStore(pParse, iTable, iColumn, iReg);
87499 return iReg;
87515 if( p->iReg ){
87517 p->iReg = 0;
87552 int r = p->iReg;
87562 static void exprToRegister(Expr *p, int iReg){
87565 p->iTable = iReg;
89137 SQLITE_PRIVATE void sqlite3ReleaseTempReg(Parse *pParse, int iReg){
89138 if( iReg && pParse->nTempReg<ArraySize(pParse->aTempReg) ){
89142 if( p->iReg==iReg ){
89147 pParse->aTempReg[pParse->nTempReg++] = iReg;
89168 SQLITE_PRIVATE void sqlite3ReleaseTempRange(Parse *pParse, int iReg, int nReg){
89169 sqlite3ExprCacheRemove(pParse, iReg, nReg);
89172 pParse->iRangeReg = iReg;
100719 int iReg = aiCol[i] + regData + 1;
100720 sqlite3VdbeAddOp2(v, OP_IsNull, iReg, iOk); VdbeCoverage(v);
101290 int iReg = pFKey->aCol[i].iFrom + regOld + 1;
101291 sqlite3VdbeAddOp2(v, OP_IsNull, iReg, iJump); VdbeCoverage(v);
101914 SQLITE_PRIVATE void sqlite3TableAffinity(Vdbe *v, Table *pTab, int iReg){
101935 if( iReg ){
101936 sqlite3VdbeAddOp4(v, OP_Affinity, iReg, i, 0, zColAff, i);
106340 int iReg;
106342 iReg = ++pParse->nMem;
106344 sqlite3VdbeAddOp2(v, OP_Pagecount, iDb, iReg);
106346 sqlite3VdbeAddOp3(v, OP_MaxPgcnt, iDb, iReg,
106349 sqlite3VdbeAddOp2(v, OP_ResultRow, iReg, 1);
115642 SQLITE_PRIVATE void sqlite3ColumnDefault(Vdbe *v, Table *pTab, int i, int iReg){
115657 sqlite3VdbeAddOp1(v, OP_RealAffinity, iReg);
117156 int iReg;
117192 iReg = ++pParse->nMem;
117193 sqlite3VdbeLoadString(v, iReg, pTab->zName);
117194 sqlite3VdbeAddOp2(v, OP_VCreate, iDb, iReg);
118876 int iReg; /* Register holding results */
118880 iReg = sqlite3ExprCodeTarget(pParse, pX->pRight, iTarget);
118882 iReg = iTarget;
118883 sqlite3VdbeAddOp2(v, OP_Null, 0, iReg);
118900 iReg = iTarget;
118924 pIn->addrInTop = sqlite3VdbeAddOp2(v, OP_Rowid, iTab, iReg);
118926 pIn->addrInTop = sqlite3VdbeAddOp3(v, OP_Column, iTab, 0, iReg);
118929 sqlite3VdbeAddOp1(v, OP_IsNull, iReg); VdbeCoverage(v);
118936 return iReg;
119191 int iReg; /* P3 Value for OP_VFilter */
119196 iReg = sqlite3GetTempRange(pParse, nConstraint+2);
119199 int iTarget = iReg+j+2;
119209 sqlite3VdbeAddOp2(v, OP_Integer, pLoop->u.vtab.idxNum, iReg);
119210 sqlite3VdbeAddOp2(v, OP_Integer, nConstraint, iReg+1);
119211 sqlite3VdbeAddOp4(v, OP_VFilter, iCur, addrNotFound, iReg,
119224 sqlite3ReleaseTempRange(pParse, iReg, nConstraint+2);