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

References

include/llvm/Support/Alignment.h
  103     return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Allocator.h
   81   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,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 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*,
  337 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) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
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
  206     auto *f = cast<DefinedFunction>(sym);
  400       return make<DefinedFunction>(name, flags, this, func);
tools/lld/wasm/LTO.cpp
   79   if (auto f = dyn_cast<DefinedFunction>(s))
tools/lld/wasm/SymbolTable.cpp
  195 DefinedFunction *SymbolTable::addSyntheticFunction(StringRef name,
  201   return replaceSymbol<DefinedFunction>(insertName(name).first, name,
  281     auto* newSym = replaceSymbol<DefinedFunction>(sym, name, flags, file, function);
  281     auto* newSym = replaceSymbol<DefinedFunction>(sym, name, flags, file, function);
  630   replaceSymbol<DefinedFunction>(sym, sym->getName(), sym->getFlags(), nullptr,
  699     DefinedFunction *defined = nullptr;
  701       if (auto f = dyn_cast<DefinedFunction>(symbol)) {
tools/lld/wasm/SymbolTable.h
   78   DefinedFunction *addSyntheticFunction(StringRef name, uint32_t flags,
tools/lld/wasm/Symbols.cpp
   63 DefinedFunction *WasmSym::callCtors;
   64 DefinedFunction *WasmSym::initMemory;
   65 DefinedFunction *WasmSym::applyRelocs;
   66 DefinedFunction *WasmSym::initTLS;
  104   if (auto *f = dyn_cast<DefinedFunction>(this))
  200   if (auto *f = dyn_cast<DefinedFunction>(this))
  213   if (auto *f = dyn_cast<DefinedFunction>(this))
  219   if (auto *f = dyn_cast<DefinedFunction>(this))
  226   if (auto *f = dyn_cast<DefinedFunction>(this))
  235   if (auto *f = dyn_cast<DefinedFunction>(this)) {
  235   if (auto *f = dyn_cast<DefinedFunction>(this)) {
tools/lld/wasm/Symbols.h
  465   static DefinedFunction *initMemory;
  469   static DefinedFunction *callCtors;
  473   static DefinedFunction *applyRelocs;
  477   static DefinedFunction *initTLS;
  498   alignas(DefinedFunction) char a[sizeof(DefinedFunction)];
  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)...);
tools/lld/wasm/Writer.cpp
  523     if (auto *f = dyn_cast<DefinedFunction>(sym)) {
  523     if (auto *f = dyn_cast<DefinedFunction>(sym)) {
  704 static void createFunction(DefinedFunction *func, StringRef bodyContent) {
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; };