reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

utils/TableGen/GlobalISelEmitter.cpp
 1130 class OperandPredicateMatcher : public PredicateMatcher {
 1621 class InstructionPredicateMatcher : public PredicateMatcher {

Declarations

utils/TableGen/GlobalISelEmitter.cpp
  651 class PredicateMatcher;

References

include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  669     swap(unique_ptr<_Tp, _Dp>& __x,
  670 	 unique_ptr<_Tp, _Dp>& __y) noexcept
  689     operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  706     operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1983     { typedef _Up     type; };
utils/TableGen/GlobalISelEmitter.cpp
  661   virtual const PredicateMatcher &getFirstCondition() const = 0;
  662   virtual std::unique_ptr<PredicateMatcher> popFirstCondition() = 0;
  676   SmallVector<std::unique_ptr<PredicateMatcher>, 1> Conditions;
  725   std::unique_ptr<PredicateMatcher> popFirstCondition() override {
  728     std::unique_ptr<PredicateMatcher> P = std::move(Conditions.front());
  732   const PredicateMatcher &getFirstCondition() const override {
  742   bool candidateConditionMatches(const PredicateMatcher &Predicate) const;
  755   std::unique_ptr<PredicateMatcher> Condition = nullptr;
  777   std::unique_ptr<PredicateMatcher> popFirstCondition() override {
  783   const PredicateMatcher &getFirstCondition() const override {
  790   static bool isSupportedPredicateType(const PredicateMatcher &Predicate);
  792   bool candidateConditionMatches(const PredicateMatcher &Predicate) const;
  795   static void emitPredicateSpecificOpcodes(const PredicateMatcher &P,
  846   std::vector<std::unique_ptr<PredicateMatcher>> EpilogueMatchers;
  957   std::unique_ptr<PredicateMatcher> popFirstCondition() override;
  958   const PredicateMatcher &getFirstCondition() const override;
  988   using PredicatesTy = std::deque<std::unique_ptr<PredicateTy>>;
 1014   std::unique_ptr<PredicateTy> predicates_pop_front() {
 1015     std::unique_ptr<PredicateTy> Front = std::move(Predicates.front());
 1021   void prependPredicate(std::unique_ptr<PredicateTy> &&Predicate) {
 1104   virtual bool isIdentical(const PredicateMatcher &B) const {
 1109   virtual bool isIdenticalDownToValue(const PredicateMatcher &B) const {
 1130 class OperandPredicateMatcher : public PredicateMatcher {
 1159   static bool classof(const PredicateMatcher *P) {
 1166   bool isIdentical(const PredicateMatcher &B) const override {
 1193   static bool classof(const PredicateMatcher *P) {
 1196   bool isIdentical(const PredicateMatcher &B) const override {
 1268   bool isIdentical(const PredicateMatcher &B) const override { return false; }
 1276   static bool classof(const PredicateMatcher *P) {
 1306   bool isIdentical(const PredicateMatcher &B) const override {
 1311   static bool classof(const PredicateMatcher *P) {
 1332   static bool classof(const PredicateMatcher *P) {
 1349   static bool classof(const PredicateMatcher *P) {
 1371   bool isIdentical(const PredicateMatcher &B) const override {
 1376   static bool classof(const PredicateMatcher *P) {
 1400   bool isIdentical(const PredicateMatcher &B) const override {
 1405   static bool classof(const PredicateMatcher *P) {
 1428   bool isIdentical(const PredicateMatcher &B) const override {
 1433   static bool classof(const PredicateMatcher *P) {
 1458   bool isIdentical(const PredicateMatcher &B) const override {
 1463   static bool classof(const PredicateMatcher *P) {
 1621 class InstructionPredicateMatcher : public PredicateMatcher {
 1661   static bool classof(const PredicateMatcher *P) {
 1665   bool isIdentical(const PredicateMatcher &B) const override {
 1728   static bool classof(const PredicateMatcher *P) {
 1732   bool isIdentical(const PredicateMatcher &B) const override {
 1782   bool isIdentical(const PredicateMatcher &B) const override {
 1789   static bool classof(const PredicateMatcher *P) {
 1823   static bool classof(const PredicateMatcher *P) {
 1827   bool isIdentical(const PredicateMatcher &B) const override {
 1861   static bool classof(const PredicateMatcher *P) {
 1864   bool isIdentical(const PredicateMatcher &B) const override {
 1891   static bool classof(const PredicateMatcher *P) {
 1894   bool isIdentical(const PredicateMatcher &B) const override {
 1929   static bool classof(const PredicateMatcher *P) {
 1933   bool isIdentical(const PredicateMatcher &B) const override {
 1972   static bool classof(const PredicateMatcher *P) {
 1975   bool isIdentical(const PredicateMatcher &B) const override {
 2010   bool isIdentical(const PredicateMatcher &B) const override {
 2032 class InstructionMatcher final : public PredicateListMatcher<PredicateMatcher> {
 2233   static bool classof(const PredicateMatcher *P) {
 2271   SmallVector<std::unique_ptr<PredicateMatcher>, 8> Stash;
 5366 const PredicateMatcher &RuleMatcher::getFirstCondition() const {
 5384 std::unique_ptr<PredicateMatcher> RuleMatcher::popFirstCondition() {
 5396         std::unique_ptr<PredicateMatcher> Result = std::move(OP);
 5406     const PredicateMatcher &Predicate) const {
 5420   const auto &RepresentativeCondition = Representative.getFirstCondition();
 5430   const PredicateMatcher &Predicate = Candidate.getFirstCondition();
 5449     const auto &FirstCondition = FirstRule.getFirstCondition();
 5481 bool SwitchMatcher::isSupportedPredicateType(const PredicateMatcher &P) {
 5486     const PredicateMatcher &Predicate) const {
 5508   const auto &RepresentativeCondition = CaseRepresentative.getFirstCondition();
 5523   const PredicateMatcher &Predicate = Candidate.getFirstCondition();
 5549 void SwitchMatcher::emitPredicateSpecificOpcodes(const PredicateMatcher &P,