Home
last modified time | relevance | path

Searched full:streamer (Results 1 – 25 of 246) sorted by relevance

12345678910

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCWin64EH.cpp53 static void EmitAbsDifference(MCStreamer &Streamer, const MCSymbol *LHS, in EmitAbsDifference() argument
55 MCContext &Context = Streamer.getContext(); in EmitAbsDifference()
59 Streamer.emitValue(Diff, 1); in EmitAbsDifference()
62 static void EmitUnwindCode(MCStreamer &streamer, const MCSymbol *begin, in EmitUnwindCode() argument
71 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
73 streamer.emitInt8(b2); in EmitUnwindCode()
76 EmitAbsDifference(streamer, inst.Label, begin); in EmitUnwindCode()
79 streamer.emitInt8(b2); in EmitUnwindCode()
81 streamer.emitInt16(w); in EmitUnwindCode()
84 streamer in EmitUnwindCode()
130 EmitSymbolRefWithOfs(MCStreamer & streamer,const MCSymbol * Base,int64_t Offset) EmitSymbolRefWithOfs() argument
141 EmitSymbolRefWithOfs(MCStreamer & streamer,const MCSymbol * Base,const MCSymbol * Other) EmitSymbolRefWithOfs() argument
154 EmitRuntimeFunction(MCStreamer & streamer,const WinEH::FrameInfo * info) EmitRuntimeFunction() argument
166 EmitUnwindInfo(MCStreamer & streamer,WinEH::FrameInfo * info) EmitUnwindInfo() argument
253 EmitUnwindInfo(MCStreamer & Streamer,WinEH::FrameInfo * info,bool HandlerData) const EmitUnwindInfo() argument
264 GetSubDivExpr(MCStreamer & Streamer,const MCSymbol * LHS,const MCSymbol * RHS,int Div) GetSubDivExpr() argument
276 GetOptionalAbsDifference(MCStreamer & Streamer,const MCSymbol * LHS,const MCSymbol * RHS) GetOptionalAbsDifference() argument
293 GetAbsDifference(MCStreamer & Streamer,const MCSymbol * LHS,const MCSymbol * RHS) GetAbsDifference() argument
302 checkARM64Instructions(MCStreamer & Streamer,ArrayRef<WinEH::Instruction> Insns,const MCSymbol * Begin,const MCSymbol * End,StringRef Name,StringRef Type) checkARM64Instructions() argument
441 ARM64EmitUnwindCode(MCStreamer & streamer,const WinEH::Instruction & inst) ARM64EmitUnwindCode() argument
753 checkARM64PackedEpilog(MCStreamer & streamer,WinEH::FrameInfo * info,WinEH::FrameInfo::Segment * Seg,int PrologCodeBytes) checkARM64PackedEpilog() argument
1116 ARM64FindSegmentsInFunction(MCStreamer & streamer,WinEH::FrameInfo * info,int64_t RawFuncLength) ARM64FindSegmentsInFunction() argument
1197 ARM64EmitUnwindInfoForSegment(MCStreamer & streamer,WinEH::FrameInfo * info,WinEH::FrameInfo::Segment & Seg,bool TryPacked=true) ARM64EmitUnwindInfoForSegment() argument
1344 ARM64EmitUnwindInfo(MCStreamer & streamer,WinEH::FrameInfo * info,bool TryPacked=true) ARM64EmitUnwindInfo() argument
1552 checkARMInstructions(MCStreamer & Streamer,ArrayRef<WinEH::Instruction> Insns,const MCSymbol * Begin,const MCSymbol * End,StringRef Name,StringRef Type) checkARMInstructions() argument
1590 ARMEmitUnwindCode(MCStreamer & streamer,const WinEH::Instruction & inst) ARMEmitUnwindCode() argument
1762 checkARMPackedEpilog(MCStreamer & streamer,WinEH::FrameInfo * info,int PrologCodeBytes) checkARMPackedEpilog() argument
1859 tryARMPackedUnwind(MCStreamer & streamer,WinEH::FrameInfo * info,uint32_t FuncLength) tryARMPackedUnwind() argument
2261 ARMEmitUnwindInfo(MCStreamer & streamer,WinEH::FrameInfo * info,bool TryPacked=true) ARMEmitUnwindInfo() argument
2499 ARM64EmitRuntimeFunction(MCStreamer & streamer,const WinEH::FrameInfo * info) ARM64EmitRuntimeFunction() argument
2517 ARMEmitRuntimeFunction(MCStreamer & streamer,const WinEH::FrameInfo * info) ARMEmitRuntimeFunction() argument
2557 EmitUnwindInfo(MCStreamer & Streamer,WinEH::FrameInfo * info,bool HandlerData) const EmitUnwindInfo() argument
2602 EmitUnwindInfo(MCStreamer & Streamer,WinEH::FrameInfo * info,bool HandlerData) const EmitUnwindInfo() argument
[all...]
H A DConstantPools.cpp25 // Emit the contents of the constant pool using the provided streamer.
26 void ConstantPool::emitEntries(MCStreamer &Streamer) { in emitEntries() argument
29 Streamer.emitDataRegion(MCDR_DataRegion); in emitEntries()
31 Streamer.emitValueToAlignment(Align(Entry.Size)); // align naturally 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()
93 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool() argument
96 Streamer.switchSection(Section); in emitConstantPool()
97 CP.emitEntries(Streamer); in emitConstantPool()
[all …]
H A DMCDwarf.cpp673 /// Utility function to emit the encoding to a streamer.
1243 static int getDataAlignmentFactor(MCStreamer &streamer) { in getDataAlignmentFactor() argument
1244 MCContext &context = streamer.getContext(); in getDataAlignmentFactor()
1253 static unsigned getSizeForEncoding(MCStreamer &streamer, in getSizeForEncoding() argument
1255 MCContext &context = streamer.getContext(); in getSizeForEncoding()
1274 static void emitFDESymbol(MCObjectStreamer &streamer, const MCSymbol &symbol, in emitFDESymbol() argument
1276 MCContext &context = streamer.getContext(); in emitFDESymbol()
1280 streamer); in emitFDESymbol()
1281 unsigned size = getSizeForEncoding(streamer, symbolEncoding); in emitFDESymbol()
1283 emitAbsValue(streamer, v, size); in emitFDESymbol()
[all …]
H A DMCAsmInfo.cpp82 MCStreamer &Streamer) const { in getExprForPersonalitySymbol()
83 return getExprForFDESymbol(Sym, Encoding, Streamer); in getExprForPersonalitySymbol()
89 MCStreamer &Streamer) const { in getExprForFDESymbol()
91 return MCSymbolRefExpr::create(Sym, Streamer.getContext()); in getExprForFDESymbol()
93 MCContext &Context = Streamer.getContext(); in getExprForFDESymbol()
96 Streamer.emitLabel(PCSym); in getExprForFDESymbol()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsOptionRecord.cpp24 static_cast<MipsTargetStreamer *>(Streamer->getTargetStreamer()); in EmitMipsOptionRecord()
26 Streamer->pushSection(); in EmitMipsOptionRecord()
39 Streamer->switchSection(Sec); in EmitMipsOptionRecord()
41 Streamer->emitInt8(ELF::ODK_REGINFO); // kind in EmitMipsOptionRecord()
42 Streamer->emitInt8(40); // size in EmitMipsOptionRecord()
43 Streamer->emitInt16(0); // section in EmitMipsOptionRecord()
44 Streamer->emitInt32(0); // info in EmitMipsOptionRecord()
45 Streamer->emitInt32(ri_gprmask); in EmitMipsOptionRecord()
46 Streamer->emitInt32(0); // pad in EmitMipsOptionRecord()
47 Streamer->emitInt32(ri_cprmask[0]); in EmitMipsOptionRecord()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430ELFStreamer.cpp1 //===-- MSP430ELFStreamer.cpp - MSP430 ELF Target Streamer Methods --------===//
9 // This file provides MSP430 specific target streamer methods.
42 Streamer.switchSection(AttributeSection); in MSP430TargetELFStreamer()
45 Streamer.emitInt8(0x41); in MSP430TargetELFStreamer()
47 Streamer.emitInt32(22); in MSP430TargetELFStreamer()
49 Streamer.emitBytes("mspabi"); in MSP430TargetELFStreamer()
50 Streamer.emitInt8(0); in MSP430TargetELFStreamer()
53 Streamer.emitInt8(1); in MSP430TargetELFStreamer()
55 Streamer.emitInt32(11); in MSP430TargetELFStreamer()
57 Streamer.emitInt8(TagISA); in MSP430TargetELFStreamer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYTargetStreamer.cpp1 //===-- CSKYTargetStreamer.h - CSKY Target Streamer ----------*- C++ -*----===//
21 // Emit the contents of the constant pool using the provided streamer.
22 void CSKYConstantPool::emitAll(MCStreamer &Streamer) {
27 Streamer.switchSection(CurrentSection); in emitAll()
29 Streamer.emitDataRegion(MCDR_DataRegion); in emitAll()
31 Streamer.emitCodeAlignment( in emitAll()
33 Streamer.getContext().getSubtargetInfo()); // align naturally in emitAll()
34 Streamer.emitLabel(Entry.Label); in emitAll()
35 Streamer.emitValue(Entry.Value, Entry.Size, Entry.Loc); in emitAll()
37 Streamer in emitAll()
23 emitAll(MCStreamer & Streamer) emitAll() argument
42 addEntry(MCStreamer & Streamer,const MCExpr * Value,unsigned Size,SMLoc Loc,const MCExpr * AdjustExpr) addEntry() argument
[all...]
H A DCSKYELFStreamer.cpp1 //===-- CSKYELFStreamer.cpp - CSKY ELF Target Streamer Methods ------------===//
9 // This file provides CSKY specific target streamer methods.
69 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
86 Streamer.switchSection(AttributeSection); in finishAttributeSection()
91 Streamer.switchSection(AttributeSection); in finishAttributeSection()
92 Streamer.emitInt8(ELFAttrs::Format_Version); in finishAttributeSection()
103 Streamer.emitInt32(VendorHeaderSize + TagHeaderSize + ContentsSize); in finishAttributeSection()
104 Streamer.emitBytes(CurrentVendor); in finishAttributeSection()
105 Streamer.emitInt8(0); // '\0' in finishAttributeSection()
107 Streamer.emitInt8(ELFAttrs::File); in finishAttributeSection()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp52 Streamer->emitBytes(BytesSR); in endRecord()
107 Streamer->emitBinaryData(toStringRef(Bytes)); in mapByteVectorTail()
132 std::string TypeNameStr = Streamer->getTypeName(TypeInd); in mapInteger()
137 Streamer->emitIntValue(TypeInd.getIndex(), sizeof(TypeInd.getIndex())); in mapInteger()
214 Streamer->emitBytes(NullTerminatedString); in mapStringZ()
235 Streamer->emitBytes(GuidSR); in mapGuid()
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()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h61 explicit CodeViewRecordIO(CodeViewRecordStreamer &Streamer) in CodeViewRecordIO() argument
62 : Streamer(&Streamer) {} in CodeViewRecordIO()
70 return (Streamer != nullptr) && (Reader == nullptr) && (Writer == nullptr); in isStreaming()
73 return (Reader != nullptr) && (Streamer == nullptr) && (Writer == nullptr); in isReading()
76 return (Writer != nullptr) && (Streamer == nullptr) && (Reader == nullptr); in isWriting()
85 Streamer->emitBytes(BytesSR); in mapObject()
103 Streamer->emitIntValue((int)Value, sizeof(T));
149 Streamer->emitIntValue(Size, sizeof(Size));
214 if (isStreaming() && Streamer->isVerboseAsm()) in emitRawComment()
215 Streamer->AddRawComment(T); in emitRawComment()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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.h66 // Emit the contents of the constant pool using the provided streamer.
67 void emitEntries(MCStreamer &Streamer);
94 void emitAll(MCStreamer &Streamer);
95 void emitForCurrentSection(MCStreamer &Streamer);
96 void clearCacheForCurrentSection(MCStreamer &Streamer);
97 const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp233 cast<MCSectionXCOFF>(Streamer.getCurrentSectionOnly()) in emitTCEntry()
254 Streamer.emitXCOFFRenameDirective(TCSym, TCSym->getSymbolTableName()); in emitTCEntry()
270 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitLocalEntry()
285 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
291 Streamer.emitValueToAlignment(Align(8)); in emitTCEntry()
292 Streamer.emitSymbolValue(&S, 8); in emitTCEntry()
343 // Clear the set of symbols that needs to be updated so the streamer can in finish()
418 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitTCEntry()
420 Streamer.emitValueToAlignment(Align(PointerSize)); in emitTCEntry()
421 Streamer.emitValue(MCSymbolRefExpr::create(&S, Kind, Streamer.getContext()), in emitTCEntry()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DModuleSymbolTable.cpp114 RecordStreamer Streamer(MCCtx, M); in initializeRecordStreamer() local
115 T->createNullTargetStreamer(Streamer); in initializeRecordStreamer()
118 createMCAsmParser(SrcMgr, MCCtx, Streamer, *MAI)); in initializeRecordStreamer()
140 Init(Streamer); in initializeRecordStreamer()
146 initializeRecordStreamer(M, [&](RecordStreamer &Streamer) { in CollectAsmSymbols() argument
147 Streamer.flushSymverDirectives(); in CollectAsmSymbols()
149 for (auto &KV : Streamer) { in CollectAsmSymbols()
196 initializeRecordStreamer(M, [&](RecordStreamer &Streamer) { in CollectAsmSymvers() argument
197 for (auto &KV : Streamer.symverAliases()) in CollectAsmSymvers()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp34 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel()
48 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference()
58 Streamer.emitLabel(PCSym); in getTTypeGlobalReference()
64 GV, Encoding, TM, MMI, Streamer); in getTTypeGlobalReference()
75 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel()
83 Streamer.emitLabel(PCSym); in getIndirectSymViaGOTPCRel()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp305 void TargetLoweringObjectFileELF::emitModuleMetadata(MCStreamer &Streamer, in emitModuleMetadata() argument
313 Streamer.switchSection(S); in emitModuleMetadata()
319 Streamer.emitBytes(cast<MDString>(Option)->getString()); 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()
353 Streamer.switchSection(S); in emitModuleMetadata()
354 Streamer.emitInt64(GUID->getZExtValue()); in emitModuleMetadata()
355 Streamer.emitInt64(Hash->getZExtValue()); in emitModuleMetadata()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h52 void emitModuleMetadata(MCStreamer &Streamer, Module &M) const override;
54 void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &DL,
92 MCStreamer &Streamer) const override;
126 void emitModuleMetadata(MCStreamer &Streamer, Module &M) const override;
143 MCStreamer &Streamer) const override;
155 MCStreamer &Streamer) const override;
187 void emitModuleMetadata(MCStreamer &Streamer, Module &M) const override;
205 void emitLinkerDirectives(MCStreamer &Streamer, Module &M) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRELFStreamer.h1 //===----- AVRELFStreamer.h - AVR Target Streamer --------------*- C++ -*--===//
16 /// A target streamer for an AVR ELF object file.
22 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUTargetStreamer.cpp1 //===-- AMDGPUTargetStreamer.cpp - Mips Target Streamer Methods -----------===//
9 // This file provides AMDGPU specific target streamer methods.
598 : AMDGPUTargetStreamer(S), STI(STI), Streamer(S) {} in AMDGPUTargetELFStreamer()
601 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
934 auto &Streamer = getStreamer(); in EmitAmdhsaKernelDescriptor() local
935 auto &Context = Streamer.getContext(); in EmitAmdhsaKernelDescriptor()
957 Streamer.emitLabel(KernelDescriptorSymbol); in EmitAmdhsaKernelDescriptor()
958 Streamer.emitValue( in EmitAmdhsaKernelDescriptor()
961 Streamer.emitValue( in EmitAmdhsaKernelDescriptor()
964 Streamer.emitValue(KernelDescriptor.kernarg_size, in EmitAmdhsaKernelDescriptor()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyTargetStreamer.cpp1 //==-- WebAssemblyTargetStreamer.cpp - WebAssembly Target Streamer Methods --=//
10 /// This file defines WebAssembly-specific target streamer classes.
31 Streamer.emitIntValue(uint8_t(Type), 1); in emitValueType()
130 Streamer.emitULEB128IntValue(Grouped.size()); in emitLocal()
132 Streamer.emitULEB128IntValue(Pair.second); in emitLocal()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCTargetDesc.cpp197 const MCObjectFileInfo &OFI = *Streamer.getContext().getObjectFileInfo(); in emitConstantPools()
198 Streamer.switchSection(OFI.getTextSection()); in emitConstantPools()
200 Streamer.emitLabel(I.second); in emitConstantPools()
202 Streamer.emitInstruction(MCI_STI.first, *MCI_STI.second); in emitConstantPools()
271 // Register the asm streamer. in LLVMInitializeSystemZTargetMC()
275 // Register the obj streamer in LLVMInitializeSystemZTargetMC()
279 // Register the null streamer in LLVMInitializeSystemZTargetMC()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVETargetStreamer.cpp1 //===-- VETargetStreamer.cpp - VE Target Streamer Methods -----------------===//
9 // This file provides VE specific target streamer methods.
43 return static_cast<MCELFStreamer &>(Streamer); in getStreamer()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A DDisassembler.cpp35 SourceMgr &SM, MCStreamer &Streamer, bool InAtomicBlock, in PrintInsts()
69 Streamer.emitInstruction(Inst, STI); in PrintInsts()
131 MCSubtargetInfo &STI, MCStreamer &Streamer,
157 Streamer.initSections(false, STI); in disassemble()
195 PrintInsts(*DisAsm, ByteArray, SM, Streamer, InAtomicBlock, STI); in disassemble()
37 PrintInsts(const MCDisassembler & DisAsm,const ByteArrayTy & Bytes,SourceMgr & SM,raw_ostream & Out,MCStreamer & Streamer,bool InAtomicBlock,const MCSubtargetInfo & STI) PrintInsts() argument
133 disassemble(const Target & T,const std::string & Triple,MCSubtargetInfo & STI,MCStreamer & Streamer,MemoryBuffer & Buffer,SourceMgr & SM,MCContext & Ctx,raw_ostream & Out,const MCTargetOptions & MCOptions) disassemble() argument
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMRemarkStreamer.cpp1 //===- llvm/IR/LLVMRemarkStreamer.cpp - Remark Streamer -*- C++ ---------*-===//
127 // Create the main remark streamer. in setupLLVMOptimizationRemarks()
131 // Create LLVM's optimization remarks streamer. in setupLLVMOptimizationRemarks()
161 // Create the main remark streamer. in setupLLVMOptimizationRemarks()
165 // Create LLVM's optimization remarks streamer. in setupLLVMOptimizationRemarks()

12345678910