Home
last modified time | relevance | path

Searched refs:OpsList (Results 1 – 2 of 2) sorted by relevance

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp2491 DagInit *OpsList = Frag->getValueAsDag("Operands"); in ParsePatternFragments() local
2492 DefInit *OpsOp = dyn_cast<DefInit>(OpsList->getOperator()); in ParsePatternFragments()
2503 for (unsigned j = 0, e = OpsList->getNumArgs(); j != e; ++j) { in ParsePatternFragments()
2504 if (!isa<DefInit>(OpsList->getArg(j)) || in ParsePatternFragments()
2505 cast<DefInit>(OpsList->getArg(j))->getDef()->getName() != "node") in ParsePatternFragments()
2507 if (OpsList->getArgName(j).empty()) in ParsePatternFragments()
2509 if (!OperandsSet.count(OpsList->getArgName(j))) in ParsePatternFragments()
2510 P->error("'" + OpsList->getArgName(j) + in ParsePatternFragments()
2512 OperandsSet.erase(OpsList->getArgName(j)); in ParsePatternFragments()
2513 Args.push_back(OpsList->getArgName(j)); in ParsePatternFragments()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp3170 DagInit *OpsList = Frag->getValueAsDag("Operands"); in ParsePatternFragments() local
3171 DefInit *OpsOp = dyn_cast<DefInit>(OpsList->getOperator()); in ParsePatternFragments()
3182 for (unsigned j = 0, e = OpsList->getNumArgs(); j != e; ++j) { in ParsePatternFragments()
3183 if (!isa<DefInit>(OpsList->getArg(j)) || in ParsePatternFragments()
3184 cast<DefInit>(OpsList->getArg(j))->getDef()->getName() != "node") in ParsePatternFragments()
3186 if (!OpsList->getArgName(j)) in ParsePatternFragments()
3188 StringRef ArgNameStr = OpsList->getArgNameStr(j); in ParsePatternFragments()