Home
last modified time | relevance | path

Searched refs:EmitIntValue (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsOptionRecord.cpp38 Streamer->EmitIntValue(ELF::ODK_REGINFO, 1); // kind in EmitMipsOptionRecord()
39 Streamer->EmitIntValue(40, 1); // size in EmitMipsOptionRecord()
40 Streamer->EmitIntValue(0, 2); // section in EmitMipsOptionRecord()
41 Streamer->EmitIntValue(0, 4); // info in EmitMipsOptionRecord()
42 Streamer->EmitIntValue(ri_gprmask, 4); in EmitMipsOptionRecord()
43 Streamer->EmitIntValue(0, 4); // pad in EmitMipsOptionRecord()
44 Streamer->EmitIntValue(ri_cprmask[0], 4); in EmitMipsOptionRecord()
45 Streamer->EmitIntValue(ri_cprmask[1], 4); in EmitMipsOptionRecord()
46 Streamer->EmitIntValue(ri_cprmask[2], 4); in EmitMipsOptionRecord()
47 Streamer->EmitIntValue(ri_cprmask[3], 4); in EmitMipsOptionRecord()
[all …]
DMipsABIFlagsSection.cpp56 OS.EmitIntValue(ABIFlagsSection.getVersionValue(), 2); // version in operator <<()
57 OS.EmitIntValue(ABIFlagsSection.getISALevelValue(), 1); // isa_level in operator <<()
58 OS.EmitIntValue(ABIFlagsSection.getISARevisionValue(), 1); // isa_rev in operator <<()
59 OS.EmitIntValue(ABIFlagsSection.getGPRSizeValue(), 1); // gpr_size in operator <<()
60 OS.EmitIntValue(ABIFlagsSection.getCPR1SizeValue(), 1); // cpr1_size in operator <<()
61 OS.EmitIntValue(ABIFlagsSection.getCPR2SizeValue(), 1); // cpr2_size in operator <<()
62 OS.EmitIntValue(ABIFlagsSection.getFpABIValue(), 1); // fp_abi in operator <<()
63 OS.EmitIntValue(ABIFlagsSection.getISAExtensionValue(), 4); // isa_ext in operator <<()
64 OS.EmitIntValue(ABIFlagsSection.getASESetValue(), 4); // ases in operator <<()
65 OS.EmitIntValue(ABIFlagsSection.getFlags1Value(), 4); // flags1 in operator <<()
[all …]
/external/llvm/lib/MC/
DMCWin64EH.cpp68 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
74 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
76 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
79 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
82 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
87 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
91 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
97 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
101 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
107 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
[all …]
DMCDwarf.cpp117 MCOS->EmitIntValue(dwarf::DW_LNS_set_file, 1); in EmitDwarfLineTable()
122 MCOS->EmitIntValue(dwarf::DW_LNS_set_column, 1); in EmitDwarfLineTable()
128 MCOS->EmitIntValue(dwarf::DW_LNS_extended_op, 1); in EmitDwarfLineTable()
130 MCOS->EmitIntValue(dwarf::DW_LNE_set_discriminator, 1); in EmitDwarfLineTable()
135 MCOS->EmitIntValue(dwarf::DW_LNS_set_isa, 1); in EmitDwarfLineTable()
140 MCOS->EmitIntValue(dwarf::DW_LNS_negate_stmt, 1); in EmitDwarfLineTable()
143 MCOS->EmitIntValue(dwarf::DW_LNS_set_basic_block, 1); in EmitDwarfLineTable()
145 MCOS->EmitIntValue(dwarf::DW_LNS_set_prologue_end, 1); in EmitDwarfLineTable()
147 MCOS->EmitIntValue(dwarf::DW_LNS_set_epilogue_begin, 1); in EmitDwarfLineTable()
266 MCOS->EmitIntValue(2, 2); in Emit()
[all …]
DMCCodeView.cpp104 OS.EmitIntValue(unsigned(ModuleSubstreamKind::StringTable), 4); in emitStringTable()
131 OS.EmitIntValue(unsigned(ModuleSubstreamKind::FileChecksums), 4); in emitFileChecksums()
139 OS.EmitIntValue(getStringTableOffset(Filename), 4); in emitFileChecksums()
142 OS.EmitIntValue(0, 4); in emitFileChecksums()
156 OS.EmitIntValue(unsigned(ModuleSubstreamKind::Lines), 4); in emitLineTableForFunction()
167 OS.EmitIntValue(HaveColumns ? int(LineFlags::HaveColumns) : 0, 2); in emitLineTableForFunction()
180 OS.EmitIntValue(8 * (CurFileNum - 1), 4); in emitLineTableForFunction()
181 OS.EmitIntValue(EntryCount, 4); in emitLineTableForFunction()
186 OS.EmitIntValue(SegmentSize, 4); in emitLineTableForFunction()
193 OS.EmitIntValue(LineData, 4); in emitLineTableForFunction()
[all …]
DMCObjectStreamer.cpp68 EmitIntValue(Hi->getOffset() - Lo->getOffset(), Size); in emitAbsoluteSymbolDiff()
135 EmitIntValue(AbsValue, Size); in EmitValueImpl()
329 OS.EmitIntValue(dwarf::DW_LNS_extended_op, 1); in emitDwarfSetLineAddr()
331 OS.EmitIntValue(dwarf::DW_LNE_set_address, 1); in emitDwarfSetLineAddr()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCWin64EH.cpp74 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
80 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
82 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
85 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
88 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
93 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
97 streamer.EmitIntValue(b1, 1); in EmitUnwindCode()
98 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
104 streamer.EmitIntValue(b2, 1); in EmitUnwindCode()
108 streamer.EmitIntValue(w, 2); in EmitUnwindCode()
[all …]
DMCDwarf.cpp146 MCOS->EmitIntValue(dwarf::DW_LNS_set_file, 1); in EmitDwarfLineTable()
151 MCOS->EmitIntValue(dwarf::DW_LNS_set_column, 1); in EmitDwarfLineTable()
156 MCOS->EmitIntValue(dwarf::DW_LNS_set_isa, 1); in EmitDwarfLineTable()
161 MCOS->EmitIntValue(dwarf::DW_LNS_negate_stmt, 1); in EmitDwarfLineTable()
164 MCOS->EmitIntValue(dwarf::DW_LNS_set_basic_block, 1); in EmitDwarfLineTable()
166 MCOS->EmitIntValue(dwarf::DW_LNS_set_prologue_end, 1); in EmitDwarfLineTable()
168 MCOS->EmitIntValue(dwarf::DW_LNS_set_epilogue_begin, 1); in EmitDwarfLineTable()
229 MCOS->EmitIntValue(2, 2); in Emit()
243 MCOS->EmitIntValue(DWARF2_LINE_MIN_INSN_LENGTH, 1); in Emit()
244 MCOS->EmitIntValue(DWARF2_LINE_DEFAULT_IS_STMT, 1); in Emit()
[all …]
DMCAsmStreamer.cpp175 virtual void EmitIntValue(uint64_t Value, unsigned Size,
379 EmitIntValue(dwarf::DW_CFA_advance_loc4, 1); in EmitDwarfAdvanceFrameAddr()
597 void MCAsmStreamer::EmitIntValue(uint64_t Value, unsigned Size, in EmitIntValue() function in MCAsmStreamer
619 EmitIntValue((uint32_t)(IntValue >> 0 ), 4, AddrSpace); in EmitValueImpl()
620 EmitIntValue((uint32_t)(IntValue >> 32), 4, AddrSpace); in EmitValueImpl()
622 EmitIntValue((uint32_t)(IntValue >> 32), 4, AddrSpace); in EmitValueImpl()
623 EmitIntValue((uint32_t)(IntValue >> 0 ), 4, AddrSpace); in EmitValueImpl()
/external/llvm/lib/CodeGen/
DStackMaps.cpp396 OS.EmitIntValue(StackMapVersion, 1); // Version. in emitStackmapHeader()
397 OS.EmitIntValue(0, 1); // Reserved. in emitStackmapHeader()
398 OS.EmitIntValue(0, 2); // Reserved. in emitStackmapHeader()
402 OS.EmitIntValue(FnStackSize.size(), 4); in emitStackmapHeader()
405 OS.EmitIntValue(ConstPool.size(), 4); in emitStackmapHeader()
408 OS.EmitIntValue(CSInfos.size(), 4); in emitStackmapHeader()
424 OS.EmitIntValue(FR.second, 8); in emitFunctionFrameRecords()
436 OS.EmitIntValue(ConstEntry.second, 8); in emitConstantPoolEntries()
481 OS.EmitIntValue(UINT64_MAX, 8); // Invalid ID. in emitCallsiteEntries()
483 OS.EmitIntValue(0, 2); // Reserved. in emitCallsiteEntries()
[all …]
DFaultMaps.cpp65 OS.EmitIntValue(FaultMapVersion, 1); // Version. in serializeToFaultMapSection()
66 OS.EmitIntValue(0, 1); // Reserved. in serializeToFaultMapSection()
67 OS.EmitIntValue(0, 2); // Reserved. in serializeToFaultMapSection()
70 OS.EmitIntValue(FunctionInfos.size(), 4); in serializeToFaultMapSection()
86 OS.EmitIntValue(FFI.size(), 4); in emitFunctionInfo()
88 OS.EmitIntValue(0, 4); // Reserved in emitFunctionInfo()
93 OS.EmitIntValue(Fault.Kind, 4); in emitFunctionInfo()
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.cpp265 OS.EmitIntValue(NameSZ, 4); // namesz in EmitDirectiveHSACodeObjectVersion()
266 OS.EmitIntValue(8, 4); // descz in EmitDirectiveHSACodeObjectVersion()
267 OS.EmitIntValue(NT_AMDGPU_HSA_CODE_OBJECT_VERSION, 4); // type in EmitDirectiveHSACodeObjectVersion()
269 OS.EmitIntValue(Major, 4); // desc in EmitDirectiveHSACodeObjectVersion()
270 OS.EmitIntValue(Minor, 4); in EmitDirectiveHSACodeObjectVersion()
293 OS.EmitIntValue(NameSZ, 4); // namesz in EmitDirectiveHSACodeObjectISA()
294 OS.EmitIntValue(DescSZ, 4); // descsz in EmitDirectiveHSACodeObjectISA()
295 OS.EmitIntValue(NT_AMDGPU_HSA_ISA, 4); // type in EmitDirectiveHSACodeObjectISA()
297 OS.EmitIntValue(VendorNameSize, 2); // desc in EmitDirectiveHSACodeObjectISA()
298 OS.EmitIntValue(ArchNameSize, 2); in EmitDirectiveHSACodeObjectISA()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp297 OutStreamer->EmitIntValue(RsrcReg, 4); in EmitProgramInfoR600()
298 OutStreamer->EmitIntValue(S_NUM_GPRS(MaxGPR + 1) | in EmitProgramInfoR600()
300 OutStreamer->EmitIntValue(R_02880C_DB_SHADER_CONTROL, 4); in EmitProgramInfoR600()
301 OutStreamer->EmitIntValue(S_02880C_KILL_ENABLE(killPixel), 4); in EmitProgramInfoR600()
304 OutStreamer->EmitIntValue(R_0288E8_SQ_LDS_ALLOC, 4); in EmitProgramInfoR600()
305 OutStreamer->EmitIntValue(alignTo(MFI->LDSSize, 4) >> 2, 4); in EmitProgramInfoR600()
586 OutStreamer->EmitIntValue(R_00B848_COMPUTE_PGM_RSRC1, 4); in EmitProgramInfoSI()
588 OutStreamer->EmitIntValue(KernelInfo.ComputePGMRSrc1, 4); in EmitProgramInfoSI()
590 OutStreamer->EmitIntValue(R_00B84C_COMPUTE_PGM_RSRC2, 4); in EmitProgramInfoSI()
591 OutStreamer->EmitIntValue(KernelInfo.ComputePGMRSrc2, 4); in EmitProgramInfoSI()
[all …]
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyTargetStreamer.cpp80 Streamer.EmitIntValue(Types.size(), sizeof(uint64_t)); in EncodeTypes()
82 Streamer.EmitIntValue(Type.SimpleTy, sizeof(uint64_t)); in EncodeTypes()
86 Streamer.EmitIntValue(WebAssembly::DotParam, sizeof(uint64_t)); in emitParam()
91 Streamer.EmitIntValue(WebAssembly::DotResult, sizeof(uint64_t)); in emitResult()
96 Streamer.EmitIntValue(WebAssembly::DotLocal, sizeof(uint64_t)); in emitLocal()
101 Streamer.EmitIntValue(WebAssembly::DotEndFunc, sizeof(uint64_t)); in emitEndFunc()
/external/llvm/lib/CodeGen/AsmPrinter/
DWinException.cpp684 OS.EmitIntValue(0x19930522, 4); in emitCXXFrameHandler3Table()
687 OS.EmitIntValue(FuncInfo.CxxUnwindMap.size(), 4); in emitCXXFrameHandler3Table()
693 OS.EmitIntValue(FuncInfo.TryBlockMap.size(), 4); in emitCXXFrameHandler3Table()
699 OS.EmitIntValue(IPToStateTable.size(), 4); in emitCXXFrameHandler3Table()
706 OS.EmitIntValue(UnwindHelpOffset, 4); in emitCXXFrameHandler3Table()
710 OS.EmitIntValue(0, 4); in emitCXXFrameHandler3Table()
713 OS.EmitIntValue(1, 4); in emitCXXFrameHandler3Table()
725 OS.EmitIntValue(UME.ToState, 4); in emitCXXFrameHandler3Table()
762 OS.EmitIntValue(TBME.TryLow, 4); in emitCXXFrameHandler3Table()
765 OS.EmitIntValue(TBME.TryHigh, 4); in emitCXXFrameHandler3Table()
[all …]
DCodeViewDebug.cpp366 OS.EmitIntValue(COFF::DEBUG_SECTION_MAGIC, 4); in emitCodeViewMagicVersion()
506 OS.EmitIntValue(unsigned(InlineeLinesSignature::Normal), 4); in emitInlineeLinesSubsection()
521 OS.EmitIntValue(InlineeIdx.getIndex(), 4); in emitInlineeLinesSubsection()
523 OS.EmitIntValue(FileOffset, 4); in emitInlineeLinesSubsection()
525 OS.EmitIntValue(SP->getLine(), 4); in emitInlineeLinesSubsection()
556 OS.EmitIntValue(SymbolKind::S_INLINESITE, 2); // RecordKind in emitInlinedCallSite()
559 OS.EmitIntValue(0, 4); in emitInlinedCallSite()
561 OS.EmitIntValue(0, 4); in emitInlinedCallSite()
563 OS.EmitIntValue(InlineeIdx.getIndex(), 4); in emitInlinedCallSite()
587 OS.EmitIntValue(2, 2); // RecordLength in emitInlinedCallSite()
[all …]
DAsmPrinter.cpp518 OutStreamer->EmitIntValue(0, PtrSize); in EmitGlobalVariable()
1672 OutStreamer->EmitIntValue(Value, 1); in EmitInt8()
1678 OutStreamer->EmitIntValue(Value, 2); in EmitInt16()
1684 OutStreamer->EmitIntValue(Value, 4); in EmitInt32()
1971 AP.OutStreamer->EmitIntValue(CDS->getElementAsInteger(i), in emitGlobalConstantDataSequential()
2075 AP.OutStreamer->EmitIntValue(p[Chunk--], TrailingBytes); in emitGlobalConstantFP()
2078 AP.OutStreamer->EmitIntValue(p[Chunk], sizeof(uint64_t)); in emitGlobalConstantFP()
2082 AP.OutStreamer->EmitIntValue(p[Chunk], sizeof(uint64_t)); in emitGlobalConstantFP()
2085 AP.OutStreamer->EmitIntValue(p[Chunk], TrailingBytes); in emitGlobalConstantFP()
2134 AP.OutStreamer->EmitIntValue(Val, 8); in emitGlobalConstantLargeInt()
[all …]
DAsmPrinterDwarf.cpp113 OutStreamer->EmitIntValue(Val, 1); in EmitEncodingByte()
145 OutStreamer->EmitIntValue(0, GetSizeOfEncodedValue(Encoding)); in EmitTTypeReference()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp53 OutStreamer.EmitIntValue(Byte, 1, /*addrspace*/0); in EmitSLEB128()
74 OutStreamer.EmitIntValue(Byte, 1, /*addrspace*/0); in EmitULEB128()
93 OutStreamer.EmitIntValue(Val, 1, 0/*addrspace*/); in EmitCFAByte()
137 OutStreamer.EmitIntValue(Val, 1, 0/*addrspace*/); in EmitEncodingByte()
DAsmPrinter.cpp390 OutStreamer.EmitIntValue(0, PtrSize, 0); in EmitGlobalVariable()
1299 OutStreamer.EmitIntValue(Value, 1, 0/*addrspace*/); in EmitInt8()
1305 OutStreamer.EmitIntValue(Value, 2, 0/*addrspace*/); in EmitInt16()
1311 OutStreamer.EmitIntValue(Value, 4, 0/*addrspace*/); in EmitInt32()
1668 AP.OutStreamer.EmitIntValue(Val, 8, AddrSpace); in EmitGlobalConstantFP()
1678 AP.OutStreamer.EmitIntValue(Val, 4, AddrSpace); in EmitGlobalConstantFP()
1698 AP.OutStreamer.EmitIntValue(p[1], 2, AddrSpace); in EmitGlobalConstantFP()
1699 AP.OutStreamer.EmitIntValue(p[0], 8, AddrSpace); in EmitGlobalConstantFP()
1701 AP.OutStreamer.EmitIntValue(p[0], 8, AddrSpace); in EmitGlobalConstantFP()
1702 AP.OutStreamer.EmitIntValue(p[1], 2, AddrSpace); in EmitGlobalConstantFP()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUAsmPrinter.cpp125 OutStreamer.EmitIntValue(MaxSGPR + 1, 4); in EmitProgramInfo()
126 OutStreamer.EmitIntValue(MaxVGPR + 1, 4); in EmitProgramInfo()
127 OutStreamer.EmitIntValue(MFI->spi_ps_input_addr, 4); in EmitProgramInfo()
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp88 Out.EmitIntValue(NewOffset, 4); in writeStringsAndOffsets()
271 Out.EmitIntValue(E.second.Contributions[i].*Field, 4); in writeIndexTable()
303 Out.EmitIntValue(2, 4); // Version in writeIndex()
304 Out.EmitIntValue(Columns, 4); // Columns in writeIndex()
305 Out.EmitIntValue(IndexEntries.size(), 4); // Num Units in writeIndex()
306 Out.EmitIntValue(Buckets.size(), 4); // Num Buckets in writeIndex()
310 Out.EmitIntValue(I ? IndexEntries.begin()[I - 1].first : 0, 8); in writeIndex()
314 Out.EmitIntValue(I, 4); in writeIndex()
319 Out.EmitIntValue(i + DW_SECT_INFO, 4); in writeIndex()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp739 MS->EmitIntValue(Range.StartAddress + PcOffset, AddressSize); in emitRangesEntries()
740 MS->EmitIntValue(Range.EndAddress + PcOffset, AddressSize); in emitRangesEntries()
745 MS->EmitIntValue(0, AddressSize); in emitRangesEntries()
746 MS->EmitIntValue(0, AddressSize); in emitRangesEntries()
800 MS->EmitIntValue(RangeStart, AddressSize); in emitUnitRangesEntries()
803 MS->EmitIntValue(Range->second - RangeStart, AddressSize); in emitUnitRangesEntries()
807 Asm->OutStreamer->EmitIntValue(0, AddressSize); in emitUnitRangesEntries()
808 Asm->OutStreamer->EmitIntValue(0, AddressSize); in emitUnitRangesEntries()
820 MS->EmitIntValue(Range->first + PcOffset, AddressSize); in emitUnitRangesEntries()
823 MS->EmitIntValue(Range->second + PcOffset, AddressSize); in emitUnitRangesEntries()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp978 Streamer.EmitIntValue(0x41, 1); in finishAttributeSection()
989 Streamer.EmitIntValue(VendorHeaderSize + TagHeaderSize + ContentsSize, 4); in finishAttributeSection()
991 Streamer.EmitIntValue(0, 1); // '\0' in finishAttributeSection()
993 Streamer.EmitIntValue(ARMBuildAttrs::File, 1); in finishAttributeSection()
994 Streamer.EmitIntValue(TagHeaderSize + ContentsSize, 4); in finishAttributeSection()
1008 Streamer.EmitIntValue(0, 1); // '\0' in finishAttributeSection()
1013 Streamer.EmitIntValue(0, 1); // '\0' in finishAttributeSection()
1166 EmitIntValue(ARM::EHABI::EXIDX_CANTUNWIND, 4); in emitFnEnd()
1186 EmitIntValue(Intval, Opcodes.size()); in emitFnEnd()
1265 EmitIntValue(Intval, 4); in FlushUnwindOpcodes()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXMCAsmStreamer.cpp375 EmitIntValue((uint32_t)(IntValue >> 0 ), 4, AddrSpace); in EmitValueImpl()
376 EmitIntValue((uint32_t)(IntValue >> 32), 4, AddrSpace); in EmitValueImpl()
378 EmitIntValue((uint32_t)(IntValue >> 32), 4, AddrSpace); in EmitValueImpl()
379 EmitIntValue((uint32_t)(IntValue >> 0 ), 4, AddrSpace); in EmitValueImpl()

123