Lines Matching defs:PatternEmitter
58 // PatternEmitter
65 class PatternEmitter {
67 PatternEmitter(const Record *pat, RecordOperatorMap *mapper, raw_ostream &os,
350 PatternEmitter::PatternEmitter(const Record *pat, RecordOperatorMap *mapper,
357 std::string PatternEmitter::handleConstantAttr(Attribute attr,
367 void PatternEmitter::emitStaticMatcher(DagNode tree, std::string funcName) {
395 void PatternEmitter::emitMatch(DagNode tree, StringRef name, int depth) {
409 void PatternEmitter::emitStaticMatchCall(DagNode tree, StringRef opName) {
440 void PatternEmitter::emitStaticVerifierCall(StringRef funcName,
450 void PatternEmitter::emitNativeCodeMatch(DagNode tree, StringRef opName,
561 void PatternEmitter::emitOpMatch(DagNode tree, StringRef opName, int depth) {
677 void PatternEmitter::emitOperandMatch(DagNode tree, StringRef opName,
727 void PatternEmitter::emitEitherOperandMatch(DagNode tree, DagNode eitherArgTree,
806 void PatternEmitter::emitVariadicOperandMatch(DagNode tree,
867 void PatternEmitter::emitAttributeMatch(DagNode tree, StringRef opName,
939 void PatternEmitter::emitMatchCheck(
945 void PatternEmitter::emitMatchCheck(StringRef opName,
955 void PatternEmitter::emitMatchLogic(DagNode tree, StringRef opName) {
1030 void PatternEmitter::collectOps(DagNode tree,
1046 void PatternEmitter::emit(StringRef rewriteName) {
1125 void PatternEmitter::emitRewriteLogic() {
1226 std::string PatternEmitter::getUniqueSymbol(const Operator *op) {
1231 std::string PatternEmitter::handleResultPattern(DagNode resultTree,
1261 std::string PatternEmitter::handleVariadic(DagNode tree, int depth) {
1284 StringRef PatternEmitter::handleReplaceWithValue(DagNode tree) {
1299 std::string PatternEmitter::handleLocationDirective(DagNode tree) {
1347 std::string PatternEmitter::handleReturnTypeArg(DagNode returnType, int i,
1365 std::string PatternEmitter::handleOpArgument(DagLeaf leaf,
1398 std::string PatternEmitter::handleReplaceWithNativeCodeCall(DagNode tree,
1465 int PatternEmitter::getNodeValueCount(DagNode node) {
1483 PatternEmitter::TrailingDirectives
1484 PatternEmitter::getTrailingDirectives(DagNode tree) {
1520 PatternEmitter::getLocation(PatternEmitter::TrailingDirectives &tail) {
1528 std::string PatternEmitter::handleOpCreation(DagNode tree, int resultIndex,
1691 void PatternEmitter::createSeparateLocalVarsForOpArgs(
1748 void PatternEmitter::supplyValuesForOpArgs(
1790 void PatternEmitter::createAggregateLocalVarsForOpArgs(
1894 // PatternEmitter will use the static matcher if there's one generated. To
1905 PatternEmitter(dagInfo.second, &opMap, os, *this)
1987 PatternEmitter(p, &recordOpMap, os, staticMatcher).emit(name);