Lines Matching refs:iReg
13239 int iReg; /* Reg with value of this column. 0 means none. */ member
66890 if( x->iLevel>pParse->iCacheLevel || x->iReg==0 ) continue;
66891 printf(" r[%d]={%d:%d}", x->iReg, x->iTable, x->iColumn);
73302 static void registerTrace(int iReg, Mem *p){
73303 printf("REG[%d] = ", iReg);
87293 pParse->aTempReg[pParse->nTempReg++] = p->iReg;
87304 SQLITE_PRIVATE void sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg){
87311 assert( iReg>0 || pParse->nErr || pParse->db->mallocFailed );
87327 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
87333 if( p->iReg==0 ){
87337 p->iReg = iReg;
87358 p->iReg = iReg;
87369 SQLITE_PRIVATE void sqlite3ExprCacheRemove(Parse *pParse, int iReg, int nReg){
87371 int iLast = iReg + nReg - 1;
87374 int r = p->iReg;
87375 if( r>=iReg && r<=iLast ){
87377 p->iReg = 0;
87412 if( p->iReg && p->iLevel>pParse->iCacheLevel ){
87414 p->iReg = 0;
87425 static void sqlite3ExprCachePinRegister(Parse *pParse, int iReg){
87429 if( p->iReg==iReg ){
87496 int iReg, /* Store results here */
87504 if( p->iReg>0 && p->iTable==iTable && p->iColumn==iColumn ){
87506 sqlite3ExprCachePinRegister(pParse, p->iReg);
87507 return p->iReg;
87511 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg);
87515 sqlite3ExprCacheStore(pParse, iTable, iColumn, iReg);
87517 return iReg;
87533 if( p->iReg ){
87535 p->iReg = 0;
87570 int r = p->iReg;
87580 static void exprToRegister(Expr *p, int iReg){
87583 p->iTable = iReg;
89155 SQLITE_PRIVATE void sqlite3ReleaseTempReg(Parse *pParse, int iReg){
89156 if( iReg && pParse->nTempReg<ArraySize(pParse->aTempReg) ){
89160 if( p->iReg==iReg ){
89165 pParse->aTempReg[pParse->nTempReg++] = iReg;
89186 SQLITE_PRIVATE void sqlite3ReleaseTempRange(Parse *pParse, int iReg, int nReg){
89187 sqlite3ExprCacheRemove(pParse, iReg, nReg);
89190 pParse->iRangeReg = iReg;
100737 int iReg = aiCol[i] + regData + 1;
100738 sqlite3VdbeAddOp2(v, OP_IsNull, iReg, iOk); VdbeCoverage(v);
101308 int iReg = pFKey->aCol[i].iFrom + regOld + 1;
101309 sqlite3VdbeAddOp2(v, OP_IsNull, iReg, iJump); VdbeCoverage(v);
101932 SQLITE_PRIVATE void sqlite3TableAffinity(Vdbe *v, Table *pTab, int iReg){
101953 if( iReg ){
101954 sqlite3VdbeAddOp4(v, OP_Affinity, iReg, i, 0, zColAff, i);
106358 int iReg;
106360 iReg = ++pParse->nMem;
106362 sqlite3VdbeAddOp2(v, OP_Pagecount, iDb, iReg);
106364 sqlite3VdbeAddOp3(v, OP_MaxPgcnt, iDb, iReg,
106367 sqlite3VdbeAddOp2(v, OP_ResultRow, iReg, 1);
115660 SQLITE_PRIVATE void sqlite3ColumnDefault(Vdbe *v, Table *pTab, int i, int iReg){
115675 sqlite3VdbeAddOp1(v, OP_RealAffinity, iReg);
117174 int iReg;
117210 iReg = ++pParse->nMem;
117211 sqlite3VdbeLoadString(v, iReg, pTab->zName);
117212 sqlite3VdbeAddOp2(v, OP_VCreate, iDb, iReg);
118894 int iReg; /* Register holding results */
118898 iReg = sqlite3ExprCodeTarget(pParse, pX->pRight, iTarget);
118900 iReg = iTarget;
118901 sqlite3VdbeAddOp2(v, OP_Null, 0, iReg);
118918 iReg = iTarget;
118942 pIn->addrInTop = sqlite3VdbeAddOp2(v, OP_Rowid, iTab, iReg);
118944 pIn->addrInTop = sqlite3VdbeAddOp3(v, OP_Column, iTab, 0, iReg);
118947 sqlite3VdbeAddOp1(v, OP_IsNull, iReg); VdbeCoverage(v);
118954 return iReg;
119209 int iReg; /* P3 Value for OP_VFilter */
119214 iReg = sqlite3GetTempRange(pParse, nConstraint+2);
119217 int iTarget = iReg+j+2;
119227 sqlite3VdbeAddOp2(v, OP_Integer, pLoop->u.vtab.idxNum, iReg);
119228 sqlite3VdbeAddOp2(v, OP_Integer, nConstraint, iReg+1);
119229 sqlite3VdbeAddOp4(v, OP_VFilter, iCur, addrNotFound, iReg,
119242 sqlite3ReleaseTempRange(pParse, iReg, nConstraint+2);