|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/MC/MCContext.h 57 class MCSymbolELF;
include/llvm/MC/MCELFObjectWriter.h 28 class MCSymbolELF;
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h 27 class MCSymbolELF;
lib/Target/PowerPC/PPCTargetStreamer.h 19 class MCSymbolELF;
References
include/llvm/MC/MCContext.h 297 const MCSymbolELF *Group,
299 const MCSymbolELF *Associated);
445 const MCSymbolELF *Associated);
449 const MCSymbolELF *Group, unsigned UniqueID,
450 const MCSymbolELF *Associated);
462 const MCSymbolELF *Group,
467 MCSectionELF *createELFGroupSection(const MCSymbolELF *Group);
include/llvm/MC/MCELFObjectWriter.h 33 const MCSymbolELF *Symbol; // The symbol to relocate with.
36 const MCSymbolELF *OriginalSymbol; // The original value of Symbol if we changed it.
39 ELFRelocationEntry(uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type,
40 uint64_t Addend, const MCSymbolELF *OriginalSymbol,
include/llvm/MC/MCSectionELF.h 45 const MCSymbolELF *Group;
54 unsigned entrySize, const MCSymbolELF *group, unsigned UniqueID,
55 MCSymbol *Begin, const MCSymbolELF *AssociatedSymbol)
75 const MCSymbolELF *getGroup() const { return Group; }
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) {
58 return To::classof(&Val);
66 static inline bool doit(const From &) { return true; }
76 static inline bool doit(const From &Val) {
77 return isa_impl<To, From>::doit(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);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
142 return isa_impl_wrap<X, const Y,
142 return isa_impl_wrap<X, const Y,
143 typename simplify_type<const Y>::SimpleType>::doit(Val);
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
236 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
236 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
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) {
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);
305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
309 return cast<X>(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) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
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) {
include/llvm/Support/type_traits.h 55 struct add_const_past_pointer { using type = const T; };
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 3129 auto Associated = dyn_cast<MCSymbolELF>(CurrentFnSym);
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 371 MCSymbolELF *Label =
372 cast<MCSymbolELF>(getContext().getOrCreateSymbol(NameData));
515 static const MCSymbolELF *getAssociatedSymbol(const GlobalObject *GO,
530 return OtherGV ? dyn_cast<MCSymbolELF>(TM.getSymbol(OtherGV)) : nullptr;
595 const MCSymbolELF *AssociatedSymbol = getAssociatedSymbol(GO, TM);
633 unsigned *NextUniqueID, const MCSymbolELF *AssociatedSymbol) {
699 const MCSymbolELF *AssociatedSymbol = getAssociatedSymbol(GO, TM);
lib/MC/ELFObjectWriter.cpp 113 static bool isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol,
118 const MCSymbolELF *Symbol;
237 DenseMap<const MCSymbolELF *, const MCSymbolELF *> Renames;
237 DenseMap<const MCSymbolELF *, const MCSymbolELF *> Renames;
246 const MCSymbolELF *Sym, uint64_t C,
515 static bool isIFunc(const MCSymbolELF *Symbol) {
523 Symbol = &cast<MCSymbolELF>(Value->getSymbol());
530 const auto &Symbol = cast<MCSymbolELF>(*MSD.Symbol);
530 const auto &Symbol = cast<MCSymbolELF>(*MSD.Symbol);
531 const MCSymbolELF *Base =
532 cast_or_null<MCSymbolELF>(Layout.getBaseSymbol(Symbol));
575 static bool isWeak(const MCSymbolELF &Sym) {
592 bool ELFWriter::isInSymtab(const MCAsmLayout &Layout, const MCSymbolELF &Symbol,
656 const auto &Symbol = cast<MCSymbolELF>(S);
656 const auto &Symbol = cast<MCSymbolELF>(S);
671 MSD.Symbol = cast<MCSymbolELF>(&Symbol);
1124 const MCSymbolELF *SignatureSymbol = Section.getGroup();
1282 const auto &Symbol = cast<MCSymbolELF>(*P.second);
1282 const auto &Symbol = cast<MCSymbolELF>(*P.second);
1292 auto *Alias =
1293 cast<MCSymbolELF>(Asm.getContext().getOrCreateSymbol(Prefix + Tail));
1326 if (const MCSymbol *R = Renames.lookup(cast<MCSymbolELF>(Sym)))
1339 const MCSymbolELF *Sym,
1456 const auto &SymB = cast<MCSymbolELF>(RefB->getSymbol());
1456 const auto &SymB = cast<MCSymbolELF>(RefB->getSymbol());
1479 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr;
1479 const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr;
1486 SymA = cast<MCSymbolELF>(&Inner->getSymbol());
1511 const auto *SectionSymbol =
1512 SecA ? cast<MCSymbolELF>(SecA->getBeginSymbol()) : nullptr;
1520 const MCSymbolELF *RenamedSymA = SymA;
1522 if (const MCSymbolELF *R = Renames.lookup(SymA))
1537 const auto &SymA = cast<MCSymbolELF>(SA);
1537 const auto &SymA = cast<MCSymbolELF>(SA);
lib/MC/MCContext.cpp 165 return new (Name, *this) MCSymbolELF(Name, IsTemporary);
332 const MCSymbolELF *Group,
334 const MCSymbolELF *Associated) {
335 MCSymbolELF *R;
343 R = cast<MCSymbolELF>(Sym);
346 R = new (&*NameIter, *this) MCSymbolELF(&*NameIter, /*isTemporary*/ false);
366 const MCSymbolELF *Group,
375 true, cast<MCSymbolELF>(RelInfoSection->getBeginSymbol()));
388 const MCSymbolELF *Associated) {
389 MCSymbolELF *GroupSym = nullptr;
391 GroupSym = cast<MCSymbolELF>(getOrCreateSymbol(Group));
399 const MCSymbolELF *GroupSym,
401 const MCSymbolELF *Associated) {
428 MCSectionELF *MCContext::createELFGroupSection(const MCSymbolELF *Group) {
lib/MC/MCELFStreamer.cpp 100 auto *Symbol = cast<MCSymbolELF>(S);
100 auto *Symbol = cast<MCSymbolELF>(S);
110 auto *Symbol = cast<MCSymbolELF>(S);
110 auto *Symbol = cast<MCSymbolELF>(S);
190 auto *Symbol = cast<MCSymbolELF>(S);
190 auto *Symbol = cast<MCSymbolELF>(S);
290 auto *Symbol = cast<MCSymbolELF>(S);
290 auto *Symbol = cast<MCSymbolELF>(S);
321 cast<MCSymbolELF>(Symbol)
326 cast<MCSymbolELF>(Symbol)->setSize(Value);
336 auto *Symbol = cast<MCSymbolELF>(S);
336 auto *Symbol = cast<MCSymbolELF>(S);
456 cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS);
485 cast<MCSymbolELF>(S)->setBinding(ELF::STB_WEAK);
486 cast<MCSymbolELF>(S)->setExternal(true);
lib/MC/MCObjectFileInfo.cpp 874 GroupName, UniqueID, cast<MCSymbolELF>(Link));
lib/MC/MCParser/ELFAsmParser.cpp 161 bool parseMetadataSym(MCSymbolELF *&Associated);
221 MCSymbolELF *Sym = cast<MCSymbolELF>(getContext().getOrCreateSymbol(Name));
221 MCSymbolELF *Sym = cast<MCSymbolELF>(getContext().getOrCreateSymbol(Name));
446 bool ELFAsmParser::parseMetadataSym(MCSymbolELF *&Associated) {
454 Associated = dyn_cast_or_null<MCSymbolELF>(getContext().lookupSymbol(Name));
498 MCSymbolELF *Associated = nullptr;
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp 171 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
171 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp 132 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS);
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp 503 MCSymbolELF *Symbol = cast<MCSymbolELF>(
503 MCSymbolELF *Symbol = cast<MCSymbolELF>(
512 MCSymbolELF *SymbolELF = cast<MCSymbolELF>(Symbol);
512 MCSymbolELF *SymbolELF = cast<MCSymbolELF>(Symbol);
619 MCSymbolELF *KernelCodeSymbol = cast<MCSymbolELF>(
619 MCSymbolELF *KernelCodeSymbol = cast<MCSymbolELF>(
621 MCSymbolELF *KernelDescriptorSymbol = cast<MCSymbolELF>(
621 MCSymbolELF *KernelDescriptorSymbol = cast<MCSymbolELF>(
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp 890 unsigned Type = cast<MCSymbolELF>(Sym)->getType();
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 647 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
647 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
658 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
658 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
1142 unsigned Type = cast<MCSymbolELF>(Symbol)->getType();
1209 const MCSymbolELF *Group = FnSection.getGroup();
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp 94 auto ELFSymbol = cast<MCSymbolELF>(Symbol);
144 auto ELFSymbol = cast<MCSymbolELF>(Symbol);
lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp 68 cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS);
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 2853 cast<MCSymbolELF>(Res.getSymA()->getSymbol()).getBinding() ==
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp 577 if (const auto *ElfSym = dyn_cast<const MCSymbolELF>(Sym)) {
577 if (const auto *ElfSym = dyn_cast<const MCSymbolELF>(Sym)) {
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp 571 if (cast<MCSymbolELF>(Sym).getOther() & ELF::STO_MIPS_MICROMIPS)
582 if (cast<MCSymbolELF>(Sym).getOther() & ELF::STO_MIPS_MICROMIPS)
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp 79 auto *Label = cast<MCSymbolELF>(L);
79 auto *Label = cast<MCSymbolELF>(L);
lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp 240 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS);
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp 882 auto *Symbol = cast<MCSymbolELF>(S);
882 auto *Symbol = cast<MCSymbolELF>(S);
967 auto *Symbol = cast<MCSymbolELF>(S);
967 auto *Symbol = cast<MCSymbolELF>(S);
971 const auto &RhsSym = cast<MCSymbolELF>(
971 const auto &RhsSym = cast<MCSymbolELF>(
lib/Target/Mips/MipsAsmPrinter.cpp 1065 MCSymbolELF *Stub =
1066 cast<MCSymbolELF>(OutContext.getOrCreateSymbol(StringRef(x)));
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp 1770 MCSymbolELF *Sym = cast<MCSymbolELF>(getContext().getOrCreateSymbol(Name));
1770 MCSymbolELF *Sym = cast<MCSymbolELF>(getContext().getOrCreateSymbol(Name));
lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp 154 if (const auto *S = dyn_cast<MCSymbolELF>(&A->getSymbol())) {
154 if (const auto *S = dyn_cast<MCSymbolELF>(&A->getSymbol())) {
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp 439 unsigned Other = cast<MCSymbolELF>(Sym).getOther() << 2;
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp 126 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override {
164 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override {
188 auto *Symbol = cast<MCSymbolELF>(S);
188 auto *Symbol = cast<MCSymbolELF>(S);
199 for (auto *Sym : UpdateOther)
204 SmallPtrSet<MCSymbolELF *, 32> UpdateOther;
206 bool copyLocalEntry(MCSymbolELF *D, const MCExpr *S) {
210 const auto &RhsSym = cast<MCSymbolELF>(Ref->getSymbol());
210 const auto &RhsSym = cast<MCSymbolELF>(Ref->getSymbol());
236 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override {
257 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override {
lib/Target/PowerPC/PPCAsmPrinter.cpp 1560 TS->emitLocalEntry(cast<MCSymbolELF>(CurrentFnSym), LocalOffsetExp);
lib/Target/PowerPC/PPCTargetStreamer.h 29 virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp 245 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS);
lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp 186 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS);
207 auto ELFSymbol = cast<MCSymbolELF>(Symbol);
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; };