Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
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 ()()
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 …]
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
/external/llvm-project/llvm/utils/TableGen/
DDAGISelEmitter.cpp86 MVT LHSVT = LT->getNumTypes() != 0 ? LT->getSimpleType(0) : MVT::Other; in operator ()()
87 MVT RHSVT = RT->getNumTypes() != 0 ? RT->getSimpleType(0) : MVT::Other; in operator ()()
DCodeGenDAGPatterns.cpp1395 if (!Child->isLeaf() && Child->getNumTypes()) { in getPatternSize()
1795 NumResults = std::max(NumResults, T->getNumTypes()); in GetNumNodeResults()
1926 New = std::make_shared<TreePatternNode>(getLeafValue(), getNumTypes()); in clone()
1933 getNumTypes()); in clone()
2032 getOperator(), std::move(NewChildren), getNumTypes()); in InlinePatternFragments()
2039 for (unsigned i = 0, e = getNumTypes(); i != e; ++i) in InlinePatternFragments()
2104 for (unsigned i = 0, e = FragTree->getNumTypes(); i != e; ++i) in InlinePatternFragments()
2437 assert(getChild(i+1)->getNumTypes() == 1 && "Unhandled case"); in ApplyTypeConstraints()
2492 assert(getChild(0)->getNumTypes() == 1 && "FIXME: Unhandled"); in ApplyTypeConstraints()
2805 assert(New->getNumTypes() == 1 && "FIXME: Unhandled"); in ParseTreePattern()
[all …]
DFastISelEmitter.cpp238 if (!Op->getPredicateCalls().empty() || Op->getNumTypes() != 1) in initialize()
518 if (InstPatNode->getNumTypes() > 1) continue; in collectPatterns()
523 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getSimpleType(0); in collectPatterns()
526 assert(InstPatNode->getChild(0)->getNumTypes() == 1); in collectPatterns()
DDAGISelMatcherGen.cpp507 for (unsigned i = 0, e = NodeNoTypes->getNumTypes(); i != e; ++i) { in EmitMatchCode()
908 for (unsigned i = 0, e = N->getNumTypes(); i != e; ++i) in EmitResultInstructionAsOperand()
1050 unsigned NumSrcResults = Pattern.getSrcPattern()->getNumTypes(); in EmitResultCode()
DCodeGenDAGPatterns.h695 unsigned getNumTypes() const { return Types.size(); } in getNumTypes() function
DGlobalISelEmitter.cpp4928 if (N->getNumTypes() != 1) in inferRegClassFromPattern()
4956 assert(Child0->getNumTypes() == 1 && "Unexpected number of types!"); in inferRegClassFromPattern()
4961 assert(N->getNumTypes() == 1 && "Unexpected number of types!"); in inferRegClassFromPattern()