Home
last modified time | relevance | path

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

/external/llvm/lib/MC/
DWinCOFFStreamer.cpp211 unsigned ByteAlignment) { in EmitCommonSymbol() argument
218 if (ByteAlignment > 32) in EmitCommonSymbol()
222 Size = std::max(Size, static_cast<uint64_t>(ByteAlignment)); in EmitCommonSymbol()
227 Symbol->setCommon(Size, ByteAlignment); in EmitCommonSymbol()
229 if (!T.isKnownWindowsMSVCEnvironment() && ByteAlignment > 1) { in EmitCommonSymbol()
235 << Log2_32_Ceil(ByteAlignment); in EmitCommonSymbol()
245 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
250 if (Section->getAlignment() < ByteAlignment) in EmitLocalCommonSymbol()
251 Section->setAlignment(ByteAlignment); in EmitLocalCommonSymbol()
256 if (ByteAlignment != 1) in EmitLocalCommonSymbol()
[all …]
DMCMachOStreamer.cpp83 unsigned ByteAlignment) override;
97 unsigned ByteAlignment) override;
99 uint64_t Size = 0, unsigned ByteAlignment = 0) override;
101 unsigned ByteAlignment = 0) override;
382 unsigned ByteAlignment) { in EmitCommonSymbol() argument
388 Symbol->setCommon(Size, ByteAlignment); in EmitCommonSymbol()
392 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
395 Symbol, Size, ByteAlignment); in EmitLocalCommonSymbol()
399 uint64_t Size, unsigned ByteAlignment) { in EmitZerofill() argument
414 if (ByteAlignment != 1) in EmitZerofill()
[all …]
DMCAsmStreamer.cpp149 unsigned ByteAlignment) override;
157 unsigned ByteAlignment) override;
160 uint64_t Size = 0, unsigned ByteAlignment = 0) override;
163 unsigned ByteAlignment = 0) override;
182 void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
186 void EmitCodeAlignment(unsigned ByteAlignment,
544 unsigned ByteAlignment) { in EmitCommonSymbol() argument
549 if (ByteAlignment != 0) { in EmitCommonSymbol()
551 OS << ',' << ByteAlignment; in EmitCommonSymbol()
553 OS << ',' << Log2_32(ByteAlignment); in EmitCommonSymbol()
[all …]
DMCELFStreamer.cpp292 unsigned ByteAlignment) { in EmitCommonSymbol() argument
309 EmitValueToAlignment(ByteAlignment, 0, 1, 0); in EmitCommonSymbol()
314 if (ByteAlignment > Section.getAlignment()) in EmitCommonSymbol()
315 Section.setAlignment(ByteAlignment); in EmitCommonSymbol()
319 if(Symbol->declareCommon(Size, ByteAlignment)) in EmitCommonSymbol()
333 unsigned ByteAlignment) { in EmitLocalCommonSymbol() argument
339 EmitCommonSymbol(Symbol, Size, ByteAlignment); in EmitLocalCommonSymbol()
350 void MCELFStreamer::EmitValueToAlignment(unsigned ByteAlignment, in EmitValueToAlignment() argument
356 MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value, in EmitValueToAlignment()
667 uint64_t Size, unsigned ByteAlignment) { in EmitZerofill() argument
[all …]
DMCNullStreamer.cpp33 unsigned ByteAlignment) override {} in EmitCommonSymbol() argument
35 uint64_t Size = 0, unsigned ByteAlignment = 0) override {} in EmitZerofill() argument
DMCObjectStreamer.cpp374 void MCObjectStreamer::EmitValueToAlignment(unsigned ByteAlignment, in EmitValueToAlignment() argument
379 MaxBytesToEmit = ByteAlignment; in EmitValueToAlignment()
380 insert(new MCAlignFragment(ByteAlignment, Value, ValueSize, MaxBytesToEmit)); in EmitValueToAlignment()
384 if (ByteAlignment > CurSec->getAlignment()) in EmitValueToAlignment()
385 CurSec->setAlignment(ByteAlignment); in EmitValueToAlignment()
388 void MCObjectStreamer::EmitCodeAlignment(unsigned ByteAlignment, in EmitCodeAlignment() argument
390 EmitValueToAlignment(ByteAlignment, 0, 1, MaxBytesToEmit); in EmitCodeAlignment()
DMCAsmInfoCOFF.cpp24 LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment; in MCAsmInfoCOFF()
DMCStreamer.cpp684 unsigned ByteAlignment) {} in EmitLocalCommonSymbol() argument
686 uint64_t Size, unsigned ByteAlignment) {} in EmitTBSSSymbol() argument
695 void MCStreamer::EmitValueToAlignment(unsigned ByteAlignment, int64_t Value, in EmitValueToAlignment() argument
698 void MCStreamer::EmitCodeAlignment(unsigned ByteAlignment, in EmitCodeAlignment() argument
/external/llvm/include/llvm/MC/
DMCWinCOFFStreamer.h57 unsigned ByteAlignment) override;
59 unsigned ByteAlignment) override;
61 unsigned ByteAlignment) override;
63 unsigned ByteAlignment) override;
DMCELFStreamer.h55 unsigned ByteAlignment) override;
64 unsigned ByteAlignment) override;
67 uint64_t Size = 0, unsigned ByteAlignment = 0) override;
69 unsigned ByteAlignment = 0) override;
DMCStreamer.h474 unsigned ByteAlignment) = 0;
482 unsigned ByteAlignment);
492 uint64_t Size = 0, unsigned ByteAlignment = 0) = 0;
502 uint64_t Size, unsigned ByteAlignment = 0);
589 virtual void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
603 virtual void EmitCodeAlignment(unsigned ByteAlignment,
DMCObjectStreamer.h110 void EmitValueToAlignment(unsigned ByteAlignment, int64_t Value = 0,
113 void EmitCodeAlignment(unsigned ByteAlignment,
DMCAsmInfo.h53 enum LCOMMType { NoAlignment, ByteAlignment, Log2Alignment }; enumerator
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp92 unsigned ByteAlignment, in HexagonMCEmitCommonSymbol() argument
117 MCELFStreamer::EmitCommonSymbol(Symbol, Size, ByteAlignment); in HexagonMCEmitCommonSymbol()
120 if (ELFSymbol->declareCommon(Size, ByteAlignment)) in HexagonMCEmitCommonSymbol()
136 MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, in HexagonMCEmitLocalCommonSymbol() argument
142 HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignment, AccessSize); in HexagonMCEmitLocalCommonSymbol()
DHexagonMCELFStreamer.h34 unsigned ByteAlignment,
37 unsigned ByteAlignment, unsigned AccessSize);
DHexagonMCTargetDesc.cpp132 unsigned ByteAlignment, in EmitCommonSymbolSorted() argument
136 HexagonELFStreamer.HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignment, in EmitCommonSymbolSorted()
140 unsigned ByteAlignment, in EmitLocalCommonSymbolSorted() argument
145 Symbol, Size, ByteAlignment, AccessSize); in EmitLocalCommonSymbolSorted()
DHexagonMCAsmInfo.cpp28 LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment; in HexagonMCAsmInfo()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetStreamer.h19 virtual void EmitCodeAlignment(unsigned ByteAlignment,
23 unsigned ByteAlignment, in EmitCommonSymbolSorted() argument
/external/llvm/lib/Object/
DRecordStreamer.h37 unsigned ByteAlignment) override;
39 unsigned ByteAlignment) override;
DRecordStreamer.cpp93 uint64_t Size, unsigned ByteAlignment) { in EmitZerofill() argument
98 unsigned ByteAlignment) { in EmitCommonSymbol() argument
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCAsmInfo.cpp79 LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment; in PPCELFMCAsmInfo()
/external/libchrome/base/memory/
Daligned_memory.h53 template <size_t Size, size_t ByteAlignment>
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp1016 int64_t ByteAlignment = 1; in ParseDirectiveComm() local
1021 if (getParser().parseAbsoluteExpression(ByteAlignment)) in ParseDirectiveComm()
1023 if (!isPowerOf2_64(ByteAlignment)) in ParseDirectiveComm()
1055 if (ByteAlignment < 0) in ParseDirectiveComm()
1065 HexagonELFStreamer.HexagonMCEmitLocalCommonSymbol(Sym, Size, ByteAlignment, in ParseDirectiveComm()
1070 HexagonELFStreamer.HexagonMCEmitCommonSymbol(Sym, Size, ByteAlignment, in ParseDirectiveComm()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp3869 (IsLocal && LCOMM == LCOMM::ByteAlignment)) { in parseDirectiveComm()