Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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.cpp104 void MipsELFStreamer::emitIntValue(uint64_t Value, unsigned Size) { in emitIntValue() function in MipsELFStreamer
105 MCELFStreamer::emitIntValue(Value, Size); in emitIntValue()
H A DMipsELFStreamer.h59 void emitIntValue(uint64_t Value, unsigned Size) override;
H A DMipsTargetStreamer.cpp1124 OS.emitIntValue(GPRInfoSet ? GPRBitMask : 0, 4); // reg_mask in emitDirectiveEnd()
1125 OS.emitIntValue(GPRInfoSet ? GPROffset : 0, 4); // reg_offset in emitDirectiveEnd()
1127 OS.emitIntValue(FPRInfoSet ? FPRBitMask : 0, 4); // fpreg_mask in emitDirectiveEnd()
1128 OS.emitIntValue(FPRInfoSet ? FPROffset : 0, 4); // fpreg_offset in emitDirectiveEnd()
1130 OS.emitIntValue(FrameInfoSet ? FrameOffset : 0, 4); // frame_offset in emitDirectiveEnd()
1131 OS.emitIntValue(FrameInfoSet ? FrameReg : 0, 4); // frame_reg in emitDirectiveEnd()
1132 OS.emitIntValue(FrameInfoSet ? ReturnReg : 0, 4); // return_reg in emitDirectiveEnd()
H A DMipsOptionRecord.cpp51 Streamer->emitIntValue(ri_gp_value, 8); in EmitMipsOptionRecord()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDKernelCodeTUtils.cpp464 OS.emitIntValue(amd_kernel_code_version_major, /*Size=*/4); in EmitKernelCodeT()
465 OS.emitIntValue(amd_kernel_code_version_minor, /*Size=*/4); in EmitKernelCodeT()
466 OS.emitIntValue(amd_machine_kind, /*Size=*/2); in EmitKernelCodeT()
467 OS.emitIntValue(amd_machine_version_major, /*Size=*/2); in EmitKernelCodeT()
468 OS.emitIntValue(amd_machine_version_minor, /*Size=*/2); in EmitKernelCodeT()
469 OS.emitIntValue(amd_machine_version_stepping, /*Size=*/2); in EmitKernelCodeT()
470 OS.emitIntValue(kernel_code_entry_byte_offset, /*Size=*/8); in EmitKernelCodeT()
471 OS.emitIntValue(kernel_code_prefetch_byte_offset, /*Size=*/8); in EmitKernelCodeT()
472 OS.emitIntValue(kernel_code_prefetch_byte_size, /*Size=*/8); in EmitKernelCodeT()
473 OS.emitIntValue(reserved0, /*Size=*/8); in EmitKernelCodeT()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp102 OutStreamer.emitIntValue(4, 4); // data size for "GNU\0" in emitNoteSection()
103 OutStreamer.emitIntValue(DescSz, 4); // Elf_Prop array size in emitNoteSection()
104 OutStreamer.emitIntValue(ELF::NT_GNU_PROPERTY_TYPE_0, 4); in emitNoteSection()
109 OutStreamer.emitIntValue(ELF::GNU_PROPERTY_AARCH64_FEATURE_1_AND, 4); in emitNoteSection()
110 OutStreamer.emitIntValue(4, 4); // data size in emitNoteSection()
111 OutStreamer.emitIntValue(Flags, 4); // data in emitNoteSection()
112 OutStreamer.emitIntValue(0, 4); // pad in emitNoteSection()
117 OutStreamer.emitIntValue(ELF::GNU_PROPERTY_AARCH64_FEATURE_PAUTH, 4); in emitNoteSection()
118 OutStreamer.emitIntValue(8 * 2, 4); // data size in emitNoteSection()
119 OutStreamer.emitIntValue(PAuthABIPlatform, 8); in emitNoteSection()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp137 Streamer->emitIntValue(TypeInd.getIndex(), sizeof(TypeInd.getIndex())); in mapInteger()
287 Streamer->emitIntValue(Value, 2); in emitEncodedSignedInteger()
291 Streamer->emitIntValue(LF_CHAR, 2); in emitEncodedSignedInteger()
293 Streamer->emitIntValue(Value, 1); in emitEncodedSignedInteger()
297 Streamer->emitIntValue(LF_SHORT, 2); in emitEncodedSignedInteger()
299 Streamer->emitIntValue(Value, 2); in emitEncodedSignedInteger()
303 Streamer->emitIntValue(LF_LONG, 2); in emitEncodedSignedInteger()
305 Streamer->emitIntValue(Value, 4); in emitEncodedSignedInteger()
308 Streamer->emitIntValue(LF_QUADWORD, 2); in emitEncodedSignedInteger()
310 Streamer->emitIntValue(Value, 4); // FIXME: Why not 8 (size of quadword)? in emitEncodedSignedInteger()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp465 MS->emitIntValue(Range.start(), AddressSize); in emitDwarfDebugArangesTable()
466 MS->emitIntValue(Range.end() - Range.start(), AddressSize); in emitDwarfDebugArangesTable()
470 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitDwarfDebugArangesTable()
471 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitDwarfDebugArangesTable()
490 MS->emitIntValue(Range.start() - BaseAddress, AddressSize); in emitDwarfDebugRangesTableFragment()
491 MS->emitIntValue(Range.end() - BaseAddress, AddressSize); in emitDwarfDebugRangesTableFragment()
498 MS->emitIntValue(0, AddressSize); in emitDwarfDebugRangesTableFragment()
499 MS->emitIntValue(0, AddressSize); in emitDwarfDebugRangesTableFragment()
684 MS->emitIntValue(LocExpression.Range->LowPC - BaseAddress, AddressSize); in emitDwarfDebugLocTableFragment()
685 MS->emitIntValue(LocExpression.Range->HighPC - BaseAddress, AddressSize); in emitDwarfDebugLocTableFragment()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVTargetStreamer.cpp86 OutStreamer.emitIntValue(4, 4); // n_namsz in emitNoteGnuPropertySection()
95 OutStreamer.emitIntValue(ELF::NT_GNU_PROPERTY_TYPE_0, 4); // n_type in emitNoteGnuPropertySection()
103 OutStreamer.emitIntValue(ELF::GNU_PROPERTY_RISCV_FEATURE_1_AND, 4); // pr_type in emitNoteGnuPropertySection()
104 OutStreamer.emitIntValue(4, 4); // pr_datasz in emitNoteGnuPropertySection()
105 OutStreamer.emitIntValue(Feature1And, 4); // pr_data in emitNoteGnuPropertySection()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackMaps.cpp581 OS.emitIntValue(StackMapVersion, 1); // Version. in emitStackmapHeader()
582 OS.emitIntValue(0, 1); // Reserved. in emitStackmapHeader()
611 OS.emitIntValue(FR.second.StackSize, 8); in emitFunctionFrameRecords()
612 OS.emitIntValue(FR.second.RecordCount, 8); in emitFunctionFrameRecords()
624 OS.emitIntValue(ConstEntry.second, 8); in emitConstantPoolEntries()
669 OS.emitIntValue(UINT64_MAX, 8); // Invalid ID. in emitCallsiteEntries()
679 OS.emitIntValue(CSI.ID, 8); in emitCallsiteEntries()
687 OS.emitIntValue(Loc.Type, 1); in emitCallsiteEntries()
688 OS.emitIntValue(0, 1); // Reserved in emitCallsiteEntries()
704 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp98 OutStreamer->emitIntValue(Val, 1); in emitEncodingByte()
128 OutStreamer->emitIntValue(0, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
162 OutStreamer->emitIntValue(S.Offset, getDwarfOffsetByteSize()); in emitDwarfStringOffset()
171 OutStreamer->emitIntValue(Value, getDwarfOffsetByteSize()); in emitDwarfLengthOrOffset()
198 OutStreamer->emitIntValue(Value, GetSizeOfEncodedValue(Encoding)); in emitCallSiteValue()
H A DDwarfStringPool.cpp123 Asm.OutStreamer->emitIntValue(Entry->getValue().Offset, size); in emit()
H A DDIE.cpp400 Asm->OutStreamer->emitIntValue(Integer, in emitValue()
653 AP->OutStreamer->emitIntValue(Entry->getOffset(), in emitValue()
671 AP->OutStreamer->emitIntValue(Addr, sizeOf(AP->getDwarfFormParams(), Form)); in emitValue()
H A DOcamlGCPrinter.cpp109 AP.OutStreamer->emitIntValue(0, IntPtrSize); in finishAssembly()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCStreamer.h729 virtual void emitIntValue(uint64_t Value, unsigned Size);
730 virtual void emitIntValue(const APInt &Value);
736 emitIntValue(Value, Size); in emitIntValueInHex()
739 void emitInt8(uint64_t Value) { emitIntValue(Value, 1); } in emitInt8()
740 void emitInt16(uint64_t Value) { emitIntValue(Value, 2); } in emitInt16()
741 void emitInt32(uint64_t Value) { emitIntValue(Value, 4); } in emitInt32()
742 void emitInt64(uint64_t Value) { emitIntValue(Value, 8); } in emitInt64()
748 emitIntValue(Value, Size); in emitIntValueInHexWithPadding()
/freebsd/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp422 Out.emitIntValue(NewOffset, 4); in writeNewOffsetsTo()
484 Out.emitIntValue((Field == AccessField::Offset in writeIndexTable()
519 Out.emitIntValue(IndexVersion, 4); // Version in writeIndex()
520 Out.emitIntValue(Columns, 4); // Columns in writeIndex()
521 Out.emitIntValue(IndexEntries.size(), 4); // Num Units in writeIndex()
522 Out.emitIntValue(Buckets.size(), 4); // Num Buckets in writeIndex()
526 Out.emitIntValue(I ? IndexEntries.begin()[I - 1].first : 0, 8); in writeIndex()
530 Out.emitIntValue(I, 4); in writeIndex()
535 Out.emitIntValue(getOnDiskSectionId(I), 4); in writeIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h35 virtual void emitIntValue(uint64_t Value, unsigned Size) = 0;
104 Streamer->emitIntValue((int)Value, sizeof(T));
150 Streamer->emitIntValue(Size, sizeof(Size));
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCDwarf.cpp410 MCOS->emitIntValue(Offset, RefSize); in emitRef()
905 MCOS->emitIntValue(Length - UnitLengthBytes, OffsetSize); in EmitGenDwarfAranges()
914 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfAranges()
939 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
940 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
994 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfInfo()
1010 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfInfo()
1162 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1167 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1168 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
[all …]
H A DMCObjectStreamer.cpp99 emitIntValue(*Diff, Size); in emitAbsoluteSymbolDiff()
188 emitIntValue(AbsValue, Size); in emitValueImpl()
466 OS.emitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfSetLineAddr()
468 OS.emitIntValue(dwarf::DW_LNE_set_address, 1); in emitDwarfSetLineAddr()
757 emitIntValue(Expr, NonZeroSize); in emitFill()
759 emitIntValue(0, Size - NonZeroSize); in emitFill()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp29 Streamer.emitIntValue(uint8_t(Type), 1); in emitValueType()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp909 OutStreamer->emitIntValue(4, 4 /*size*/); // data size for "GNU\0" in emitStartOfAsmFile()
910 OutStreamer->emitIntValue(8 + WordSize, 4 /*size*/); // Elf_Prop size in emitStartOfAsmFile()
911 OutStreamer->emitIntValue(ELF::NT_GNU_PROPERTY_TYPE_0, 4 /*size*/); in emitStartOfAsmFile()
956 OutStreamer.emitIntValue(0, 4/*size*/); in emitNonLazySymbolPointer()

12