reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
308 assert(!N->isLeaf() && "Not an operator?"); 310 if (N->getOperator()->isSubClassOf("ComplexPattern")) { 314 std::string PatternName = N->getOperator()->getName(); 315 for (unsigned i = 0; i < N->getNumChildren(); ++i) { 317 PatternName += N->getChild(i)->getName(); 321 auto NodeAndOpNum = std::make_pair(N, NextRecordedOperandNo - 1); 328 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N->getOperator()); 340 if ((N->getOperator()->getName() == "and" || 341 N->getOperator()->getName() == "or") && 342 N->getChild(1)->isLeaf() && N->getChild(1)->getPredicateCalls().empty() && 342 N->getChild(1)->isLeaf() && N->getChild(1)->getPredicateCalls().empty() && 343 N->getPredicateCalls().empty()) { 344 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { 349 if (N == Pattern.getSrcPattern()) 353 if (N->getOperator()->getName() == "and") 360 EmitMatchCode(N->getChild(0), NodeNoTypes->getChild(0), ForceMode); 372 if (N->NodeHasProperty(SDNPMemOperand, CGP)) 378 if (N->NodeHasProperty(SDNPHasChain, CGP)) { 380 AddMatcher(new RecordMatcher("'" + N->getOperator()->getName().str() + 412 if (N != Root) { // Not the root of the pattern. 415 bool NeedCheck = !Root->hasChild(N); 439 if (N->NodeHasProperty(SDNPOutGlue, CGP) && 440 N != Pattern.getSrcPattern()) { 444 AddMatcher(new RecordMatcher("'" + N->getOperator()->getName().str() + 451 if (N->NodeHasProperty(SDNPOptInGlue, CGP) || 452 N->NodeHasProperty(SDNPInGlue, CGP)) 455 for (unsigned i = 0, e = N->getNumChildren(); i != e; ++i, ++OpNo) { 459 EmitMatchCode(N->getChild(i), NodeNoTypes->getChild(i), ForceMode);