Home | History | Annotate | Download | only in codegen

Lines Matching refs:opInfo

140       opInfo[i].variants = NULL;
141 opInfo[i].op = (operation)i;
142 opInfo[i].srcTypes = 1 << (int)TYPE_F32;
143 opInfo[i].dstTypes = 1 << (int)TYPE_F32;
144 opInfo[i].immdBits = 0xffffffff;
145 opInfo[i].srcNr = operationSrcNr[i];
147 for (j = 0; j < opInfo[i].srcNr; ++j) {
148 opInfo[i].srcMods[j] = 0;
149 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR;
151 opInfo[i].dstMods = 0;
152 opInfo[i].dstFiles = 1 << (int)FILE_GPR;
154 opInfo[i].hasDest = 1;
155 opInfo[i].vector = (i >= OP_TEX && i <= OP_TEXCSAA);
156 opInfo[i].commutative = (commutative[i / 32] >> (i % 32)) & 1;
157 opInfo[i].pseudo = (i < OP_MOV);
158 opInfo[i].predicate = !opInfo[i].pseudo;
159 opInfo[i].flow = (i >= OP_BRA && i <= OP_JOIN);
160 opInfo[i].minEncSize = (shortForm[i / 32] & (1 << (i % 32))) ? 4 : 8;
163 opInfo[noDestList[i]].hasDest = 0;
165 opInfo[noPredList[i]].predicate = 0;
172 opInfo[prop->op].srcMods[s] |= NV50_IR_MOD_NEG;
174 opInfo[prop->op].srcMods[s] |= NV50_IR_MOD_ABS;
176 opInfo[prop->op].srcMods[s] |= NV50_IR_MOD_NOT;
178 opInfo[prop->op].srcFiles[s] |= 1 << (int)FILE_MEMORY_CONST;
180 opInfo[prop->op].srcFiles[s] |= 1 << (int)FILE_MEMORY_SHARED;
182 opInfo[prop->op].srcFiles[s] |= 1 << (int)FILE_SHADER_INPUT;
184 opInfo[prop->op].srcFiles[s] |= 1 << (int)FILE_IMMEDIATE;
187 opInfo[prop->op].dstMods = NV50_IR_MOD_SAT;
263 if (s >= opInfo[i->op].srcNr)
265 if (!(opInfo[i->op].srcFiles[s] & (1 << (int)sf)))
437 return (mod & Modifier(opInfo[insn->op].srcMods[s])) == mod;
448 return opInfo[insn->op].predicate;
458 return opInfo[insn->op].dstMods & NV50_IR_MOD_SAT;