Searched refs:PredFn (Results 1 – 9 of 9) sorted by relevance
153 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate() local157 << getEnumName(PredFn.getOrigPatFragRecord()->getTree(0)->getType(0)) in emitImmediatePredicate()161 OS << PredFn.getFnName() << "(imm" << i <<')'; in emitImmediatePredicate()195 TreePredicateFn PredFn = Op->getPredicateFns()[0]; in initialize() local200 !PredFn.isImmediatePattern()) in initialize()206 Record *Rec = PredFn.getOrigPatFragRecord()->getRecord(); in initialize()210 PredNo = ImmediatePredicates.getIDFor(PredFn)+1; in initialize()
625 TreePredicateFn PredFn = NodePredicates[i]; in EmitPredicateFunctions() local627 assert(!PredFn.isAlwaysTrue() && "No code in this predicate"); in EmitPredicateFunctions()630 OS << PredFn.getCodeToRunOnSDNode() << "\n }\n"; in EmitPredicateFunctions()
1209 TreePredicateFn PredFn(Frag); in InlinePatternFragments() local1210 if (!PredFn.isAlwaysTrue()) in InlinePatternFragments()1211 FragTree->addPredicateFn(PredFn); in InlinePatternFragments()2144 TreePredicateFn PredFn(P); in ParsePatternFragments() local2145 if (!PredFn.isAlwaysTrue()) in ParsePatternFragments()2146 P->getOnlyTree()->addPredicateFn(PredFn); in ParsePatternFragments()
159 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate() local163 << getEnumName(PredFn.getOrigPatFragRecord()->getTree(0)->getType(0)) in emitImmediatePredicate()167 OS << PredFn.getFnName() << "(imm" << i <<')'; in emitImmediatePredicate()202 TreePredicateFn PredFn = Op->getPredicateFns()[0]; in initialize() local207 !PredFn.isImmediatePattern()) in initialize()213 Record *Rec = PredFn.getOrigPatFragRecord()->getRecord(); in initialize()217 PredNo = ImmediatePredicates.getIDFor(PredFn)+1; in initialize()
658 TreePredicateFn PredFn = NodePredicates[i]; in EmitPredicateFunctions() local660 assert(!PredFn.isAlwaysTrue() && "No code in this predicate"); in EmitPredicateFunctions()663 NodePredicatesByCodeToRun[PredFn.getCodeToRunOnSDNode()]) in EmitPredicateFunctions()666 OS << PredFn.getCodeToRunOnSDNode() << "\n }\n"; in EmitPredicateFunctions()
1440 TreePredicateFn PredFn(Frag); in InlinePatternFragments() local1441 if (!PredFn.isAlwaysTrue()) in InlinePatternFragments()1442 FragTree->addPredicateFn(PredFn); in InlinePatternFragments()2522 TreePredicateFn PredFn(P); in ParsePatternFragments() local2523 if (!PredFn.isAlwaysTrue()) in ParsePatternFragments()2524 P->getOnlyTree()->addPredicateFn(PredFn); in ParsePatternFragments()
169 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate() local172 TreePattern *TP = PredFn.getOrigPatFragRecord(); in emitImmediatePredicate()178 OS << PredFn.getFnName() << "(imm" << i <<')'; in emitImmediatePredicate()213 TreePredicateFn PredFn = Op->getPredicateFns()[0]; in initialize() local218 !PredFn.isImmediatePattern()) in initialize()224 Record *Rec = PredFn.getOrigPatFragRecord()->getRecord(); in initialize()228 PredNo = ImmediatePredicates.getIDFor(PredFn)+1; in initialize()
811 TreePredicateFn PredFn = NodePredicates[i]; in EmitPredicateFunctions() local813 assert(!PredFn.isAlwaysTrue() && "No code in this predicate"); in EmitPredicateFunctions()816 NodePredicatesByCodeToRun[PredFn.getCodeToRunOnSDNode()]) in EmitPredicateFunctions()819 OS << PredFn.getCodeToRunOnSDNode() << "\n }\n"; in EmitPredicateFunctions()
1955 TreePredicateFn PredFn(Frag); in InlinePatternFragments() local1956 if (!PredFn.isAlwaysTrue()) in InlinePatternFragments()1957 FragTree->addPredicateFn(PredFn); in InlinePatternFragments()3037 TreePredicateFn PredFn(P); in ParsePatternFragments() local3038 if (!PredFn.isAlwaysTrue()) in ParsePatternFragments()3040 T->addPredicateFn(PredFn); in ParsePatternFragments()