Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenDAGPatterns.cpp715 if (!Child->isLeaf() && Child->getNumTypes() && in getPatternSize()
1021 return PFRec->getOnlyTree()->getNumTypes(); in GetNumNodeResults()
1124 New = new TreePatternNode(getLeafValue(), getNumTypes()); in clone()
1130 New = new TreePatternNode(getOperator(), CChildren, getNumTypes()); in clone()
1432 assert(getNumTypes() == 0 && "Set doesn't produce a value"); in ApplyTypeConstraints()
1451 assert(getNumTypes() == 0 && "Node doesn't produce a value"); in ApplyTypeConstraints()
1464 assert(getChild(0)->getNumTypes() == 1 && in ApplyTypeConstraints()
1465 getChild(1)->getNumTypes() == 1 && "Unhandled case"); in ApplyTypeConstraints()
1500 assert(getChild(i+1)->getNumTypes() == 1 && "Unhandled case"); in ApplyTypeConstraints()
1570 assert(getChild(0)->getNumTypes() == 1 && "FIXME: Unhandled"); in ApplyTypeConstraints()
[all …]
DDAGISelEmitter.cpp72 if (LHSSrc->getNumTypes() != 0 && RHSSrc->getNumTypes() != 0 && in operator ()()
DFastISelEmitter.cpp224 if (!Op->getPredicateFns().empty() || Op->getNumTypes() != 1) in initialize()
484 if (InstPatNode->getNumTypes() > 1) continue; in collectPatterns()
489 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getType(0); in collectPatterns()
492 assert(InstPatNode->getChild(0)->getNumTypes() == 1); in collectPatterns()
DDAGISelMatcherGen.cpp416 for (unsigned i = 0, e = NodeNoTypes->getNumTypes(); i != e; ++i) { in EmitMatchCode()
769 for (unsigned i = 0, e = N->getNumTypes(); i != e; ++i) in EmitResultInstructionAsOperand()
894 unsigned NumSrcResults = Pattern.getSrcPattern()->getNumTypes(); in EmitResultCode()
DCodeGenDAGPatterns.h342 unsigned getNumTypes() const { return Types.size(); } in getNumTypes() function
/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
/external/swiftshader/third_party/llvm-7.0/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.cpp1280 if (!Child->isLeaf() && Child->getNumTypes()) { in getPatternSize()
1675 NumResults = std::max(NumResults, T->getNumTypes()); in GetNumNodeResults()
1800 New = std::make_shared<TreePatternNode>(getLeafValue(), getNumTypes()); in clone()
1807 getNumTypes()); in clone()
1905 getOperator(), std::move(NewChildren), getNumTypes()); in InlinePatternFragments()
1911 for (unsigned i = 0, e = getNumTypes(); i != e; ++i) in InlinePatternFragments()
1966 for (unsigned i = 0, e = FragTree->getNumTypes(); i != e; ++i) in InlinePatternFragments()
2298 assert(getChild(i+1)->getNumTypes() == 1 && "Unhandled case"); in ApplyTypeConstraints()
2353 assert(getChild(0)->getNumTypes() == 1 && "FIXME: Unhandled"); in ApplyTypeConstraints()
2648 assert(New->getNumTypes() == 1 && "FIXME: Unhandled"); in ParseTreePattern()
[all …]
DFastISelEmitter.cpp238 if (!Op->getPredicateFns().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.cpp469 for (unsigned i = 0, e = NodeNoTypes->getNumTypes(); i != e; ++i) { in EmitMatchCode()
800 for (unsigned i = 0, e = N->getNumTypes(); i != e; ++i) in EmitResultInstructionAsOperand()
942 unsigned NumSrcResults = Pattern.getSrcPattern()->getNumTypes(); in EmitResultCode()
DCodeGenDAGPatterns.h621 unsigned getNumTypes() const { return Types.size(); } in getNumTypes() function