reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/TableGen/CodeGenDAGPatterns.cpp
 2759   if (Operator->isSubClassOf("ValueType")) {
 2771     New->UpdateNodeType(0, getValueTypeByHwMode(Operator, CGH), *this);
 2779   if (!Operator->isSubClassOf("PatFrags") &&
 2780       !Operator->isSubClassOf("SDNode") &&
 2781       !Operator->isSubClassOf("Instruction") &&
 2782       !Operator->isSubClassOf("SDNodeXForm") &&
 2783       !Operator->isSubClassOf("Intrinsic") &&
 2784       !Operator->isSubClassOf("ComplexPattern") &&
 2785       Operator->getName() != "set" &&
 2786       Operator->getName() != "implicit")
 2787     error("Unrecognized node '" + Operator->getName() + "'!");
 2791     if (Operator->isSubClassOf("Instruction") ||
 2792         Operator->isSubClassOf("SDNodeXForm"))
 2793       error("Cannot use '" + Operator->getName() + "' in an input pattern!");
 2795     if (Operator->isSubClassOf("Intrinsic"))
 2796       error("Cannot use '" + Operator->getName() + "' in an output pattern!");
 2798     if (Operator->isSubClassOf("SDNode") &&
 2799         Operator->getName() != "imm" &&
 2800         Operator->getName() != "timm" &&
 2801         Operator->getName() != "fpimm" &&
 2802         Operator->getName() != "tglobaltlsaddr" &&
 2803         Operator->getName() != "tconstpool" &&
 2804         Operator->getName() != "tjumptable" &&
 2805         Operator->getName() != "tframeindex" &&
 2806         Operator->getName() != "texternalsym" &&
 2807         Operator->getName() != "tblockaddress" &&
 2808         Operator->getName() != "tglobaladdr" &&
 2809         Operator->getName() != "bb" &&
 2810         Operator->getName() != "vt" &&
 2811         Operator->getName() != "mcsym")
 2812       error("Cannot use '" + Operator->getName() + "' in an output pattern!");
 2823   unsigned NumResults = GetNumNodeResults(Operator, CDP);
 2828   if (Operator->isSubClassOf("Intrinsic")) {
 2829     const CodeGenIntrinsic &Int = getDAGPatterns().getIntrinsic(Operator);
 2830     unsigned IID = getDAGPatterns().getIntrinsicID(Operator)+1;
 2835       Operator = getDAGPatterns().get_intrinsic_void_sdnode();
 2838       Operator = getDAGPatterns().get_intrinsic_w_chain_sdnode();
 2840       Operator = getDAGPatterns().get_intrinsic_wo_chain_sdnode();
 2846   if (Operator->isSubClassOf("ComplexPattern")) {
 2856       auto OperandId = std::make_pair(Operator, i);
 2868       std::make_shared<TreePatternNode>(Operator, std::move(Children),