Lines Matching refs:Op
196 TreePatternNode *Op = InstPatNode->getChild(i);
199 if (!Op->isLeaf() && Op->getOperator()->getName() == "imm") {
201 if (!Op->getPredicateFns().empty()) {
202 TreePredicateFn PredFn = Op->getPredicateFns()[0];
206 if (Op->getPredicateFns().size() > 1 ||
221 //if (Op->getType(0) != VT)
231 if (!Op->getPredicateFns().empty() || Op->getNumTypes() != 1)
234 if (!Op->isLeaf()) {
235 if (Op->getOperator()->getName() == "fpimm") {
243 assert(Op->hasTypeSet(0) && "Type infererence not done?");
248 if (Op->getType(0) != VT)
251 DefInit *OpDI = dyn_cast<DefInit>(Op->getLeafValue());
288 OS << "unsigned Op" << i << ", bool Op" << i << "IsKill";
313 OS << "Op" << i << ", Op" << i << "IsKill";
330 OS << "Op" << i << ", Op" << i << "IsKill";
409 static std::string getOpcodeName(Record *Op, CodeGenDAGPatterns &CGP) {
410 return CGP.getSDNodeInfo(Op).getEnumName();
422 static std::string PhyRegForNode(TreePatternNode *Op,
426 if (!Op->isLeaf())
429 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef();
456 Record *Op = Dst->getOperator();
457 if (!Op->isSubClassOf("Instruction"))
459 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
481 if (Op->getName() != "EXTRACT_SUBREG") {
554 if (Op->getName() != "EXTRACT_SUBREG" && DstIndex < Dst->getNumChildren())
659 << (*Memo.PhysRegs)[i] << ").addReg(Op" << i << ");\n";