Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenDAGPatterns.h246 class TreePredicateFn {
252 TreePredicateFn(TreePattern *N);
272 bool operator==(const TreePredicateFn &RHS) const {
276 bool operator!=(const TreePredicateFn &RHS) const { return !(*this == RHS); }
317 std::vector<TreePredicateFn> PredicateFns;
379 const std::vector<TreePredicateFn> &getPredicateFns() const { in getPredicateFns()
383 void setPredicateFns(const std::vector<TreePredicateFn> &Fns) { in setPredicateFns()
387 void addPredicateFn(const TreePredicateFn &Fn) { in addPredicateFn()
DFastISelEmitter.cpp45 std::vector<TreePredicateFn> PredsByName;
48 unsigned getIDFor(TreePredicateFn Pred) { in getIDFor()
57 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate()
62 typedef std::vector<TreePredicateFn>::const_iterator iterator;
153 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
195 TreePredicateFn PredFn = Op->getPredicateFns()[0]; in initialize()
DDAGISelMatcher.cpp86 CheckPredicateMatcher::CheckPredicateMatcher(const TreePredicateFn &pred) in CheckPredicateMatcher()
89 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate()
90 return TreePredicateFn(Pred); in getPredicate()
DDAGISelMatcherEmitter.cpp38 std::vector<TreePredicateFn> NodePredicates;
64 unsigned getNodePredicate(TreePredicateFn Pred) { in getNodePredicate()
254 TreePredicateFn Pred = cast<CheckPredicateMatcher>(N)->getPredicate(); in EmitMatcher()
625 TreePredicateFn PredFn = NodePredicates[i]; in EmitPredicateFunctions()
DCodeGenDAGPatterns.cpp626 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn() function in TreePredicateFn
631 std::string TreePredicateFn::getPredCode() const { in getPredCode()
635 std::string TreePredicateFn::getImmCode() const { in getImmCode()
641 bool TreePredicateFn::isAlwaysTrue() const { in isAlwaysTrue()
647 std::string TreePredicateFn::getFnName() const { in getFnName()
655 std::string TreePredicateFn::getCodeToRunOnSDNode() const { in getCodeToRunOnSDNode()
1209 TreePredicateFn PredFn(Frag); in InlinePatternFragments()
2144 TreePredicateFn PredFn(P); in ParsePatternFragments()
DDAGISelMatcher.h28 class TreePredicateFn; variable
426 CheckPredicateMatcher(const TreePredicateFn &pred);
428 TreePredicateFn getPredicate() const;
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp827 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn() function in TreePredicateFn
833 bool TreePredicateFn::hasPredCode() const { in hasPredCode()
838 std::string TreePredicateFn::getPredCode() const { in getPredCode()
1039 bool TreePredicateFn::hasImmCode() const { in hasImmCode()
1043 std::string TreePredicateFn::getImmCode() const { in getImmCode()
1047 bool TreePredicateFn::immCodeUsesAPInt() const { in immCodeUsesAPInt()
1051 bool TreePredicateFn::immCodeUsesAPFloat() const { in immCodeUsesAPFloat()
1058 bool TreePredicateFn::isPredefinedPredicateEqualTo(StringRef Field, in isPredefinedPredicateEqualTo()
1067 bool TreePredicateFn::isLoad() const { in isLoad()
1070 bool TreePredicateFn::isStore() const { in isStore()
[all …]
DCodeGenDAGPatterns.h458 class TreePredicateFn {
464 TreePredicateFn(TreePattern *N);
483 bool operator==(const TreePredicateFn &RHS) const {
487 bool operator!=(const TreePredicateFn &RHS) const { return !(*this == RHS); }
594 std::vector<TreePredicateFn> PredicateFns;
666 const std::vector<TreePredicateFn> &getPredicateFns() const { in getPredicateFns()
670 void setPredicateFns(const std::vector<TreePredicateFn> &Fns) { in setPredicateFns()
674 void addPredicateFn(const TreePredicateFn &Fn) { in addPredicateFn()
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->getPredicateFns()[0]; in initialize()
DDAGISelMatcher.cpp96 CheckPredicateMatcher::CheckPredicateMatcher(const TreePredicateFn &pred) in CheckPredicateMatcher()
99 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate()
100 return TreePredicateFn(Pred); in getPredicate()
DDAGISelMatcherEmitter.cpp52 std::vector<TreePredicateFn> NodePredicates;
98 unsigned getNodePredicate(TreePredicateFn Pred) { in getNodePredicate()
398 TreePredicateFn Pred = cast<CheckPredicateMatcher>(N)->getPredicate(); in EmitMatcher()
811 TreePredicateFn PredFn = NodePredicates[i]; in EmitPredicateFunctions()
817 OS << " // " << TreePredicateFn(SimilarPred).getFnName() <<'\n'; in EmitPredicateFunctions()
DDAGISelMatcher.h28 class TreePredicateFn; variable
418 CheckPredicateMatcher(const TreePredicateFn &pred);
420 TreePredicateFn getPredicate() const;
DGlobalISelEmitter.cpp86 std::string getEnumNameForPredicate(const TreePredicateFn &Predicate) { in getEnumNameForPredicate()
94 std::string getMatchOpcodeForPredicate(const TreePredicateFn &Predicate) { in getMatchOpcodeForPredicate()
1674 TreePredicateFn Predicate;
1678 const TreePredicateFn &Predicate) in InstructionImmPredicateMatcher()
1829 TreePredicateFn Predicate;
1833 TreePredicateFn Predicate) in GenericInstructionPredicateMatcher()
/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;