Home
last modified time | relevance | path

Searched refs:emitIntValue (Results 1 – 25 of 41) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsABIFlagsSection.cpp60 OS.emitIntValue(ABIFlagsSection.getVersionValue(), 2); // version in operator <<()
61 OS.emitIntValue(ABIFlagsSection.getISALevelValue(), 1); // isa_level in operator <<()
62 OS.emitIntValue(ABIFlagsSection.getISARevisionValue(), 1); // isa_rev in operator <<()
63 OS.emitIntValue(ABIFlagsSection.getGPRSizeValue(), 1); // gpr_size in operator <<()
64 OS.emitIntValue(ABIFlagsSection.getCPR1SizeValue(), 1); // cpr1_size in operator <<()
65 OS.emitIntValue(ABIFlagsSection.getCPR2SizeValue(), 1); // cpr2_size in operator <<()
66 OS.emitIntValue(ABIFlagsSection.getFpABIValue(), 1); // fp_abi in operator <<()
67 OS.emitIntValue(ABIFlagsSection.getISAExtensionValue(), 4); // isa_ext in operator <<()
68 OS.emitIntValue(ABIFlagsSection.getASESetValue(), 4); // ases in operator <<()
69 OS.emitIntValue(ABIFlagsSection.getFlags1Value(), 4); // flags1 in operator <<()
[all …]
H A DMipsELFStreamer.cpp105 void MipsELFStreamer::emitIntValue(uint64_t Value, unsigned Size) { in emitIntValue() function in MipsELFStreamer
106 MCELFStreamer::emitIntValue(Value, Size); in emitIntValue()
H A DMipsELFStreamer.h60 void emitIntValue(uint64_t Value, unsigned Size) override;
H A DMipsTargetStreamer.cpp1033 OS.emitIntValue(GPRInfoSet ? GPRBitMask : 0, 4); // reg_mask in emitDirectiveEnd()
1034 OS.emitIntValue(GPRInfoSet ? GPROffset : 0, 4); // reg_offset in emitDirectiveEnd()
1036 OS.emitIntValue(FPRInfoSet ? FPRBitMask : 0, 4); // fpreg_mask in emitDirectiveEnd()
1037 OS.emitIntValue(FPRInfoSet ? FPROffset : 0, 4); // fpreg_offset in emitDirectiveEnd()
1039 OS.emitIntValue(FrameInfoSet ? FrameOffset : 0, 4); // frame_offset in emitDirectiveEnd()
1040 OS.emitIntValue(FrameInfoSet ? FrameReg : 0, 4); // frame_reg in emitDirectiveEnd()
1041 OS.emitIntValue(FrameInfoSet ? ReturnReg : 0, 4); // return_reg in emitDirectiveEnd()
H A DMipsOptionRecord.cpp53 Streamer->emitIntValue(ri_gp_value, 8); in EmitMipsOptionRecord()
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp355 MS->emitIntValue(Range.start(), AddressSize); in emitDwarfDebugArangesTable()
356 MS->emitIntValue(Range.end() - Range.start(), AddressSize); in emitDwarfDebugArangesTable()
360 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitDwarfDebugArangesTable()
361 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitDwarfDebugArangesTable()
378 MS->emitIntValue(Range.start() - BaseAddress, AddressSize); in emitDwarfDebugRangesTableFragment()
379 MS->emitIntValue(Range.end() - BaseAddress, AddressSize); in emitDwarfDebugRangesTableFragment()
386 MS->emitIntValue(0, AddressSize); in emitDwarfDebugRangesTableFragment()
387 MS->emitIntValue(0, AddressSize); in emitDwarfDebugRangesTableFragment()
457 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitLocationsForUnit()
458 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitLocationsForUnit()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp83 OutStreamer.emitIntValue(4, 4); // data size for "GNU\0" in emitNoteSection()
84 OutStreamer.emitIntValue(4 * 4, 4); // Elf_Prop size in emitNoteSection()
85 OutStreamer.emitIntValue(ELF::NT_GNU_PROPERTY_TYPE_0, 4); in emitNoteSection()
89 OutStreamer.emitIntValue(ELF::GNU_PROPERTY_AARCH64_FEATURE_1_AND, 4); in emitNoteSection()
90 OutStreamer.emitIntValue(4, 4); // data size in emitNoteSection()
91 OutStreamer.emitIntValue(Flags, 4); // data in emitNoteSection()
92 OutStreamer.emitIntValue(0, 4); // pad in emitNoteSection()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp136 Streamer->emitIntValue(TypeInd.getIndex(), sizeof(TypeInd.getIndex())); in mapInteger()
286 Streamer->emitIntValue(Value, 2); in emitEncodedSignedInteger()
290 Streamer->emitIntValue(LF_CHAR, 2); in emitEncodedSignedInteger()
292 Streamer->emitIntValue(Value, 1); in emitEncodedSignedInteger()
296 Streamer->emitIntValue(LF_SHORT, 2); in emitEncodedSignedInteger()
298 Streamer->emitIntValue(Value, 2); in emitEncodedSignedInteger()
302 Streamer->emitIntValue(LF_LONG, 2); in emitEncodedSignedInteger()
304 Streamer->emitIntValue(Value, 4); in emitEncodedSignedInteger()
307 Streamer->emitIntValue(LF_QUADWORD, 2); in emitEncodedSignedInteger()
309 Streamer->emitIntValue(Value, 4); // FIXME: Why not 8 (size of quadword)? in emitEncodedSignedInteger()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DStackMaps.cpp593 OS.emitIntValue(StackMapVersion, 1); // Version. in emitStackmapHeader()
594 OS.emitIntValue(0, 1); // Reserved. in emitStackmapHeader()
623 OS.emitIntValue(FR.second.StackSize, 8); in emitFunctionFrameRecords()
624 OS.emitIntValue(FR.second.RecordCount, 8); in emitFunctionFrameRecords()
636 OS.emitIntValue(ConstEntry.second, 8); in emitConstantPoolEntries()
681 OS.emitIntValue(UINT64_MAX, 8); // Invalid ID. in emitCallsiteEntries()
691 OS.emitIntValue(CSI.ID, 8); in emitCallsiteEntries()
699 OS.emitIntValue(Loc.Type, 1); in emitCallsiteEntries()
700 OS.emitIntValue(0, 1); // Reserved in emitCallsiteEntries()
716 OS.emitIntValue(0, 1); in emitCallsiteEntries()
[all …]
H A DFaultMaps.cpp63 OS.emitIntValue(FaultMapVersion, 1); // Version. in serializeToFaultMapSection()
64 OS.emitIntValue(0, 1); // Reserved. in serializeToFaultMapSection()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp121 OutStreamer->emitIntValue(Val, 1); in emitEncodingByte()
151 OutStreamer->emitIntValue(0, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
185 OutStreamer->emitIntValue(S.Offset, getDwarfOffsetByteSize()); in emitDwarfStringOffset()
194 OutStreamer->emitIntValue(Value, getDwarfOffsetByteSize()); in emitDwarfLengthOrOffset()
221 OutStreamer->emitIntValue(Value, GetSizeOfEncodedValue(Encoding)); in emitCallSiteValue()
H A DDwarfStringPool.cpp126 Asm.OutStreamer->emitIntValue(Entry->getValue().Offset, size); in emit()
H A DDIE.cpp405 Asm->OutStreamer->emitIntValue(Integer, in emitValue()
655 AP->OutStreamer->emitIntValue(Entry->getOffset(), in emitValue()
673 AP->OutStreamer->emitIntValue(Addr, sizeOf(AP->getDwarfFormParams(), Form)); in emitValue()
H A DOcamlGCPrinter.cpp109 AP.OutStreamer->emitIntValue(0, IntPtrSize); in finishAssembly()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCStreamer.h732 virtual void emitIntValue(uint64_t Value, unsigned Size);
733 virtual void emitIntValue(APInt Value);
739 emitIntValue(Value, Size); in emitIntValueInHex()
742 void emitInt8(uint64_t Value) { emitIntValue(Value, 1); } in emitInt8()
743 void emitInt16(uint64_t Value) { emitIntValue(Value, 2); } in emitInt16()
744 void emitInt32(uint64_t Value) { emitIntValue(Value, 4); } in emitInt32()
745 void emitInt64(uint64_t Value) { emitIntValue(Value, 8); } in emitInt64()
751 emitIntValue(Value, Size); in emitIntValueInHexWithPadding()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600AsmPrinter.cpp92 OutStreamer->emitIntValue(S_NUM_GPRS(MaxGPR + 1) | in EmitProgramInfoR600()
99 OutStreamer->emitIntValue(alignTo(MFI->getLDSSize(), 4) >> 2, 4); in EmitProgramInfoR600()
/openbsd-src/gnu/llvm/llvm/lib/DWP/
H A DDWP.cpp402 Out.emitIntValue(NewOffset, 4); in writeStringsAndOffsets()
413 Out.emitIntValue((Field == AccessField::Offset in writeIndexTable()
448 Out.emitIntValue(IndexVersion, 4); // Version in writeIndex()
449 Out.emitIntValue(Columns, 4); // Columns in writeIndex()
450 Out.emitIntValue(IndexEntries.size(), 4); // Num Units in writeIndex()
451 Out.emitIntValue(Buckets.size(), 4); // Num Buckets in writeIndex()
455 Out.emitIntValue(I ? IndexEntries.begin()[I - 1].first : 0, 8); in writeIndex()
459 Out.emitIntValue(I, 4); in writeIndex()
464 Out.emitIntValue(getOnDiskSectionId(I), 4); in writeIndex()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h34 virtual void emitIntValue(uint64_t Value, unsigned Size) = 0;
103 Streamer->emitIntValue((int)Value, sizeof(T));
149 Streamer->emitIntValue(Size, sizeof(Size));
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCDwarf.cpp358 MCOS->emitIntValue(Offset, RefSize); in emitRef()
858 MCOS->emitIntValue(Length - UnitLengthBytes, OffsetSize); in EmitGenDwarfAranges()
867 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfAranges()
893 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
894 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
948 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfInfo()
964 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfInfo()
1119 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1124 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1125 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
[all …]
H A DMCObjectStreamer.cpp167 return emitIntValue(*Diff, Size); in emitAbsoluteSymbolDiff()
262 emitIntValue(AbsValue, Size); in emitValueImpl()
526 OS.emitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfSetLineAddr()
528 OS.emitIntValue(dwarf::DW_LNE_set_address, 1); in emitDwarfSetLineAddr()
872 emitIntValue(Expr, NonZeroSize); in emitFill()
874 emitIntValue(0, Size - NonZeroSize); in emitFill()
H A DMCAsmStreamer.cpp229 void emitIntValue(uint64_t Value, unsigned Size) override;
1239 void MCAsmStreamer::emitIntValue(uint64_t Value, unsigned Size) { in emitIntValue() function in MCAsmStreamer
1294 emitIntValue(ValueToEmit, EmissionSize); in emitValueImpl()
2518 emitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfAdvanceLineAddr()
2520 emitIntValue(dwarf::DW_LNE_set_address, 1); in emitDwarfAdvanceLineAddr()
2534 emitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfAdvanceLineAddr()
2536 emitIntValue(dwarf::DW_LNE_end_sequence, 1); in emitDwarfAdvanceLineAddr()
2542 emitIntValue(dwarf::DW_LNS_advance_line, 1); in emitDwarfAdvanceLineAddr()
2544 emitIntValue(dwarf::DW_LNS_copy, 1); in emitDwarfAdvanceLineAddr()
H A DMCStreamer.cpp134 void MCStreamer::emitIntValue(uint64_t Value, unsigned Size) { in emitIntValue() function in MCStreamer
144 void MCStreamer::emitIntValue(APInt Value) { in emitIntValue() function in MCStreamer
146 emitIntValue(Value.getLimitedValue(), Value.getBitWidth() / 8); in emitIntValue()
1028 emitIntValue(Length, dwarf::getDwarfOffsetByteSize(Context.getDwarfFormat())); in emitDwarfUnitLength()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp775 OutStreamer->emitIntValue(4, 4 /*size*/); // data size for "GNU\0" in emitStartOfAsmFile()
776 OutStreamer->emitIntValue(8 + WordSize, 4 /*size*/); // Elf_Prop size in emitStartOfAsmFile()
777 OutStreamer->emitIntValue(ELF::NT_GNU_PROPERTY_TYPE_0, 4 /*size*/); in emitStartOfAsmFile()
850 OutStreamer.emitIntValue(0, 4/*size*/); in emitNonLazySymbolPointer()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp31 Streamer.emitIntValue(uint8_t(Type), 1); in emitValueType()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp1753 OutStreamer->emitIntValue(0, 8 /* size */); in emitFunctionEntryLabel()
1931 OutStreamer->emitIntValue(0, 4/*size*/); in emitFunctionBodyEnd()
1932 OutStreamer->emitIntValue(0, 8/*size*/); in emitFunctionBodyEnd()
2053 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionBodyEnd()
2054 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionBodyEnd()
2569 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionDescriptor()
2878 OutStreamer->emitIntValue(0, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()

12