Lines Matching defs:op

205    operation op;
286 opInfo[i].op = (operation)i;
315 opInfo[prop->op].srcMods[s] |= NV50_IR_MOD_NEG;
317 opInfo[prop->op].srcMods[s] |= NV50_IR_MOD_ABS;
319 opInfo[prop->op].srcMods[s] |= NV50_IR_MOD_NOT;
321 opInfo[prop->op].srcFiles[s] |= 1 << (int)FILE_MEMORY_CONST;
323 opInfo[prop->op].srcFiles[s] |= 1 << (int)FILE_IMMEDIATE;
325 opInfo[prop->op].immdBits = 0xffffffff;
328 opInfo[prop->op].dstMods = NV50_IR_MOD_SAT;
397 return (!i->asTex() && i->op != OP_EXPORT && i->op != OP_STORE);
399 if (s >= opInfo[i->op].srcNr)
401 if (!(opInfo[i->op].srcFiles[s] & (1 << (int)sf)))
423 if (opInfo[i->op].immdBits != 0xffffffff) {
434 if (i->op == OP_MAD || i->op == OP_FMA) {
458 TargetNVC0::isOpSupported(operation op, DataType ty) const
460 if ((op == OP_MAD || op == OP_FMA) && (ty != TYPE_F32))
462 if (op == OP_SAD && ty != TYPE_S32 && ty != TYPE_U32)
464 if (op == OP_POW || op == OP_SQRT || op == OP_DIV || op == OP_MOD)
473 switch (insn->op) {
500 return (mod & Modifier(opInfo[insn->op].srcMods[s])) == mod;
508 return opInfo[insn->op].predicate;
514 if (insn->op == OP_CVT)
516 if (!(opInfo[insn->op].dstMods & NV50_IR_MOD_SAT))
520 return (insn->op == OP_ADD) || (insn->op == OP_MAD);
526 TargetNVC0::isPostMultiplySupported(operation op, float f, int& e) const
528 if (op != OP_MUL)
545 switch (i->op) {
556 if (Target::getOpClass(i->op) == OPCLASS_TEXTURE)
558 if (i->op == OP_MUL && i->dType != TYPE_F32)
563 if (i->op == OP_LOAD) {
586 switch (i->op) {
613 switch (i->op) {
644 const OpClass clA = operationClass[a->op];
645 const OpClass clB = operationClass[b->op];
653 if (a->op == OP_MOV || b->op == OP_MOV)
659 return (a->dType == TYPE_F32 || a->op == OP_ADD ||
660 b->dType == TYPE_F32 || b->op == OP_ADD);
663 if (a->op == OP_TEXBAR || b->op == OP_TEXBAR)