Home
last modified time | relevance | path

Searched refs:Streamer (Results 1 – 25 of 150) sorted by relevance

123456

/llvm-project-15.0.7/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp27 Streamer->pushSection(); in EmitMipsOptionRecord()
41 Streamer->switchSection(Sec); in EmitMipsOptionRecord()
47 Streamer->emitInt32(ri_gprmask); in EmitMipsOptionRecord()
48 Streamer->emitInt32(0); // pad in EmitMipsOptionRecord()
49 Streamer->emitInt32(ri_cprmask[0]); in EmitMipsOptionRecord()
50 Streamer->emitInt32(ri_cprmask[1]); in EmitMipsOptionRecord()
51 Streamer->emitInt32(ri_cprmask[2]); in EmitMipsOptionRecord()
59 Streamer->switchSection(Sec); in EmitMipsOptionRecord()
61 Streamer->emitInt32(ri_gprmask); in EmitMipsOptionRecord()
67 Streamer->emitInt32(ri_gp_value); in EmitMipsOptionRecord()
[all …]
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryEmitter.cpp119 MCStreamer &Streamer; member in __anon00ef77ed0111::BinaryEmitter
124 : Streamer(Streamer), BC(BC) {} in BinaryEmitter()
280 Streamer.switchSection(Section); in emitFunction()
311 Streamer.emitLabel(Symbol); in emitFunction()
369 Streamer.emitCFIEndProc(); in emitFunction()
373 Streamer.emitLabel(EndSymbol); in emitFunction()
469 Streamer.emitLabel(LocSym); in emitFunctionBody()
554 Streamer.emitBytes( in emitConstantIslands()
684 Streamer.emitLabel(LineSym); in emitLineInfo()
836 Streamer.emitCFIWindowSave(); in emitCFIInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430ELFStreamer.cpp49 Streamer.emitInt8(0x41); in MSP430TargetELFStreamer()
51 Streamer.emitInt32(22); in MSP430TargetELFStreamer()
53 Streamer.emitBytes("mspabi"); in MSP430TargetELFStreamer()
54 Streamer.emitInt8(0); in MSP430TargetELFStreamer()
57 Streamer.emitInt8(1); in MSP430TargetELFStreamer()
59 Streamer.emitInt32(11); in MSP430TargetELFStreamer()
61 Streamer.emitInt8(TagISA); in MSP430TargetELFStreamer()
63 Streamer.emitInt8(TagCodeModel); in MSP430TargetELFStreamer()
64 Streamer.emitInt8(CMSmall); in MSP430TargetELFStreamer()
65 Streamer.emitInt8(TagDataModel); in MSP430TargetELFStreamer()
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DConstantPools.cpp26 void ConstantPool::emitEntries(MCStreamer &Streamer) { in emitEntries() argument
29 Streamer.emitDataRegion(MCDR_DataRegion); in emitEntries()
32 Streamer.emitLabel(Entry.Label); in emitEntries()
33 Streamer.emitValue(Entry.Value, Entry.Size, Entry.Loc); in emitEntries()
35 Streamer.emitDataRegion(MCDR_DataRegionEnd); in emitEntries()
95 Streamer.switchSection(Section); in emitConstantPool()
96 CP.emitEntries(Streamer); in emitConstantPool()
106 emitConstantPool(Streamer, Section, CP); in emitAll()
111 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection()
113 emitConstantPool(Streamer, Section, *CP); in emitForCurrentSection()
[all …]
H A DMCDwarf.cpp1300 MCObjectStreamer &Streamer; member in __anon5f208a230211::FrameEmitterImpl
1304 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1320 Streamer.emitInt8(Encoding); in emitEncodingByte()
1598 Streamer.emitInt8(CIEVersion); in EmitCIE()
1616 Streamer.emitInt8(0); in EmitCIE()
1623 Streamer.emitInt8(0); in EmitCIE()
1630 Streamer.emitSLEB128IntValue(getDataAlignmentFactor(Streamer)); in EmitCIE()
1640 Streamer.emitInt8(RAReg); in EmitCIE()
1717 Streamer.emitLabel(fdeStart); in EmitFDE()
1769 Streamer.emitLabel(fdeEnd); in EmitFDE()
[all …]
H A DMCAsmInfo.cpp97 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
98 return getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
104 MCStreamer &Streamer) const { in getExprForFDESymbol()
106 return MCSymbolRefExpr::create(Sym, Streamer.getContext()); in getExprForFDESymbol()
108 MCContext &Context = Streamer.getContext(); in getExprForFDESymbol()
111 Streamer.emitLabel(PCSym); in getExprForFDESymbol()
H A DMCWin64EH.cpp60 Streamer.emitValue(Diff, 1); in EmitAbsDifference()
231 Streamer.switchSection(XData); in Emit()
238 Streamer.switchSection(PData); in Emit()
249 Streamer.switchSection(XData); in EmitUnwindInfo()
251 ::EmitUnwindInfo(Streamer, info); in EmitUnwindInfo()
2230 Streamer.switchSection(XData); in Emit()
2243 Streamer.switchSection(PData); in Emit()
2264 Streamer.switchSection(XData); in EmitUnwindInfo()
2275 Streamer.switchSection(XData); in Emit()
2288 Streamer.switchSection(PData); in Emit()
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinject-templated-friend-post.cpp23 struct Streamer;
27 inline std_ostream& operator << (std_ostream&, const Streamer<Foo>&);
29 void test(const Streamer<Foo>& foo) in test()
35 struct Streamer struct
37 …friend std_ostream& operator << (std_ostream& o, const Streamer& f) // expected-error{{redefinitio… in operator <<()
39 Streamer s(f); in operator <<()
44 Streamer(const STRUCT_TYPE& s) : s(s) {} in Streamer() argument
51 std_ostream& operator << (std_ostream&, const Streamer<Foo>&); argument
55 template struct Streamer<Foo>; variable
59 std_ostream& operator << (std_ostream& o, const Streamer<Foo>&) // expected-note{{is here}} in operator <<()
[all …]
H A Dinject-templated-friend.cpp15 struct Streamer struct
17 …friend std_ostream& operator << (std_ostream& o, const Streamer& f) // expected-error{{redefinitio… in operator <<()
19 Streamer s(f); in operator <<()
24 Streamer(const STRUCT_TYPE& s) : s(s) {} in Streamer() argument
32 inline std_ostream& operator << (std_ostream&, const Streamer<Foo>&); argument
34 std_ostream& operator << (std_ostream& o, const Streamer<Foo>&) // expected-note{{is here}} in operator <<()
42 void Streamer<Foo>::operator () (std_ostream& o) const // expected-note{{requested here}} in operator ()()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.cpp23 void CSKYConstantPool::emitAll(MCStreamer &Streamer) { in emitAll() argument
28 Streamer.switchSection(CurrentSection); in emitAll()
30 Streamer.emitDataRegion(MCDR_DataRegion); in emitAll()
32 Streamer.emitCodeAlignment( in emitAll()
35 Streamer.emitLabel(Entry.Label); in emitAll()
36 Streamer.emitValue(Entry.Value, Entry.Size, Entry.Loc); in emitAll()
38 Streamer.emitDataRegion(MCDR_DataRegionEnd); in emitAll()
46 CurrentSection = Streamer.getCurrentSectionOnly(); in addEntry()
48 auto &Context = Streamer.getContext(); in addEntry()
114 ConstantPool->emitAll(Streamer); in emitCurrentConstantPool()
[all …]
H A DCSKYELFStreamer.cpp69 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
86 Streamer.switchSection(AttributeSection); in finishAttributeSection()
91 Streamer.switchSection(AttributeSection); in finishAttributeSection()
104 Streamer.emitBytes(CurrentVendor); in finishAttributeSection()
105 Streamer.emitInt8(0); // '\0' in finishAttributeSection()
107 Streamer.emitInt8(ELFAttrs::File); in finishAttributeSection()
113 Streamer.emitULEB128IntValue(item.Tag); in finishAttributeSection()
121 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
122 Streamer.emitInt8(0); // '\0' in finishAttributeSection()
126 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp51 Streamer->emitBytes(BytesSR); in endRecord()
234 Streamer->emitBytes(GuidSR); in mapGuid()
286 Streamer->emitIntValue(Value, 2); in emitEncodedSignedInteger()
290 Streamer->emitIntValue(LF_CHAR, 2); in emitEncodedSignedInteger()
292 Streamer->emitIntValue(Value, 1); in emitEncodedSignedInteger()
298 Streamer->emitIntValue(Value, 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/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.cpp43 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
76 Streamer.switchSection(AttributeSection); in finishAttributeSection()
81 Streamer.switchSection(AttributeSection); in finishAttributeSection()
95 Streamer.emitBytes(CurrentVendor); in finishAttributeSection()
96 Streamer.emitInt8(0); // '\0' in finishAttributeSection()
98 Streamer.emitInt8(ELFAttrs::File); in finishAttributeSection()
104 Streamer.emitULEB128IntValue(item.Tag); in finishAttributeSection()
112 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
113 Streamer.emitInt8(0); // '\0' in finishAttributeSection()
117 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h63 explicit CodeViewRecordIO(CodeViewRecordStreamer &Streamer) in CodeViewRecordIO() argument
64 : Streamer(&Streamer) {} in CodeViewRecordIO()
72 return (Streamer != nullptr) && (Reader == nullptr) && (Writer == nullptr); in isStreaming()
87 Streamer->emitBytes(BytesSR); in mapObject()
105 Streamer->emitIntValue((int)Value, sizeof(T));
151 Streamer->emitIntValue(Size, sizeof(Size));
216 if (isStreaming() && Streamer->isVerboseAsm()) in emitRawComment()
217 Streamer->AddRawComment(T); in emitRawComment()
239 if (isStreaming() && Streamer->isVerboseAsm()) { in emitComment()
242 Streamer->AddComment(TComment); in emitComment()
[all …]
/llvm-project-15.0.7/bolt/lib/RuntimeLibs/
H A DInstrumentationRuntimeLibrary.cpp90 Streamer.switchSection(Section); in emitBinary()
96 Streamer.emitLabel(Symbol); in emitBinary()
110 Streamer.emitFill(Padding, 0); in emitBinary()
122 auto emitFill = [&Streamer, emitDataSize, in emitBinary()
128 Streamer.emitFill(Size, Byte); in emitBinary()
131 auto emitValue = [&BC, &Streamer, emitDataPadding, in emitBinary()
137 Streamer.emitValue(Value, Psize); in emitBinary()
139 Streamer.emitFill(Psize, 0); in emitBinary()
146 Streamer.emitIntValue(Value, Size); in emitBinary()
153 Streamer.emitBytes(Contents); in emitBinary()
[all …]
H A DHugifyRuntimeLibrary.cpp63 void HugifyRuntimeLibrary::emitBinary(BinaryContext &BC, MCStreamer &Streamer) { in emitBinary() argument
83 Streamer.switchSection(Section); in emitBinary()
85 Streamer.emitLabel(InitPtr); in emitBinary()
86 Streamer.emitSymbolAttribute(InitPtr, MCSymbolAttr::MCSA_Global); in emitBinary()
87 Streamer.emitValue( in emitBinary()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCAsmInfo.cpp49 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
51 MCContext &Ctx = Streamer.getContext(); in getExprForPersonalitySymbol()
56 return MCAsmInfo::getExprForPersonalitySymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
62 MCStreamer &Streamer) const { in getExprForFDESymbol()
64 MCContext &Ctx = Streamer.getContext(); in getExprForFDESymbol()
68 return MCAsmInfo::getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForFDESymbol()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCWin64EH.h55 void Emit(MCStreamer &Streamer) const override;
56 void EmitUnwindInfo(MCStreamer &Streamer, WinEH::FrameInfo *FI,
62 void Emit(MCStreamer &Streamer) const override;
63 void EmitUnwindInfo(MCStreamer &Streamer, WinEH::FrameInfo *FI,
69 void Emit(MCStreamer &Streamer) const override;
70 void EmitUnwindInfo(MCStreamer &Streamer, WinEH::FrameInfo *FI,
H A DConstantPools.h62 void emitEntries(MCStreamer &Streamer);
89 void emitAll(MCStreamer &Streamer);
90 void emitForCurrentSection(MCStreamer &Streamer);
91 void clearCacheForCurrentSection(MCStreamer &Streamer);
92 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
/llvm-project-15.0.7/llvm/lib/Object/
H A DModuleSymbolTable.cpp108 RecordStreamer Streamer(MCCtx, M); in initializeRecordStreamer() local
109 T->createNullTargetStreamer(Streamer); in initializeRecordStreamer()
112 createMCAsmParser(SrcMgr, MCCtx, Streamer, *MAI)); in initializeRecordStreamer()
127 Init(Streamer); in initializeRecordStreamer()
133 initializeRecordStreamer(M, [&](RecordStreamer &Streamer) { in CollectAsmSymbols() argument
134 Streamer.flushSymverDirectives(); in CollectAsmSymbols()
136 for (auto &KV : Streamer) { in CollectAsmSymbols()
169 initializeRecordStreamer(M, [&](RecordStreamer &Streamer) { in CollectAsmSymvers() argument
170 for (auto &KV : Streamer.symverAliases()) in CollectAsmSymvers()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp34 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference()
44 Streamer.emitLabel(PCSym); in getTTypeGlobalReference()
50 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
61 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel()
69 Streamer.emitLabel(PCSym); in getIndirectSymViaGOTPCRel()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFExpressionCopyBytesTest.cpp73 std::unique_ptr<MCStreamer> Streamer; member
113 Res.Streamer.reset(TheTarget->createMCObjectStreamer( in createStreamer()
135 C.Streamer->initSections(false, *STI); in emitObjFile()
138 C.Streamer->switchSection(Section); in emitObjFile()
139 C.Streamer->emitCFIStartProc(true); in emitObjFile()
141 C.Streamer->emitCFIEscape(Str); in emitObjFile()
142 C.Streamer->emitNops(4, 1, SMLoc(), *STI); in emitObjFile()
143 C.Streamer->emitCFIEndProc(); in emitObjFile()
144 C.Streamer->finish(); in emitObjFile()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DSnippetFile.cpp141 BenchmarkCodeStreamer Streamer(&Context, TM.getMCRegisterInfo(), &Result); in readSnippets() local
151 TM.getTarget().createAsmTargetStreamer(Streamer, InstPrinterOStream, in readSnippets()
154 if (!Streamer.getTargetStreamer()) in readSnippets()
158 createMCAsmParser(SM, Context, Streamer, *TM.getMCAsmInfo())); in readSnippets()
161 AsmParser->getLexer().setCommentConsumer(&Streamer); in readSnippets()
174 if (Streamer.numInvalidComments()) in readSnippets()
176 .concat(Twine(Streamer.numInvalidComments())) in readSnippets()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp313 Streamer.switchSection(S); in emitModuleMetadata()
320 Streamer.emitInt8(0); in emitModuleMetadata()
329 Streamer.switchSection(S); in emitModuleMetadata()
332 Streamer.emitBytes( in emitModuleMetadata()
334 Streamer.emitInt8(0); in emitModuleMetadata()
368 Streamer.switchSection(S); in emitModuleMetadata()
372 Streamer.addBlankLine(); in emitModuleMetadata()
407 Streamer.emitLabel(Label); in emitPersonalityValue()
1229 Streamer.switchSection(S); in emitModuleMetadata()
1234 Streamer.addBlankLine(); in emitModuleMetadata()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp148 cast<MCSectionXCOFF>(Streamer.getCurrentSectionOnly()) in emitTCEntry()
162 Streamer.emitXCOFFRenameDirective(TCSym, TCSym->getSymbolTableName()); in emitTCEntry()
178 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitLocalEntry()
193 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
199 Streamer.emitValueToAlignment(8); in emitTCEntry()
200 Streamer.emitSymbolValue(&S, 8); in emitTCEntry()
326 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitTCEntry()
328 Streamer.emitValueToAlignment(PointerSize); in emitTCEntry()
329 Streamer.emitValue(MCSymbolRefExpr::create(&S, Kind, Streamer.getContext()), in emitTCEntry()

123456