Home
last modified time | relevance | path

Searched refs:getNumTypes (Results 1 – 5 of 5) sorted by relevance

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp844 if (!Child->isLeaf() && Child->getNumTypes() && in getPatternSize()
1230 return PFRec->getOnlyTree()->getNumTypes(); in GetNumNodeResults()
1347 New = new TreePatternNode(getLeafValue(), getNumTypes()); in clone()
1353 New = new TreePatternNode(getOperator(), CChildren, getNumTypes()); in clone()
1747 assert(getNumTypes() == 0 && "Set doesn't produce a value"); in ApplyTypeConstraints()
1766 assert(getNumTypes() == 0 && "Node doesn't produce a value"); in ApplyTypeConstraints()
1798 assert(getChild(i+1)->getNumTypes() == 1 && "Unhandled case"); in ApplyTypeConstraints()
1852 assert(getChild(0)->getNumTypes() == 1 && "FIXME: Unhandled"); in ApplyTypeConstraints()
2153 assert(New->getNumTypes() == 1 && "FIXME: Unhandled"); in ParseTreePattern()
2335 assert(Node->getNumTypes() == 1 && in InferAllTypes()
[all …]
DDAGISelEmitter.cpp86 MVT LHSVT = (LHSSrc->getNumTypes() != 0 ? LHSSrc->getType(0) : MVT::Other); in operator ()()
87 MVT RHSVT = (RHSSrc->getNumTypes() != 0 ? RHSSrc->getType(0) : MVT::Other); in operator ()()
DFastISelEmitter.cpp231 if (!Op->getPredicateFns().empty() || Op->getNumTypes() != 1) in initialize()
508 if (InstPatNode->getNumTypes() > 1) continue; in collectPatterns()
513 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getType(0); in collectPatterns()
516 assert(InstPatNode->getChild(0)->getNumTypes() == 1); in collectPatterns()
DDAGISelMatcherGen.cpp465 for (unsigned i = 0, e = NodeNoTypes->getNumTypes(); i != e; ++i) { in EmitMatchCode()
836 for (unsigned i = 0, e = N->getNumTypes(); i != e; ++i) in EmitResultInstructionAsOperand()
959 unsigned NumSrcResults = Pattern.getSrcPattern()->getNumTypes(); in EmitResultCode()
DCodeGenDAGPatterns.h368 unsigned getNumTypes() const { return Types.size(); } in getNumTypes() function