|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/MC/MCContext.h 53 class MCSectionWasm;
References
include/llvm/MC/MCContext.h 96 SpecificBumpPtrAllocator<MCSectionWasm> WasmAllocator;
273 std::map<WasmSectionKey, MCSectionWasm *> WasmUniquingMap;
487 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K) {
491 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
496 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
501 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
505 MCSectionWasm *getWasmSection(const Twine &Section, SectionKind K,
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);
77 return isa_impl<To, From>::doit(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,
165 using ret_type = To &; // Normal case, return Ty&
168 using ret_type = const To &; // Normal case, return Ty&
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) {
258 return cast_convert_val<X, Y,
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
include/llvm/Support/PointerLikeTypeTraits.h 56 static inline void *getAsVoidPointer(T *P) { return P; }
57 static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
91 typedef PointerLikeTypeTraits<T *> NonConst;
93 static inline const void *getAsVoidPointer(const T *P) {
96 static inline const T *getFromVoidPointer(const void *P) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 1721 MCSectionWasm* Section =
1728 static MCSectionWasm *selectWasmSectionForGlobal(
lib/MC/MCContext.cpp 495 MCSectionWasm *MCContext::getWasmSection(const Twine &Section, SectionKind K,
507 MCSectionWasm *MCContext::getWasmSection(const Twine &Section, SectionKind Kind,
526 MCSectionWasm *Result = new (WasmAllocator.Allocate())
527 MCSectionWasm(CachedName, Kind, GroupSym, UniqueID, Begin);
lib/MC/MCParser/WasmAsmParser.cpp 131 MCSectionWasm *Section = getContext().getWasmSection(Name, Kind.getValue());
lib/MC/MCWasmStreamer.cpp 63 auto *SectionWasm = cast<MCSectionWasm>(Section);
63 auto *SectionWasm = cast<MCSectionWasm>(Section);
lib/MC/WasmObjectWriter.cpp 107 MCSectionWasm *Section;
142 const MCSectionWasm *FixupSection; // The section the relocation is targeting.
146 const MCSectionWasm *FixupSection)
168 MCSectionWasm *Section;
173 WasmCustomSection(StringRef Name, MCSectionWasm *Section)
245 DenseMap<const MCSectionWasm *, std::vector<WasmRelocationEntry>>
416 const auto &Sec = static_cast<const MCSectionWasm &>(S.getSection());
434 const auto &FixupSection = cast<MCSectionWasm>(*Fragment->getParent());
434 const auto &FixupSection = cast<MCSectionWasm>(*Fragment->getParent());
563 const auto &Section =
587 MCSectionWasm &DataSection) {
835 auto &FuncSection = static_cast<MCSectionWasm &>(Func.Sym->getSection());
1017 auto *Sec = CustomSection.Section;
1219 auto &Section = static_cast<MCSectionWasm &>(Sec);
1322 auto &Section = static_cast<MCSectionWasm &>(WS.getSection());
1352 auto &DataSection = static_cast<MCSectionWasm &>(WS.getSection());
1501 const auto &WS = static_cast<const MCSectionWasm &>(S);
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp 636 auto WS = cast<MCSectionWasm>(getStreamer().getCurrentSection().first);
840 auto CWS = cast<MCSectionWasm>(getStreamer().getCurrentSection().first);
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 157 MCSectionWasm *MySection =
197 MCSectionWasm *Producers = OutContext.getWasmSection(
255 MCSectionWasm *FeaturesSection = OutContext.getWasmSection(