Lines Matching refs:OutStreamer

488   auto &Ctx = OutStreamer->getContext();  in LowerSTACKMAP()
490 OutStreamer->emitLabel(MILabel); in LowerSTACKMAP()
511 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in LowerSTACKMAP()
517 auto &Ctx = OutStreamer->getContext(); in LowerPATCHPOINT()
519 OutStreamer->emitLabel(MILabel); in LowerPATCHPOINT()
535 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LI8) in LowerPATCHPOINT()
539 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::RLDIC) in LowerPATCHPOINT()
544 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ORIS8) in LowerPATCHPOINT()
549 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ORI8) in LowerPATCHPOINT()
556 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::STD) in LowerPATCHPOINT()
568 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
573 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
580 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTCTR8) in LowerPATCHPOINT()
583 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BCTRL8)); in LowerPATCHPOINT()
587 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
598 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL8_NOP) in LowerPATCHPOINT()
613 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in LowerPATCHPOINT()
635 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BLA).addExpr(TlsRef)); in EmitAIXTlsCallHelper()
693 EmitToStreamer(*OutStreamer, in EmitTlsCall()
868 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL).addExpr(OffsExpr)); in emitInstruction()
880 EmitToStreamer(*OutStreamer, in emitInstruction()
887 OutStreamer->emitLabel(PICBase); in emitInstruction()
912 *OutStreamer, in emitInstruction()
917 *OutStreamer, in emitInstruction()
938 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
944 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
969 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
995 OutStreamer->getCommentOS() << MO << '\n'; in emitInstruction()
996 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1006 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1031 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1067 OutStreamer->getCommentOS() << MO << '\n'; in emitInstruction()
1068 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1101 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1134 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1173 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1207 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1230 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1243 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1264 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1273 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL) in emitInstruction()
1281 OutStreamer->emitLabel(GOTRef); in emitInstruction()
1282 OutStreamer->emitValue(OffsExpr, 4); in emitInstruction()
1283 OutStreamer->emitLabel(NextInstr); in emitInstruction()
1284 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR) in emitInstruction()
1286 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LWZ) in emitInstruction()
1290 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADD4) in emitInstruction()
1303 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LI) in emitInstruction()
1306 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS) in emitInstruction()
1322 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1341 EmitToStreamer(*OutStreamer, in emitInstruction()
1379 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1398 EmitToStreamer(*OutStreamer, in emitInstruction()
1428 *OutStreamer, in emitInstruction()
1443 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::PADDI8) in emitInstruction()
1462 EmitToStreamer(*OutStreamer, in emitInstruction()
1476 OutStreamer->AddComment(PPCInstPrinter:: in emitInstruction()
1478 EmitToStreamer(*OutStreamer, MCInstBuilder(NewOpcode) in emitInstruction()
1492 OutStreamer->AddComment(PPCInstPrinter:: in emitInstruction()
1494 EmitToStreamer(*OutStreamer, MCInstBuilder(NewOpcode) in emitInstruction()
1518 *OutStreamer, in emitInstruction()
1521 *OutStreamer, in emitInstruction()
1523 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::EnforceIEIO)); in emitInstruction()
1539 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1547 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1559 OutStreamer->emitGNUAttribute(Tag_GNU_Power_ABI_FP, in emitGNUAttributes()
1563 OutStreamer->emitGNUAttribute(Tag_GNU_Power_ABI_FP, in emitGNUAttributes()
1567 OutStreamer->emitGNUAttribute(Tag_GNU_Power_ABI_FP, in emitGNUAttributes()
1593 OutStreamer->emitLabel(BeginOfSled); in emitInstruction()
1594 EmitToStreamer(*OutStreamer, in emitInstruction()
1597 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in emitInstruction()
1599 *OutStreamer, in emitInstruction()
1601 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR8).addReg(PPC::X0)); in emitInstruction()
1602 EmitToStreamer(*OutStreamer, in emitInstruction()
1607 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTLR8).addReg(PPC::X0)); in emitInstruction()
1608 OutStreamer->emitLabel(EndOfSled); in emitInstruction()
1631 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1657 *OutStreamer, in emitInstruction()
1678 OutStreamer->emitCodeAlignment(Align(8), &getSubtargetInfo()); in emitInstruction()
1680 OutStreamer->emitLabel(BeginOfSled); in emitInstruction()
1681 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1682 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in emitInstruction()
1684 *OutStreamer, in emitInstruction()
1686 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR8).addReg(PPC::X0)); in emitInstruction()
1687 EmitToStreamer(*OutStreamer, in emitInstruction()
1692 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTLR8).addReg(PPC::X0)); in emitInstruction()
1693 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1695 OutStreamer->emitLabel(FallthroughLabel); in emitInstruction()
1712 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitStartOfAsmFile()
1723 OutStreamer->switchSection(OutContext.getELFSection( in emitStartOfAsmFile()
1729 OutStreamer->emitLabel(CurrentPos); in emitStartOfAsmFile()
1738 OutStreamer->emitAssignment(TOCSym, tocExpr); in emitStartOfAsmFile()
1740 OutStreamer->switchSection(getObjFileLowering().getTextSection()); in emitStartOfAsmFile()
1755 OutStreamer->emitLabel(RelocSymbol); in emitFunctionEntryLabel()
1763 OutStreamer->emitValue(OffsExpr, 4); in emitFunctionEntryLabel()
1764 OutStreamer->emitLabel(CurrentFnSym); in emitFunctionEntryLabel()
1788 OutStreamer->emitLabel(PPCFI->getTOCOffsetSymbol(*MF)); in emitFunctionEntryLabel()
1789 OutStreamer->emitValue(TOCDeltaExpr, 8); in emitFunctionEntryLabel()
1795 MCSectionSubPair Current = OutStreamer->getCurrentSection(); in emitFunctionEntryLabel()
1796 MCSectionELF *Section = OutStreamer->getContext().getELFSection( in emitFunctionEntryLabel()
1798 OutStreamer->switchSection(Section); in emitFunctionEntryLabel()
1799 OutStreamer->emitLabel(CurrentFnSym); in emitFunctionEntryLabel()
1800 OutStreamer->emitValueToAlignment(Align(8)); in emitFunctionEntryLabel()
1804 OutStreamer->emitValue(MCSymbolRefExpr::create(Symbol1, OutContext), in emitFunctionEntryLabel()
1808 OutStreamer->emitValue( in emitFunctionEntryLabel()
1812 OutStreamer->emitIntValue(0, 8 /* size */); in emitFunctionEntryLabel()
1813 OutStreamer->switchSection(Current.first, Current.second); in emitFunctionEntryLabel()
1822 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitEndOfAsmFile()
1830 OutStreamer->switchSection(Section); in emitEndOfAsmFile()
1832 OutStreamer->emitValueToAlignment(Align(4)); in emitEndOfAsmFile()
1838 OutStreamer->emitLabel(TOCEntryLabel); in emitEndOfAsmFile()
1842 OutStreamer->emitSymbolValue(TOCEntryTarget, 4); in emitEndOfAsmFile()
1898 OutStreamer->emitLabel(GlobalEntryLabel); in emitFunctionBodyStart()
1909 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS) in emitFunctionBodyStart()
1915 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDI) in emitFunctionBodyStart()
1925 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in emitFunctionBodyStart()
1929 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADD8) in emitFunctionBodyStart()
1936 OutStreamer->emitLabel(LocalEntryLabel); in emitFunctionBodyStart()
1944 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitFunctionBodyStart()
1971 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitFunctionBodyStart()
1990 OutStreamer->emitIntValue(0, 4/*size*/); in emitFunctionBodyEnd()
1991 OutStreamer->emitIntValue(0, 8/*size*/); in emitFunctionBodyEnd()
2052 OutStreamer->emitXCOFFSymbolLinkageWithVisibility(GVSym, LinkageAttr, in emitLinkage()
2099 OutStreamer->switchSection(getObjFileLowering().getCompactUnwindSection()); in emitFunctionBodyEnd()
2102 OutStreamer->emitLabel(EHInfoLabel); in emitFunctionBodyEnd()
2105 OutStreamer->emitInt32(0); in emitFunctionBodyEnd()
2110 OutStreamer->emitValueToAlignment(Align(PointerSize)); in emitFunctionBodyEnd()
2112 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionBodyEnd()
2113 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionBodyEnd()
2114 OutStreamer->switchSection(MF->getSection()); in emitFunctionBodyEnd()
2122 OutStreamer->emitLabel(FuncEnd); in emitTracebackTable()
2124 OutStreamer->AddComment("Traceback table begin"); in emitTracebackTable()
2126 OutStreamer->emitIntValueInHexWithPadding(0, 4 /*size*/); in emitTracebackTable()
2132 OutStreamer->AddComment(CommentOS.str()); in emitTracebackTable()
2138 OutStreamer->emitIntValueInHexWithPadding(Value, Size); in emitTracebackTable()
2203 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2231 OutStreamer->emitIntValueInHexWithPadding((FirstHalfOfMandatoryField & 0xff), in emitTracebackTable()
2254 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2299 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2310 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2327 OutStreamer->emitIntValueInHexWithPadding(SecondHalfOfMandatoryField & 0xff, in emitTracebackTable()
2349 OutStreamer->emitIntValueInHexWithPadding(ParmsTypeValue, in emitTracebackTable()
2353 OutStreamer->AddComment("Function size"); in emitTracebackTable()
2357 OutStreamer->emitAbsoluteSymbolDiff(FuncEnd, FuncSectSym, 4); in emitTracebackTable()
2373 OutStreamer->AddComment("Function Name"); in emitTracebackTable()
2374 OutStreamer->emitBytes(Name); in emitTracebackTable()
2379 OutStreamer->AddComment("AllocaUsed"); in emitTracebackTable()
2380 OutStreamer->emitIntValueInHex(AllocReg, sizeof(AllocReg)); in emitTracebackTable()
2413 OutStreamer->emitIntValueInHexWithPadding((VRData & 0xff00) >> 8, 1); in emitTracebackTable()
2418 OutStreamer->emitIntValueInHexWithPadding(VRData & 0x00ff, 1); in emitTracebackTable()
2429 OutStreamer->emitIntValueInHexWithPadding(VecParmTypeValue, in emitTracebackTable()
2450 auto &Ctx = OutStreamer->getContext(); in emitTracebackTable()
2462 OutStreamer->emitValueToAlignment(Align(4)); in emitTracebackTable()
2463 OutStreamer->AddComment("EHInfo Table"); in emitTracebackTable()
2464 OutStreamer->emitValue(Exp, DL.getPointerSize()); in emitTracebackTable()
2544 GV->printAsOperand(OutStreamer->getCommentOS(), in emitGlobalVariableHelper()
2546 OutStreamer->getCommentOS() << '\n'; in emitGlobalVariableHelper()
2554 OutStreamer->switchSection(Csect); in emitGlobalVariableHelper()
2567 OutStreamer->emitXCOFFLocalCommonSymbol( in emitGlobalVariableHelper()
2571 OutStreamer->emitCommonSymbol(GVSym, Size, Alignment); in emitGlobalVariableHelper()
2587 OutStreamer->emitLabel(EmittedInitSym); in emitGlobalVariableHelper()
2610 MCSectionSubPair Current = OutStreamer->getCurrentSection(); in emitFunctionDescriptor()
2612 OutStreamer->switchSection( in emitFunctionDescriptor()
2617 OutStreamer->emitLabel(getSymbol(Alias)); in emitFunctionDescriptor()
2620 OutStreamer->emitValue(MCSymbolRefExpr::create(CurrentFnSym, OutContext), in emitFunctionDescriptor()
2626 OutStreamer->emitValue(MCSymbolRefExpr::create(TOCBaseSym, OutContext), in emitFunctionDescriptor()
2629 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionDescriptor()
2631 OutStreamer->switchSection(Current.first, Current.second); in emitFunctionDescriptor()
2642 OutStreamer->emitLabel( in emitFunctionEntryLabel()
2673 OutStreamer->switchSection(CntsSection); in emitPGORefs()
2678 OutStreamer->emitXCOFFRefDirective(S); in emitPGORefs()
2684 OutStreamer->emitXCOFFRefDirective(S); in emitPGORefs()
2690 OutStreamer->emitXCOFFRefDirective(S); in emitPGORefs()
2704 OutStreamer->switchSection(getObjFileLowering().getTOCBaseSection()); in emitEndOfAsmFile()
2707 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitEndOfAsmFile()
2726 OutStreamer->switchSection(TCEntry); in emitEndOfAsmFile()
2728 OutStreamer->emitLabel(I.second); in emitEndOfAsmFile()
2830 OutStreamer->emitLabel(TempSym); in emitInstruction()
2831 OutStreamer->emitXCOFFExceptDirective(CurrentFnSym, TempSym, in emitInstruction()
2882 *OutStreamer, in emitInstruction()
2892 OutStreamer->doFinalizationAtSectionEnd( in doFinalization()
2893 OutStreamer->getContext().getObjectFileInfo()->getTextSection()); in doFinalization()
2896 OutStreamer->emitSymbolAttribute(Sym, MCSA_Extern); in doFinalization()
2978 auto &Ctx = OutStreamer->getContext(); in emitTTypeReference()
2982 OutStreamer->emitValue(Exp, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
2984 OutStreamer->emitIntValue(0, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
3015 OutStreamer->emitXCOFFCInfoSym(".GCC.command.line", RSOS.str()); in emitModuleCommandLines()