Lines Matching refs:OutStreamer
437 auto &Ctx = OutStreamer->getContext(); in LowerSTACKMAP()
439 OutStreamer->emitLabel(MILabel); in LowerSTACKMAP()
460 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in LowerSTACKMAP()
466 auto &Ctx = OutStreamer->getContext(); in LowerPATCHPOINT()
468 OutStreamer->emitLabel(MILabel); in LowerPATCHPOINT()
484 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LI8) in LowerPATCHPOINT()
488 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::RLDIC) in LowerPATCHPOINT()
493 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ORIS8) in LowerPATCHPOINT()
498 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ORI8) in LowerPATCHPOINT()
505 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::STD) in LowerPATCHPOINT()
517 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
522 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
529 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTCTR8) in LowerPATCHPOINT()
532 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BCTRL8)); in LowerPATCHPOINT()
536 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
547 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL8_NOP) in LowerPATCHPOINT()
562 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in LowerPATCHPOINT()
612 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BLA).addExpr(TlsRef)); in EmitTlsCall()
633 EmitToStreamer(*OutStreamer, in EmitTlsCall()
765 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL).addExpr(OffsExpr)); in emitInstruction()
777 EmitToStreamer(*OutStreamer, in emitInstruction()
784 OutStreamer->emitLabel(PICBase); in emitInstruction()
809 *OutStreamer, in emitInstruction()
814 *OutStreamer, in emitInstruction()
835 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
841 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
866 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
891 OutStreamer->getCommentOS() << MO << '\n'; in emitInstruction()
892 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
902 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
927 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
962 OutStreamer->getCommentOS() << MO << '\n'; in emitInstruction()
963 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
995 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1027 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1066 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1100 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1123 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1136 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1157 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1166 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL) in emitInstruction()
1174 OutStreamer->emitLabel(GOTRef); in emitInstruction()
1175 OutStreamer->emitValue(OffsExpr, 4); in emitInstruction()
1176 OutStreamer->emitLabel(NextInstr); in emitInstruction()
1177 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR) in emitInstruction()
1179 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LWZ) in emitInstruction()
1183 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADD4) in emitInstruction()
1196 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LI) in emitInstruction()
1199 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS) in emitInstruction()
1215 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1234 EmitToStreamer(*OutStreamer, in emitInstruction()
1266 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1285 EmitToStreamer(*OutStreamer, in emitInstruction()
1315 *OutStreamer, in emitInstruction()
1330 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::PADDI8) in emitInstruction()
1349 EmitToStreamer(*OutStreamer, in emitInstruction()
1363 OutStreamer->AddComment(PPCInstPrinter:: in emitInstruction()
1365 EmitToStreamer(*OutStreamer, MCInstBuilder(NewOpcode) in emitInstruction()
1379 OutStreamer->AddComment(PPCInstPrinter:: in emitInstruction()
1381 EmitToStreamer(*OutStreamer, MCInstBuilder(NewOpcode) in emitInstruction()
1405 *OutStreamer, in emitInstruction()
1408 *OutStreamer, in emitInstruction()
1410 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::EnforceIEIO)); in emitInstruction()
1416 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1428 OutStreamer->emitGNUAttribute(Tag_GNU_Power_ABI_FP, in emitGNUAttributes()
1432 OutStreamer->emitGNUAttribute(Tag_GNU_Power_ABI_FP, in emitGNUAttributes()
1436 OutStreamer->emitGNUAttribute(Tag_GNU_Power_ABI_FP, in emitGNUAttributes()
1462 OutStreamer->emitLabel(BeginOfSled); in emitInstruction()
1463 EmitToStreamer(*OutStreamer, in emitInstruction()
1466 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in emitInstruction()
1468 *OutStreamer, in emitInstruction()
1470 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR8).addReg(PPC::X0)); in emitInstruction()
1471 EmitToStreamer(*OutStreamer, in emitInstruction()
1476 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTLR8).addReg(PPC::X0)); in emitInstruction()
1477 OutStreamer->emitLabel(EndOfSled); in emitInstruction()
1500 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1526 *OutStreamer, in emitInstruction()
1547 OutStreamer->emitCodeAlignment(8, &getSubtargetInfo()); in emitInstruction()
1549 OutStreamer->emitLabel(BeginOfSled); in emitInstruction()
1550 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1551 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in emitInstruction()
1553 *OutStreamer, in emitInstruction()
1555 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR8).addReg(PPC::X0)); in emitInstruction()
1556 EmitToStreamer(*OutStreamer, in emitInstruction()
1561 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTLR8).addReg(PPC::X0)); in emitInstruction()
1562 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1564 OutStreamer->emitLabel(FallthroughLabel); in emitInstruction()
1581 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitStartOfAsmFile()
1594 OutStreamer->switchSection(OutContext.getELFSection( in emitStartOfAsmFile()
1600 OutStreamer->emitLabel(CurrentPos); in emitStartOfAsmFile()
1609 OutStreamer->emitAssignment(TOCSym, tocExpr); in emitStartOfAsmFile()
1611 OutStreamer->switchSection(getObjFileLowering().getTextSection()); in emitStartOfAsmFile()
1626 OutStreamer->emitLabel(RelocSymbol); in emitFunctionEntryLabel()
1634 OutStreamer->emitValue(OffsExpr, 4); in emitFunctionEntryLabel()
1635 OutStreamer->emitLabel(CurrentFnSym); in emitFunctionEntryLabel()
1659 OutStreamer->emitLabel(PPCFI->getTOCOffsetSymbol(*MF)); in emitFunctionEntryLabel()
1660 OutStreamer->emitValue(TOCDeltaExpr, 8); in emitFunctionEntryLabel()
1666 MCSectionSubPair Current = OutStreamer->getCurrentSection(); in emitFunctionEntryLabel()
1667 MCSectionELF *Section = OutStreamer->getContext().getELFSection( in emitFunctionEntryLabel()
1669 OutStreamer->switchSection(Section); in emitFunctionEntryLabel()
1670 OutStreamer->emitLabel(CurrentFnSym); in emitFunctionEntryLabel()
1671 OutStreamer->emitValueToAlignment(8); in emitFunctionEntryLabel()
1675 OutStreamer->emitValue(MCSymbolRefExpr::create(Symbol1, OutContext), in emitFunctionEntryLabel()
1679 OutStreamer->emitValue( in emitFunctionEntryLabel()
1683 OutStreamer->emitIntValue(0, 8 /* size */); in emitFunctionEntryLabel()
1684 OutStreamer->switchSection(Current.first, Current.second); in emitFunctionEntryLabel()
1693 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitEndOfAsmFile()
1701 OutStreamer->switchSection(Section); in emitEndOfAsmFile()
1703 OutStreamer->emitValueToAlignment(4); in emitEndOfAsmFile()
1709 OutStreamer->emitLabel(TOCEntryLabel); in emitEndOfAsmFile()
1713 OutStreamer->emitSymbolValue(TOCEntryTarget, 4); in emitEndOfAsmFile()
1769 OutStreamer->emitLabel(GlobalEntryLabel); in emitFunctionBodyStart()
1780 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS) in emitFunctionBodyStart()
1786 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDI) in emitFunctionBodyStart()
1796 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in emitFunctionBodyStart()
1800 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADD8) in emitFunctionBodyStart()
1807 OutStreamer->emitLabel(LocalEntryLabel); in emitFunctionBodyStart()
1815 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitFunctionBodyStart()
1844 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitFunctionBodyStart()
1864 OutStreamer->emitIntValue(0, 4/*size*/); in emitFunctionBodyEnd()
1865 OutStreamer->emitIntValue(0, 8/*size*/); in emitFunctionBodyEnd()
1926 OutStreamer->emitXCOFFSymbolLinkageWithVisibility(GVSym, LinkageAttr, in emitLinkage()
1973 OutStreamer->switchSection(getObjFileLowering().getCompactUnwindSection()); in emitFunctionBodyEnd()
1976 OutStreamer->emitLabel(EHInfoLabel); in emitFunctionBodyEnd()
1979 OutStreamer->emitInt32(0); in emitFunctionBodyEnd()
1984 OutStreamer->emitValueToAlignment(PointerSize); in emitFunctionBodyEnd()
1986 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionBodyEnd()
1987 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionBodyEnd()
1988 OutStreamer->switchSection(MF->getSection()); in emitFunctionBodyEnd()
1996 OutStreamer->emitLabel(FuncEnd); in emitTracebackTable()
1998 OutStreamer->AddComment("Traceback table begin"); in emitTracebackTable()
2000 OutStreamer->emitIntValueInHexWithPadding(0, 4 /*size*/); in emitTracebackTable()
2006 OutStreamer->AddComment(CommentOS.str()); in emitTracebackTable()
2012 OutStreamer->emitIntValueInHexWithPadding(Value, Size); in emitTracebackTable()
2077 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2105 OutStreamer->emitIntValueInHexWithPadding((FirstHalfOfMandatoryField & 0xff), in emitTracebackTable()
2127 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2172 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2183 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2200 OutStreamer->emitIntValueInHexWithPadding(SecondHalfOfMandatoryField & 0xff, in emitTracebackTable()
2222 OutStreamer->emitIntValueInHexWithPadding(ParmsTypeValue, in emitTracebackTable()
2226 OutStreamer->AddComment("Function size"); in emitTracebackTable()
2230 OutStreamer->emitAbsoluteSymbolDiff(FuncEnd, FuncSectSym, 4); in emitTracebackTable()
2246 OutStreamer->AddComment("Function Name"); in emitTracebackTable()
2247 OutStreamer->emitBytes(Name); in emitTracebackTable()
2252 OutStreamer->AddComment("AllocaUsed"); in emitTracebackTable()
2253 OutStreamer->emitIntValueInHex(AllocReg, sizeof(AllocReg)); in emitTracebackTable()
2286 OutStreamer->emitIntValueInHexWithPadding((VRData & 0xff00) >> 8, 1); in emitTracebackTable()
2291 OutStreamer->emitIntValueInHexWithPadding(VRData & 0x00ff, 1); in emitTracebackTable()
2302 OutStreamer->emitIntValueInHexWithPadding(VecParmTypeValue, in emitTracebackTable()
2323 auto &Ctx = OutStreamer->getContext(); in emitTracebackTable()
2335 OutStreamer->emitValueToAlignment(4); in emitTracebackTable()
2336 OutStreamer->AddComment("EHInfo Table"); in emitTracebackTable()
2337 OutStreamer->emitValue(Exp, DL.getPointerSize()); in emitTracebackTable()
2417 GV->printAsOperand(OutStreamer->getCommentOS(), in emitGlobalVariableHelper()
2419 OutStreamer->getCommentOS() << '\n'; in emitGlobalVariableHelper()
2427 OutStreamer->switchSection(Csect); in emitGlobalVariableHelper()
2440 OutStreamer->emitXCOFFLocalCommonSymbol( in emitGlobalVariableHelper()
2444 OutStreamer->emitCommonSymbol(GVSym, Size, Alignment.value()); in emitGlobalVariableHelper()
2460 OutStreamer->emitLabel(EmittedInitSym); in emitGlobalVariableHelper()
2483 MCSectionSubPair Current = OutStreamer->getCurrentSection(); in emitFunctionDescriptor()
2485 OutStreamer->switchSection( in emitFunctionDescriptor()
2490 OutStreamer->emitLabel(getSymbol(Alias)); in emitFunctionDescriptor()
2493 OutStreamer->emitValue(MCSymbolRefExpr::create(CurrentFnSym, OutContext), in emitFunctionDescriptor()
2499 OutStreamer->emitValue(MCSymbolRefExpr::create(TOCBaseSym, OutContext), in emitFunctionDescriptor()
2502 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionDescriptor()
2504 OutStreamer->switchSection(Current.first, Current.second); in emitFunctionDescriptor()
2515 OutStreamer->emitLabel( in emitFunctionEntryLabel()
2528 OutStreamer->switchSection(CntsSection); in emitPGORefs()
2532 OutStreamer->emitXCOFFRefDirective("__llvm_prf_data[RW]"); in emitPGORefs()
2536 OutStreamer->emitXCOFFRefDirective("__llvm_prf_names[RO]"); in emitPGORefs()
2540 OutStreamer->emitXCOFFRefDirective("__llvm_prf_vnds[RW]"); in emitPGORefs()
2553 OutStreamer->switchSection(getObjFileLowering().getTOCBaseSection()); in emitEndOfAsmFile()
2556 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitEndOfAsmFile()
2575 OutStreamer->switchSection(TCEntry); in emitEndOfAsmFile()
2577 OutStreamer->emitLabel(I.second); in emitEndOfAsmFile()
2698 *OutStreamer, in emitInstruction()
2708 OutStreamer->doFinalizationAtSectionEnd( in doFinalization()
2709 OutStreamer->getContext().getObjectFileInfo()->getTextSection()); in doFinalization()
2712 OutStreamer->emitSymbolAttribute(Sym, MCSA_Extern); in doFinalization()
2788 auto &Ctx = OutStreamer->getContext(); in emitTTypeReference()
2792 OutStreamer->emitValue(Exp, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
2794 OutStreamer->emitIntValue(0, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()