Lines Matching refs:OutStreamer
103 OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)), in AsmPrinter()
113 VerboseAsm = OutStreamer->isVerboseAsm(); in AsmPrinter()
164 return OutStreamer->getCurrentSection().first; in getCurrentSection()
185 OutStreamer->InitSections(false); in doInitialization()
217 OutStreamer->EmitVersionMin(VersionType, Major, Minor, Update); in doInitialization()
227 OutStreamer->EmitFileDirective(M.getModuleIdentifier()); in doInitialization()
243 OutStreamer->AddComment("Start of file scope inline assembly"); in doInitialization()
244 OutStreamer->AddBlankLine(); in doInitialization()
247 OutStreamer->AddComment("End of file scope inline assembly"); in doInitialization()
248 OutStreamer->AddBlankLine(); in doInitialization()
310 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
314 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_WeakDefinition); in EmitLinkage()
316 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_WeakDefAutoPrivate); in EmitLinkage()
319 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
323 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitLinkage()
328 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Global); in EmitLinkage()
374 GV->printAsOperand(OutStreamer->GetCommentOS(), in EmitGlobalVariable()
376 OutStreamer->GetCommentOS() << '\n'; in EmitGlobalVariable()
397 OutStreamer->EmitSymbolAttribute(EmittedSym, MCSA_ELF_TypeObject); in EmitGlobalVariable()
422 OutStreamer->EmitCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
439 OutStreamer->EmitZerofill(TheSection, GVSym, Size, Align); in EmitGlobalVariable()
459 OutStreamer->EmitLocalCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
467 OutStreamer->EmitSymbolAttribute(GVSym, MCSA_Local); in EmitGlobalVariable()
469 OutStreamer->EmitCommonSymbol(GVSym, Size, Align); in EmitGlobalVariable()
490 OutStreamer->EmitTBSSSymbol(TheSection, MangSym, Size, 1 << AlignLog); in EmitGlobalVariable()
492 OutStreamer->SwitchSection(TheSection); in EmitGlobalVariable()
495 OutStreamer->EmitLabel(MangSym); in EmitGlobalVariable()
501 OutStreamer->AddBlankLine(); in EmitGlobalVariable()
506 OutStreamer->SwitchSection(TLVSect); in EmitGlobalVariable()
509 OutStreamer->EmitLabel(GVSym); in EmitGlobalVariable()
516 OutStreamer->EmitSymbolValue(GetExternalSymbolSymbol("_tlv_bootstrap"), in EmitGlobalVariable()
518 OutStreamer->EmitIntValue(0, PtrSize); in EmitGlobalVariable()
519 OutStreamer->EmitSymbolValue(MangSym, PtrSize); in EmitGlobalVariable()
521 OutStreamer->AddBlankLine(); in EmitGlobalVariable()
527 OutStreamer->SwitchSection(TheSection); in EmitGlobalVariable()
532 OutStreamer->EmitLabel(EmittedInitSym); in EmitGlobalVariable()
538 OutStreamer->emitELFSize(cast<MCSymbolELF>(EmittedInitSym), in EmitGlobalVariable()
541 OutStreamer->AddBlankLine(); in EmitGlobalVariable()
553 OutStreamer->SwitchSection( in EmitFunctionHeader()
562 OutStreamer->EmitSymbolAttribute(CurrentFnSym, MCSA_ELF_TypeFunction); in EmitFunctionHeader()
565 F->printAsOperand(OutStreamer->GetCommentOS(), in EmitFunctionHeader()
567 OutStreamer->GetCommentOS() << '\n'; in EmitFunctionHeader()
584 OutStreamer->AddComment("Address taken block that was later removed"); in EmitFunctionHeader()
585 OutStreamer->EmitLabel(DeadBlockSyms[i]); in EmitFunctionHeader()
591 OutStreamer->EmitLabel(CurPos); in EmitFunctionHeader()
592 OutStreamer->EmitAssignment(CurrentFnBegin, in EmitFunctionHeader()
595 OutStreamer->EmitLabel(CurrentFnBegin); in EmitFunctionHeader()
624 return OutStreamer->EmitLabel(CurrentFnSym); in EmitFunctionEntryLabel()
673 OutStreamer->AddComment(OS.str()); in emitImplicitDef()
674 OutStreamer->AddBlankLine(); in emitImplicitDef()
689 AP.OutStreamer->AddComment(OS.str()); in emitKill()
690 AP.OutStreamer->AddBlankLine(); in emitKill()
728 AP.OutStreamer->emitRawComment(OS.str()); in emitDebugValueComment()
782 AP.OutStreamer->emitRawComment(OS.str()); in emitDebugValueComment()
794 AP.OutStreamer->emitRawComment(OS.str()); in emitDebugValueComment()
835 OutStreamer->EmitAssignment(FrameAllocSym, in emitFrameAlloc()
872 emitComments(MI, OutStreamer->GetCommentOS()); in EmitFunctionBody()
885 OutStreamer->EmitLabel(MI.getOperand(0).getMCSymbol()); in EmitFunctionBody()
925 OutStreamer->AddComment("avoids zero-length function"); in EmitFunctionBody()
930 OutStreamer->EmitInstruction(Noop, getSubtargetInfo()); in EmitFunctionBody()
940 OutStreamer->AddComment("Address of block that was removed by CodeGen"); in EmitFunctionBody()
941 OutStreamer->EmitLabel(Sym); in EmitFunctionBody()
951 OutStreamer->EmitLabel(CurrentFnEnd); in EmitFunctionBody()
963 OutStreamer->emitELFSize(Sym, SizeExp); in EmitFunctionBody()
981 OutStreamer->AddBlankLine(); in EmitFunctionBody()
1068 OutStreamer->EmitSymbolAttribute(Name, MCSA_Global); in emitGlobalIndirectSymbol()
1070 OutStreamer->EmitSymbolAttribute(Name, MCSA_WeakReference); in emitGlobalIndirectSymbol()
1077 OutStreamer->EmitSymbolAttribute(Name, MCSA_ELF_TypeFunction); in emitGlobalIndirectSymbol()
1079 OutStreamer->EmitSymbolAttribute(Name, MCSA_ELF_TypeIndFunction); in emitGlobalIndirectSymbol()
1087 OutStreamer->EmitSymbolAttribute(Name, MCSA_AltEntry); in emitGlobalIndirectSymbol()
1090 OutStreamer->EmitAssignment(Name, Expr); in emitGlobalIndirectSymbol()
1103 OutStreamer->emitELFSize(cast<MCSymbolELF>(Name), in emitGlobalIndirectSymbol()
1146 TLOF.emitModuleFlags(*OutStreamer, ModuleFlags, *Mang, TM); in doFinalization()
1154 OutStreamer->SwitchSection(TLOF.getDataSection()); in doFinalization()
1158 OutStreamer->EmitLabel(Stub.first); in doFinalization()
1159 OutStreamer->EmitSymbolValue(Stub.second.getPointer(), in doFinalization()
1186 OutStreamer->EmitSymbolAttribute(getSymbol(&GO), MCSA_WeakReference); in doFinalization()
1190 OutStreamer->AddBlankLine(); in doFinalization()
1227 OutStreamer->SwitchSection(ReadOnlySection); in doFinalization()
1231 OutStreamer->EmitLabel(AddrSymbol); in doFinalization()
1234 OutStreamer->EmitSymbolValue(GetExternalSymbolSymbol("__morestack"), in doFinalization()
1243 OutStreamer->SwitchSection(S); in doFinalization()
1252 OutStreamer->Finish(); in doFinalization()
1253 OutStreamer->reset(); in doFinalization()
1350 OutStreamer->SwitchSection(CPSections[i].S); in EmitConstantPool()
1361 OutStreamer->EmitZeros(NewOffset - Offset); in EmitConstantPool()
1366 OutStreamer->EmitLabel(Sym); in EmitConstantPool()
1396 OutStreamer->SwitchSection(ReadOnlySection); in EmitJumpTableInfo()
1404 OutStreamer->EmitDataRegion(MCDR_DataRegionJT32); in EmitJumpTableInfo()
1427 OutStreamer->EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()), in EmitJumpTableInfo()
1440 OutStreamer->EmitLabel(GetJTISymbol(JTI, true)); in EmitJumpTableInfo()
1442 OutStreamer->EmitLabel(GetJTISymbol(JTI)); in EmitJumpTableInfo()
1448 OutStreamer->EmitDataRegion(MCDR_DataRegionEnd); in EmitJumpTableInfo()
1475 OutStreamer->EmitGPRel32Value(MCSymbolRefExpr::create(MBBSym, OutContext)); in EmitJumpTableEntry()
1484 OutStreamer->EmitGPRel64Value(MCSymbolRefExpr::create(MBBSym, OutContext)); in EmitJumpTableEntry()
1512 OutStreamer->EmitValue(Value, EntrySize); in EmitJumpTableEntry()
1542 OutStreamer->EmitSymbolAttribute(OutContext.getOrCreateSymbol(Sym), in EmitSpecialLLVMGlobal()
1555 OutStreamer->EmitSymbolAttribute(OutContext.getOrCreateSymbol(Sym), in EmitSpecialLLVMGlobal()
1573 OutStreamer->EmitSymbolAttribute(getSymbol(GV), MCSA_NoDeadStrip); in EmitLLVMUsedList()
1643 OutStreamer->SwitchSection(OutputSection); in EmitXXStructorList()
1644 if (OutStreamer->getCurrentSection() != OutStreamer->getPreviousSection()) in EmitXXStructorList()
1660 OutStreamer->EmitIdent(S->getString()); in EmitModuleIdents()
1672 OutStreamer->EmitIntValue(Value, 1); in EmitInt8()
1678 OutStreamer->EmitIntValue(Value, 2); in EmitInt16()
1684 OutStreamer->EmitIntValue(Value, 4); in EmitInt32()
1692 OutStreamer->emitAbsoluteSymbolDiff(Hi, Lo, Size); in EmitLabelDifference()
1702 OutStreamer->EmitCOFFSecRel32(Label); in EmitLabelPlusOffset()
1712 OutStreamer->EmitValue(Expr, Size); in EmitLabelPlusOffset()
1733 OutStreamer->EmitCodeAlignment(1u << NumBits); in EmitAlignment()
1735 OutStreamer->EmitValueToAlignment(1u << NumBits); in EmitAlignment()
1957 return AP.OutStreamer->emitFill(Bytes, Value); in emitGlobalConstantDataSequential()
1962 return AP.OutStreamer->EmitBytes(CDS->getAsString()); in emitGlobalConstantDataSequential()
1969 AP.OutStreamer->GetCommentOS() << format("0x%" PRIx64 "\n", in emitGlobalConstantDataSequential()
1971 AP.OutStreamer->EmitIntValue(CDS->getElementAsInteger(i), in emitGlobalConstantDataSequential()
1983 AP.OutStreamer->EmitZeros(Padding); in emitGlobalConstantDataSequential()
1996 AP.OutStreamer->emitFill(Bytes, Value); in emitGlobalConstantArray()
2015 AP.OutStreamer->EmitZeros(Padding); in emitGlobalConstantVector()
2040 AP.OutStreamer->EmitZeros(PadSize); in emitGlobalConstantStruct()
2056 CFP->getType()->print(AP.OutStreamer->GetCommentOS()); in emitGlobalConstantFP()
2058 AP.OutStreamer->GetCommentOS() << "Printing <null> Type"; in emitGlobalConstantFP()
2059 AP.OutStreamer->GetCommentOS() << ' ' << StrVal << '\n'; in emitGlobalConstantFP()
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()
2090 AP.OutStreamer->EmitZeros(DL.getTypeAllocSize(CFP->getType()) - in emitGlobalConstantFP()
2134 AP.OutStreamer->EmitIntValue(Val, 8); in emitGlobalConstantLargeInt()
2146 AP.OutStreamer->EmitIntValue(ExtraBits, Size); in emitGlobalConstantLargeInt()
2236 FinalSym, MV, Offset, AP.MMI, *AP.OutStreamer); in handleIndirectSymViaGOTPCRel()
2256 return AP.OutStreamer->EmitZeros(Size); in emitGlobalConstantImpl()
2265 AP.OutStreamer->GetCommentOS() << format("0x%" PRIx64 "\n", in emitGlobalConstantImpl()
2267 AP.OutStreamer->EmitIntValue(CI->getZExtValue(), Size); in emitGlobalConstantImpl()
2279 AP.OutStreamer->EmitIntValue(0, Size); in emitGlobalConstantImpl()
2321 AP.OutStreamer->EmitValue(ME, Size); in emitGlobalConstantImpl()
2332 OutStreamer->EmitIntValue(0, 1); in EmitGlobalConstant()
2441 AP.OutStreamer->AddComment(" in Loop: Header=BB" + in emitBasicBlockLoopComments()
2450 raw_ostream &OS = AP.OutStreamer->GetCommentOS(); in emitBasicBlockLoopComments()
2489 OutStreamer->AddComment("Block address taken"); in EmitBasicBlockStart()
2495 OutStreamer->EmitLabel(Sym); in EmitBasicBlockStart()
2502 BB->printAsOperand(OutStreamer->GetCommentOS(), in EmitBasicBlockStart()
2504 OutStreamer->GetCommentOS() << '\n'; in EmitBasicBlockStart()
2515 OutStreamer->emitRawComment(" BB#" + Twine(MBB.getNumber()) + ":", false); in EmitBasicBlockStart()
2518 OutStreamer->EmitLabel(MBB.getSymbol()); in EmitBasicBlockStart()
2540 OutStreamer->EmitSymbolAttribute(Sym, Attr); in EmitVisibility()