Home
last modified time | relevance | path

Searched refs:ByteAlignment (Results 1 – 25 of 62) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/MC/
DWinCOFFStreamer.cpp48 unsigned ByteAlignment, bool External);
65 unsigned ByteAlignment);
67 unsigned ByteAlignment);
69 unsigned Size,unsigned ByteAlignment);
71 uint64_t Size, unsigned ByteAlignment);
73 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value,
75 virtual void EmitCodeAlignment(unsigned ByteAlignment,
135 unsigned ByteAlignment, bool External) { in AddCommonSymbol() argument
156 if (SectionData.getAlignment() < ByteAlignment) in AddCommonSymbol()
157 SectionData.setAlignment(ByteAlignment); in AddCommonSymbol()
[all …]
DMCMachOStreamer.cpp54 unsigned ByteAlignment);
71 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
75 unsigned Size = 0, unsigned ByteAlignment = 0);
77 uint64_t Size, unsigned ByteAlignment = 0);
79 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
82 virtual void EmitCodeAlignment(unsigned ByteAlignment,
282 unsigned ByteAlignment) { in EmitCommonSymbol() argument
288 SD.setCommon(Size, ByteAlignment); in EmitCommonSymbol()
292 unsigned Size, unsigned ByteAlignment) { in EmitZerofill() argument
306 if (ByteAlignment != 1) in EmitZerofill()
[all …]
DMCPureStreamer.cpp42 unsigned Size = 0, unsigned ByteAlignment = 0);
44 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
47 virtual void EmitCodeAlignment(unsigned ByteAlignment,
61 uint64_t Size, unsigned ByteAlignment = 0) { in EmitTBSSSymbol() argument
68 unsigned ByteAlignment) { in EmitCommonSymbol() argument
90 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
147 unsigned Size, unsigned ByteAlignment) { in EmitZerofill() argument
157 void MCPureStreamer::EmitValueToAlignment(unsigned ByteAlignment, in EmitValueToAlignment() argument
163 MaxBytesToEmit = ByteAlignment; in EmitValueToAlignment()
164 new MCAlignFragment(ByteAlignment, Value, ValueSize, MaxBytesToEmit, in EmitValueToAlignment()
[all …]
DMCELFStreamer.cpp196 unsigned ByteAlignment) { in EmitCommonSymbol() argument
214 struct LocalCommon L = {&SD, Size, ByteAlignment}; in EmitCommonSymbol()
217 SD.setCommon(Size, ByteAlignment); in EmitCommonSymbol()
224 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
230 EmitCommonSymbol(Symbol, Size, ByteAlignment); in EmitLocalCommonSymbol()
239 void MCELFStreamer::EmitValueToAlignment(unsigned ByteAlignment, in EmitValueToAlignment() argument
245 MaxBytesToEmit = ByteAlignment; in EmitValueToAlignment()
246 new MCAlignFragment(ByteAlignment, Value, ValueSize, MaxBytesToEmit, in EmitValueToAlignment()
250 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitValueToAlignment()
251 getCurrentSectionData()->setAlignment(ByteAlignment); in EmitValueToAlignment()
[all …]
DMCLoggingStreamer.cpp131 unsigned ByteAlignment) { in EmitCommonSymbol() argument
133 return Child->EmitCommonSymbol(Symbol, Size, ByteAlignment); in EmitCommonSymbol()
137 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
139 return Child->EmitLocalCommonSymbol(Symbol, Size, ByteAlignment); in EmitLocalCommonSymbol()
143 unsigned Size = 0, unsigned ByteAlignment = 0) { in EmitZerofill() argument
145 return Child->EmitZerofill(Section, Symbol, Size, ByteAlignment); in EmitZerofill()
149 uint64_t Size, unsigned ByteAlignment = 0) { in EmitTBSSSymbol() argument
151 return Child->EmitTBSSSymbol(Section, Symbol, Size, ByteAlignment); in EmitTBSSSymbol()
186 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0, in EmitValueToAlignment() argument
190 return Child->EmitValueToAlignment(ByteAlignment, Value, in EmitValueToAlignment()
[all …]
DMCNullStreamer.cpp61 unsigned ByteAlignment) {} in EmitCommonSymbol() argument
63 unsigned ByteAlignment) {} in EmitLocalCommonSymbol() argument
65 unsigned Size = 0, unsigned ByteAlignment = 0) {} in EmitZerofill() argument
67 uint64_t Size, unsigned ByteAlignment) {} in EmitTBSSSymbol() argument
75 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0, in EmitValueToAlignment() argument
79 virtual void EmitCodeAlignment(unsigned ByteAlignment, in EmitCodeAlignment() argument
DMCELFStreamer.h55 unsigned ByteAlignment);
78 unsigned ByteAlignment);
81 unsigned Size = 0, unsigned ByteAlignment = 0) {
85 uint64_t Size, unsigned ByteAlignment = 0) {
89 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
92 virtual void EmitCodeAlignment(unsigned ByteAlignment,
108 unsigned ByteAlignment; member
DMCAsmStreamer.cpp155 unsigned ByteAlignment);
163 unsigned ByteAlignment);
166 unsigned Size = 0, unsigned ByteAlignment = 0);
169 uint64_t Size, unsigned ByteAlignment = 0);
188 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
192 virtual void EmitCodeAlignment(unsigned ByteAlignment,
474 unsigned ByteAlignment) { in EmitCommonSymbol() argument
476 if (ByteAlignment != 0) { in EmitCommonSymbol()
478 OS << ',' << ByteAlignment; in EmitCommonSymbol()
480 OS << ',' << Log2_32(ByteAlignment); in EmitCommonSymbol()
[all …]
/external/llvm/lib/MC/
DWinCOFFStreamer.cpp207 unsigned ByteAlignment) { in EmitCommonSymbol() argument
212 if (ByteAlignment > 32) in EmitCommonSymbol()
216 Size = std::max(Size, static_cast<uint64_t>(ByteAlignment)); in EmitCommonSymbol()
221 Symbol->setCommon(Size, ByteAlignment); in EmitCommonSymbol()
223 if (!T.isKnownWindowsMSVCEnvironment() && ByteAlignment > 1) { in EmitCommonSymbol()
229 << Log2_32_Ceil(ByteAlignment); in EmitCommonSymbol()
239 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
244 if (Section->getAlignment() < ByteAlignment) in EmitLocalCommonSymbol()
245 Section->setAlignment(ByteAlignment); in EmitLocalCommonSymbol()
250 if (ByteAlignment != 1) in EmitLocalCommonSymbol()
[all …]
DMCMachOStreamer.cpp85 unsigned ByteAlignment) override;
99 unsigned ByteAlignment) override;
101 uint64_t Size = 0, unsigned ByteAlignment = 0) override;
103 unsigned ByteAlignment = 0) override;
397 unsigned ByteAlignment) { in EmitCommonSymbol() argument
403 Symbol->setCommon(Size, ByteAlignment); in EmitCommonSymbol()
407 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
410 Symbol, Size, ByteAlignment); in EmitLocalCommonSymbol()
414 uint64_t Size, unsigned ByteAlignment) { in EmitZerofill() argument
429 if (ByteAlignment != 1) in EmitZerofill()
[all …]
DMCELFStreamer.cpp296 unsigned ByteAlignment) { in EmitCommonSymbol() argument
313 EmitValueToAlignment(ByteAlignment, 0, 1, 0); in EmitCommonSymbol()
318 if (ByteAlignment > Section.getAlignment()) in EmitCommonSymbol()
319 Section.setAlignment(ByteAlignment); in EmitCommonSymbol()
323 if(Symbol->declareCommon(Size, ByteAlignment)) in EmitCommonSymbol()
337 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
343 EmitCommonSymbol(Symbol, Size, ByteAlignment); in EmitLocalCommonSymbol()
354 void MCELFStreamer::EmitValueToAlignment(unsigned ByteAlignment, in EmitValueToAlignment() argument
360 MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value, in EmitValueToAlignment()
667 uint64_t Size, unsigned ByteAlignment) { in EmitZerofill() argument
[all …]
DMCAsmStreamer.cpp155 unsigned ByteAlignment) override;
163 unsigned ByteAlignment) override;
166 uint64_t Size = 0, unsigned ByteAlignment = 0) override;
169 unsigned ByteAlignment = 0) override;
198 void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
202 void EmitCodeAlignment(unsigned ByteAlignment,
621 unsigned ByteAlignment) { in EmitCommonSymbol() argument
626 if (ByteAlignment != 0) { in EmitCommonSymbol()
628 OS << ',' << ByteAlignment; in EmitCommonSymbol()
630 OS << ',' << Log2_32(ByteAlignment); in EmitCommonSymbol()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXMCAsmStreamer.cpp129 unsigned ByteAlignment);
137 unsigned ByteAlignment);
140 unsigned Size = 0, unsigned ByteAlignment = 0);
143 uint64_t Size, unsigned ByteAlignment = 0);
157 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
161 virtual void EmitCodeAlignment(unsigned ByteAlignment,
286 unsigned ByteAlignment) {} in EmitCommonSymbol() argument
289 unsigned ByteAlignment) {} in EmitLocalCommonSymbol() argument
292 unsigned Size, unsigned ByteAlignment) {} in EmitZerofill() argument
296 uint64_t Size, unsigned ByteAlignment) {} in EmitTBSSSymbol() argument
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp92 unsigned ByteAlignment, in HexagonMCEmitCommonSymbol() argument
115 EmitValueToAlignment(ByteAlignment, 0, 1, 0); in HexagonMCEmitCommonSymbol()
120 if (ByteAlignment > Section.getAlignment()) in HexagonMCEmitCommonSymbol()
121 Section.setAlignment(ByteAlignment); in HexagonMCEmitCommonSymbol()
125 if (ELFSymbol->declareCommon(Size, ByteAlignment)) in HexagonMCEmitCommonSymbol()
141 MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, in HexagonMCEmitLocalCommonSymbol() argument
147 HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignment, AccessSize); in HexagonMCEmitLocalCommonSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp90 unsigned ByteAlignment, in HexagonMCEmitCommonSymbol() argument
114 EmitValueToAlignment(ByteAlignment, 0, 1, 0); in HexagonMCEmitCommonSymbol()
120 if (ByteAlignment > Section.getAlignment()) in HexagonMCEmitCommonSymbol()
121 Section.setAlignment(ByteAlignment); in HexagonMCEmitCommonSymbol()
125 if (ELFSymbol->declareCommon(Size, ByteAlignment)) in HexagonMCEmitCommonSymbol()
142 unsigned ByteAlignment, in HexagonMCEmitLocalCommonSymbol() argument
148 HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignment, AccessSize); in HexagonMCEmitLocalCommonSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCWinCOFFStreamer.cpp255 unsigned ByteAlignment) { in EmitCommonSymbol() argument
260 if (ByteAlignment > 32) in EmitCommonSymbol()
264 Size = std::max(Size, static_cast<uint64_t>(ByteAlignment)); in EmitCommonSymbol()
269 Symbol->setCommon(Size, ByteAlignment); in EmitCommonSymbol()
271 if (!T.isKnownWindowsMSVCEnvironment() && ByteAlignment > 1) { in EmitCommonSymbol()
277 << Log2_32_Ceil(ByteAlignment); in EmitCommonSymbol()
287 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
293 EmitValueToAlignment(ByteAlignment, 0, 1, 0); in EmitLocalCommonSymbol()
301 uint64_t Size, unsigned ByteAlignment, in EmitZerofill() argument
307 uint64_t Size, unsigned ByteAlignment) { in EmitTBSSSymbol() argument
DMCMachOStreamer.cpp100 unsigned ByteAlignment) override;
103 unsigned ByteAlignment) override;
105 uint64_t Size = 0, unsigned ByteAlignment = 0,
108 unsigned ByteAlignment = 0) override;
400 unsigned ByteAlignment) { in EmitCommonSymbol() argument
406 Symbol->setCommon(Size, ByteAlignment); in EmitCommonSymbol()
410 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
413 Symbol, Size, ByteAlignment); in EmitLocalCommonSymbol()
417 uint64_t Size, unsigned ByteAlignment, in EmitZerofill() argument
435 EmitValueToAlignment(ByteAlignment, 0, 1, 0); in EmitZerofill()
[all …]
DMCWasmStreamer.cpp135 unsigned ByteAlignment) { in EmitCommonSymbol() argument
144 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
153 void MCWasmStreamer::EmitValueToAlignment(unsigned ByteAlignment, int64_t Value, in EmitValueToAlignment() argument
156 MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value, ValueSize, in EmitValueToAlignment()
218 uint64_t Size, unsigned ByteAlignment, in EmitZerofill() argument
224 uint64_t Size, unsigned ByteAlignment) { in EmitTBSSSymbol() argument
DMCELFStreamer.cpp286 unsigned ByteAlignment) { in EmitCommonSymbol() argument
303 EmitValueToAlignment(ByteAlignment, 0, 1, 0); in EmitCommonSymbol()
308 if (ByteAlignment > Section.getAlignment()) in EmitCommonSymbol()
309 Section.setAlignment(ByteAlignment); in EmitCommonSymbol()
313 if(Symbol->declareCommon(Size, ByteAlignment)) in EmitCommonSymbol()
332 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
338 EmitCommonSymbol(Symbol, Size, ByteAlignment); in EmitLocalCommonSymbol()
349 void MCELFStreamer::EmitValueToAlignment(unsigned ByteAlignment, in EmitValueToAlignment() argument
355 MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value, in EmitValueToAlignment()
686 uint64_t Size, unsigned ByteAlignment, in EmitZerofill() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCWasmStreamer.h55 unsigned ByteAlignment) override;
60 unsigned ByteAlignment) override;
63 uint64_t Size = 0, unsigned ByteAlignment = 0,
66 unsigned ByteAlignment = 0) override;
DMCWinCOFFStreamer.h59 unsigned ByteAlignment) override;
61 unsigned ByteAlignment) override;
63 unsigned ByteAlignment, SMLoc Loc = SMLoc()) override;
65 unsigned ByteAlignment) override;
DMCELFStreamer.h52 unsigned ByteAlignment) override;
59 unsigned ByteAlignment) override;
62 uint64_t Size = 0, unsigned ByteAlignment = 0,
65 unsigned ByteAlignment = 0) override;
/external/llvm/include/llvm/MC/
DMCWinCOFFStreamer.h57 unsigned ByteAlignment) override;
59 unsigned ByteAlignment) override;
61 unsigned ByteAlignment) override;
63 unsigned ByteAlignment) override;
DMCELFStreamer.h54 unsigned ByteAlignment) override;
63 unsigned ByteAlignment) override;
66 uint64_t Size = 0, unsigned ByteAlignment = 0) override;
68 unsigned ByteAlignment = 0) override;
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCStreamer.h351 unsigned ByteAlignment) = 0;
359 unsigned ByteAlignment) = 0;
369 unsigned Size = 0,unsigned ByteAlignment = 0) = 0;
379 uint64_t Size, unsigned ByteAlignment = 0) = 0;
470 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
485 virtual void EmitCodeAlignment(unsigned ByteAlignment,

123