reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
103 return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Allocator.h81 template <typename T> T *Allocate(size_t Num = 1) { 82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T))); 82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T))); 470 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) 470 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) 478 char *Begin = (char *)alignAddr(*I, Align::Of<T>()); 488 DestroyElements((char *)alignAddr(Ptr, Align::Of<T>()), 496 T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); } 496 T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }include/llvm/Support/Casting.h
58 return To::classof(&Val); 106 return isa_impl<To, From>::doit(*Val); 122 return isa_impl_wrap<To, SimpleFrom, 132 return isa_impl_cl<To,FromTy>::doit(Val); 142 return isa_impl_wrap<X, const Y,tools/lld/include/lld/Common/Memory.h
47 llvm::SpecificBumpPtrAllocator<T> alloc; 52 template <typename T, typename... U> T *make(U &&... args) { 53 static SpecificAlloc<T> alloc; 54 return new (alloc.alloc.Allocate()) T(std::forward<U>(args)...);tools/lld/wasm/InputFiles.cpp
192 if (isa<UndefinedData>(sym) || sym->isUndefWeak()) 453 return make<UndefinedData>(name, flags, this);tools/lld/wasm/LTO.cpp
83 replaceSymbol<UndefinedData>(s, s->getName(), 0, s->getFile());
tools/lld/wasm/SymbolTable.cpp 488 replaceSymbol<UndefinedData>(s, name, flags, file);
tools/lld/wasm/Symbols.h504 alignas(UndefinedData) char g[sizeof(UndefinedData)]; 518 T *replaceSymbol(Symbol *s, ArgT &&... arg) { 521 static_assert(sizeof(T) <= sizeof(SymbolUnion), "SymbolUnion too small"); 522 static_assert(alignof(T) <= alignof(SymbolUnion), 529 T *s2 = new (s) T(std::forward<ArgT>(arg)...); 529 T *s2 = new (s) T(std::forward<ArgT>(arg)...);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 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 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 1447 : public __and_<is_destructible<_Tp>, integral_constant<bool, 1554 { typedef _Tp type; }; 1563 { typedef _Tp type; }; 1574 remove_const<typename remove_volatile<_Tp>::type>::type type; 1659 { typedef _Tp&& type; }; 1955 { typedef _Tp type; };