Lines Matching refs:Op
89 Operator *Op; // The Operation used to generate this value.
147 static const char *getZeroCostOpName(unsigned short Op) {
148 if (ShufTab[Op].Arg0 == 0x0123)
150 else if (ShufTab[Op].Arg0 == 0x4567)
162 std::cerr << " = " << ShufTab[ThisOp].Op->getName() << "(";
176 if (!ShufTab[Vals[ValNo]].Op->isOnlyLHSOperator()) {
222 ShufTab[0x0123].Op = 0;
225 ShufTab[0x4567].Op = 0;
304 Operator *Op = TheOperators[opnum];
306 // Evaluate op(LHS,LHS)
307 unsigned ResultMask = Op->getTransformedMask(LHS, LHS);
309 unsigned Cost = ShufTab[LHS].Cost + Op->getCost();
312 ShufTab[ResultMask].Op = Op;
318 // If this is a two input instruction, include the op(x,y) cases. If
320 if (Op->isOnlyLHSOperator()) continue;
332 // Evaluate op(LHS,RHS)
333 unsigned ResultMask = Op->getTransformedMask(LHS, RHS);
347 unsigned Cost = NumVals + Op->getCost();
350 ShufTab[ResultMask].Op = Op;
394 unsigned OpNum = ShufTab[i].Op ? ShufTab[i].Op->OpNum : 0;
407 std::cout << " " << (ShufTab[i].Op ? ShufTab[i].Op->getName() : "copy");
415 if (ShufTab[i].Op && !ShufTab[i].Op->isOnlyLHSOperator()) {