Lines Matching refs:Streamer

119   MCStreamer &Streamer;  member in __anon00ef77ed0111::BinaryEmitter
123 BinaryEmitter(MCStreamer &Streamer, BinaryContext &BC) in BinaryEmitter() argument
124 : Streamer(Streamer), BC(BC) {} in BinaryEmitter()
187 Streamer.initSections(false, *BC.STI); in emitAll()
201 RtLibrary->emitBinary(BC, Streamer); in emitAll()
209 DwarfLineTable::emit(BC, Streamer); in emitAll()
214 Streamer.emitLabel(BC.Ctx->getOrCreateSymbol("_end")); in emitAll()
220 const bool OriginalAllowAutoPadding = Streamer.getAllowAutoPadding(); in emitFunctions()
234 Streamer.setAllowAutoPadding(false); in emitFunctions()
240 Streamer.setAllowAutoPadding(false); in emitFunctions()
243 Streamer.setAllowAutoPadding(OriginalAllowAutoPadding); in emitFunctions()
252 Streamer.switchSection(BC.getTextSection()); in emitFunctions()
253 Streamer.emitLabel(BC.getHotTextStartSymbol()); in emitFunctions()
265 Streamer.switchSection(BC.getTextSection()); in emitFunctions()
266 Streamer.emitLabel(BC.getHotTextEndSymbol()); in emitFunctions()
280 Streamer.switchSection(Section); in emitFunction()
291 Streamer.emitCodeAlignment(BinaryFunction::MinAlign, &*BC.STI); in emitFunction()
295 Streamer.emitCodeAlignment(Function.getAlignment(), &*BC.STI, in emitFunction()
298 Streamer.emitCodeAlignment(Function.getAlignment(), &*BC.STI); in emitFunction()
301 MCContext &Context = Streamer.getContext(); in emitFunction()
310 Streamer.emitSymbolAttribute(Symbol, MCSA_ELF_TypeFunction); in emitFunction()
311 Streamer.emitLabel(Symbol); in emitFunction()
315 Streamer.emitSymbolAttribute(StartSymbol, MCSA_ELF_TypeFunction); in emitFunction()
316 Streamer.emitLabel(StartSymbol); in emitFunction()
321 Streamer.emitCFIStartProc(/*IsSimple=*/false); in emitFunction()
323 Streamer.emitCFIPersonality(Function.getPersonalityFunction(), in emitFunction()
328 Streamer.emitCFILsda(LSDASymbol, BC.LSDAEncoding); in emitFunction()
330 Streamer.emitCFILsda(0, dwarf::DW_EH_PE_omit); in emitFunction()
348 Streamer.emitIntValue(0x0B0F, 2); // UD2: 0F 0B in emitFunction()
361 Streamer.emitFill(Padding, MAI->getTextAlignFillValue()); in emitFunction()
365 Streamer.emitIntValue(BC.MIB->getTrapFillValue(), 1); in emitFunction()
369 Streamer.emitCFIEndProc(); in emitFunction()
373 Streamer.emitLabel(EndSymbol); in emitFunction()
379 Streamer.emitELFSize(StartSymbol, SizeExpr); in emitFunction()
407 Streamer.emitCodeAlignment(BB->getAlignment(), &*BC.STI, in emitFunctionBody()
409 Streamer.emitLabel(BB->getLabel()); in emitFunctionBody()
412 Streamer.emitLabel(EntrySymbol); in emitFunctionBody()
440 Streamer.emitLabel(const_cast<MCSymbol *>(Label)); in emitFunctionBody()
469 Streamer.emitLabel(LocSym); in emitFunctionBody()
473 Streamer.emitInstruction(Instr, *BC.STI); in emitFunctionBody()
496 Streamer.emitCodeAlignment(Alignment, &*BC.STI); in emitConstantIslands()
500 Streamer.emitLabel(BF.getFunctionConstantIslandLabel()); in emitConstantIslands()
502 Streamer.emitLabel(BF.getFunctionColdConstantIslandLabel()); in emitConstantIslands()
554 Streamer.emitBytes( in emitConstantIslands()
565 FunctionOffset += Relocation.emit(&Streamer); in emitConstantIslands()
570 Streamer.emitBytes(FunctionContents.slice(FunctionOffset, EndOffset)); in emitConstantIslands()
592 Streamer.emitLabel(IS->second); in emitConstantIslands()
600 Streamer.emitLabel(Islands.ColdSymbols[IS->second]); in emitConstantIslands()
607 Streamer.emitLabel(Sym); in emitConstantIslands()
613 Streamer.emitLabel(Sym); in emitConstantIslands()
684 Streamer.emitLabel(LineSym); in emitLineInfo()
689 Streamer.getCurrentSectionOnly()); in emitLineInfo()
704 Streamer.getCurrentSectionOnly()); in emitLineInfoEnd()
773 Streamer.switchSection(JT.Count > 0 ? HotSection : ColdSection); in emitJumpTable()
774 Streamer.emitValueToAlignment(JT.EntrySize); in emitJumpTable()
790 Streamer.switchSection(HotSection); in emitJumpTable()
792 Streamer.switchSection(ColdSection); in emitJumpTable()
793 Streamer.emitValueToAlignment(JT.EntrySize); in emitJumpTable()
795 Streamer.emitLabel(LI->second); in emitJumpTable()
799 Streamer.emitSymbolValue(Entry, JT.OutputEntrySize); in emitJumpTable()
802 MCSymbolRefExpr::create(LastLabel, Streamer.getContext()); in emitJumpTable()
804 MCSymbolRefExpr::create(Entry, Streamer.getContext()); in emitJumpTable()
806 MCBinaryExpr::createSub(E, JTExpr, Streamer.getContext()); in emitJumpTable()
807 Streamer.emitValue(Value, JT.EntrySize); in emitJumpTable()
818 Streamer.emitCFIDefCfaOffset(Inst.getOffset()); in emitCFIInstruction()
821 Streamer.emitCFIAdjustCfaOffset(Inst.getOffset()); in emitCFIInstruction()
824 Streamer.emitCFIDefCfa(Inst.getRegister(), Inst.getOffset()); in emitCFIInstruction()
827 Streamer.emitCFIDefCfaRegister(Inst.getRegister()); in emitCFIInstruction()
830 Streamer.emitCFIOffset(Inst.getRegister(), Inst.getOffset()); in emitCFIInstruction()
833 Streamer.emitCFIRegister(Inst.getRegister(), Inst.getRegister2()); in emitCFIInstruction()
836 Streamer.emitCFIWindowSave(); in emitCFIInstruction()
839 Streamer.emitCFINegateRAState(); in emitCFIInstruction()
842 Streamer.emitCFISameValue(Inst.getRegister()); in emitCFIInstruction()
845 Streamer.emitCFIGnuArgsSize(Inst.getOffset()); in emitCFIInstruction()
848 Streamer.AddComment(Inst.getComment()); in emitCFIInstruction()
849 Streamer.emitCFIEscape(Inst.getValues()); in emitCFIInstruction()
852 Streamer.emitCFIRestore(Inst.getRegister()); in emitCFIInstruction()
855 Streamer.emitCFIUndefined(Inst.getRegister()); in emitCFIInstruction()
878 Streamer.switchSection(BC.MOFI->getLSDASection()); in emitLSDA()
885 Streamer.emitValueToAlignment(TTypeAlignment); in emitLSDA()
891 Streamer.emitLabel(LSDASymbol); in emitLSDA()
918 Streamer.emitIntValue(dwarf::DW_EH_PE_udata4, 1); // LPStart format in emitLSDA()
919 Streamer.emitIntValue(0, 4); // LPStart in emitLSDA()
922 Streamer.emitIntValue(0, 4); in emitLSDA()
924 Streamer.emitSymbolValue(LPSymbol, 4); in emitLSDA()
927 Streamer.emitIntValue(dwarf::DW_EH_PE_omit, 1); // LPStart format in emitLSDA()
930 Streamer.emitIntValue(0, 4); in emitLSDA()
932 Streamer.emitAbsoluteSymbolDiff(LPSymbol, StartSymbol, 4); in emitLSDA()
936 Streamer.emitIntValue(TTypeEncoding, 1); // TType format in emitLSDA()
958 Streamer.emitULEB128IntValue(TTypeBaseOffset, in emitLSDA()
964 Streamer.emitIntValue(dwarf::DW_EH_PE_sdata4, 1); in emitLSDA()
965 Streamer.emitULEB128IntValue(CallSiteTableLength); in emitLSDA()
976 Streamer.emitAbsoluteSymbolDiff(BeginLabel, StartSymbol, 4); in emitLSDA()
977 Streamer.emitAbsoluteSymbolDiff(EndLabel, BeginLabel, 4); in emitLSDA()
979 Streamer.emitULEB128IntValue(CallSite.Action); in emitLSDA()
991 Streamer.emitIntValue(Byte, 1); in emitLSDA()
1005 Streamer.emitIntValue(TypeAddress, TTypeEncodingSize); in emitLSDA()
1012 Streamer.emitLabel(DotSymbol); in emitLSDA()
1016 Streamer.emitValue(SubDotExpr, TTypeEncodingSize); in emitLSDA()
1018 Streamer.emitIntValue(0, TTypeEncodingSize); in emitLSDA()
1025 Streamer.emitIntValue(Byte, 1); in emitLSDA()
1125 Section.emitAsData(Streamer, EmitName); in emitDataSections()
1133 void emitBinaryContext(MCStreamer &Streamer, BinaryContext &BC, in emitBinaryContext() argument
1135 BinaryEmitter(Streamer, BC).emitAll(OrgSecPrefix); in emitBinaryContext()
1138 void emitFunctionBody(MCStreamer &Streamer, BinaryFunction &BF, in emitFunctionBody() argument
1140 BinaryEmitter(Streamer, BF.getBinaryContext()) in emitFunctionBody()