Lines Matching refs:Op
189 TreePatternNode *Op = InstPatNode->getChild(i);
192 if (!Op->isLeaf() && Op->getOperator()->getName() == "imm") {
194 if (!Op->getPredicateFns().empty()) {
195 TreePredicateFn PredFn = Op->getPredicateFns()[0];
199 if (Op->getPredicateFns().size() > 1 ||
214 //if (Op->getType(0) != VT)
224 if (!Op->getPredicateFns().empty() || Op->getNumTypes() != 1)
227 if (!Op->isLeaf()) {
228 if (Op->getOperator()->getName() == "fpimm") {
236 assert(Op->hasTypeSet(0) && "Type infererence not done?");
241 if (Op->getType(0) != VT)
244 DefInit *OpDI = dynamic_cast<DefInit*>(Op->getLeafValue());
279 OS << "unsigned Op" << i << ", bool Op" << i << "IsKill";
304 OS << "Op" << i << ", Op" << i << "IsKill";
321 OS << "Op" << i << ", Op" << i << "IsKill";
341 // select to a binary op. On x86, mul may take a single operand with
382 static std::string getOpcodeName(Record *Op, CodeGenDAGPatterns &CGP) {
383 return CGP.getSDNodeInfo(Op).getEnumName();
397 static std::string PhyRegForNode(TreePatternNode *Op,
401 if (!Op->isLeaf())
404 DefInit *OpDI = dynamic_cast<DefInit*>(Op->getLeafValue());
432 Record *Op = Dst->getOperator();
433 if (!Op->isSubClassOf("Instruction"))
435 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
457 if (Op->getName() != "EXTRACT_SUBREG") {
529 if (Op->getName() != "EXTRACT_SUBREG" && DstIndex < Dst->getNumChildren())
635 << (*Memo.PhysRegs)[i] << ").addReg(Op" << i << ");\n";
726 << (*Memo.PhysRegs)[i] << ").addReg(Op" << i << ");\n";