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

Declarations

include/llvm/Target/TargetMachine.h
   40 class SMRange;

References

include/llvm/ADT/ArrayRef.h
   43     using iterator = const T *;
   44     using const_iterator = const T *;
   50     const T *Data = nullptr;
   66     /*implicit*/ ArrayRef(const T &OneElt)
   70     /*implicit*/ ArrayRef(const T *data, size_t length)
   74     ArrayRef(const T *begin, const T *end)
   74     ArrayRef(const T *begin, const T *end)
   81     /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec)
   87     /*implicit*/ ArrayRef(const std::vector<T, A> &Vec)
   92     /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr)
   97     /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {}
  100     /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec)
  145     const T *data() const { return Data; }
  151     const T &front() const {
  157     const T &back() const {
  163     template <typename Allocator> ArrayRef<T> copy(Allocator &A) {
  178     ArrayRef<T> slice(size_t N, size_t M) const {
  184     ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); }
  187     ArrayRef<T> drop_front(size_t N = 1) const {
  193     ArrayRef<T> drop_back(size_t N = 1) const {
  200     template <class PredicateT> ArrayRef<T> drop_while(PredicateT Pred) const {
  206     template <class PredicateT> ArrayRef<T> drop_until(PredicateT Pred) const {
  211     ArrayRef<T> take_front(size_t N = 1) const {
  218     ArrayRef<T> take_back(size_t N = 1) const {
  226     template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const {
  232     template <class PredicateT> ArrayRef<T> take_until(PredicateT Pred) const {
  239     const T &operator[](size_t Index) const {
  249     typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
  257     typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
  263     std::vector<T> vec() const {
  270     operator std::vector<T>() const {
include/llvm/CodeGen/MIRYamlMapping.h
   36   SMRange SourceRange;
  102   SMRange SourceRange;
include/llvm/MC/MCAsmMacro.h
   87   SMRange getLocRange() const;
include/llvm/MC/MCParser/MCAsmParser.h
  118     SMRange Range;
  180   virtual void Note(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
  185   virtual bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
  192   bool Error(SMLoc L, const Twine &Msg, SMRange Range = None);
  198   virtual bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) = 0;
  223   bool TokError(const Twine &Msg, SMRange Range = None);
include/llvm/MC/MCParser/MCAsmParserExtension.h
   74   bool Error(SMLoc L, const Twine &Msg, SMRange Range = SMRange()) {
include/llvm/Support/FileCheck.h
  131                 SMLoc CheckLoc, MatchType MatchTy, SMRange InputRange);
include/llvm/Support/SourceMgr.h
  193                     ArrayRef<SMRange> Ranges = None,
  199                     ArrayRef<SMRange> Ranges = None,
  216                           ArrayRef<SMRange> Ranges = None,
  230   SMRange Range;
  242   SMFixIt(SMRange R, const Twine &Replacement)
  248   SMRange getRange() const { return Range; }
include/llvm/Support/YAMLParser.h
  159   SMRange getSourceRange() const { return SourceRange; }
  160   void setSourceRange(SMRange SR) { SourceRange = SR; }
  176   SMRange SourceRange;
include/llvm/TableGen/Record.h
 1439   SmallVector<std::pair<Record *, SMRange>, 0> SuperClasses;
 1509   ArrayRef<std::pair<Record *, SMRange>>  getSuperClasses() const {
 1582   void addSuperClass(Record *R, SMRange Range) {
include/llvm/Target/TargetMachine.h
  141                                         SMRange &SourceRange) const {
lib/CodeGen/MIRParser/MIRParser.cpp
   87   bool error(const SMDiagnostic &Error, SMRange SourceRange);
  149                                     SMRange SourceRange);
  154                                        SMRange SourceRange);
  188 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) {
  467     SMRange SrcRange;
  869                                                  SMRange SourceRange) {
  885                                                     SMRange SourceRange) {
lib/MC/MCParser/AsmParser.cpp
  228   void Note(SMLoc L, const Twine &Msg, SMRange Range = None) override;
  229   bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) override;
  230   bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) override;
  310                     SMRange Range = None) const {
  311     ArrayRef<SMRange> Ranges(Range);
  763 void AsmParser::Note(SMLoc L, const Twine &Msg, SMRange Range) {
  769 bool AsmParser::Warning(SMLoc L, const Twine &Msg, SMRange Range) {
  779 bool AsmParser::printError(SMLoc L, const Twine &Msg, SMRange Range) {
lib/MC/MCParser/MCAsmLexer.cpp
   35 SMRange AsmToken::getLocRange() const {
lib/MC/MCParser/MCAsmParser.cpp
   83 bool MCAsmParser::TokError(const Twine &Msg, SMRange Range) {
   87 bool MCAsmParser::Error(SMLoc L, const Twine &Msg, SMRange Range) {
lib/Support/FileCheck.cpp
  722                                           SMRange MatchRange) const {
  763 static SMRange ProcessMatchResult(FileCheckDiag::MatchType MatchTy,
  771   SMRange Range(Start, End);
  817     SMRange MatchRange =
  931                              SMRange InputRange)
 1304   SMRange MatchRange = ProcessMatchResult(
 1355   SMRange SearchRange = ProcessMatchResult(
 1687           SMRange OldRange(OldStart, OldEnd);
lib/Support/FileCheckImpl.h
  504                           SMRange MatchRange = None) const;
lib/Support/SourceMgr.cpp
  165                                    ArrayRef<SMRange> Ranges,
  198       SMRange R = Ranges[i];
  244                              const Twine &Msg, ArrayRef<SMRange> Ranges,
  250                              const Twine &Msg, ArrayRef<SMRange> Ranges,
  286     SMRange R = I->getRange();
lib/Support/YAMLParser.cpp
  266                   ArrayRef<SMRange> Ranges = None) {
lib/TableGen/Record.cpp
 1644     ArrayRef<std::pair<Record *, SMRange>> SCs = Class->getSuperClasses();
 2071   ArrayRef<std::pair<Record *, SMRange>> SCs = getSuperClasses();
 2143   ArrayRef<std::pair<Record *, SMRange>> SC = R.getSuperClasses();
lib/TableGen/SetTheory.cpp
  315   ArrayRef<std::pair<Record *, SMRange>> SC = Set->getSuperClasses();
lib/TableGen/TGParser.cpp
   37   SMRange RefRange;
   47   SMRange RefRange;
  276   ArrayRef<std::pair<Record *, SMRange>> SCs = SC->getSuperClasses();
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
 1016     SMDiagnostic &Error, SMRange &SourceRange) const {
lib/Target/AMDGPU/AMDGPUTargetMachine.h
  120                                 SMRange &SourceRange) const override;
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  707   SMRange getLocRange() const {
 1019   bool OutOfRangeError(SMRange Range);
 1038                           SMRange VGPRRange, unsigned NextFreeSGPR,
 1039                           SMRange SGPRRange, unsigned &VGPRBlocks,
 3589   SMRange TargetRange = SMRange(TargetStart, getTok().getLoc());
 3603 bool AMDGPUAsmParser::OutOfRangeError(SMRange Range) {
 3610     SMRange VGPRRange, unsigned NextFreeSGPR, SMRange SGPRRange,
 3610     SMRange VGPRRange, unsigned NextFreeSGPR, SMRange SGPRRange,
 3664   SMRange VGPRRange;
 3666   SMRange SGPRRange;
 3682     SMRange IDRange = getTok().getLocRange();
 3697     SMRange ValRange = SMRange(ValStart, ValEnd);
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  377   void Note(SMLoc L, const Twine &Msg, SMRange Range = None) {
  381   bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) {
  385   bool Error(SMLoc L, const Twine &Msg, SMRange Range = None) {
  870   SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  160                              SMRange Range, bool ShowColors = true);
 5804                                      SMRange Range, bool ShowColors) {
 5855     SMRange RegRange = RegTok.getLocRange();
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  244   SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
  291   SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  501     SMDiagnostic &Error, SMRange &SourceRange) const {
lib/Target/WebAssembly/WebAssemblyTargetMachine.h
   58                                 SMRange &SourceRange) const override;
lib/Target/X86/AsmParser/X86AsmParser.cpp
  804   bool Error(SMLoc L, const Twine &Msg, SMRange Range = None,
  815   std::nullptr_t ErrorOperand(SMLoc Loc, StringRef Msg, SMRange R = SMRange()) {
 3146   SMRange EmptyRange = None;
 3305         SMRange OperandRange = Operand.getLocRange();
 3353   SMRange EmptyRange = None;
lib/Target/X86/AsmParser/X86Operand.h
   93   SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 1309     ArrayRef<std::pair<Record*, SMRange>> Bases = Search->getSuperClasses();
 2253     ArrayRef<std::pair<Record *, SMRange>> Supers = R.getSuperClasses();
unittests/Support/SourceMgrTest.cpp
   35   SMRange getRange(unsigned Offset, unsigned Length) {
   40                     const Twine &Msg, ArrayRef<SMRange> Ranges,
  455   SMRange Ranges[] = { getRange(0, 3), getRange(4, 3) };
  466   SMRange Ranges[] = { getRange(0, 3), getRange(2, 4) };
usr/include/c++/7.4.0/bits/alloc_traits.h
  387       using allocator_type = allocator<_Tp>;
  389       using value_type = _Tp;
  392       using pointer = _Tp*;
  395       using const_pointer = const _Tp*;
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
usr/include/c++/7.4.0/bits/allocator.h
  108     class allocator: public __allocator_base<_Tp>
  113       typedef _Tp*       pointer;
  114       typedef const _Tp* const_pointer;
  115       typedef _Tp&       reference;
  116       typedef const _Tp& const_reference;
  117       typedef _Tp        value_type;
  137 	allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/stl_pair.h
  101 		      is_constructible<_T2, const _U2&>>::value;
  101 		      is_constructible<_T2, const _U2&>>::value;
  108 		      is_convertible<const _U2&, _T2>>::value;
  108 		      is_convertible<const _U2&, _T2>>::value;
  115 		      is_constructible<_T2, _U2&&>>::value;
  115 		      is_constructible<_T2, _U2&&>>::value;
  122 		      is_convertible<_U2&&, _T2>>::value;
  122 		      is_convertible<_U2&&, _T2>>::value;
  129 				  is_convertible<_U2&&, _T2>>;
  129 				  is_convertible<_U2&&, _T2>>;
  134 		      is_constructible<_T2, _U2&&>,
  134 		      is_constructible<_T2, _U2&&>,
  143 				  is_convertible<const _U2&, _T2>>;
  143 				  is_convertible<const _U2&, _T2>>;
  148 		      is_constructible<_T2, const _U2&&>,
  148 		      is_constructible<_T2, const _U2&&>,
  209     : private __pair_base<_T1, _T2>
  212       typedef _T2 second_type;   /// @c second_type is the second bound type
  215       _T2 second;                /// @c second is a copy of the second object
  252       using _PCCP = _PCC<true, _T1, _T2>;
  260       constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  283 			    _T1, _T2>;
  311        constexpr pair(_U1&& __x, const _T2& __y)
  318        explicit constexpr pair(_U1&& __x, const _T2& __y)
  325        constexpr pair(const _T1& __x, _U2&& __y)
  341 	constexpr pair(_U1&& __x, _U2&& __y)
  380 		       is_copy_assignable<_T2>>::value,
  391 		       is_move_assignable<_T2>>::value,
  403 				is_assignable<_T2&, const _U2&>>::value,
  403 				is_assignable<_T2&, const _U2&>>::value,
  405 	operator=(const pair<_U1, _U2>& __p)
  414 				is_assignable<_T2&, _U2&&>>::value,
  414 				is_assignable<_T2&, _U2&&>>::value,
  416 	operator=(pair<_U1, _U2>&& __p)
  524     make_pair(_T1&& __x, _T2&& __y)
usr/include/c++/7.4.0/bits/stl_vector.h
   77 	rebind<_Tp>::other _Tp_alloc_type;
  216     class vector : protected _Vector_base<_Tp, _Alloc>
  227       typedef _Vector_base<_Tp, _Alloc>			_Base;
  232       typedef _Tp					value_type;
  919       _Tp*
  923       const _Tp*
  962 	emplace_back(_Args&&... __args);
 1483 	_M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/ext/alloc_traits.h
  117       { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h
   63       typedef _Tp*       pointer;
   64       typedef const _Tp* const_pointer;
   65       typedef _Tp&       reference;
   66       typedef const _Tp& const_reference;
   67       typedef _Tp        value_type;
  135 	construct(_Up* __p, _Args&&... __args)
usr/include/c++/7.4.0/initializer_list
   50       typedef _E 		value_type;
   51       typedef const _E& 	reference;
   52       typedef const _E& 	const_reference;
   54       typedef const _E* 	iterator;
   55       typedef const _E* 	const_iterator;
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_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
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  762     typename add_rvalue_reference<_Tp>::type declval() noexcept;
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
  889       typedef decltype(__test<_Tp>(0)) type;
  894     : public __and_<__not_<is_void<_Tp>>,
  895                     __is_default_constructible_impl<_Tp>>
  915     : public __is_default_constructible_atom<_Tp>::type
  921     : public __is_default_constructible_safe<_Tp>::type
  984       typedef decltype(__test<_Tp, _Arg>(0)) type;
  989     : public __and_<is_destructible<_Tp>,
  990                     __is_direct_constructible_impl<_Tp, _Arg>>
 1072 			 __is_direct_constructible_ref_cast<_Tp, _Arg>,
 1073 			 __is_direct_constructible_new_safe<_Tp, _Arg>
 1079     : public __is_direct_constructible_new<_Tp, _Arg>::type
 1119     : public __is_direct_constructible<_Tp, _Arg>
 1130     : public __is_constructible_impl<_Tp, _Args...>::type
 1286     : public is_assignable<_Tp&, const _Tp&>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1292     : public __is_copy_assignable_impl<_Tp>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1310     : public __is_move_assignable_impl<_Tp>
 1377     static void __helper(const _Tp&);
 1380     static true_type __test(const _Tp&,
 1381                             decltype(__helper<const _Tp&>({}))* = 0);
 1390     typedef decltype(__test(declval<_Tp>())) type;
 1395       : public __is_implicitly_default_constructible_impl<_Tp>::type
 1400       : public __and_<is_default_constructible<_Tp>,
 1401                       __is_implicitly_default_constructible_safe<_Tp>>
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1633     { typedef _Tp   type; };
 1659     { typedef _Tp&&   type; };
 1664     : public __add_rvalue_reference_helper<_Tp>
 1955     { typedef _Tp     type; };
 2104     { typedef typename remove_cv<_Up>::type __type; };
 2131       typedef _Tp __type;
utils/TableGen/CodeGenRegisters.cpp
  678       ArrayRef<std::pair<Record *, SMRange>> Supers = Proto->getSuperClasses();