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

Derived Classes

tools/lld/wasm/Symbols.h
  192 class DefinedFunction : public FunctionSymbol {
  204 class UndefinedFunction : public FunctionSymbol {

References

include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
  104   static inline bool doit(const From *Val) {
  106     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,
  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) {
  263 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*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  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) {
  342 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/wasm/InputFiles.cpp
  172     if ((isa<FunctionSymbol>(sym) || isa<DataSymbol>(sym)) && !sym->isLive())
  371 FunctionSymbol *ObjFile::getFunctionSymbol(uint32_t index) const {
  372   return cast<FunctionSymbol>(symbols[index]);
tools/lld/wasm/InputFiles.h
  130   FunctionSymbol *getFunctionSymbol(uint32_t index) const;
tools/lld/wasm/MarkLive.cpp
   71         auto* initSym = obj->getFunctionSymbol(f.Symbol);
  126         auto *funcSym = cast<FunctionSymbol>(sym);
  126         auto *funcSym = cast<FunctionSymbol>(sym);
tools/lld/wasm/Relocations.cpp
   79       out.elemSec->addEntry(cast<FunctionSymbol>(sym));
tools/lld/wasm/SymbolTable.cpp
  140 static bool signatureMatches(FunctionSymbol *existing,
  291   auto existingFunction = dyn_cast<FunctionSymbol>(s);
  452     auto existingFunction = dyn_cast<FunctionSymbol>(s);
  667                                             FunctionSymbol *a,
  668                                             FunctionSymbol *b, bool isError) {
  692       auto *f = cast<FunctionSymbol>(s);
  692       auto *f = cast<FunctionSymbol>(s);
  712                                       cast<FunctionSymbol>(variants[0]),
  713                                       cast<FunctionSymbol>(variants[1]), true);
  719         auto *f = cast<FunctionSymbol>(symbol);
  719         auto *f = cast<FunctionSymbol>(symbol);
tools/lld/wasm/Symbols.cpp
   82   if (isa<FunctionSymbol>(this))
   96   if (auto* f = dyn_cast<FunctionSymbol>(this))
tools/lld/wasm/Symbols.h
  192 class DefinedFunction : public FunctionSymbol {
  204 class UndefinedFunction : public FunctionSymbol {
tools/lld/wasm/SyntheticSections.cpp
  116   if (auto *f = dyn_cast<FunctionSymbol>(sym))
  116   if (auto *f = dyn_cast<FunctionSymbol>(sym))
  169     if (auto *functionSym = dyn_cast<FunctionSymbol>(sym)) {
  259   if (auto *F = dyn_cast<FunctionSymbol>(sym))
  259   if (auto *F = dyn_cast<FunctionSymbol>(sym))
  276     else if (auto *f = dyn_cast<FunctionSymbol>(sym))
  337 void ElemSection::addEntry(FunctionSymbol *sym) {
  361   for (const FunctionSymbol *sym : indirectFunctions) {
  399       if (auto *f = dyn_cast<FunctionSymbol>(sym)) {
  513     if (auto *f = dyn_cast<FunctionSymbol>(s)) {
tools/lld/wasm/SyntheticSections.h
   32   const FunctionSymbol *sym;
  244   void addEntry(FunctionSymbol *sym);
  248   std::vector<const FunctionSymbol *> indirectFunctions;
tools/lld/wasm/Writer.cpp
  580     if (auto *f = dyn_cast<FunctionSymbol>(sym))
  939       FunctionSymbol *sym = file->getFunctionSymbol(f.Symbol);
usr/include/c++/7.4.0/type_traits
 1983     { typedef _Up     type; };