Home
last modified time | relevance | path

Searched refs:TreePredicateFn (Results 1 – 6 of 6) sorted by relevance

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h271 class TreePredicateFn {
277 TreePredicateFn(TreePattern *N);
297 bool operator==(const TreePredicateFn &RHS) const {
301 bool operator!=(const TreePredicateFn &RHS) const { return !(*this == RHS); }
342 std::vector<TreePredicateFn> PredicateFns;
405 const std::vector<TreePredicateFn> &getPredicateFns() const { in getPredicateFns()
409 void setPredicateFns(const std::vector<TreePredicateFn> &Fns) { in setPredicateFns()
413 void addPredicateFn(const TreePredicateFn &Fn) { in addPredicateFn()
DFastISelEmitter.cpp49 std::vector<TreePredicateFn> PredsByName;
52 unsigned getIDFor(TreePredicateFn Pred) { in getIDFor()
61 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate()
66 typedef std::vector<TreePredicateFn>::const_iterator iterator;
159 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
202 TreePredicateFn PredFn = Op->getPredicateFns()[0]; in initialize()
DDAGISelMatcher.cpp97 CheckPredicateMatcher::CheckPredicateMatcher(const TreePredicateFn &pred) in CheckPredicateMatcher()
100 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate()
101 return TreePredicateFn(Pred); in getPredicate()
DDAGISelMatcherEmitter.cpp39 std::vector<TreePredicateFn> NodePredicates;
69 unsigned getNodePredicate(TreePredicateFn Pred) { in getNodePredicate()
278 TreePredicateFn Pred = cast<CheckPredicateMatcher>(N)->getPredicate(); in EmitMatcher()
653 TreePredicateFn PredFn = NodePredicates[i]; in EmitPredicateFunctions()
659 OS << " // " << TreePredicateFn(SimilarPred).getFnName() <<'\n'; in EmitPredicateFunctions()
DCodeGenDAGPatterns.cpp751 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn() function in TreePredicateFn
756 std::string TreePredicateFn::getPredCode() const { in getPredCode()
760 std::string TreePredicateFn::getImmCode() const { in getImmCode()
766 bool TreePredicateFn::isAlwaysTrue() const { in isAlwaysTrue()
772 std::string TreePredicateFn::getFnName() const { in getFnName()
780 std::string TreePredicateFn::getCodeToRunOnSDNode() const { in getCodeToRunOnSDNode()
1296 for (const TreePredicateFn &Pred : PredicateFns) in print()
1440 TreePredicateFn PredFn(Frag); in InlinePatternFragments()
1459 for (const TreePredicateFn &Pred : getPredicateFns()) in InlinePatternFragments()
2522 TreePredicateFn PredFn(P); in ParsePatternFragments()
DDAGISelMatcher.h28 class TreePredicateFn; variable
458 CheckPredicateMatcher(const TreePredicateFn &pred);
460 TreePredicateFn getPredicate() const;