Lines Matching refs:getOperator
795 Record *Op = PatFragRec->getOnlyTree()->getOperator(); in getCodeToRunOnSDNode()
1026 TP.error(N->getOperator()->getName() + " expects a VT operand!"); in ApplyTypeConstraint()
1236 if (DefInit *DI = dyn_cast<DefInit>(Tree->getOperator())) in GetNumNodeResults()
1279 OS << '(' << getOperator()->getName(); in print()
1334 if (N->getOperator() != getOperator() || in isIsomorphicTo()
1353 New = new TreePatternNode(getOperator(), CChildren, getNumTypes()); in clone()
1410 Record *Op = getOperator(); in InlinePatternFragments()
1585 if (getOperator() != CDP.get_intrinsic_void_sdnode() && in getIntrinsicInfo()
1586 getOperator() != CDP.get_intrinsic_w_chain_sdnode() && in getIntrinsicInfo()
1587 getOperator() != CDP.get_intrinsic_wo_chain_sdnode()) in getIntrinsicInfo()
1605 Rec = getOperator(); in getComplexPatternInfo()
1640 Record *Operator = getOperator(); in NodeHasProperty()
1672 return N->getOperator()->isSubClassOf(Class); in isOperandClass()
1746 if (getOperator()->getName() == "set") { in ApplyTypeConstraints()
1765 if (getOperator()->getName() == "implicit") { in ApplyTypeConstraints()
1804 if (getOperator()->isSubClassOf("SDNode")) { in ApplyTypeConstraints()
1805 const SDNodeInfo &NI = CDP.getSDNodeInfo(getOperator()); in ApplyTypeConstraints()
1810 TP.error(getOperator()->getName() + " node requires exactly " + in ApplyTypeConstraints()
1821 if (getOperator()->isSubClassOf("Instruction")) { in ApplyTypeConstraints()
1822 const DAGInstruction &Inst = CDP.getInstruction(getOperator()); in ApplyTypeConstraints()
1824 CDP.getTargetInfo().getInstruction(getOperator()); in ApplyTypeConstraints()
1851 if (getOperator()->getName() == "INSERT_SUBREG") { in ApplyTypeConstraints()
1855 } else if (getOperator()->getName() == "REG_SEQUENCE") { in ApplyTypeConstraints()
1898 emitTooFewOperandsError(TP, getOperator()->getName(), getNumChildren()); in ApplyTypeConstraints()
1922 emitTooFewOperandsError(TP, getOperator()->getName(), in ApplyTypeConstraints()
1943 emitTooManyOperandsError(TP, getOperator()->getName(), in ApplyTypeConstraints()
1953 if (getOperator()->isSubClassOf("ComplexPattern")) { in ApplyTypeConstraints()
1962 assert(getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node type!"); in ApplyTypeConstraints()
1966 TP.error("Node transform '" + getOperator()->getName() + in ApplyTypeConstraints()
1990 if (!N->isLeaf() && N->getOperator()->getName() == "imm") in OnlyOnRHSOfCommutative()
2013 if (getOperator()->isSubClassOf("Intrinsic")) { in canPatternMatch()
2018 if (getOperator()->isSubClassOf("ComplexPattern")) in canPatternMatch()
2023 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(getOperator()); in canPatternMatch()
2140 DefInit *OpDef = dyn_cast<DefInit>(Dag->getOperator()); in ParseTreePattern()
2268 if (N->getOperator()->getName() == "bitconvert" && in SimplifyTree()
2492 DefInit *OpsOp = dyn_cast<DefInit>(OpsList->getOperator()); in ParsePatternFragments()
2618 Rec = Pat->getOperator(); in HandleUse()
2635 SlotRec = Slot->getOperator(); in HandleUse()
2661 if (Pat->getOperator()->getName() == "implicit") { in FindPatternInputsAndOutputs()
2675 if (Pat->getOperator()->getName() != "set") { in FindPatternInputsAndOutputs()
2779 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N1->getOperator()); in IsNodeBitcast()
2806 if (N->getOperator()->getName() == "set") { in AnalyzeNode()
2890 DefInit *OpDef = dyn_cast<DefInit>(DI->getOperator()); in hasNullFragReference()
2923 if (Tree->getOperator()->isSubClassOf("Instruction")) in getInstructionsInTree()
2924 Instrs.push_back(Tree->getOperator()); in getInstructionsInTree()
3172 if (Pattern->getOperator()->getName() == "set") { in ParseInstructions()
3416 if (!N->getOperator()->isSubClassOf("Instruction")) in ForceArbitraryInstResultType()
3537 DstPattern = new TreePatternNode(DstPattern->getOperator(), in ParsePatterns()
3577 errs() << Orig->getOperator()->getName() << ": Idxs = [ "; in CombineChildVariants()
3589 Orig->getOperator(), NewChildren, Orig->getNumTypes()); in CombineChildVariants()
3643 Record *Operator = N->getOperator(); in GatherChildrenOfAssociativeOpcode()
3652 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
3657 if (N->getChild(1)->isLeaf() || N->getChild(1)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
3671 if (N->isLeaf() || N->getOperator()->isSubClassOf("ComplexPattern")) { in GenerateVariantsOf()
3677 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(N->getOperator()); in GenerateVariantsOf()