Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
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 …]
DMipsELFStreamer.cpp105 void MipsELFStreamer::emitIntValue(uint64_t Value, unsigned Size) { in emitIntValue() function in MipsELFStreamer
106 MCELFStreamer::emitIntValue(Value, Size); in emitIntValue()
DMipsTargetStreamer.cpp1021 OS.emitIntValue(GPRInfoSet ? GPRBitMask : 0, 4); // reg_mask in emitDirectiveEnd()
1022 OS.emitIntValue(GPRInfoSet ? GPROffset : 0, 4); // reg_offset in emitDirectiveEnd()
1024 OS.emitIntValue(FPRInfoSet ? FPRBitMask : 0, 4); // fpreg_mask in emitDirectiveEnd()
1025 OS.emitIntValue(FPRInfoSet ? FPROffset : 0, 4); // fpreg_offset in emitDirectiveEnd()
1027 OS.emitIntValue(FrameInfoSet ? FrameOffset : 0, 4); // frame_offset in emitDirectiveEnd()
1028 OS.emitIntValue(FrameInfoSet ? FrameReg : 0, 4); // frame_reg in emitDirectiveEnd()
1029 OS.emitIntValue(FrameInfoSet ? ReturnReg : 0, 4); // return_reg in emitDirectiveEnd()
DMipsELFStreamer.h60 void emitIntValue(uint64_t Value, unsigned Size) override;
DMipsOptionRecord.cpp53 Streamer->emitIntValue(ri_gp_value, 8); in EmitMipsOptionRecord()
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFStreamer.cpp306 MS->emitIntValue(Range.StartAddress + PcOffset, AddressSize); in emitRangesEntries()
307 MS->emitIntValue(Range.EndAddress + PcOffset, AddressSize); in emitRangesEntries()
312 MS->emitIntValue(0, AddressSize); in emitRangesEntries()
313 MS->emitIntValue(0, AddressSize); in emitRangesEntries()
367 MS->emitIntValue(RangeStart, AddressSize); in emitUnitRangesEntries()
370 MS->emitIntValue(Range->second - RangeStart, AddressSize); in emitUnitRangesEntries()
374 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitUnitRangesEntries()
375 Asm->OutStreamer->emitIntValue(0, AddressSize); in emitUnitRangesEntries()
387 MS->emitIntValue(Range->first + PcOffset, AddressSize); in emitUnitRangesEntries()
390 MS->emitIntValue(Range->second + PcOffset, AddressSize); in emitUnitRangesEntries()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64TargetStreamer.cpp81 OutStreamer.emitIntValue(4, 4); // data size for "GNU\0" in emitNoteSection()
82 OutStreamer.emitIntValue(4 * 4, 4); // Elf_Prop size in emitNoteSection()
83 OutStreamer.emitIntValue(ELF::NT_GNU_PROPERTY_TYPE_0, 4); in emitNoteSection()
87 OutStreamer.emitIntValue(ELF::GNU_PROPERTY_AARCH64_FEATURE_1_AND, 4); in emitNoteSection()
88 OutStreamer.emitIntValue(4, 4); // data size in emitNoteSection()
89 OutStreamer.emitIntValue(Flags, 4); // data in emitNoteSection()
90 OutStreamer.emitIntValue(0, 4); // pad in emitNoteSection()
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DCodeViewRecordIO.cpp134 Streamer->emitIntValue(TypeInd.getIndex(), sizeof(TypeInd.getIndex())); in mapInteger()
277 Streamer->emitIntValue(LF_CHAR, 2); in emitEncodedSignedInteger()
279 Streamer->emitIntValue(Value, 1); in emitEncodedSignedInteger()
282 Streamer->emitIntValue(LF_SHORT, 2); in emitEncodedSignedInteger()
284 Streamer->emitIntValue(Value, 2); in emitEncodedSignedInteger()
287 Streamer->emitIntValue(LF_LONG, 2); in emitEncodedSignedInteger()
289 Streamer->emitIntValue(Value, 4); in emitEncodedSignedInteger()
292 Streamer->emitIntValue(LF_QUADWORD, 2); in emitEncodedSignedInteger()
294 Streamer->emitIntValue(Value, 4); in emitEncodedSignedInteger()
303 Streamer->emitIntValue(Value, 2); in emitEncodedUnsignedInteger()
[all …]
/external/llvm-project/llvm/unittests/CodeGen/
DAsmPrinterDwarfTest.cpp168 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val.Offset, 4)); in TEST_F()
192 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val.Offset, 8)); in TEST_F()
268 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val, 4)); in TEST_F()
276 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val, 8)); in TEST_F()
303 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(_, _)).Times(0); in TEST_F()
311 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(dwarf::DW_LENGTH_DWARF64, 4)); in TEST_F()
324 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val, 4)); in TEST_F()
333 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(dwarf::DW_LENGTH_DWARF64, 4)); in TEST_F()
334 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(Val, 8)); in TEST_F()
369 EXPECT_CALL(TestPrinter->getMS(), emitIntValue(dwarf::DW_LENGTH_DWARF64, 4)); in TEST_F()
DTestAsmPrinter.h41 MOCK_METHOD2(emitIntValue, void(uint64_t Value, unsigned Size));
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp125 OutStreamer->emitIntValue(Val, 1); in emitEncodingByte()
155 OutStreamer->emitIntValue(0, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
189 OutStreamer->emitIntValue(S.Offset, getDwarfOffsetByteSize()); in emitDwarfStringOffset()
198 OutStreamer->emitIntValue(Value, getDwarfOffsetByteSize()); in emitDwarfLengthOrOffset()
213 OutStreamer->emitIntValue(Length, getDwarfOffsetByteSize()); in emitDwarfUnitLength()
237 OutStreamer->emitIntValue(Value, GetSizeOfEncodedValue(Encoding)); in emitCallSiteValue()
DDwarfStringPool.cpp126 Asm.OutStreamer->emitIntValue(Entry->getValue().Offset, size); in emit()
DOcamlGCPrinter.cpp109 AP.OutStreamer->emitIntValue(0, IntPtrSize); in finishAssembly()
DDIE.cpp410 Asm->OutStreamer->emitIntValue(Integer, SizeOf(Asm, Form)); in emitValue()
656 AP->OutStreamer->emitIntValue(Entry->getOffset(), SizeOf(AP, Form)); in emitValue()
672 AP->OutStreamer->emitIntValue(Addr, SizeOf(AP, Form)); in emitValue()
DDwarfDebug.cpp2620 Asm->OutStreamer->emitIntValue(-1, Size); in emitRangeList()
2637 Asm->OutStreamer->emitIntValue(-1, Size); in emitRangeList()
2638 Asm->OutStreamer->emitIntValue(0, Size); in emitRangeList()
2679 Asm->OutStreamer->emitIntValue(0, Size); in emitRangeList()
2680 Asm->OutStreamer->emitIntValue(0, Size); in emitRangeList()
2906 Asm->OutStreamer->emitIntValue(Size, PtrSize); in emitDebugARanges()
2911 Asm->OutStreamer->emitIntValue(0, PtrSize); in emitDebugARanges()
2912 Asm->OutStreamer->emitIntValue(0, PtrSize); in emitDebugARanges()
/external/llvm-project/llvm/lib/CodeGen/
DStackMaps.cpp562 OS.emitIntValue(StackMapVersion, 1); // Version. in emitStackmapHeader()
563 OS.emitIntValue(0, 1); // Reserved. in emitStackmapHeader()
592 OS.emitIntValue(FR.second.StackSize, 8); in emitFunctionFrameRecords()
593 OS.emitIntValue(FR.second.RecordCount, 8); in emitFunctionFrameRecords()
605 OS.emitIntValue(ConstEntry.second, 8); in emitConstantPoolEntries()
650 OS.emitIntValue(UINT64_MAX, 8); // Invalid ID. in emitCallsiteEntries()
660 OS.emitIntValue(CSI.ID, 8); in emitCallsiteEntries()
668 OS.emitIntValue(Loc.Type, 1); in emitCallsiteEntries()
669 OS.emitIntValue(0, 1); // Reserved in emitCallsiteEntries()
685 OS.emitIntValue(0, 1); in emitCallsiteEntries()
[all …]
DFaultMaps.cpp65 OS.emitIntValue(FaultMapVersion, 1); // Version. in serializeToFaultMapSection()
66 OS.emitIntValue(0, 1); // Reserved. in serializeToFaultMapSection()
/external/llvm-project/llvm/include/llvm/MC/
DMCStreamer.h692 virtual void emitIntValue(uint64_t Value, unsigned Size);
693 virtual void emitIntValue(APInt Value);
699 emitIntValue(Value, Size); in emitIntValueInHex()
702 void emitInt8(uint64_t Value) { emitIntValue(Value, 1); } in emitInt8()
703 void emitInt16(uint64_t Value) { emitIntValue(Value, 2); } in emitInt16()
704 void emitInt32(uint64_t Value) { emitIntValue(Value, 4); } in emitInt32()
705 void emitInt64(uint64_t Value) { emitIntValue(Value, 8); } in emitInt64()
711 emitIntValue(Value, Size); in emitIntValueInHexWithPadding()
/external/llvm-project/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp96 Out.emitIntValue(NewOffset, 4); in writeStringsAndOffsets()
321 Out.emitIntValue(E.second.Contributions[i].*Field, 4); in writeIndexTable()
353 Out.emitIntValue(2, 4); // Version in writeIndex()
354 Out.emitIntValue(Columns, 4); // Columns in writeIndex()
355 Out.emitIntValue(IndexEntries.size(), 4); // Num Units in writeIndex()
356 Out.emitIntValue(Buckets.size(), 4); // Num Buckets in writeIndex()
360 Out.emitIntValue(I ? IndexEntries.begin()[I - 1].first : 0, 8); in writeIndex()
364 Out.emitIntValue(I, 4); in writeIndex()
369 Out.emitIntValue(getOnDiskSectionId(i), 4); in writeIndex()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DR600AsmPrinter.cpp92 OutStreamer->emitIntValue(S_NUM_GPRS(MaxGPR + 1) | in EmitProgramInfoR600()
99 OutStreamer->emitIntValue(alignTo(MFI->getLDSSize(), 4) >> 2, 4); in EmitProgramInfoR600()
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h34 virtual void emitIntValue(uint64_t Value, unsigned Size) = 0;
103 Streamer->emitIntValue((int)Value, sizeof(T));
149 Streamer->emitIntValue(Size, sizeof(Size));
/external/llvm-project/llvm/lib/MC/
DMCDwarf.cpp348 MCOS->emitIntValue(Offset, RefSize); in emitRef()
914 MCOS->emitIntValue(Length - UnitLengthBytes, OffsetSize); in EmitGenDwarfAranges()
923 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfAranges()
949 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
950 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
1004 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfInfo()
1020 MCOS->emitIntValue(0, OffsetSize); in EmitGenDwarfInfo()
1175 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1180 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
1181 MCOS->emitIntValue(0, AddrSize); in emitGenDwarfRanges()
[all …]
DMCObjectStreamer.cpp145 emitIntValue(*Diff, Size); in emitAbsoluteSymbolDiff()
241 emitIntValue(AbsValue, Size); in emitValueImpl()
480 OS.emitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfSetLineAddr()
482 OS.emitIntValue(dwarf::DW_LNE_set_address, 1); in emitDwarfSetLineAddr()
807 emitIntValue(Expr, NonZeroSize); in emitFill()
809 emitIntValue(0, Size - NonZeroSize); in emitFill()
/external/llvm-project/llvm/lib/Target/X86/
DX86AsmPrinter.cpp648 OutStreamer->emitIntValue(4, 4 /*size*/); // data size for "GNU\0" in emitStartOfAsmFile()
649 OutStreamer->emitIntValue(8 + WordSize, 4 /*size*/); // Elf_Prop size in emitStartOfAsmFile()
650 OutStreamer->emitIntValue(ELF::NT_GNU_PROPERTY_TYPE_0, 4 /*size*/); in emitStartOfAsmFile()
712 OutStreamer.emitIntValue(0, 4/*size*/); in emitNonLazySymbolPointer()
/external/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyTargetStreamer.cpp31 Streamer.emitIntValue(uint8_t(Type), 1); in emitValueType()

12