Home
last modified time | relevance | path

Searched refs:TreePredicateFn (Results 1 – 13 of 13) 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()
285 TreePredicateFn Pred = cast<CheckPredicateMatcher>(N)->getPredicate(); in EmitMatcher()
658 TreePredicateFn PredFn = NodePredicates[i]; in EmitPredicateFunctions()
664 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
418 CheckPredicateMatcher(const TreePredicateFn &pred);
420 TreePredicateFn getPredicate() const;
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp864 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn() function in TreePredicateFn
870 bool TreePredicateFn::hasPredCode() const { in hasPredCode()
875 std::string TreePredicateFn::getPredCode() const { in getPredCode()
1107 bool TreePredicateFn::hasImmCode() const { in hasImmCode()
1111 std::string TreePredicateFn::getImmCode() const { in getImmCode()
1116 bool TreePredicateFn::immCodeUsesAPInt() const { in immCodeUsesAPInt()
1120 bool TreePredicateFn::immCodeUsesAPFloat() const { in immCodeUsesAPFloat()
1127 bool TreePredicateFn::isPredefinedPredicateEqualTo(StringRef Field, in isPredefinedPredicateEqualTo()
1136 bool TreePredicateFn::usesOperands() const { in usesOperands()
1139 bool TreePredicateFn::isLoad() const { in isLoad()
[all …]
DDAGISelMatcherEmitter.cpp54 std::vector<TreePredicateFn> NodePredicates;
55 std::vector<TreePredicateFn> NodePredicatesWithOperands;
101 void EmitNodePredicatesFunction(const std::vector<TreePredicateFn> &Preds,
109 unsigned getNodePredicate(TreePredicateFn Pred) { in getNodePredicate()
128 assert(TreePredicateFn(SameCodePreds.front()).usesOperands() == in getNodePredicate()
473 TreePredicateFn Pred = cast<CheckPredicateMatcher>(N)->getPredicate(); in EmitMatcher()
877 const std::vector<TreePredicateFn> &Preds, StringRef Decl, in EmitNodePredicatesFunction()
888 const TreePredicateFn PredFn = Preds[i]; in EmitNodePredicatesFunction()
894 OS << " // " << TreePredicateFn(SimilarPred).getFnName() <<'\n'; in EmitNodePredicatesFunction()
DFastISelEmitter.cpp59 std::vector<TreePredicateFn> PredsByName;
62 unsigned getIDFor(TreePredicateFn Pred) { in getIDFor()
71 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate()
76 typedef std::vector<TreePredicateFn>::const_iterator iterator;
169 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
213 TreePredicateFn PredFn = Op->getPredicateCalls()[0].Fn; in initialize()
DDAGISelMatcher.cpp96 const TreePredicateFn &pred, const SmallVectorImpl<unsigned> &Ops) in CheckPredicateMatcher()
100 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate()
101 return TreePredicateFn(Pred); in getPredicate()
DCodeGenDAGPatterns.h490 class TreePredicateFn {
496 TreePredicateFn(TreePattern *N);
515 bool operator==(const TreePredicateFn &RHS) const {
519 bool operator!=(const TreePredicateFn &RHS) const { return !(*this == RHS); }
612 TreePredicateFn Fn;
618 TreePredicateCall(const TreePredicateFn &Fn, unsigned Scope) in TreePredicateCall()
757 void addPredicateCall(const TreePredicateFn &Fn, unsigned Scope) { in addPredicateCall()
DDAGISelMatcher.h27 class TreePredicateFn; variable
430 CheckPredicateMatcher(const TreePredicateFn &pred,
433 TreePredicateFn getPredicate() const;
DGlobalISelEmitter.cpp85 std::string getEnumNameForPredicate(const TreePredicateFn &Predicate) { in getEnumNameForPredicate()
93 std::string getMatchOpcodeForPredicate(const TreePredicateFn &Predicate) { in getMatchOpcodeForPredicate()
207 const TreePredicateFn &P = Call.Fn; in explainPredicates()
313 const TreePredicateFn &Predicate = Call.Fn; in isTrivialOperatorNode()
1906 TreePredicateFn Predicate;
1910 const TreePredicateFn &Predicate) in InstructionImmPredicateMatcher()
2167 TreePredicateFn Predicate;
2171 TreePredicateFn Predicate) in GenericInstructionPredicateMatcher()
3629 const TreePredicateFn &Predicate,
3708 const TreePredicateFn &Predicate = Call.Fn; in getEquivNode()
[all …]