|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
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/ADT/Hashing.h 371 typename std::enable_if<!is_hashable_data<T>::value, size_t>::type
372 get_hashable_data(const T &value) {
include/llvm/IR/DebugInfoMetadata.h 270 const MDOperand &getDwarfOperand(unsigned I) const {
include/llvm/IR/Metadata.h 500 template <class T> T &make();
530 hasa(Y &&MD) {
548 extract(Y &&MD) {
564 extract_or_null(Y &&MD) {
577 dyn_extract(Y &&MD) {
590 dyn_extract_or_null(Y &&MD) {
715 MDOperand(MDOperand &&) = delete;
716 MDOperand(const MDOperand &) = delete;
717 MDOperand &operator=(MDOperand &&) = delete;
717 MDOperand &operator=(MDOperand &&) = delete;
718 MDOperand &operator=(const MDOperand &) = delete;
718 MDOperand &operator=(const MDOperand &) = delete;
756 static SimpleType getSimplifiedValue(MDOperand &MD) { return MD.get(); }
762 static SimpleType getSimplifiedValue(const MDOperand &MD) { return MD.get(); }
892 MDOperand *mutable_begin() { return mutable_end() - NumOperands; }
893 MDOperand *mutable_end() { return reinterpret_cast<MDOperand *>(this); }
895 using mutable_op_range = iterator_range<MDOperand *>;
1055 using op_iterator = const MDOperand *;
1068 const MDOperand &getOperand(unsigned I) const {
include/llvm/Support/Casting.h 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);
236 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
236 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
247 inline typename std::enable_if<!is_simple_type<Y>::value,
248 typename cast_retty<X, const Y>::ret_type>::type
249 cast(const Y &Val) {
252 X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
252 X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
284 typename std::enable_if<!is_simple_type<Y>::value,
285 typename cast_retty<X, const Y>::ret_type>::type
286 cast_or_null(const Y &Val) {
330 typename std::enable_if<!is_simple_type<Y>::value,
331 typename cast_retty<X, const Y>::ret_type>::type
332 dyn_cast(const Y &Val) {
351 typename std::enable_if<!is_simple_type<Y>::value,
352 typename cast_retty<X, const Y>::ret_type>::type
353 dyn_cast_or_null(const Y &Val) {
include/llvm/Support/type_traits.h 31 using UnderlyingT = typename std::remove_reference<T>::type;
include/llvm/Transforms/Utils/LoopUtils.h 180 Optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
lib/Analysis/LoopInfo.cpp 547 for (const MDOperand &MD : drop_begin(ParallelAccesses->operands(), 1)) {
572 for (const MDOperand &AccessListItem : AG->operands()) {
597 for (const MDOperand &MDOp : LoopIdMD->operands()) {
lib/Analysis/ScopedNoAliasAA.cpp 134 for (const MDOperand &MDOp : List->operands())
147 for (const MDOperand &MDOp : NoAlias->operands())
lib/Analysis/VectorUtils.cpp 576 for (const MDOperand &Node : MD1->operands()) {
lib/Bitcode/Reader/BitcodeReader.cpp 2927 for (const MDOperand &MDOptions : cast<MDNode>(Val)->operands())
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 279 for (const auto &Option : cast<MDNode>(Operand)->operands()) {
337 for (const auto &Edge : CFGProfile->operands()) {
521 const MDOperand &Op = MD->getOperand(0);
890 for (const auto &Piece : cast<MDNode>(Option)->operands())
1453 for (const auto &Piece : cast<MDNode>(Option)->operands()) {
lib/IR/AbstractCallSite.cpp 83 for (const MDOperand &Op : CallbackMD->operands()) {
lib/IR/DIBuilder.cpp 995 for (const MDOperand &O : T->operands())
lib/IR/LLVMContextImpl.cpp 178 static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); }
lib/IR/LLVMContextImpl.h 208 ArrayRef<MDOperand> Ops;
233 static bool compareOps(ArrayRef<T> Ops, const MDNode *RHS, unsigned Offset) {
lib/IR/Metadata.cpp 481 size_t OpSize = NumOps * sizeof(MDOperand);
486 MDOperand *O = static_cast<MDOperand *>(Ptr);
487 for (MDOperand *E = O - NumOps; O != E; --O)
488 (void)new (O - 1) MDOperand;
494 size_t OpSize = N->NumOperands * sizeof(MDOperand);
497 MDOperand *O = static_cast<MDOperand *>(Mem);
498 for (MDOperand *E = O - N->NumOperands; O != E; --O)
549 for (auto &Op : mutable_operands())
628 for (const auto &Op : operands()) {
lib/IR/Verifier.cpp 201 void WriteTs(const T1 &V1, const Ts &... Vs) {
224 void CheckFailed(const Twine &Message, const T1 &V1, const Ts &... Vs) {
416 void visitModuleFlagCGProfileEntry(const MDOperand &MDO);
1478 for (const MDOperand &MDO : cast<MDNode>(Op->getOperand(2))->operands())
1483 void Verifier::visitModuleFlagCGProfileEntry(const MDOperand &MDO) {
5277 const MDOperand &FieldTy = BaseNode->getOperand(Idx);
5278 const MDOperand &FieldOffset = BaseNode->getOperand(Idx + 1);
lib/Object/IRSymtab.cpp 140 for (const MDOperand &MDOption : cast<MDNode>(MDOptions)->operands())
lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp 98 for (const auto &Op : MD->operands())
lib/Transforms/Scalar/LoopDistribute.cpp 942 Optional<const MDOperand *> Value =
947 const MDOperand *Op = *Value;
lib/Transforms/Utils/LoopUtils.cpp 251 Optional<const MDOperand *> llvm::findStringMetadataForLoop(const Loop *TheLoop,
290 const MDOperand *AttrMD =
321 for (const MDOperand &Existing : drop_begin(OrigLoopID->operands(), 1)) {
358 for (const MDOperand &Option : drop_begin(FollowupNode->operands(), 1)) {
tools/clang/unittests/CodeGen/IRMatchers.h 342 const MDOperand &Op = MT->getOperand(I);
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*;
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_construct.h 74 _Construct(_T1* __p, _Args&&... __args)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 192 typedef _Tp value_type;
194 typedef const _Tp* pointer;
195 typedef const _Tp& reference;
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*
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;
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
354 : public __is_floating_point_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
762 typename add_rvalue_reference<_Tp>::type declval() noexcept;
1538 typedef decltype(__test<_From, _To>(0)) type;
1545 : public __is_convertible_helper<_From, _To>::type
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1664 : public __add_rvalue_reference_helper<_Tp>
utils/unittest/googletest/include/gtest/gtest-printers.h 140 static void PrintValue(const T& value, ::std::ostream* os) {
205 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
206 TypeWithoutFormatter<T,
207 (internal::IsAProtocolMessage<T>::value ? kProtobuf :
208 internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
276 static ::std::string Format(const ToPrint& value) {
351 const T1& value, const T2& /* other_operand */) {
351 const T1& value, const T2& /* other_operand */) {
352 return FormatForComparison<T1, T2>::Format(value);
352 return FormatForComparison<T1, T2>::Format(value);
366 void UniversalPrint(const T& value, ::std::ostream* os);
373 const C& container, ::std::ostream* os) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
784 static void Print(const T& value, ::std::ostream* os) {
856 typedef T T1;
983 internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h 1377 const T1& lhs, const T2& rhs) {
1377 const T1& lhs, const T2& rhs) {
1389 const T1& lhs,
1390 const T2& rhs) {
1419 const T1& lhs,
1420 const T2& rhs) {
1452 const T2& rhs,
1458 typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 29 static const T& printable(const T& V) { return V; }
29 static const T& printable(const T& V) { return V; }
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 94 ::std::string PrintToString(const T& value);