Lines Matching refs:OutStreamer

188       OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)) {  in AsmPrinter()
189 VerboseAsm = OutStreamer->isVerboseAsm(); in AsmPrinter()
237 return OutStreamer->getCurrentSectionOnly(); in getCurrentSection()
255 OutStreamer->InitSections(false); in doInitialization()
266 OutStreamer->EmitVersionForTarget(Target, M.getSDKVersion()); in doInitialization()
275 OutStreamer->EmitFileDirective( in doInitialization()
292 OutStreamer->AddComment("Start of file scope inline assembly"); in doInitialization()
293 OutStreamer->AddBlankLine(); in doInitialization()
296 OutStreamer->AddComment("End of file scope inline assembly"); in doInitialization()
297 OutStreamer->AddBlankLine(); in doInitialization()
394 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
398 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_WeakDefinition); in EmitLinkage()
400 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_WeakDefAutoPrivate); in EmitLinkage()
403 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
407 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitLinkage()
412 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
458 GV->printAsOperand(OutStreamer->GetCommentOS(), in EmitGlobalVariable()
460 OutStreamer->GetCommentOS() << '\n'; in EmitGlobalVariable()
481 OutStreamer->EmitSymbolAttribute(EmittedSym, MCSA_ELF_TypeObject); in EmitGlobalVariable()
508 OutStreamer->EmitCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
524 OutStreamer->EmitZerofill(TheSection, GVSym, Size, Align); in EmitGlobalVariable()
544 OutStreamer->EmitLocalCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
552 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Local); in EmitGlobalVariable()
554 OutStreamer->EmitCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
575 OutStreamer->EmitTBSSSymbol(TheSection, MangSym, Size, 1 << AlignLog); in EmitGlobalVariable()
577 OutStreamer->SwitchSection(TheSection); in EmitGlobalVariable()
580 OutStreamer->EmitLabel(MangSym); in EmitGlobalVariable()
586 OutStreamer->AddBlankLine(); in EmitGlobalVariable()
591 OutStreamer->SwitchSection(TLVSect); in EmitGlobalVariable()
594 OutStreamer->EmitLabel(GVSym); in EmitGlobalVariable()
601 OutStreamer->EmitSymbolValue(GetExternalSymbolSymbol("_tlv_bootstrap"), in EmitGlobalVariable()
603 OutStreamer->EmitIntValue(0, PtrSize); in EmitGlobalVariable()
604 OutStreamer->EmitSymbolValue(MangSym, PtrSize); in EmitGlobalVariable()
606 OutStreamer->AddBlankLine(); in EmitGlobalVariable()
612 OutStreamer->SwitchSection(TheSection); in EmitGlobalVariable()
617 OutStreamer->EmitLabel(EmittedInitSym); in EmitGlobalVariable()
623 OutStreamer->emitELFSize(EmittedInitSym, in EmitGlobalVariable()
626 OutStreamer->AddBlankLine(); in EmitGlobalVariable()
634 OutStreamer->EmitValue(Value, Size); in EmitDebugValue()
643 OutStreamer->GetCommentOS() in EmitFunctionHeader()
651 OutStreamer->SwitchSection(getObjFileLowering().SectionForGlobal(&F, TM)); in EmitFunctionHeader()
659 OutStreamer->EmitSymbolAttribute(CurrentFnSym, MCSA_ELF_TypeFunction); in EmitFunctionHeader()
662 F.printAsOperand(OutStreamer->GetCommentOS(), in EmitFunctionHeader()
664 OutStreamer->GetCommentOS() << '\n'; in EmitFunctionHeader()
675 OutStreamer->EmitLabel(PrefixSym); in EmitFunctionHeader()
680 OutStreamer->EmitSymbolAttribute(CurrentFnSym, MCSA_AltEntry); in EmitFunctionHeader()
696 OutStreamer->AddComment("Address taken block that was later removed"); in EmitFunctionHeader()
697 OutStreamer->EmitLabel(DeadBlockSyms[i]); in EmitFunctionHeader()
703 OutStreamer->EmitLabel(CurPos); in EmitFunctionHeader()
704 OutStreamer->EmitAssignment(CurrentFnBegin, in EmitFunctionHeader()
707 OutStreamer->EmitLabel(CurrentFnBegin); in EmitFunctionHeader()
737 return OutStreamer->EmitLabel(CurrentFnSym); in EmitFunctionEntryLabel()
821 OutStreamer->AddComment(OS.str()); in emitImplicitDef()
822 OutStreamer->AddBlankLine(); in emitImplicitDef()
835 AP.OutStreamer->AddComment(OS.str()); in emitKill()
836 AP.OutStreamer->AddBlankLine(); in emitKill()
913 AP.OutStreamer->emitRawComment(OS.str()); in emitDebugValueComment()
925 AP.OutStreamer->emitRawComment(OS.str()); in emitDebugValueComment()
949 AP.OutStreamer->emitRawComment(OS.str()); in emitDebugLabelComment()
999 OutStreamer->EmitAssignment(FrameAllocSym, in emitFrameAlloc()
1017 OutStreamer->PushSection(); in emitStackSizeSection()
1018 OutStreamer->SwitchSection(StackSizeSection); in emitStackSizeSection()
1022 OutStreamer->EmitSymbolValue(FunctionSymbol, TM.getProgramPointerSize()); in emitStackSizeSection()
1023 OutStreamer->EmitULEB128IntValue(StackSize); in emitStackSizeSection()
1025 OutStreamer->PopSection(); in emitStackSizeSection()
1085 OutStreamer->EmitLabel(S); in EmitFunctionBody()
1096 if (isVerbose() && emitComments(MI, OutStreamer->GetCommentOS(), this)) { in EmitFunctionBody()
1110 OutStreamer->EmitLabel(MI.getOperand(0).getMCSymbol()); in EmitFunctionBody()
1140 OutStreamer->EmitLabel(S); in EmitFunctionBody()
1180 OutStreamer->AddComment("avoids zero-length function"); in EmitFunctionBody()
1181 OutStreamer->EmitInstruction(Noop, getSubtargetInfo()); in EmitFunctionBody()
1192 OutStreamer->AddComment("Address of block that was removed by CodeGen"); in EmitFunctionBody()
1193 OutStreamer->EmitLabel(Sym); in EmitFunctionBody()
1203 OutStreamer->EmitLabel(CurrentFnEnd); in EmitFunctionBody()
1214 OutStreamer->emitELFSize(CurrentFnSym, SizeExp); in EmitFunctionBody()
1237 OutStreamer->GetCommentOS() << "-- End function\n"; in EmitFunctionBody()
1239 OutStreamer->AddBlankLine(); in EmitFunctionBody()
1326 OutStreamer->EmitSymbolAttribute(Name, MCSA_Global); in emitGlobalIndirectSymbol()
1328 OutStreamer->EmitSymbolAttribute(Name, MCSA_WeakReference); in emitGlobalIndirectSymbol()
1335 OutStreamer->EmitSymbolAttribute(Name, MCSA_ELF_TypeFunction); in emitGlobalIndirectSymbol()
1337 OutStreamer->EmitSymbolAttribute(Name, MCSA_ELF_TypeIndFunction); in emitGlobalIndirectSymbol()
1345 OutStreamer->EmitSymbolAttribute(Name, MCSA_AltEntry); in emitGlobalIndirectSymbol()
1348 OutStreamer->EmitAssignment(Name, Expr); in emitGlobalIndirectSymbol()
1361 OutStreamer->emitELFSize(Name, MCConstantExpr::create(Size, OutContext)); in emitGlobalIndirectSymbol()
1399 TLOF.emitModuleMetadata(*OutStreamer, M); in doFinalization()
1407 OutStreamer->SwitchSection(TLOF.getDataSection()); in doFinalization()
1412 OutStreamer->EmitLabel(Stub.first); in doFinalization()
1413 OutStreamer->EmitSymbolValue(Stub.second.getPointer(), in doFinalization()
1431 OutStreamer->SwitchSection(OutContext.getCOFFSection( in doFinalization()
1438 OutStreamer->EmitSymbolAttribute(Stub.first, MCSA_Global); in doFinalization()
1439 OutStreamer->EmitLabel(Stub.first); in doFinalization()
1440 OutStreamer->EmitSymbolValue(Stub.second.getPointer(), in doFinalization()
1467 OutStreamer->EmitSymbolAttribute(getSymbol(&GO), MCSA_WeakReference); in doFinalization()
1471 OutStreamer->AddBlankLine(); in doFinalization()
1511 OutStreamer->SwitchSection(ReadOnlySection); in doFinalization()
1515 OutStreamer->EmitLabel(AddrSymbol); in doFinalization()
1518 OutStreamer->EmitSymbolValue(GetExternalSymbolSymbol("__morestack"), in doFinalization()
1525 OutStreamer->SwitchSection( in doFinalization()
1528 OutStreamer->SwitchSection( in doFinalization()
1537 OutStreamer->SwitchSection(S); in doFinalization()
1549 OutStreamer->SwitchSection(TLOF.getDrectveSection()); in doFinalization()
1550 OutStreamer->EmitBytes(Flags); in doFinalization()
1576 OutStreamer->SwitchSection(TLOF.getDrectveSection()); in doFinalization()
1577 OutStreamer->EmitBytes(Flags); in doFinalization()
1587 OutStreamer->EmitAddrsig(); in doFinalization()
1592 OutStreamer->EmitAddrsigSym(getSymbol(&GV)); in doFinalization()
1601 OutStreamer->Finish(); in doFinalization()
1602 OutStreamer->reset(); in doFinalization()
1707 OutStreamer->SwitchSection(CPSections[i].S); in EmitConstantPool()
1718 OutStreamer->EmitZeros(NewOffset - Offset); in EmitConstantPool()
1723 OutStreamer->EmitLabel(Sym); in EmitConstantPool()
1752 OutStreamer->SwitchSection(ReadOnlySection); in EmitJumpTableInfo()
1760 OutStreamer->EmitDataRegion(MCDR_DataRegionJT32); in EmitJumpTableInfo()
1783 OutStreamer->EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()), in EmitJumpTableInfo()
1796 OutStreamer->EmitLabel(GetJTISymbol(JTI, true)); in EmitJumpTableInfo()
1798 OutStreamer->EmitLabel(GetJTISymbol(JTI)); in EmitJumpTableInfo()
1804 OutStreamer->EmitDataRegion(MCDR_DataRegionEnd); in EmitJumpTableInfo()
1831 OutStreamer->EmitGPRel32Value(MCSymbolRefExpr::create(MBBSym, OutContext)); in EmitJumpTableEntry()
1840 OutStreamer->EmitGPRel64Value(MCSymbolRefExpr::create(MBBSym, OutContext)); in EmitJumpTableEntry()
1868 OutStreamer->EmitValue(Value, EntrySize); in EmitJumpTableEntry()
1916 OutStreamer->EmitSymbolAttribute(getSymbol(GV), MCSA_NoDeadStrip); in EmitLLVMUsedList()
1992 OutStreamer->SwitchSection(OutputSection); in EmitXXStructorList()
1993 if (OutStreamer->getCurrentSection() != OutStreamer->getPreviousSection()) in EmitXXStructorList()
2009 OutStreamer->EmitIdent(S->getString()); in EmitModuleIdents()
2023 OutStreamer->PushSection(); in EmitModuleCommandLines()
2024 OutStreamer->SwitchSection(CommandLine); in EmitModuleCommandLines()
2025 OutStreamer->EmitZeros(1); in EmitModuleCommandLines()
2031 OutStreamer->EmitBytes(S->getString()); in EmitModuleCommandLines()
2032 OutStreamer->EmitZeros(1); in EmitModuleCommandLines()
2034 OutStreamer->PopSection(); in EmitModuleCommandLines()
2044 OutStreamer->EmitIntValue(Value, 1); in emitInt8()
2049 OutStreamer->EmitIntValue(Value, 2); in emitInt16()
2054 OutStreamer->EmitIntValue(Value, 4); in emitInt32()
2059 OutStreamer->EmitIntValue(Value, 8); in emitInt64()
2067 OutStreamer->emitAbsoluteSymbolDiff(Hi, Lo, Size); in EmitLabelDifference()
2077 OutStreamer->EmitCOFFSecRel32(Label, Offset); in EmitLabelPlusOffset()
2079 OutStreamer->EmitZeros(Size - 4); in EmitLabelPlusOffset()
2089 OutStreamer->EmitValue(Expr, Size); in EmitLabelPlusOffset()
2109 OutStreamer->EmitCodeAlignment(1u << NumBits); in EmitAlignment()
2111 OutStreamer->EmitValueToAlignment(1u << NumBits); in EmitAlignment()
2333 return AP.OutStreamer->emitFill(Bytes, Value); in emitGlobalConstantDataSequential()
2338 return AP.OutStreamer->EmitBytes(CDS->getAsString()); in emitGlobalConstantDataSequential()
2345 AP.OutStreamer->GetCommentOS() << format("0x%" PRIx64 "\n", in emitGlobalConstantDataSequential()
2347 AP.OutStreamer->EmitIntValue(CDS->getElementAsInteger(i), in emitGlobalConstantDataSequential()
2361 AP.OutStreamer->EmitZeros(Padding); in emitGlobalConstantDataSequential()
2373 AP.OutStreamer->emitFill(Bytes, Value); in emitGlobalConstantArray()
2392 AP.OutStreamer->EmitZeros(Padding); in emitGlobalConstantVector()
2417 AP.OutStreamer->EmitZeros(PadSize); in emitGlobalConstantStruct()
2433 ET->print(AP.OutStreamer->GetCommentOS()); in emitGlobalConstantFP()
2435 AP.OutStreamer->GetCommentOS() << "Printing <null> Type"; in emitGlobalConstantFP()
2436 AP.OutStreamer->GetCommentOS() << ' ' << StrVal << '\n'; in emitGlobalConstantFP()
2452 AP.OutStreamer->EmitIntValue(p[Chunk--], TrailingBytes); in emitGlobalConstantFP()
2455 AP.OutStreamer->EmitIntValue(p[Chunk], sizeof(uint64_t)); in emitGlobalConstantFP()
2459 AP.OutStreamer->EmitIntValue(p[Chunk], sizeof(uint64_t)); in emitGlobalConstantFP()
2462 AP.OutStreamer->EmitIntValue(p[Chunk], TrailingBytes); in emitGlobalConstantFP()
2467 AP.OutStreamer->EmitZeros(DL.getTypeAllocSize(ET) - DL.getTypeStoreSize(ET)); in emitGlobalConstantFP()
2514 AP.OutStreamer->EmitIntValue(Val, 8); in emitGlobalConstantLargeInt()
2526 AP.OutStreamer->EmitIntValue(ExtraBits, Size); in emitGlobalConstantLargeInt()
2613 FinalSym, MV, Offset, AP.MMI, *AP.OutStreamer); in handleIndirectSymViaGOTPCRel()
2633 return AP.OutStreamer->EmitZeros(Size); in emitGlobalConstantImpl()
2642 AP.OutStreamer->GetCommentOS() << format("0x%" PRIx64 "\n", in emitGlobalConstantImpl()
2644 AP.OutStreamer->EmitIntValue(CI->getZExtValue(), Size); in emitGlobalConstantImpl()
2656 AP.OutStreamer->EmitIntValue(0, Size); in emitGlobalConstantImpl()
2698 AP.OutStreamer->EmitValue(ME, Size); in emitGlobalConstantImpl()
2709 OutStreamer->EmitIntValue(0, 1); in EmitGlobalConstant()
2755 OutStreamer->EmitSymbolAttribute(Sym, MCSA_Global); in GetCPISymbol()
2833 AP.OutStreamer->AddComment(" in Loop: Header=BB" + in emitBasicBlockLoopComments()
2842 raw_ostream &OS = AP.OutStreamer->GetCommentOS(); in emitBasicBlockLoopComments()
2887 OutStreamer->EmitCodePaddingBasicBlockStart(Context); in EmitBasicBlockStart()
2896 OutStreamer->AddComment("Block address taken"); in EmitBasicBlockStart()
2902 OutStreamer->EmitLabel(Sym); in EmitBasicBlockStart()
2909 BB->printAsOperand(OutStreamer->GetCommentOS(), in EmitBasicBlockStart()
2911 OutStreamer->GetCommentOS() << '\n'; in EmitBasicBlockStart()
2924 OutStreamer->emitRawComment(" %bb." + Twine(MBB.getNumber()) + ":", in EmitBasicBlockStart()
2928 OutStreamer->EmitLabel(MBB.getSymbol()); in EmitBasicBlockStart()
2935 OutStreamer->EmitCodePaddingBasicBlockEnd(Context); in EmitBasicBlockEnd()
2956 OutStreamer->EmitSymbolAttribute(Sym, Attr); in EmitVisibility()
3073 auto PrevSection = OutStreamer->getCurrentSectionOnly(); in emitXRayTable()
3109 OutStreamer->SwitchSection(InstMap); in emitXRayTable()
3110 OutStreamer->EmitLabel(SledsStart); in emitXRayTable()
3112 Sled.emit(WordSizeBytes, OutStreamer.get(), CurrentFnSym); in emitXRayTable()
3114 OutStreamer->EmitLabel(SledsEnd); in emitXRayTable()
3120 OutStreamer->SwitchSection(FnSledIndex); in emitXRayTable()
3121 OutStreamer->EmitCodeAlignment(2 * WordSizeBytes); in emitXRayTable()
3122 OutStreamer->EmitSymbolValue(SledsStart, WordSizeBytes, false); in emitXRayTable()
3123 OutStreamer->EmitSymbolValue(SledsEnd, WordSizeBytes, false); in emitXRayTable()
3124 OutStreamer->SwitchSection(PrevSection); in emitXRayTable()
3142 return OutStreamer->getContext().getDwarfVersion(); in getDwarfVersion()
3146 OutStreamer->getContext().setDwarfVersion(Version); in setDwarfVersion()