• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/

Lines Matching refs:OutStreamer

186       OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)) {
187 VerboseAsm = OutStreamer->isVerboseAsm();
235 assert(OutStreamer->hasRawTextSupport() && "Expected assembly output mode.");
241 return OutStreamer->getCurrentSectionOnly();
262 OutStreamer->InitSections(false);
273 OutStreamer->emitVersionForTarget(Target, M.getSDKVersion());
282 OutStreamer->emitFileDirective(
299 OutStreamer->AddComment("Start of file scope inline assembly");
300 OutStreamer->AddBlankLine();
303 OutStreamer->AddComment("End of file scope inline assembly");
304 OutStreamer->AddBlankLine();
402 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global);
406 OutStreamer->emitSymbolAttribute(GVSym, MCSA_WeakDefinition);
408 OutStreamer->emitSymbolAttribute(GVSym, MCSA_WeakDefAutoPrivate);
411 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global);
415 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Weak);
419 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Global);
484 GV->printAsOperand(OutStreamer->GetCommentOS(),
486 OutStreamer->GetCommentOS() << '\n';
507 OutStreamer->emitSymbolAttribute(EmittedSym, MCSA_ELF_TypeObject);
532 OutStreamer->emitCommonSymbol(GVSym, Size,
548 OutStreamer->emitZerofill(TheSection, GVSym, Size, Alignment.value());
567 OutStreamer->emitLocalCommonSymbol(GVSym, Size, Alignment.value());
572 OutStreamer->emitSymbolAttribute(GVSym, MCSA_Local);
576 OutStreamer->emitCommonSymbol(GVSym, Size,
598 OutStreamer->emitTBSSSymbol(TheSection, MangSym, Size, Alignment.value());
600 OutStreamer->SwitchSection(TheSection);
603 OutStreamer->emitLabel(MangSym);
609 OutStreamer->AddBlankLine();
614 OutStreamer->SwitchSection(TLVSect);
617 OutStreamer->emitLabel(GVSym);
624 OutStreamer->emitSymbolValue(GetExternalSymbolSymbol("_tlv_bootstrap"),
626 OutStreamer->emitIntValue(0, PtrSize);
627 OutStreamer->emitSymbolValue(MangSym, PtrSize);
629 OutStreamer->AddBlankLine();
635 OutStreamer->SwitchSection(TheSection);
640 OutStreamer->emitLabel(EmittedInitSym);
643 OutStreamer->emitLabel(LocalAlias);
649 OutStreamer->emitELFSize(EmittedInitSym,
652 OutStreamer->AddBlankLine();
660 OutStreamer->emitValue(Value, Size);
671 OutStreamer->GetCommentOS()
680 OutStreamer->SwitchSection(MF->getSection());
693 OutStreamer->emitSymbolAttribute(CurrentFnSym, MCSA_ELF_TypeFunction);
696 OutStreamer->emitSymbolAttribute(CurrentFnSym, MCSA_Cold);
699 F.printAsOperand(OutStreamer->GetCommentOS(),
702 OutStreamer->GetCommentOS() << '\n';
713 OutStreamer->emitLabel(PrefixSym);
718 OutStreamer->emitSymbolAttribute(CurrentFnSym, MCSA_AltEntry);
737 OutStreamer->emitLabel(CurrentPatchableFunctionEntrySym);
759 OutStreamer->emitLabel(CurPos);
760 OutStreamer->emitAssignment(CurrentFnBegin,
763 OutStreamer->emitLabel(CurrentFnBegin);
793 OutStreamer->emitLabel(CurrentFnSym);
798 OutStreamer->emitLabel(Sym);
839 OutStreamer->AddComment(OS.str());
840 OutStreamer->AddBlankLine();
853 AP.OutStreamer->AddComment(OS.str());
854 AP.OutStreamer->AddBlankLine();
935 AP.OutStreamer->emitRawComment(OS.str());
947 AP.OutStreamer->emitRawComment(OS.str());
972 AP.OutStreamer->emitRawComment(OS.str());
1022 OutStreamer->emitAssignment(FrameAllocSym,
1040 OutStreamer->PushSection();
1041 OutStreamer->SwitchSection(StackSizeSection);
1045 OutStreamer->emitSymbolValue(FunctionSymbol, TM.getProgramPointerSize());
1046 OutStreamer->emitULEB128IntValue(StackSize);
1048 OutStreamer->PopSection();
1109 OutStreamer->emitLabel(S);
1121 emitComments(MI, OutStreamer->GetCommentOS());
1133 OutStreamer->emitLabel(MI.getOperand(0).getMCSymbol());
1164 OutStreamer->emitLabel(S);
1185 OutStreamer->emitLabel(CurrentBBEnd);
1195 OutStreamer->emitELFSize(SymForSize, SizeExp);
1241 OutStreamer->AddComment("avoids zero-length function");
1247 OutStreamer->SwitchSection(MF->getSection());
1256 OutStreamer->AddComment("Address of block that was removed by CodeGen");
1257 OutStreamer->emitLabel(Sym);
1267 OutStreamer->emitLabel(CurrentFnEnd);
1278 OutStreamer->emitELFSize(CurrentFnSym, SizeExp);
1306 OutStreamer->GetCommentOS() << "-- End function\n";
1308 OutStreamer->AddBlankLine();
1395 OutStreamer->emitSymbolAttribute(Name, MCSA_Global);
1397 OutStreamer->emitSymbolAttribute(Name, MCSA_WeakReference);
1414 OutStreamer->emitSymbolAttribute(Name, isa<GlobalIFunc>(GIS)
1423 OutStreamer->emitSymbolAttribute(Name, MCSA_AltEntry);
1426 OutStreamer->emitAssignment(Name, Expr);
1429 OutStreamer->emitAssignment(LocalAlias, Expr);
1442 OutStreamer->emitELFSize(Name, MCConstantExpr::create(Size, OutContext));
1470 OutStreamer->SwitchSection(RemarksSection);
1472 OutStreamer->emitBinaryData(OS.str());
1534 TLOF.emitModuleMetadata(*OutStreamer, M);
1542 OutStreamer->SwitchSection(TLOF.getDataSection());
1547 OutStreamer->emitLabel(Stub.first);
1548 OutStreamer->emitSymbolValue(Stub.second.getPointer(),
1566 OutStreamer->SwitchSection(OutContext.getCOFFSection(
1573 OutStreamer->emitSymbolAttribute(Stub.first, MCSA_Global);
1574 OutStreamer->emitLabel(Stub.first);
1575 OutStreamer->emitSymbolValue(Stub.second.getPointer(),
1601 OutStreamer->emitSymbolAttribute(getSymbol(&GO), MCSA_WeakReference);
1643 OutStreamer->SwitchSection(ReadOnlySection);
1647 OutStreamer->emitLabel(AddrSymbol);
1650 OutStreamer->emitSymbolValue(GetExternalSymbolSymbol("__morestack"),
1657 OutStreamer->SwitchSection(
1660 OutStreamer->SwitchSection(
1669 OutStreamer->SwitchSection(S);
1681 OutStreamer->SwitchSection(TLOF.getDrectveSection());
1682 OutStreamer->emitBytes(Flags);
1707 OutStreamer->SwitchSection(TLOF.getDrectveSection());
1708 OutStreamer->emitBytes(Flags);
1718 OutStreamer->emitAddrsig();
1723 OutStreamer->emitAddrsigSym(getSymbol(&GV));
1734 OutStreamer->SwitchSection(
1737 OutStreamer->emitBytes(GV.getPartition());
1738 OutStreamer->emitZeros(1);
1739 OutStreamer->emitValue(
1751 OutStreamer->Finish();
1752 OutStreamer->reset();
1873 OutStreamer->SwitchSection(CPSections[i].S);
1883 OutStreamer->emitZeros(NewOffset - Offset);
1888 OutStreamer->emitLabel(Sym);
1917 OutStreamer->SwitchSection(ReadOnlySection);
1925 OutStreamer->emitDataRegion(MCDR_DataRegionJT32);
1948 OutStreamer->emitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()),
1962 OutStreamer->emitLabel(GetJTISymbol(JTI, true));
1965 OutStreamer->emitLabel(JTISymbol);
1971 OutStreamer->emitDataRegion(MCDR_DataRegionEnd);
1998 OutStreamer->emitGPRel32Value(MCSymbolRefExpr::create(MBBSym, OutContext));
2007 OutStreamer->emitGPRel64Value(MCSymbolRefExpr::create(MBBSym, OutContext));
2035 OutStreamer->emitValue(Value, EntrySize);
2082 OutStreamer->emitSymbolAttribute(getSymbol(GV), MCSA_NoDeadStrip);
2145 OutStreamer->SwitchSection(OutputSection);
2146 if (OutStreamer->getCurrentSection() != OutStreamer->getPreviousSection())
2162 OutStreamer->emitIdent(S->getString());
2176 OutStreamer->PushSection();
2177 OutStreamer->SwitchSection(CommandLine);
2178 OutStreamer->emitZeros(1);
2184 OutStreamer->emitBytes(S->getString());
2185 OutStreamer->emitZeros(1);
2187 OutStreamer->PopSection();
2196 void AsmPrinter::emitInt8(int Value) const { OutStreamer->emitInt8(Value); }
2199 void AsmPrinter::emitInt16(int Value) const { OutStreamer->emitInt16(Value); }
2202 void AsmPrinter::emitInt32(int Value) const { OutStreamer->emitInt32(Value); }
2206 OutStreamer->emitInt64(Value);
2214 OutStreamer->emitAbsoluteSymbolDiff(Hi, Lo, Size);
2224 OutStreamer->EmitCOFFSecRel32(Label, Offset);
2226 OutStreamer->emitZeros(Size - 4);
2236 OutStreamer->emitValue(Expr, Size);
2253 OutStreamer->emitCodeAlignment(Alignment.value());
2255 OutStreamer->emitValueToAlignment(Alignment.value());
2479 return AP.OutStreamer->emitFill(Bytes, Value);
2484 return AP.OutStreamer->emitBytes(CDS->getAsString());
2491 AP.OutStreamer->GetCommentOS() << format("0x%" PRIx64 "\n",
2493 AP.OutStreamer->emitIntValue(CDS->getElementAsInteger(i),
2507 AP.OutStreamer->emitZeros(Padding);
2519 AP.OutStreamer->emitFill(Bytes, Value);
2538 AP.OutStreamer->emitZeros(Padding);
2563 AP.OutStreamer->emitZeros(PadSize);
2578 ET->print(AP.OutStreamer->GetCommentOS());
2579 AP.OutStreamer->GetCommentOS() << ' ' << StrVal << '\n';
2595 AP.OutStreamer->emitIntValueInHexWithPadding(p[Chunk--], TrailingBytes);
2598 AP.OutStreamer->emitIntValueInHexWithPadding(p[Chunk], sizeof(uint64_t));
2602 AP.OutStreamer->emitIntValueInHexWithPadding(p[Chunk], sizeof(uint64_t));
2605 AP.OutStreamer->emitIntValueInHexWithPadding(p[Chunk], TrailingBytes);
2610 AP.OutStreamer->emitZeros(DL.getTypeAllocSize(ET) - DL.getTypeStoreSize(ET));
2658 AP.OutStreamer->emitIntValue(Val, 8);
2670 AP.OutStreamer->emitIntValue(ExtraBits, Size);
2757 FinalGV, FinalSym, MV, Offset, AP.MMI, *AP.OutStreamer);
2777 return AP.OutStreamer->emitZeros(Size);
2784 AP.OutStreamer->GetCommentOS() << format("0x%" PRIx64 "\n",
2786 AP.OutStreamer->emitIntValue(CI->getZExtValue(), StoreSize);
2793 AP.OutStreamer->emitZeros(Size - StoreSize);
2802 AP.OutStreamer->emitIntValue(0, Size);
2844 AP.OutStreamer->emitValue(ME, Size);
2855 OutStreamer->emitIntValue(0, 1);
2875 EmitToStreamer(*OutStreamer, Nop);
2909 OutStreamer->emitSymbolAttribute(Sym, MCSA_Global);
2987 AP.OutStreamer->AddComment(" in Loop: Header=BB" +
2996 raw_ostream &OS = AP.OutStreamer->GetCommentOS();
3035 OutStreamer->AddComment("Block address taken");
3041 OutStreamer->emitLabel(Sym);
3048 BB->printAsOperand(OutStreamer->GetCommentOS(),
3050 OutStreamer->GetCommentOS() << '\n';
3063 OutStreamer->emitRawComment(" %bb." + Twine(MBB.getNumber()) + ":",
3068 OutStreamer->AddComment("Label of block must be emitted");
3073 OutStreamer->SwitchSection(
3078 OutStreamer->emitLabel(BBSymbol);
3113 OutStreamer->emitSymbolAttribute(Sym, Attr);
3230 auto PrevSection = OutStreamer->getCurrentSectionOnly();
3273 OutStreamer->SwitchSection(InstMap);
3274 OutStreamer->emitLabel(SledsStart);
3278 OutStreamer->emitLabel(Dot);
3279 OutStreamer->emitValueImpl(
3283 OutStreamer->emitValueImpl(
3292 OutStreamer->emitSymbolValue(Sled.Sled, WordSizeBytes);
3293 OutStreamer->emitSymbolValue(CurrentFnSym, WordSizeBytes);
3295 Sled.emit(WordSizeBytes, OutStreamer.get());
3298 OutStreamer->emitLabel(SledsEnd);
3305 OutStreamer->SwitchSection(FnSledIndex);
3306 OutStreamer->emitCodeAlignment(2 * WordSizeBytes);
3307 OutStreamer->emitSymbolValue(SledsStart, WordSizeBytes, false);
3308 OutStreamer->emitSymbolValue(SledsEnd, WordSizeBytes, false);
3309 OutStreamer->SwitchSection(PrevSection);
3354 OutStreamer->SwitchSection(OutContext.getELFSection(
3358 OutStreamer->emitSymbolValue(CurrentPatchableFunctionEntrySym, PointerSize);
3363 return OutStreamer->getContext().getDwarfVersion();
3367 OutStreamer->getContext().setDwarfVersion(Version);