Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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.cpp1035 OS.emitIntValue(GPRInfoSet ? GPRBitMask : 0, 4); // reg_mask in emitDirectiveEnd()
1036 OS.emitIntValue(GPRInfoSet ? GPROffset : 0, 4); // reg_offset in emitDirectiveEnd()
1038 OS.emitIntValue(FPRInfoSet ? FPRBitMask : 0, 4); // fpreg_mask in emitDirectiveEnd()
1039 OS.emitIntValue(FPRInfoSet ? FPROffset : 0, 4); // fpreg_offset in emitDirectiveEnd()
1041 OS.emitIntValue(FrameInfoSet ? FrameOffset : 0, 4); // frame_offset in emitDirectiveEnd()
1042 OS.emitIntValue(FrameInfoSet ? FrameReg : 0, 4); // frame_reg in emitDirectiveEnd()
1043 OS.emitIntValue(FrameInfoSet ? ReturnReg : 0, 4); // return_reg in emitDirectiveEnd()
H A DMipsOptionRecord.cpp53 Streamer->emitIntValue(ri_gp_value, 8); in EmitMipsOptionRecord()
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp351 MS->emitIntValue(0, AddressSize); in emitRangesEntries()
352 MS->emitIntValue(0, AddressSize); in emitRangesEntries()
408 MS->emitIntValue(RangeStart, AddressSize); in emitUnitRangesEntries()
415 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitUnitRangesEntries()
436 MS->emitIntValue(0, AddressSize); in emitUnitRangesEntries()
437 MS->emitIntValue(0, AddressSize); in emitUnitRangesEntries()
493 Asm->OutStreamer->emitIntValue(Length, 2); in emitLocationsForUnit()
569 MS->emitIntValue(dwarf::DW_LNS_set_file, 1); in emitLineTableForUnit()
585 MS->emitIntValue(dwarf::DW_LNS_set_isa, 1); in emitLineTableForUnit()
803 MS->emitIntValue(CIEOffset, 4); in emitFDE()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp286 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()
318 Streamer->emitIntValue(Value, 2); in emitEncodedUnsignedInteger()
323 Streamer->emitIntValue(Value, 2); in emitEncodedUnsignedInteger()
328 Streamer->emitIntValue(Value, 4); in emitEncodedUnsignedInteger()
[all …]
/llvm-project-15.0.7/bolt/lib/RuntimeLibs/
H A DInstrumentationRuntimeLibrary.cpp142 auto emitIntValue = [&Streamer, emitDataPadding, emitLabelByName]( in emitBinary() local
146 Streamer.emitIntValue(Value, Size); in emitBinary()
166 emitIntValue("__bolt_instr_sleep_time", opts::InstrumentationSleepTime); in emitBinary()
167 emitIntValue("__bolt_instr_no_counters_clear", in emitBinary()
169 emitIntValue("__bolt_instr_conservative", !!opts::ConservativeInstrumentation, in emitBinary()
171 emitIntValue("__bolt_instr_wait_forks", !!opts::InstrumentationWaitForks, 1); in emitBinary()
172 emitIntValue("__bolt_num_counters", Summary->Counters.size()); in emitBinary()
175 emitIntValue("__bolt_instr_num_ind_calls", in emitBinary()
177 emitIntValue("__bolt_instr_num_ind_targets", in emitBinary()
179 emitIntValue("__bolt_instr_num_funcs", Summary->FunctionDescriptions.size()); in emitBinary()
[all …]
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DAsmPrinterDwarfTest.cpp171 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val.Offset, 4)); in TEST_F()
195 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val.Offset, 8)); in TEST_F()
271 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val, 4)); in TEST_F()
279 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val, 8)); in TEST_F()
309 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val, 4)); in TEST_F()
318 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(dwarf::DW_LENGTH_DWARF64, 4)); in TEST_F()
319 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val, 8)); in TEST_F()
363 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(dwarf::DW_LENGTH_DWARF64, 4)); in TEST_F()
H A DTestAsmPrinter.h42 MOCK_METHOD2(emitIntValue, void(uint64_t Value, unsigned Size));
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DStackMaps.cpp576 OS.emitIntValue(StackMapVersion, 1); // Version. in emitStackmapHeader()
577 OS.emitIntValue(0, 1); // Reserved. in emitStackmapHeader()
606 OS.emitIntValue(FR.second.StackSize, 8); in emitFunctionFrameRecords()
607 OS.emitIntValue(FR.second.RecordCount, 8); in emitFunctionFrameRecords()
619 OS.emitIntValue(ConstEntry.second, 8); in emitConstantPoolEntries()
664 OS.emitIntValue(UINT64_MAX, 8); // Invalid ID. in emitCallsiteEntries()
674 OS.emitIntValue(CSI.ID, 8); in emitCallsiteEntries()
682 OS.emitIntValue(Loc.Type, 1); in emitCallsiteEntries()
683 OS.emitIntValue(0, 1); // Reserved in emitCallsiteEntries()
699 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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryEmitter.cpp348 Streamer.emitIntValue(0x0B0F, 2); // UD2: 0F 0B in emitFunction()
365 Streamer.emitIntValue(BC.MIB->getTrapFillValue(), 1); in emitFunction()
919 Streamer.emitIntValue(0, 4); // LPStart in emitLSDA()
922 Streamer.emitIntValue(0, 4); in emitLSDA()
930 Streamer.emitIntValue(0, 4); in emitLSDA()
936 Streamer.emitIntValue(TTypeEncoding, 1); // TType format in emitLSDA()
964 Streamer.emitIntValue(dwarf::DW_EH_PE_sdata4, 1); in emitLSDA()
991 Streamer.emitIntValue(Byte, 1); in emitLSDA()
1005 Streamer.emitIntValue(TypeAddress, TTypeEncodingSize); in emitLSDA()
1018 Streamer.emitIntValue(0, TTypeEncodingSize); in emitLSDA()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCStreamer.h726 virtual void emitIntValue(uint64_t Value, unsigned Size);
727 virtual void emitIntValue(APInt Value);
733 emitIntValue(Value, Size); in emitIntValueInHex()
736 void emitInt8(uint64_t Value) { emitIntValue(Value, 1); } in emitInt8()
737 void emitInt16(uint64_t Value) { emitIntValue(Value, 2); } in emitInt16()
738 void emitInt32(uint64_t Value) { emitIntValue(Value, 4); } in emitInt32()
739 void emitInt64(uint64_t Value) { emitIntValue(Value, 8); } in emitInt64()
745 emitIntValue(Value, Size); in emitIntValueInHexWithPadding()
/llvm-project-15.0.7/llvm/lib/DWP/
H A DDWP.cpp394 Out.emitIntValue(NewOffset, 4); in writeStringsAndOffsets()
405 Out.emitIntValue(E.second.Contributions[I].*Field, 4); in writeIndexTable()
437 Out.emitIntValue(IndexVersion, 4); // Version in writeIndex()
438 Out.emitIntValue(Columns, 4); // Columns in writeIndex()
439 Out.emitIntValue(IndexEntries.size(), 4); // Num Units in writeIndex()
440 Out.emitIntValue(Buckets.size(), 4); // Num Buckets in writeIndex()
444 Out.emitIntValue(I ? IndexEntries.begin()[I - 1].first : 0, 8); in writeIndex()
448 Out.emitIntValue(I, 4); in writeIndex()
453 Out.emitIntValue(getOnDiskSectionId(I), 4); in writeIndex()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h36 virtual void emitIntValue(uint64_t Value, unsigned Size) = 0;
105 Streamer->emitIntValue((int)Value, sizeof(T));
151 Streamer->emitIntValue(Size, sizeof(Size));
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCDwarf.cpp359 MCOS->emitIntValue(Offset, RefSize); in emitRef()
870 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfAranges()
896 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
897 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
951 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfInfo()
967 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfInfo()
1122 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1127 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1128 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1535 Streamer.emitIntValue(Encoding, Size); in EmitCompactUnwind()
[all …]
H A DMCObjectStreamer.cpp167 return emitIntValue(*Diff, Size); in emitAbsoluteSymbolDiff()
260 emitIntValue(AbsValue, Size); in emitValueImpl()
524 OS.emitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfSetLineAddr()
526 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.cpp225 void emitIntValue(uint64_t Value, unsigned Size) override;
1224 void MCAsmStreamer::emitIntValue(uint64_t Value, unsigned Size) { in emitIntValue() function in MCAsmStreamer
1279 emitIntValue(ValueToEmit, EmissionSize); in emitValueImpl()
2482 emitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfAdvanceLineAddr()
2484 emitIntValue(dwarf::DW_LNE_set_address, 1); in emitDwarfAdvanceLineAddr()
2498 emitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfAdvanceLineAddr()
2500 emitIntValue(dwarf::DW_LNE_end_sequence, 1); in emitDwarfAdvanceLineAddr()
2506 emitIntValue(dwarf::DW_LNS_advance_line, 1); in emitDwarfAdvanceLineAddr()
2508 emitIntValue(dwarf::DW_LNS_copy, 1); in emitDwarfAdvanceLineAddr()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp689 OutStreamer->emitIntValue(4, 4 /*size*/); // data size for "GNU\0" in emitStartOfAsmFile()
690 OutStreamer->emitIntValue(8 + WordSize, 4 /*size*/); // Elf_Prop size in emitStartOfAsmFile()
691 OutStreamer->emitIntValue(ELF::NT_GNU_PROPERTY_TYPE_0, 4 /*size*/); in emitStartOfAsmFile()
758 OutStreamer.emitIntValue(0, 4/*size*/); in emitNonLazySymbolPointer()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp31 Streamer.emitIntValue(uint8_t(Type), 1); in emitValueType()

12