Searched refs:PredFn (Results 1 – 10 of 10) sorted by relevance
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->getPredicateCalls()[0].Fn; in initialize() local218 !PredFn.isImmediatePattern() || PredFn.usesOperands()) in initialize()224 Record *Rec = PredFn.getOrigPatFragRecord()->getRecord(); in initialize()228 PredNo = ImmediatePredicates.getIDFor(PredFn)+1; in initialize()
888 const TreePredicateFn PredFn = Preds[i]; in EmitNodePredicatesFunction() local890 assert(!PredFn.isAlwaysTrue() && "No code in this predicate"); in EmitNodePredicatesFunction()893 NodePredicatesByCodeToRun[PredFn.getCodeToRunOnSDNode()]) in EmitNodePredicatesFunction()896 OS << PredFn.getCodeToRunOnSDNode() << "\n }\n"; in EmitNodePredicatesFunction()
2074 TreePredicateFn PredFn(Frag); in InlinePatternFragments() local2094 if (!PredFn.isAlwaysTrue()) in InlinePatternFragments()2095 FragTree->addPredicateCall(PredFn, Scope); in InlinePatternFragments()
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()
1060 template <typename PredFn = decltype(includeAllBlocks)>1061 Error addBlock(Block &B, PredFn Pred = includeAllBlocks) {1095 typename PredFn = decltype(includeAllBlocks)>1096 Error addBlocks(BlockPtrRange &&Blocks, PredFn Pred = includeAllBlocks) {
1035 template <typename PredFn = decltype(includeAllBlocks)>1036 Error addBlock(Block &B, PredFn Pred = includeAllBlocks) {1070 typename PredFn = decltype(includeAllBlocks)>1071 Error addBlocks(BlockPtrRange &&Blocks, PredFn Pred = includeAllBlocks) {
187 template <typename PredFn> void remove_if(PredFn &&Pred) { in remove_if()
253 template <typename PredFn> void remove_if(PredFn &&Pred) { in remove_if()