• Home
  • Raw
  • Download

Lines Matching refs:getOperator

1333       Record *Op = Tree->getOperator();  in getCodeToRunOnSDNode()
1579 TP.error(N->getOperator()->getName() + " expects a VT operand!"); in ApplyTypeConstraint()
1805 if (DefInit *DI = dyn_cast<DefInit>(Dag->getOperator())) in GetNumNodeResults()
1850 OS << '(' << getOperator()->getName(); in print()
1913 if (N->getOperator() != getOperator() || in isIsomorphicTo()
1932 New = std::make_shared<TreePatternNode>(getOperator(), std::move(CChildren), in clone()
1997 Record *Op = getOperator(); in InlinePatternFragments()
2032 getOperator(), std::move(NewChildren), getNumTypes()); in InlinePatternFragments()
2240 if (getOperator() != CDP.get_intrinsic_void_sdnode() && in getIntrinsicInfo()
2241 getOperator() != CDP.get_intrinsic_w_chain_sdnode() && in getIntrinsicInfo()
2242 getOperator() != CDP.get_intrinsic_wo_chain_sdnode()) in getIntrinsicInfo()
2260 Rec = getOperator(); in getComplexPatternInfo()
2336 return N->getOperator()->isSubClassOf(Class); in isOperandClass()
2443 if (getOperator()->isSubClassOf("SDNode")) { in ApplyTypeConstraints()
2444 const SDNodeInfo &NI = CDP.getSDNodeInfo(getOperator()); in ApplyTypeConstraints()
2449 TP.error(getOperator()->getName() + " node requires exactly " + in ApplyTypeConstraints()
2461 if (getOperator()->isSubClassOf("Instruction")) { in ApplyTypeConstraints()
2462 const DAGInstruction &Inst = CDP.getInstruction(getOperator()); in ApplyTypeConstraints()
2464 CDP.getTargetInfo().getInstruction(getOperator()); in ApplyTypeConstraints()
2491 if (getOperator()->getName() == "INSERT_SUBREG") { in ApplyTypeConstraints()
2495 } else if (getOperator()->getName() == "REG_SEQUENCE") { in ApplyTypeConstraints()
2556 emitTooFewOperandsError(TP, getOperator()->getName(), getNumChildren()); in ApplyTypeConstraints()
2580 emitTooFewOperandsError(TP, getOperator()->getName(), in ApplyTypeConstraints()
2601 emitTooManyOperandsError(TP, getOperator()->getName(), in ApplyTypeConstraints()
2611 if (getOperator()->isSubClassOf("ComplexPattern")) { in ApplyTypeConstraints()
2620 assert(getOperator()->isSubClassOf("SDNodeXForm") && "Unknown node type!"); in ApplyTypeConstraints()
2624 TP.error("Node transform '" + getOperator()->getName() + in ApplyTypeConstraints()
2636 if (!N->isLeaf() && N->getOperator()->getName() == "imm") in OnlyOnRHSOfCommutative()
2659 if (getOperator()->isSubClassOf("Intrinsic")) { in canPatternMatch()
2664 if (getOperator()->isSubClassOf("ComplexPattern")) in canPatternMatch()
2669 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(getOperator()); in canPatternMatch()
2791 DefInit *OpDef = dyn_cast<DefInit>(Dag->getOperator()); in ParseTreePattern()
2933 if (N->getOperator()->getName() == "bitconvert" && in SimplifyTree()
3171 DefInit *OpsOp = dyn_cast<DefInit>(OpsList->getOperator()); in ParsePatternFragments()
3300 Rec = Pat->getOperator(); in HandleUse()
3317 SlotRec = Slot->getOperator(); in HandleUse()
3358 if (Pat->getOperator()->getName() == "implicit") { in FindPatternInputsAndOutputs()
3372 if (Pat->getOperator()->getName() != "set") { in FindPatternInputsAndOutputs()
3473 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N->getOperator()); in IsNodeBitcast()
3586 DefInit *OpDef = dyn_cast<DefInit>(DI->getOperator()); in hasNullFragReference()
3622 if (Tree->getOperator()->isSubClassOf("Instruction")) in getInstructionsInTree()
3623 Instrs.push_back(Tree->getOperator()); in getInstructionsInTree()
3808 if (Pattern->getOperator()->getName() == "set") { in parseInstructionPattern()
4107 if (!N->getOperator()->isSubClassOf("Instruction")) in ForceArbitraryInstResultType()
4417 errs() << Orig->getOperator()->getName() << ": Idxs = [ "; in CombineChildVariants()
4429 Orig->getOperator(), std::move(NewChildren), Orig->getNumTypes()); in CombineChildVariants()
4483 Record *Operator = N->getOperator(); in GatherChildrenOfAssociativeOpcode()
4492 if (N->getChild(0)->isLeaf() || N->getChild(0)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
4497 if (N->getChild(1)->isLeaf() || N->getChild(1)->getOperator() != Operator) in GatherChildrenOfAssociativeOpcode()
4511 if (N->isLeaf() || N->getOperator()->isSubClassOf("ComplexPattern")) { in GenerateVariantsOf()
4517 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(N->getOperator()); in GenerateVariantsOf()