|
reference, declaration → definition
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 194 return cast<DefinedData>(sym)->getVirtualAddress() + reloc.Addend;
410 return make<DefinedData>(name, flags, this, seg, offset, size);
tools/lld/wasm/LTO.cpp 82 else if (isa<DefinedData>(s))
tools/lld/wasm/SymbolTable.cpp 208 DefinedData *SymbolTable::addOptionalDataSymbol(StringRef name,
216 auto *rtn = replaceSymbol<DefinedData>(s, name, WASM_SYMBOL_VISIBILITY_HIDDEN);
216 auto *rtn = replaceSymbol<DefinedData>(s, name, WASM_SYMBOL_VISIBILITY_HIDDEN);
222 DefinedData *SymbolTable::addSyntheticDataSymbol(StringRef name,
226 return replaceSymbol<DefinedData>(insertName(name).first, name, flags);
333 replaceSymbol<DefinedData>(s, name, flags, file, segment, address, size);
tools/lld/wasm/SymbolTable.h 75 DefinedData *addSyntheticDataSymbol(StringRef name, uint32_t flags);
80 DefinedData *addOptionalDataSymbol(StringRef name, uint32_t value = 0);
tools/lld/wasm/Symbols.cpp 67 DefinedData *WasmSym::dsoHandle;
68 DefinedData *WasmSym::dataEnd;
69 DefinedData *WasmSym::globalBase;
70 DefinedData *WasmSym::heapBase;
71 DefinedData *WasmSym::initMemoryFlag;
77 DefinedData *WasmSym::definedTableBase;
79 DefinedData *WasmSym::definedMemoryBase;
106 if (auto *d = dyn_cast<DefinedData>(this))
tools/lld/wasm/Symbols.h 429 static DefinedData *globalBase;
451 static DefinedData *dataEnd;
457 static DefinedData *heapBase;
461 static DefinedData *initMemoryFlag;
481 static DefinedData *dsoHandle;
486 static DefinedData *definedTableBase;
491 static DefinedData *definedMemoryBase;
499 alignas(DefinedData) char b[sizeof(DefinedData)];
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/SyntheticSections.cpp 274 if (auto *d = dyn_cast<DefinedData>(sym))
284 for (const DefinedData *sym : dataAddressGlobals) {
413 if (auto *dataSym = dyn_cast<DefinedData>(sym)) {
tools/lld/wasm/SyntheticSections.h 186 void addDataAddressGlobal(DefinedData *global);
189 std::vector<const DefinedData *> dataAddressGlobals;
tools/lld/wasm/Writer.cpp 538 auto *d = cast<DefinedData>(sym);
538 auto *d = cast<DefinedData>(sym);
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; };