Lines Matching refs:getOperator
670 Record *Op = PatFragRec->getOnlyTree()->getOperator(); in getCodeToRunOnSDNode()
872 TP.error(N->getOperator()->getName() + " expects a VT operand!"); in ApplyTypeConstraint()
1026 if (Tree && dynamic_cast<DefInit*>(Tree->getOperator())) in GetNumNodeResults()
1027 Op = dynamic_cast<DefInit*>(Tree->getOperator())->getDef(); in GetNumNodeResults()
1056 OS << '(' << getOperator()->getName(); in print()
1111 if (N->getOperator() != getOperator() || in isIsomorphicTo()
1130 New = new TreePatternNode(getOperator(), CChildren, getNumTypes()); in clone()
1181 Record *Op = getOperator(); in InlinePatternFragments()
1316 if (getOperator() != CDP.get_intrinsic_void_sdnode() && in getIntrinsicInfo()
1317 getOperator() != CDP.get_intrinsic_w_chain_sdnode() && in getIntrinsicInfo()
1318 getOperator() != CDP.get_intrinsic_wo_chain_sdnode()) in getIntrinsicInfo()
1347 Record *Operator = getOperator(); in NodeHasProperty()
1431 if (getOperator()->getName() == "set") { in ApplyTypeConstraints()
1450 if (getOperator()->getName() == "implicit") { in ApplyTypeConstraints()
1459 if (getOperator()->getName() == "COPY_TO_REGCLASS") { in ApplyTypeConstraints()
1506 if (getOperator()->isSubClassOf("SDNode")) { in ApplyTypeConstraints()
1507 const SDNodeInfo &NI = CDP.getSDNodeInfo(getOperator()); in ApplyTypeConstraints()
1512 TP.error(getOperator()->getName() + " node requires exactly " + in ApplyTypeConstraints()
1521 if (getOperator()->isSubClassOf("Instruction")) { in ApplyTypeConstraints()
1522 const DAGInstruction &Inst = CDP.getInstruction(getOperator()); in ApplyTypeConstraints()
1524 CDP.getTargetInfo().getInstruction(getOperator()); in ApplyTypeConstraints()
1569 if (getOperator()->getName() == "INSERT_SUBREG") { in ApplyTypeConstraints()
1589 TP.error("Instruction '" + getOperator()->getName() + in ApplyTypeConstraints()
1620 TP.error("Instruction '" + getOperator()->getName() + in ApplyTypeConstraints()
1626 assert(getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node type!"); in ApplyTypeConstraints()
1630 TP.error("Node transform '" + getOperator()->getName() + in ApplyTypeConstraints()
1652 if (!N->isLeaf() && N->getOperator()->getName() == "imm") in OnlyOnRHSOfCommutative()
1675 if (getOperator()->isSubClassOf("Intrinsic")) { in canPatternMatch()
1682 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(getOperator()); in canPatternMatch()
1786 DefInit *OpDef = dynamic_cast<DefInit*>(Dag->getOperator()); in ParseTreePattern()
1891 if (N->getOperator()->getName() == "bitconvert" && in SimplifyTree()
2113 DefInit *OpsOp = dynamic_cast<DefInit*>(OpsList->getOperator()); in ParsePatternFragments()
2249 Rec = Pat->getOperator(); in HandleUse()
2266 SlotRec = Slot->getOperator(); in HandleUse()
2292 if (Pat->getOperator()->getName() == "implicit") { in FindPatternInputsAndOutputs()
2306 if (Pat->getOperator()->getName() != "set") { in FindPatternInputsAndOutputs()
2414 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N1->getOperator()); in IsNodeBitcast()
2440 if (N->getOperator()->getName() == "set") { in AnalyzeNode()
2446 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N->getOperator()); in AnalyzeNode()
2733 if (Pattern->getOperator()->getName() == "set") { in ParseInstructions()
2853 if (!N->getOperator()->isSubClassOf("Instruction")) in ForceArbitraryInstResultType()
2970 DstPattern = new TreePatternNode(DstPattern->getOperator(), in ParsePatterns()
3010 errs() << Orig->getOperator()->getName() << ": Idxs = [ "; in CombineChildVariants()
3021 TreePatternNode *R = new TreePatternNode(Orig->getOperator(), NewChildren, in CombineChildVariants()
3086 Record *Operator = N->getOperator(); in GatherChildrenOfAssociativeOpcode()
3095 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
3100 if (N->getChild(1)->isLeaf() || N->getChild(1)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
3120 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(N->getOperator()); in GenerateVariantsOf()