Lines Matching defs:Size
142 void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
148 /// @param Size - The size of the common symbol.
150 void EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
154 uint64_t Size = 0, unsigned ByteAlignment = 0) override;
157 uint64_t Size, unsigned ByteAlignment = 0) override;
161 void EmitValueImpl(const MCExpr *Value, unsigned Size,
163 void EmitIntValue(uint64_t Value, unsigned Size) override;
220 void EmitWinCFIAllocStack(unsigned Size) override;
289 assert(Bytes && "Invalid size!");
319 assert(NbArgs != -1 && ((size_t)NbArgs) == Args.size() && "Malformed LOH!");
501 OS << "\t.size\t" << *Symbol << ", " << *Value << '\n';
504 void MCAsmStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
509 OS << "\t.comm\t" << *Symbol << ',' << Size;
522 /// @param Size - The size of the common symbol.
523 void MCAsmStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
528 OS << "\t.lcomm\t" << *Symbol << ',' << Size;
546 uint64_t Size, unsigned ByteAlignment) {
558 OS << ',' << *Symbol << ',' << Size;
565 // .tbss sym, size, align
569 uint64_t Size, unsigned ByteAlignment) {
575 OS << ".tbss " << *Symbol << ", " << Size;
589 for (unsigned i = 0, e = Data.size(); i != e; ++i) {
625 if (Data.size() == 1) {
636 Data = Data.substr(0, Data.size()-1);
645 void MCAsmStreamer::EmitIntValue(uint64_t Value, unsigned Size) {
646 EmitValue(MCConstantExpr::Create(Value, getContext()), Size);
649 void MCAsmStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size,
651 assert(Size <= 8 && "Invalid size");
655 switch (Size) {
668 // We couldn't handle the requested integer size so we fallback by breaking
670 // than eight are invalid and size equivalent to eight should have been
673 for (unsigned Emitted = 0; Emitted != Size;) {
674 unsigned Remaining = Size - Emitted;
675 // The size of our partial emission must be a power of two less than
699 assert(Directive && "Invalid size for machine code value!");
762 llvm_unreachable("Invalid size for machine code value!");
773 llvm_unreachable("Unsupported alignment size!");
795 default: llvm_unreachable("Invalid size for machine code value!");
799 case 8: llvm_unreachable("Unsupported alignment size!");
839 unsigned NumFiles = Table.getMCDwarfFiles().size();
843 if (NumFiles == Table.getMCDwarfFiles().size())
1127 void MCAsmStreamer::EmitWinCFIAllocStack(unsigned Size) {
1128 MCStreamer::EmitWinCFIAllocStack(Size);
1130 OS << "\t.seh_stackalloc " << Size;
1177 FixupMap.resize(Code.size() * 8);
1178 for (unsigned i = 0, e = Code.size() * 8; i != e; ++i)
1181 for (unsigned i = 0, e = Fixups.size(); i != e; ++i) {
1186 assert(Index < Code.size() * 8 && "Invalid offset in fixup!");
1194 for (unsigned i = 0, e = Code.size(); i != e; ++i) {
1241 for (unsigned i = 0, e = Fixups.size(); i != e; ++i) {
1293 String = String.substr(0, String.size()-1);
1308 assert(Tables.size() == 1 && "asm output only supports one line table");