Searched refs:PredFn (Results 1 – 6 of 6) sorted by relevance
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()
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()