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

Derived Classes

tools/lld/ELF/LinkerScript.h
   86 struct SymbolAssignment : BaseCommand {
  157 struct InputSectionDescription : BaseCommand {
  186 struct ByteCommand : BaseCommand {
tools/lld/ELF/OutputSections.h
   32 class OutputSection final : public BaseCommand, public SectionBase {

References

include/llvm/ADT/ArrayRef.h
  108         const ArrayRef<U *> &A,
  110            std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  127     ArrayRef(const std::vector<U *, A> &Vec,
  129                  std::is_convertible<U *const *, T const *>::value>::type* = 0)
include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(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*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(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) {
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
tools/lld/ELF/AArch64ErrataFix.cpp
  632     for (BaseCommand *bc : os->sectionCommands)
tools/lld/ELF/ARMErrataFix.cpp
  514     for (BaseCommand *bc : os->sectionCommands)
tools/lld/ELF/Driver.cpp
 1951   for (BaseCommand *base : script->sectionCommands)
tools/lld/ELF/ICF.cpp
  506   for (BaseCommand *base : script->sectionCommands)
  508       for (BaseCommand *sub_base : sec->sectionCommands)
tools/lld/ELF/LinkerScript.cpp
  217 getSymbolAssignmentValues(const std::vector<BaseCommand *> &sectionCommands) {
  219   for (BaseCommand *base : sectionCommands) {
  226     for (BaseCommand *sub_base : cast<OutputSection>(base)->sectionCommands)
  252   std::vector<BaseCommand *> v;
  258   for (BaseCommand *base : sectionCommands) {
  269     for (const std::pair<StringRef, std::vector<BaseCommand *>> &p : cmds)
  282   for (BaseCommand *base : sectionCommands) {
  295     for (BaseCommand *base2 : sec->sectionCommands)
  466   for (BaseCommand *base : outCmd.sectionCommands) {
  480   for (BaseCommand *base : sectionCommands) {
  541   for (BaseCommand *base : sectionCommands) {
  545       for (BaseCommand *sub_base : cast<OutputSection>(base)->sectionCommands)
  553 static OutputSection *findByName(ArrayRef<BaseCommand *> vec,
  555   for (BaseCommand *base : vec)
  850   for (BaseCommand *base : sec->sectionCommands) {
  896   for (BaseCommand *base : sec.sectionCommands) {
  932   for (BaseCommand *&cmd : sectionCommands) {
  973   for (BaseCommand *base : sectionCommands) {
 1000   for (BaseCommand *base : sectionCommands) {
 1101   for (BaseCommand *base : sectionCommands) {
tools/lld/ELF/LinkerScript.h
   86 struct SymbolAssignment : BaseCommand {
   90   static bool classof(const BaseCommand *c) {
  157 struct InputSectionDescription : BaseCommand {
  161   static bool classof(const BaseCommand *c) {
  186 struct ByteCommand : BaseCommand {
  191   static bool classof(const BaseCommand *c) { return c->kind == ByteKind; }
  290   std::vector<BaseCommand *> sectionCommands;
  310   llvm::DenseMap<StringRef, std::vector<BaseCommand *>> insertAfterCommands;
  311   llvm::DenseMap<StringRef, std::vector<BaseCommand *>> insertBeforeCommands;
tools/lld/ELF/MapFile.cpp
  164   for (BaseCommand *base : script->sectionCommands) {
  179     for (BaseCommand *base : osec->sectionCommands) {
tools/lld/ELF/OutputSections.cpp
  164   for (BaseCommand *base : sectionCommands) {
  235 bool OutputSection::classof(const BaseCommand *c) {
  241   for (BaseCommand *b : sectionCommands)
  335   for (BaseCommand *base : sectionCommands)
  466   for (BaseCommand *base : os->sectionCommands)
tools/lld/ELF/OutputSections.h
   32 class OutputSection final : public BaseCommand, public SectionBase {
   40   static bool classof(const BaseCommand *c);
   85   std::vector<BaseCommand *> sectionCommands;
tools/lld/ELF/Relocations.cpp
   68   for (BaseCommand *base : script->sectionCommands)
 1445     for (BaseCommand *bc : os->sectionCommands)
 1617   for (BaseCommand *bc : tos->sectionCommands) {
tools/lld/ELF/ScriptParser.cpp
   92   std::vector<BaseCommand *> readOverlay();
  482 std::vector<BaseCommand *> ScriptParser::readOverlay() {
  492   std::vector<BaseCommand *> v;
  513     for (BaseCommand *cmd : v)
  530   std::vector<BaseCommand *> v;
  534       for (BaseCommand *cmd : readOverlay())
  542     if (BaseCommand *cmd = readAssignment(tok))
  549     std::vector<BaseCommand *> *dest = nullptr;
tools/lld/ELF/SyntheticSections.cpp
  859       for (BaseCommand *cmd : os->sectionCommands) {
 2224   for (BaseCommand *base : script->sectionCommands)
 3397   for (BaseCommand *base : getParent()->sectionCommands)
 3411   for (BaseCommand *base : getParent()->sectionCommands)
tools/lld/ELF/Writer.cpp
  304   for (BaseCommand *base : script->sectionCommands)
  705   for (BaseCommand *base : script->sectionCommands) {
  967 static bool compareSections(const BaseCommand *aCmd, const BaseCommand *bCmd) {
  967 static bool compareSections(const BaseCommand *aCmd, const BaseCommand *bCmd) {
 1124 static int getRankProximity(OutputSection *a, BaseCommand *b) {
 1143 static bool shouldSkip(BaseCommand *cmd) {
 1152 static std::vector<BaseCommand *>::iterator
 1153 findOrphanPos(std::vector<BaseCommand *>::iterator b,
 1154               std::vector<BaseCommand *>::iterator e) {
 1368     for (BaseCommand *b : sec->sectionCommands)
 1378   for (BaseCommand *base : script->sectionCommands)
 1393   for (BaseCommand *base : script->sectionCommands) {
 1521     for (BaseCommand *base : sec->sectionCommands) {
 1633     for (BaseCommand *b : os->sectionCommands)
 1682     for (BaseCommand *base : script->sectionCommands)
 1820   for (BaseCommand *base : script->sectionCommands)
usr/include/c++/7.4.0/type_traits
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1983     { typedef _Up     type; };