|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
include/llvm/MC/MCSectionCOFF.h 26 class MCSectionCOFF final : public MCSection {
include/llvm/MC/MCSectionELF.h 27 class MCSectionELF final : public MCSection {
include/llvm/MC/MCSectionMachO.h 24 class MCSectionMachO final : public MCSection {
include/llvm/MC/MCSectionWasm.h 27 class MCSectionWasm final : public MCSection {
include/llvm/MC/MCSectionXCOFF.h 34 class MCSectionXCOFF final : public MCSection {
Declarations
include/llvm/CodeGen/AsmPrinter.h 65 class MCSection;
include/llvm/CodeGen/DIE.h 43 class MCSection;
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h 28 class MCSection;
include/llvm/MC/ConstantPools.h 27 class MCSection;
include/llvm/MC/MCAsmInfo.h 28 class MCSection;
include/llvm/MC/MCAsmLayout.h 18 class MCSection;
include/llvm/MC/MCAssembler.h 41 class MCSection;
include/llvm/MC/MCCodePadder.h 24 class MCSection;
include/llvm/MC/MCContext.h 49 class MCSection;
include/llvm/MC/MCExpr.h 24 class MCSection;
include/llvm/MC/MCFragment.h 26 class MCSection;
include/llvm/MC/MCObjectFileInfo.h 24 class MCSection;
include/llvm/MC/MCStreamer.h 50 class MCSection;
include/llvm/MC/MCSymbol.h 31 class MCSection;
include/llvm/MC/MCWinCOFFStreamer.h 21 class MCSection;
include/llvm/MC/MCWinEH.h 16 class MCSection;
include/llvm/Target/TargetLoweringObjectFile.h 31 class MCSection;
lib/CodeGen/AsmPrinter/AddressPool.h 17 class MCSection;
lib/CodeGen/AsmPrinter/DwarfDebug.h 60 class MCSection;
lib/CodeGen/AsmPrinter/DwarfFile.h 32 class MCSection;
lib/CodeGen/AsmPrinter/DwarfStringPool.h 20 class MCSection;
lib/CodeGen/AsmPrinter/WinException.h 23 class MCSection;
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h 37 class MCSection;
lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h 15 class MCSection;
References
include/llvm/ADT/DenseMapInfo.h 39 static inline T* getEmptyKey() {
41 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
45 static inline T* getTombstoneKey() {
47 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
51 static unsigned getHashValue(const T *PtrVal) {
56 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
56 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/ADT/ilist_node.h 266 const ParentTy *getNodeParent() const {
278 getNodeParent()->*(ParentTy::getSublistAccess((NodeTy *)nullptr));
292 getNodeParent()->*(ParentTy::getSublistAccess((NodeTy *)nullptr));
include/llvm/ADT/iterator.h 68 : public std::iterator<IteratorCategoryT, T, DifferenceTypeT, PointerT,
206 : public iterator_facade_base<DerivedT, IteratorCategoryT, T,
288 pointee_iterator<WrappedIteratorT, T>, WrappedIteratorT,
290 T> {
296 T &operator*() const { return **this->I; }
include/llvm/CodeGen/AsmPrinter.h 235 const MCSection *getCurrentSection() const;
include/llvm/CodeGen/DIE.h 157 void Emit(const AsmPrinter *AP, MCSection *Section) const;
854 MCSection *Section;
872 void setSection(MCSection *Section) {
884 MCSection *getSection() const { return Section; }
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h 55 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
59 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
62 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
65 MCSection *getSectionForJumpTable(const Function &F,
85 MCSection *getStaticCtorSection(unsigned Priority,
87 MCSection *getStaticDtorSection(unsigned Priority,
94 MCSection *getSectionForCommandLines() const override;
107 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
110 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
113 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
147 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
150 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
156 MCSection *getSectionForJumpTable(const Function &F,
162 MCSection *getStaticCtorSection(unsigned Priority,
164 MCSection *getStaticDtorSection(unsigned Priority,
179 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
191 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
194 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
201 MCSection *getStaticCtorSection(unsigned Priority,
203 MCSection *getStaticDtorSection(unsigned Priority,
221 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
224 MCSection *getStaticCtorSection(unsigned Priority,
226 MCSection *getStaticDtorSection(unsigned Priority,
233 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
include/llvm/MC/ConstantPools.h 85 using ConstantPoolMapTy = MapVector<MCSection *, ConstantPool>;
96 ConstantPool *getConstantPool(MCSection *Section);
97 ConstantPool &getOrCreateConstantPool(MCSection *Section);
include/llvm/MC/MCAsmInfo.h 439 virtual MCSection *getNonexecutableStackSection(MCContext &Ctx) const {
447 virtual bool isSectionAtomizableBySymbols(const MCSection &Section) const;
include/llvm/MC/MCAsmInfoDarwin.h 25 bool isSectionAtomizableBySymbols(const MCSection &Section) const override;
include/llvm/MC/MCAsmInfoELF.h 18 MCSection *getNonexecutableStackSection(MCContext &Ctx) const final;
include/llvm/MC/MCAsmLayout.h 32 llvm::SmallVector<MCSection *, 16> SectionOrder;
37 mutable DenseMap<const MCSection *, MCFragment *> LastValidFragment;
65 llvm::SmallVectorImpl<MCSection *> &getSectionOrder() { return SectionOrder; }
66 const llvm::SmallVectorImpl<MCSection *> &getSectionOrder() const {
84 uint64_t getSectionAddressSize(const MCSection *Sec) const;
88 uint64_t getSectionFileSize(const MCSection *Sec) const;
include/llvm/MC/MCAssembler.h 47 MCSection *Section;
64 using SectionListType = std::vector<MCSection *>;
191 bool layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec);
244 void writeSectionData(raw_ostream &OS, const MCSection *Section,
438 bool registerSection(MCSection &Section);
include/llvm/MC/MCCodeView.h 111 MCSection *Section = nullptr;
include/llvm/MC/MCContext.h 170 SetVector<MCSection *> SectionsForRanges;
630 const SetVector<MCSection *> &getGenDwarfSectionSyms() {
634 bool addGenDwarfSection(MCSection *Sec) {
include/llvm/MC/MCDwarf.h 170 static void Make(MCObjectStreamer *MCOS, MCSection *Section);
180 void addLineEntry(const MCDwarfLineEntry &LineEntry, MCSection *Sec) {
187 using MCLineDivisionMap = MapVector<MCSection *, MCDwarfLineEntryCollection>;
299 MCSection *Section) const;
include/llvm/MC/MCELFStreamer.h 42 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override;
60 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
63 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
include/llvm/MC/MCExpr.h 31 using SectionAddrMap = DenseMap<const MCSection *, uint64_t>;
include/llvm/MC/MCFragment.h 30 class MCFragment : public ilist_node_with_parent<MCFragment, MCSection> {
62 MCSection *Parent;
81 MCSection *Parent = nullptr);
98 MCSection *getParent() const { return Parent; }
99 void setParent(MCSection *Value) { Parent = Value; }
119 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {}
135 MCSection *Sec)
194 MCSection *Sec)
215 MCSection *Sec)
245 MCDataFragment(MCSection *Sec = nullptr)
260 MCCompactEncodedInstFragment(MCSection *Sec = nullptr)
279 MCSection *Sec = nullptr)
312 unsigned MaxBytesToEmit, MCSection *Sec = nullptr)
381 MCPaddingFragment(MCSection *Sec = nullptr)
441 SMLoc Loc, MCSection *Sec = nullptr)
468 MCSection *Sec = nullptr)
497 MCLEBFragment(const MCExpr &Value_, bool IsSigned_, MCSection *Sec = nullptr)
530 MCSection *Sec = nullptr)
554 MCDwarfCallFrameFragment(const MCExpr &AddrDelta, MCSection *Sec = nullptr)
575 MCSymbolIdFragment(const MCSymbol *Sym, MCSection *Sec = nullptr)
609 MCSection *Sec = nullptr)
642 StringRef FixedSizePortion, MCSection *Sec = nullptr)
include/llvm/MC/MCMachObjectWriter.h 105 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
106 DenseMap<const MCSection *, unsigned> IndirectSymBase;
149 uint64_t getSectionAddress(const MCSection *Sec) const {
157 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const;
187 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec,
227 void addRelocation(const MCSymbol *RelSymbol, const MCSection *Sec,
include/llvm/MC/MCObjectFileInfo.h 55 MCSection *TextSection;
58 MCSection *DataSection;
61 MCSection *BSSSection;
67 MCSection *ReadOnlySection;
71 MCSection *LSDASection;
76 MCSection *CompactUnwindSection;
80 MCSection *DwarfAbbrevSection;
81 MCSection *DwarfInfoSection;
82 MCSection *DwarfLineSection;
83 MCSection *DwarfLineStrSection;
84 MCSection *DwarfFrameSection;
85 MCSection *DwarfPubTypesSection;
86 const MCSection *DwarfDebugInlineSection;
87 MCSection *DwarfStrSection;
88 MCSection *DwarfLocSection;
89 MCSection *DwarfARangesSection;
90 MCSection *DwarfRangesSection;
91 MCSection *DwarfMacinfoSection;
94 MCSection *DwarfPubNamesSection;
100 MCSection *DwarfDebugNamesSection;
101 MCSection *DwarfAccelNamesSection;
102 MCSection *DwarfAccelObjCSection;
103 MCSection *DwarfAccelNamespaceSection;
104 MCSection *DwarfAccelTypesSection;
107 MCSection *DwarfInfoDWOSection;
108 MCSection *DwarfTypesDWOSection;
109 MCSection *DwarfAbbrevDWOSection;
110 MCSection *DwarfStrDWOSection;
111 MCSection *DwarfLineDWOSection;
112 MCSection *DwarfLocDWOSection;
113 MCSection *DwarfStrOffDWOSection;
116 MCSection *DwarfStrOffSection;
117 MCSection *DwarfAddrSection;
119 MCSection *DwarfRnglistsSection;
121 MCSection *DwarfLoclistsSection;
124 MCSection *DwarfRnglistsDWOSection;
127 MCSection *DwarfCUIndexSection;
128 MCSection *DwarfTUIndexSection;
131 MCSection *DwarfGnuPubNamesSection;
133 MCSection *DwarfGnuPubTypesSection;
136 MCSection *DwarfSwiftASTSection;
138 MCSection *COFFDebugSymbolsSection;
139 MCSection *COFFDebugTypesSection;
140 MCSection *COFFGlobalTypeHashesSection;
146 MCSection *TLSExtraDataSection;
149 MCSection *TLSDataSection; // Defaults to ".tdata".
154 MCSection *TLSBSSSection; // Defaults to ".tbss".
157 MCSection *StackMapSection;
160 MCSection *FaultMapSection;
163 MCSection *RemarksSection;
168 MCSection *EHFrameSection;
171 MCSection *StackSizesSection;
175 MCSection *DataRelROSection;
176 MCSection *MergeableConst4Section;
177 MCSection *MergeableConst8Section;
178 MCSection *MergeableConst16Section;
179 MCSection *MergeableConst32Section;
187 MCSection *TLSTLVSection; // Defaults to ".tlv".
190 const MCSection *TLSThreadInitSection; // Defaults to ".thread_init_func".
192 MCSection *CStringSection;
193 MCSection *UStringSection;
194 MCSection *TextCoalSection;
195 MCSection *ConstTextCoalSection;
196 MCSection *ConstDataSection;
197 MCSection *DataCoalSection;
198 MCSection *ConstDataCoalSection;
199 MCSection *DataCommonSection;
200 MCSection *DataBSSSection;
201 MCSection *FourByteConstantSection;
202 MCSection *EightByteConstantSection;
203 MCSection *SixteenByteConstantSection;
204 MCSection *LazySymbolPointerSection;
205 MCSection *NonLazySymbolPointerSection;
206 MCSection *ThreadLocalPointerSection;
209 MCSection *DrectveSection;
210 MCSection *PDataSection;
211 MCSection *XDataSection;
212 MCSection *SXDataSection;
213 MCSection *GFIDsSection;
214 MCSection *GLJMPSection;
240 MCSection *getTextSection() const { return TextSection; }
241 MCSection *getDataSection() const { return DataSection; }
242 MCSection *getBSSSection() const { return BSSSection; }
243 MCSection *getReadOnlySection() const { return ReadOnlySection; }
244 MCSection *getLSDASection() const { return LSDASection; }
245 MCSection *getCompactUnwindSection() const { return CompactUnwindSection; }
246 MCSection *getDwarfAbbrevSection() const { return DwarfAbbrevSection; }
247 MCSection *getDwarfInfoSection() const { return DwarfInfoSection; }
248 MCSection *getDwarfInfoSection(uint64_t Hash) const {
251 MCSection *getDwarfLineSection() const { return DwarfLineSection; }
252 MCSection *getDwarfLineStrSection() const { return DwarfLineStrSection; }
253 MCSection *getDwarfFrameSection() const { return DwarfFrameSection; }
254 MCSection *getDwarfPubNamesSection() const { return DwarfPubNamesSection; }
255 MCSection *getDwarfPubTypesSection() const { return DwarfPubTypesSection; }
256 MCSection *getDwarfGnuPubNamesSection() const {
259 MCSection *getDwarfGnuPubTypesSection() const {
262 const MCSection *getDwarfDebugInlineSection() const {
265 MCSection *getDwarfStrSection() const { return DwarfStrSection; }
266 MCSection *getDwarfLocSection() const { return DwarfLocSection; }
267 MCSection *getDwarfARangesSection() const { return DwarfARangesSection; }
268 MCSection *getDwarfRangesSection() const { return DwarfRangesSection; }
269 MCSection *getDwarfRnglistsSection() const { return DwarfRnglistsSection; }
270 MCSection *getDwarfLoclistsSection() const { return DwarfLoclistsSection; }
271 MCSection *getDwarfMacinfoSection() const { return DwarfMacinfoSection; }
273 MCSection *getDwarfDebugNamesSection() const {
276 MCSection *getDwarfAccelNamesSection() const {
279 MCSection *getDwarfAccelObjCSection() const { return DwarfAccelObjCSection; }
280 MCSection *getDwarfAccelNamespaceSection() const {
283 MCSection *getDwarfAccelTypesSection() const {
286 MCSection *getDwarfInfoDWOSection() const { return DwarfInfoDWOSection; }
287 MCSection *getDwarfTypesSection(uint64_t Hash) const {
290 MCSection *getDwarfTypesDWOSection() const { return DwarfTypesDWOSection; }
291 MCSection *getDwarfAbbrevDWOSection() const { return DwarfAbbrevDWOSection; }
292 MCSection *getDwarfStrDWOSection() const { return DwarfStrDWOSection; }
293 MCSection *getDwarfLineDWOSection() const { return DwarfLineDWOSection; }
294 MCSection *getDwarfLocDWOSection() const { return DwarfLocDWOSection; }
295 MCSection *getDwarfStrOffDWOSection() const { return DwarfStrOffDWOSection; }
296 MCSection *getDwarfStrOffSection() const { return DwarfStrOffSection; }
297 MCSection *getDwarfAddrSection() const { return DwarfAddrSection; }
298 MCSection *getDwarfRnglistsDWOSection() const {
301 MCSection *getDwarfCUIndexSection() const { return DwarfCUIndexSection; }
302 MCSection *getDwarfTUIndexSection() const { return DwarfTUIndexSection; }
303 MCSection *getDwarfSwiftASTSection() const { return DwarfSwiftASTSection; }
305 MCSection *getCOFFDebugSymbolsSection() const {
308 MCSection *getCOFFDebugTypesSection() const {
311 MCSection *getCOFFGlobalTypeHashesSection() const {
315 MCSection *getTLSExtraDataSection() const { return TLSExtraDataSection; }
316 const MCSection *getTLSDataSection() const { return TLSDataSection; }
317 MCSection *getTLSBSSSection() const { return TLSBSSSection; }
319 MCSection *getStackMapSection() const { return StackMapSection; }
320 MCSection *getFaultMapSection() const { return FaultMapSection; }
321 MCSection *getRemarksSection() const { return RemarksSection; }
323 MCSection *getStackSizesSection(const MCSection &TextSec) const;
323 MCSection *getStackSizesSection(const MCSection &TextSec) const;
326 MCSection *getDataRelROSection() const { return DataRelROSection; }
327 const MCSection *getMergeableConst4Section() const {
330 const MCSection *getMergeableConst8Section() const {
333 const MCSection *getMergeableConst16Section() const {
336 const MCSection *getMergeableConst32Section() const {
341 const MCSection *getTLSTLVSection() const { return TLSTLVSection; }
342 const MCSection *getTLSThreadInitSection() const {
345 const MCSection *getCStringSection() const { return CStringSection; }
346 const MCSection *getUStringSection() const { return UStringSection; }
347 MCSection *getTextCoalSection() const { return TextCoalSection; }
348 const MCSection *getConstTextCoalSection() const {
351 const MCSection *getConstDataSection() const { return ConstDataSection; }
352 const MCSection *getDataCoalSection() const { return DataCoalSection; }
353 const MCSection *getConstDataCoalSection() const {
356 const MCSection *getDataCommonSection() const { return DataCommonSection; }
357 MCSection *getDataBSSSection() const { return DataBSSSection; }
358 const MCSection *getFourByteConstantSection() const {
361 const MCSection *getEightByteConstantSection() const {
364 const MCSection *getSixteenByteConstantSection() const {
367 MCSection *getLazySymbolPointerSection() const {
370 MCSection *getNonLazySymbolPointerSection() const {
373 MCSection *getThreadLocalPointerSection() const {
378 MCSection *getDrectveSection() const { return DrectveSection; }
379 MCSection *getPDataSection() const { return PDataSection; }
380 MCSection *getXDataSection() const { return XDataSection; }
381 MCSection *getSXDataSection() const { return SXDataSection; }
382 MCSection *getGFIDsSection() const { return GFIDsSection; }
383 MCSection *getGLJMPSection() const { return GLJMPSection; }
385 MCSection *getEHFrameSection() {
406 MCSection *getDwarfComdatSection(const char *Name, uint64_t Hash) const;
include/llvm/MC/MCObjectStreamer.h 37 MCSection::iterator CurInsertionPoint;
77 MCSection *CurSection = getCurrentSectionOnly();
90 bool changeSectionImpl(MCSection *Section, const MCExpr *Subsection);
117 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override;
200 bool mayHaveInstructions(MCSection &Sec) const override;
include/llvm/MC/MCSection.h 103 MCSection(const MCSection &) = delete;
104 MCSection &operator=(const MCSection &) = delete;
104 MCSection &operator=(const MCSection &) = delete;
150 MCSection::FragmentListType &getFragmentList() { return Fragments; }
151 const MCSection::FragmentListType &getFragmentList() const {
157 return &MCSection::Fragments;
175 MCSection::iterator getSubsectionInsertionPoint(unsigned Subsection);
include/llvm/MC/MCSectionCOFF.h 26 class MCSectionCOFF final : public MCSection {
92 static bool classof(const MCSection *S) { return S->getVariant() == SV_COFF; }
include/llvm/MC/MCSectionELF.h 27 class MCSectionELF final : public MCSection {
86 const MCSection *getAssociatedSection() const { return &AssociatedSymbol->getSection(); }
89 static bool classof(const MCSection *S) {
include/llvm/MC/MCSectionMachO.h 24 class MCSectionMachO final : public MCSection {
84 static bool classof(const MCSection *S) {
include/llvm/MC/MCSectionWasm.h 27 class MCSectionWasm final : public MCSection {
90 static bool classof(const MCSection *S) { return S->getVariant() == SV_Wasm; }
include/llvm/MC/MCSectionXCOFF.h 34 class MCSectionXCOFF final : public MCSection {
54 static bool classof(const MCSection *S) {
include/llvm/MC/MCStreamer.h 64 using MCSectionSubPair = std::pair<MCSection *, const MCExpr *>;
115 virtual void changeSection(const MCSection *CurSection, MCSection *Section,
115 virtual void changeSection(const MCSection *CurSection, MCSection *Section,
351 MCSection *getCurrentSectionOnly() const { return getCurrentSection().first; }
370 virtual void ChangeSection(MCSection *, const MCExpr *);
409 virtual void SwitchSection(MCSection *Section,
415 void SwitchSectionNoChange(MCSection *Section,
427 MCSymbol *endSection(MCSection *Section);
599 virtual void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
610 virtual void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
973 MCSection *getAssociatedPDataSection(const MCSection *TextSec);
973 MCSection *getAssociatedPDataSection(const MCSection *TextSec);
976 MCSection *getAssociatedXDataSection(const MCSection *TextSec);
976 MCSection *getAssociatedXDataSection(const MCSection *TextSec);
1019 virtual bool mayHaveInstructions(MCSection &Sec) const { return true; }
include/llvm/MC/MCSymbol.h 181 MCSection *getSectionPtr() const {
268 MCSection &getSection() const {
include/llvm/MC/MCWasmStreamer.h 47 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override;
61 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
64 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
include/llvm/MC/MCWinCOFFStreamer.h 61 void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
63 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
include/llvm/MC/MCWinEH.h 39 const MCSection *TextSection = nullptr;
include/llvm/MC/MCXCOFFStreamer.h 25 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
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);
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::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) {
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) {
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
258 return cast_convert_val<X, Y,
259 typename simplify_type<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);
305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
306 cast_or_null(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) {
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; };
include/llvm/Target/TargetLoweringObjectFile.h 57 MCSection *StaticCtorSection = nullptr;
60 MCSection *StaticDtorSection = nullptr;
88 virtual MCSection *getSectionForConstant(const DataLayout &DL,
101 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind,
107 MCSection *SectionForGlobal(const GlobalObject *GO,
116 virtual MCSection *getSectionForJumpTable(const Function &F,
125 virtual MCSection *
156 virtual MCSection *getStaticCtorSection(unsigned Priority,
161 virtual MCSection *getStaticDtorSection(unsigned Priority,
211 virtual MCSection *getSectionForCommandLines() const {
216 virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
lib/CodeGen/AsmPrinter/AddressPool.h 45 void emit(AsmPrinter &Asm, MCSection *AddrSection);
57 MCSymbol *emitHeader(AsmPrinter &Asm, MCSection *Section);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 241 const MCSection *AsmPrinter::getCurrentSection() const {
526 MCSection *TheSection = getObjFileLowering().SectionForGlobal(GV, GVKind, TM);
600 MCSection *TLVSect = getObjFileLowering().getTLSExtraDataSection();
987 MCSection *StackSizeSection =
1376 MCSection *RemarksSection =
1530 MCSection *ReadOnlySection = getObjFileLowering().getSectionForConstant(
1558 if (MCSection *S = MAI->getNonexecutableStackSection(OutContext))
1695 MCSection *S;
1699 SectionCPs(MCSection *s, unsigned a) : S(s), Alignment(a) {}
1726 MCSection *S = getObjFileLowering().getSectionForConstant(getDataLayout(),
1750 const MCSection *CurSection = nullptr;
1804 MCSection *ReadOnlySection = TLOF.getSectionForJumpTable(F, TM);
2039 MCSection *OutputSection =
2065 MCSection *CommandLine = getObjFileLowering().getSectionForCommandLines();
3126 MCSection *InstMap = nullptr;
3127 MCSection *FnSledIndex = nullptr;
lib/CodeGen/AsmPrinter/DIE.cpp 170 void DIEAbbrevSet::Emit(const AsmPrinter *AP, MCSection *Section) const {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 1931 void DwarfDebug::emitAccel(AccelTableT &Accel, MCSection *Section,
2122 MCSection *StringOffsetsSection = nullptr;
2342 MapVector<const MCSection *, std::vector<decltype(&*R.begin())>> SectionRanges;
2487 MapVector<MCSection *, SmallVector<SymbolCU, 8>> SectionMap;
2493 MCSection *Section = &SCU.Sym->getSection();
2507 MCSection *Section = I.first;
2845 MCSection *OffSec = Asm->getObjFileLowering().getDwarfStrOffDWOSection();
2908 MCSection *Section =
2914 MCSection *Section =
3036 const MCSymbol *DwarfDebug::getSectionLabel(const MCSection *S) {
lib/CodeGen/AsmPrinter/DwarfDebug.h 341 DenseMap<const MCSection *, const MCSymbol *> SectionLabels;
467 void emitAccel(AccelTableT &Accel, MCSection *Section, StringRef TableName);
756 const MCSymbol *getSectionLabel(const MCSection *S);
lib/CodeGen/AsmPrinter/DwarfFile.cpp 41 MCSection *S = TheU->getSection();
96 void DwarfFile::emitAbbrevs(MCSection *Section) { Abbrevs.Emit(Asm, Section); }
99 void DwarfFile::emitStrings(MCSection *StrSection, MCSection *OffsetSection,
99 void DwarfFile::emitStrings(MCSection *StrSection, MCSection *OffsetSection,
lib/CodeGen/AsmPrinter/DwarfFile.h 142 void emitAbbrevs(MCSection *);
148 void emitStrings(MCSection *StrSection, MCSection *OffsetSection = nullptr,
148 void emitStrings(MCSection *StrSection, MCSection *OffsetSection = nullptr,
lib/CodeGen/AsmPrinter/DwarfStringPool.h 42 void emitStringOffsetsTableHeader(AsmPrinter &Asm, MCSection *OffsetSection,
45 void emit(AsmPrinter &Asm, MCSection *StrSection,
46 MCSection *OffsetSection = nullptr,
lib/CodeGen/AsmPrinter/EHStreamer.cpp 386 MCSection *LSDASection = Asm->getObjFileLowering().getLSDASection();
lib/CodeGen/AsmPrinter/WinException.cpp 147 MCSection *XData = Asm->OutStreamer->getAssociatedXDataSection(
264 MCSection *XData = Asm->OutStreamer->getAssociatedXDataSection(
lib/CodeGen/AsmPrinter/WinException.h 47 MCSection *CurrentFuncletTextSection = nullptr;
lib/CodeGen/FaultMaps.cpp 57 MCSection *FaultMapSection =
lib/CodeGen/StackMaps.cpp 562 MCSection *StackMapSection =
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 376 MCSection *Sec = getContext().getELFNamedSection(".data", Label->getName(),
557 MCSection *TargetLoweringObjectFileELF::getExplicitSectionGlobal(
684 MCSection *TargetLoweringObjectFileELF::SelectSectionForGlobal(
712 MCSection *TargetLoweringObjectFileELF::getSectionForJumpTable(
736 MCSection *TargetLoweringObjectFileELF::getSectionForConstant(
792 MCSection *TargetLoweringObjectFileELF::getStaticCtorSection(
798 MCSection *TargetLoweringObjectFileELF::getStaticDtorSection(
824 MCSection *TargetLoweringObjectFileELF::getSectionForCommandLines() const {
937 MCSection *TargetLoweringObjectFileMachO::getExplicitSectionGlobal(
978 MCSection *TargetLoweringObjectFileMachO::SelectSectionForGlobal(
1048 MCSection *TargetLoweringObjectFileMachO::getSectionForConstant(
1191 const MCSection &Section) {
1209 const MCSection *TheSection = SectionForGlobal(GO, GOKind, TM);
1299 MCSection *TargetLoweringObjectFileCOFF::getExplicitSectionGlobal(
1338 MCSection *TargetLoweringObjectFileCOFF::SelectSectionForGlobal(
1417 MCSection *TargetLoweringObjectFileCOFF::getSectionForJumpTable(
1450 MCSection *Sec = getDrectveSection();
1544 MCSection *TargetLoweringObjectFileCOFF::getStaticCtorSection(
1551 MCSection *TargetLoweringObjectFileCOFF::getStaticDtorSection(
1631 MCSection *TargetLoweringObjectFileCOFF::getSectionForConstant(
1704 MCSection *TargetLoweringObjectFileWasm::getExplicitSectionGlobal(
1758 MCSection *TargetLoweringObjectFileWasm::SelectSectionForGlobal(
1813 MCSection *TargetLoweringObjectFileWasm::getStaticCtorSection(
1821 MCSection *TargetLoweringObjectFileWasm::getStaticDtorSection(
1830 MCSection *TargetLoweringObjectFileXCOFF::getExplicitSectionGlobal(
1835 MCSection *TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(
1874 MCSection *TargetLoweringObjectFileXCOFF::getStaticCtorSection(
1879 MCSection *TargetLoweringObjectFileXCOFF::getStaticDtorSection(
lib/MC/ConstantPools.cpp 66 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) {
75 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) {
79 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section,
90 MCSection *Section = CPI.first;
98 MCSection *Section = Streamer.getCurrentSectionOnly();
104 MCSection *Section = Streamer.getCurrentSectionOnly();
112 MCSection *Section = Streamer.getCurrentSectionOnly();
lib/MC/ELFObjectWriter.cpp 215 void writeSectionData(const MCAssembler &Asm, MCSection &Sec,
866 void ELFWriter::writeSectionData(const MCAssembler &Asm, MCSection &Sec,
1027 const MCSection *InfoSection = Section.getAssociatedSection();
1112 for (MCSection &Sec : Asm) {
1465 const MCSection &SecB = SymB.getSection();
lib/MC/MCAsmInfo.cpp 77 bool MCAsmInfo::isSectionAtomizableBySymbols(const MCSection &Section) const {
lib/MC/MCAsmInfoDarwin.cpp 22 const MCSection &Section) const {
lib/MC/MCAsmInfoELF.cpp 23 MCSection *MCAsmInfoELF::getNonexecutableStackSection(MCContext &Ctx) const {
lib/MC/MCAsmStreamer.cpp 136 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override;
181 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
185 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
443 void MCAsmStreamer::ChangeSection(MCSection *Section,
829 void MCAsmStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
858 void MCAsmStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
1758 MCSection *TextSec = &CurFrame->Function->getSection();
1759 MCSection *XData = getAssociatedXDataSection(TextSec);
lib/MC/MCAssembler.cpp 126 bool MCAssembler::registerSection(MCSection &Section) {
666 void MCAssembler::writeSectionData(raw_ostream &OS, const MCSection *Sec,
766 for (MCSection &Sec : *this) {
777 MCSection *Sec = Layout.getSectionOrder()[i];
806 for (MCSection &Sec : *this) {
1057 bool MCAssembler::layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec) {
1065 for (MCSection::iterator I = Sec.begin(), IE = Sec.end(); I != IE; ++I) {
1114 MCSection &Sec = *it;
1126 MCSection &Section = *Layout.getSectionOrder()[i];
lib/MC/MCCodeView.cpp 484 const MCSection *FirstSec = &Locs.front().getLabel()->getSection();
lib/MC/MCDwarf.cpp 87 void MCDwarfLineEntry::Make(MCObjectStreamer *MCOS, MCSection *Section) {
150 EmitDwarfLineTable(MCObjectStreamer *MCOS, MCSection *Section,
261 MCSection *Section) const {
903 for (MCSection *Sec : Sections) {
1108 for (MCSection *Sec : Sections) {
1851 MCSection &Section =
lib/MC/MCELFStreamer.cpp 139 MCSection *Section) {
145 void MCELFStreamer::ChangeSection(MCSection *Section,
147 MCSection *CurSection = getCurrentSectionOnly();
301 MCSection &Section = *getAssembler().getContext().getELFSection(
369 MCSection *Comment = getAssembler().getContext().getELFSection(
544 MCSection &Sec = *getCurrentSectionOnly();
575 if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) {
617 MCSection &Sec = *getCurrentSectionOnly();
633 Sec.setBundleLockState(AlignToEnd ? MCSection::BundleLockedAlignToEnd
634 : MCSection::BundleLocked);
638 MCSection &Sec = *getCurrentSectionOnly();
656 Sec.setBundleLockState(MCSection::NotBundleLocked);
665 if (Sec.getBundleLockState() != MCSection::BundleLockedAlignToEnd)
668 Sec.setBundleLockState(MCSection::NotBundleLocked);
673 MCSection *CurSection = getCurrentSectionOnly();
690 void MCELFStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
696 void MCELFStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
lib/MC/MCExpr.cpp 550 const MCSection &SecA = *SA.getFragment()->getParent();
551 const MCSection &SecB = *SB.getFragment()->getParent();
lib/MC/MCFragment.cpp 34 for (MCSection &Sec : Asm)
37 for (MCSection &Sec : Asm)
43 const MCSection *Sec = F->getParent();
62 MCSection *Sec = F->getParent();
63 MCSection::iterator I;
175 uint64_t MCAsmLayout::getSectionAddressSize(const MCSection *Sec) const {
181 uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const {
238 MCSection *Parent)
lib/MC/MCMachOStreamer.cpp 57 DenseMap<const MCSection*, bool> HasSectionLabel;
84 void ChangeSection(MCSection *Sect, const MCExpr *Subsect) override;
103 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
106 void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
149 void MCMachOStreamer::ChangeSection(MCSection *Section,
422 void MCMachOStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
450 void MCMachOStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
494 for (MCSection &Sec : getAssembler()) {
lib/MC/MCObjectFileInfo.cpp 838 MCSection *MCObjectFileInfo::getDwarfComdatSection(const char *Name,
856 MCSection *
857 MCObjectFileInfo::getStackSizesSection(const MCSection &TextSec) const {
lib/MC/MCObjectStreamer.cpp 50 MCSection *CurSection = getCurrentSectionOnly();
283 void MCObjectStreamer::ChangeSection(MCSection *Section,
288 bool MCObjectStreamer::changeSectionImpl(MCSection *Section,
312 bool MCObjectStreamer::mayHaveInstructions(MCSection &Sec) const {
327 MCSection *Sec = getCurrentSectionOnly();
527 MCSection *Sec = getCurrentSectionOnly();
540 MCSection *CurSec = getCurrentSectionOnly();
lib/MC/MCObjectWriter.cpp 48 const MCSection &SecA = SymA.getSection();
49 const MCSection &SecB = *FB.getParent();
lib/MC/MCParser/AsmParser.cpp 905 MCSection *Sec = getStreamer().getCurrentSectionOnly();
3340 const MCSection *Section = getStreamer().getCurrentSectionOnly();
lib/MC/MCParser/ELFAsmParser.cpp 636 MCSection *ELFSection =
796 MCSection *Note = getContext().getELFSection(".note", ELF::SHT_NOTE, 0);
lib/MC/MCSection.cpp 57 MCSection::iterator
lib/MC/MCStreamer.cpp 55 void MCTargetStreamer::changeSection(const MCSection *CurSection,
56 MCSection *Section,
766 static MCSection *getWinCFISection(MCContext &Context, unsigned *NextWinCFIID,
767 MCSection *MainCFISec,
768 const MCSection *TextSec) {
801 MCSection *MCStreamer::getAssociatedPDataSection(const MCSection *TextSec) {
801 MCSection *MCStreamer::getAssociatedPDataSection(const MCSection *TextSec) {
807 MCSection *MCStreamer::getAssociatedXDataSection(const MCSection *TextSec) {
807 MCSection *MCStreamer::getAssociatedXDataSection(const MCSection *TextSec) {
1075 void MCStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
1077 void MCStreamer::ChangeSection(MCSection *, const MCExpr *) {}
1101 void MCStreamer::SwitchSection(MCSection *Section, const MCExpr *Subsection) {
1115 MCSymbol *MCStreamer::endSection(MCSection *Section) {
lib/MC/MCWasmStreamer.cpp 60 void MCWasmStreamer::ChangeSection(MCSection *Section,
220 void MCWasmStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
226 void MCWasmStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
lib/MC/MCWin64EH.cpp 228 MCSection *XData = Streamer.getAssociatedXDataSection(CFI->TextSection);
235 MCSection *PData = Streamer.getAssociatedPDataSection(CFI->TextSection);
245 MCSection *XData = Streamer.getAssociatedXDataSection(info->TextSection);
660 MCSection *XData = Streamer.getAssociatedXDataSection(CFI->TextSection);
667 MCSection *PData = Streamer.getAssociatedPDataSection(CFI->TextSection);
677 MCSection *XData = Streamer.getAssociatedXDataSection(info->TextSection);
lib/MC/MCWinCOFFStreamer.cpp 192 MCSection *SXData = getContext().getObjectFileInfo()->getSXDataSection();
209 MCSection *Sec = getCurrentSectionOnly();
301 MCSection *Section = getContext().getObjectFileInfo()->getBSSSection();
311 void MCWinCOFFStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
317 void MCWinCOFFStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
lib/MC/MCXCOFFStreamer.cpp 64 void MCXCOFFStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
lib/MC/MachObjectWriter.cpp 120 uint64_t MachObjectWriter::getPaddingSize(const MCSection *Sec,
127 const MCSection &NextSec = *Layout.getSectionOrder()[Next];
215 const MCSection &Sec, uint64_t VMAddr,
546 DenseMap<const MCSection*, uint8_t> SectionIndexMap;
626 for (const MCSection &Section : Asm) {
645 for (const MCSection *Sec : Layout.getSectionOrder()) {
689 const MCSection &SecA = SA.getSection();
690 const MCSection &SecB = *FB.getParent();
819 for (const MCSection &Sec : Asm) {
851 for (const MCSection &Section : Asm) {
953 for (const MCSection &Sec : Asm) {
964 for (const MCSection &Sec : Asm) {
lib/MC/WasmObjectWriter.cpp 249 DenseMap<const MCSection *, const MCSymbol *> SectionFunctions;
483 const MCSection &SecA = SymA->getSection();
1218 for (MCSection &Sec : Asm) {
1500 for (const MCSection &S : Asm) {
lib/MC/WinCOFFObjectWriter.cpp 132 using section_map = DenseMap<MCSection const *, COFFSection *>;
189 const MCSection &MCSec);
191 const COFFSection &Sec, const MCSection &MCSec);
595 const MCSection &MCSec) {
615 const MCSection &MCSec) {
672 for (const auto &Section : Asm)
717 MCSection *MCSec = Fragment->getParent();
755 MCSection *TargetSection = &A.getSection();
899 for (const auto &Section : Asm) {
1045 MCSection *TargetSection = &S->getSection();
lib/MC/XCOFFObjectWriter.cpp 275 for (const auto &S : Asm) {
lib/Object/RecordStreamer.cpp 108 void RecordStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
lib/Object/RecordStreamer.h 53 void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
lib/Target/AArch64/AArch64AsmPrinter.cpp 702 MCSection *ReadOnlySec = TLOF.getSectionForJumpTable(F, TM);
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp 84 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override {
181 DenseMap<const MCSection *, ElfMappingSymbol> LastMappingSymbols;
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp 317 const MCSection &Sec = Symbol->getSection();
356 const MCSection &Sec = Symbol->getSection();
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 223 auto &ReadOnlySection = *ObjectFileInfo.getReadOnlySection();
lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp 23 MCSection *AMDGPUTargetObjectFile::SelectSectionForGlobal(
32 MCSection *AMDGPUTargetObjectFile::getExplicitSectionGlobal(
lib/Target/AMDGPU/AMDGPUTargetObjectFile.h 26 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
28 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
lib/Target/ARM/ARMTargetObjectFile.cpp 83 MCSection *ARMElfTargetObjectFile::getExplicitSectionGlobal(
92 MCSection *ARMElfTargetObjectFile::SelectSectionForGlobal(
lib/Target/ARM/ARMTargetObjectFile.h 35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
38 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
lib/Target/ARM/AsmParser/ARMAsmParser.cpp11254 const MCSection *Section = getStreamer().getCurrentSectionOnly();
11465 const MCSection *Section = getStreamer().getCurrentSectionOnly();
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 310 MCSection *AttributeSection = nullptr;
473 void ChangeSection(MCSection *Section, const MCExpr *Subsection) override {
692 DenseMap<const MCSection *, std::unique_ptr<ElfMappingSymbolInfo>>
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp 458 const MCSection &Sec = A->getSection();
lib/Target/AVR/AVRTargetObjectFile.cpp 27 MCSection *
lib/Target/AVR/AVRTargetObjectFile.h 23 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
27 MCSection *ProgmemDataSection;
lib/Target/BPF/BTFDebug.cpp 913 MCSection &Section = FuncLabel->getSection();
lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp 57 MCSection &Section = Sym.getSection();
lib/Target/Hexagon/HexagonTargetObjectFile.cpp 127 MCSection *HexagonTargetObjectFile::SelectSectionForGlobal(
165 MCSection *HexagonTargetObjectFile::getExplicitSectionGlobal(
339 MCSection *HexagonTargetObjectFile::selectSmallSectionForGlobal(
447 MCSection *HexagonTargetObjectFile::selectSectionForLookupTable(
lib/Target/Hexagon/HexagonTargetObjectFile.h 21 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
24 MCSection *getExplicitSectionGlobal(const GlobalObject *GO,
47 MCSection *selectSmallSectionForGlobal(const GlobalObject *GO,
51 MCSection *selectSectionForLookupTable(const GlobalObject *GO,
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp 107 MCSection &Section = *getAssembler().getContext().getELFSection(
lib/Target/Lanai/LanaiTargetObjectFile.cpp 102 MCSection *LanaiTargetObjectFile::SelectSectionForGlobal(
120 MCSection *LanaiTargetObjectFile::getSectionForConstant(const DataLayout &DL,
lib/Target/Lanai/LanaiTargetObjectFile.h 17 MCSection *SmallDataSection;
18 MCSection *SmallBSSSection;
33 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
39 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
lib/Target/MSP430/MCTargetDesc/MSP430ELFStreamer.cpp 41 MCSection *AttributeSection = getStreamer().getContext().getELFSection(
lib/Target/MSP430/MSP430AsmPrinter.cpp 160 MCSection *Cur = OutStreamer->getCurrentSectionOnly();
166 MCSection *IV = OutStreamer->getContext().getELFSection(
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 3323 MCSection *CS = getStreamer().getCurrentSectionOnly();
3326 MCSection *ReadOnlySection =
3377 MCSection *CS = getStreamer().getCurrentSectionOnly();
3378 MCSection *ReadOnlySection =
3458 MCSection *CS = getStreamer().getCurrentSectionOnly();
3461 MCSection *ReadOnlySection =
7801 MCSection *ELFSection = getContext().getELFSection(
7819 MCSection *ELFSection = getContext().getELFSection(
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp 93 void MipsELFStreamer::SwitchSection(MCSection *Section,
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h 53 void SwitchSection(MCSection *Section,
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp 897 MCSection &TextSection = *OFI.getTextSection();
899 MCSection &DataSection = *OFI.getDataSection();
901 MCSection &BSSSection = *OFI.getBSSSection();
914 for (MCSection &S : MCA) {
lib/Target/Mips/MipsTargetObjectFile.cpp 150 MCSection *MipsTargetObjectFile::SelectSectionForGlobal(
177 MCSection *MipsTargetObjectFile::getSectionForConstant(const DataLayout &DL,
lib/Target/Mips/MipsTargetObjectFile.h 17 MCSection *SmallDataSection;
18 MCSection *SmallBSSSection;
34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
41 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp 43 const MCSection *Section) {
83 void NVPTXTargetStreamer::changeSection(const MCSection *CurSection,
84 MCSection *Section,
lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h 45 void changeSection(const MCSection *CurSection, MCSection *Section,
45 void changeSection(const MCSection *CurSection, MCSection *Section,
lib/Target/NVPTX/NVPTXISelLowering.cpp 5064 MCSection *NVPTXTargetObjectFile::SelectSectionForGlobal(
lib/Target/NVPTX/NVPTXTargetObjectFile.h 28 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
34 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp 362 const MCSection &Sec = A->getSection();
lib/Target/PowerPC/PPCTargetObjectFile.cpp 24 MCSection *PPC64LinuxTargetObjectFile::SelectSectionForGlobal(
lib/Target/PowerPC/PPCTargetObjectFile.h 24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
lib/Target/RISCV/RISCVTargetObjectFile.cpp 75 MCSection *RISCVELFTargetObjectFile::SelectSectionForGlobal(
106 MCSection *RISCVELFTargetObjectFile::getSectionForConstant(
lib/Target/RISCV/RISCVTargetObjectFile.h 19 MCSection *SmallDataSection;
20 MCSection *SmallBSSSection;
31 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
37 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
lib/Target/TargetLoweringObjectFile.cpp 246 MCSection *TargetLoweringObjectFile::SectionForGlobal(
271 MCSection *TargetLoweringObjectFile::getSectionForJumpTable(
296 MCSection *TargetLoweringObjectFile::getSectionForConstant(
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp 46 static const MCSection *getFixupSection(const MCExpr *Expr) {
lib/Target/X86/AsmParser/X86AsmParser.cpp 3621 const MCSection *Section = getStreamer().getCurrentSectionOnly();
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp 219 const MCSection &Sec = Symbol->getSection();
581 const MCSection &Sec = A->getSection();
lib/Target/X86/X86AsmPrinter.cpp 571 MCSection *Cur = OutStreamer->getCurrentSectionOnly();
572 MCSection *Nt = MMI->getContext().getELFSection(
lib/Target/XCore/XCoreTargetObjectFile.cpp 97 MCSection *XCoreTargetObjectFile::getExplicitSectionGlobal(
108 MCSection *XCoreTargetObjectFile::SelectSectionForGlobal(
143 MCSection *XCoreTargetObjectFile::getSectionForConstant(const DataLayout &DL,
lib/Target/XCore/XCoreTargetObjectFile.h 19 MCSection *BSSSectionLarge;
20 MCSection *DataSectionLarge;
21 MCSection *ReadOnlySectionLarge;
22 MCSection *DataRelROSectionLarge;
27 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
30 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
33 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
tools/clang/tools/driver/cc1as_main.cpp 489 MCSection *AsmLabel = Ctx.getMachOSection(
tools/dsymutil/DwarfStreamer.cpp 262 MCSection *SwiftASTSection = MOFI->getDwarfSwiftASTSection();
715 MCSection *Sec, StringRef SecName, const CompileUnit &Unit,
tools/dsymutil/DwarfStreamer.h 183 void emitPubSectionForUnit(MCSection *Sec, StringRef Name,
tools/dsymutil/MachOUtils.cpp 292 MCSection *Sec = Layout.getSectionOrder()[i];
428 MCSection *Sec = Layout.getSectionOrder()[i];
551 for (const MCSection &Sec : MCAsm) {
tools/llvm-dwp/DWPStringPool.h 34 MCSection *Sec;
39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {}
tools/llvm-dwp/llvm-dwp.cpp 65 MCSection *StrOffsetSection,
218 const DWARFUnitIndex &TUIndex, MCSection *OutputTypes, StringRef Types,
248 MCSection *OutputTypes,
292 writeIndex(MCStreamer &Out, MCSection *Section,
393 const StringMap<std::pair<MCSection *, DWARFSectionKind>> &KnownSections,
394 const MCSection *StrSection, const MCSection *StrOffsetSection,
394 const MCSection *StrSection, const MCSection *StrOffsetSection,
395 const MCSection *TypesSection, const MCSection *CUIndexSection,
395 const MCSection *TypesSection, const MCSection *CUIndexSection,
396 const MCSection *TUIndexSection, const SectionRef &Section, MCStreamer &Out,
448 MCSection *OutSection = SectionPair->second.first;
507 MCSection *const StrSection = MCOFI.getDwarfStrDWOSection();
508 MCSection *const StrOffsetSection = MCOFI.getDwarfStrOffDWOSection();
509 MCSection *const TypesSection = MCOFI.getDwarfTypesDWOSection();
510 MCSection *const CUIndexSection = MCOFI.getDwarfCUIndexSection();
511 MCSection *const TUIndexSection = MCOFI.getDwarfTUIndexSection();
512 const StringMap<std::pair<MCSection *, DWARFSectionKind>> KnownSections = {
tools/llvm-exegesis/lib/SnippetFile.cpp 97 void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
tools/llvm-mca/CodeRegionGenerator.cpp 61 void EmitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 123 typedef _Tp value_type;
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;
1633 { typedef _Tp type; };
1983 { typedef _Up type; };