Lines Matching refs:OutStreamer

413   auto &Ctx = OutStreamer->getContext();  in LowerSTACKMAP()
415 OutStreamer->emitLabel(MILabel); in LowerSTACKMAP()
436 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in LowerSTACKMAP()
442 auto &Ctx = OutStreamer->getContext(); in LowerPATCHPOINT()
444 OutStreamer->emitLabel(MILabel); in LowerPATCHPOINT()
460 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LI8) in LowerPATCHPOINT()
464 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::RLDIC) in LowerPATCHPOINT()
469 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ORIS8) in LowerPATCHPOINT()
474 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ORI8) in LowerPATCHPOINT()
481 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::STD) in LowerPATCHPOINT()
493 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
498 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
505 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTCTR8) in LowerPATCHPOINT()
508 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BCTRL8)); in LowerPATCHPOINT()
512 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in LowerPATCHPOINT()
523 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL8_NOP) in LowerPATCHPOINT()
538 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in LowerPATCHPOINT()
588 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BLA).addExpr(TlsRef)); in EmitTlsCall()
609 EmitToStreamer(*OutStreamer, in EmitTlsCall()
738 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL).addExpr(OffsExpr)); in emitInstruction()
750 EmitToStreamer(*OutStreamer, in emitInstruction()
757 OutStreamer->emitLabel(PICBase); in emitInstruction()
782 *OutStreamer, in emitInstruction()
787 *OutStreamer, in emitInstruction()
808 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
814 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
839 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
864 OutStreamer->GetCommentOS() << MO << '\n'; in emitInstruction()
865 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
875 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
899 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
934 OutStreamer->GetCommentOS() << MO << '\n'; in emitInstruction()
935 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
967 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
999 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1038 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1072 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1095 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1108 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1129 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1138 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL) in emitInstruction()
1146 OutStreamer->emitLabel(GOTRef); in emitInstruction()
1147 OutStreamer->emitValue(OffsExpr, 4); in emitInstruction()
1148 OutStreamer->emitLabel(NextInstr); in emitInstruction()
1149 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR) in emitInstruction()
1151 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LWZ) in emitInstruction()
1155 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADD4) in emitInstruction()
1168 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LI) in emitInstruction()
1171 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS) in emitInstruction()
1187 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1206 EmitToStreamer(*OutStreamer, in emitInstruction()
1238 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS8) in emitInstruction()
1257 EmitToStreamer(*OutStreamer, in emitInstruction()
1287 *OutStreamer, in emitInstruction()
1302 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::PADDI8) in emitInstruction()
1321 EmitToStreamer(*OutStreamer, in emitInstruction()
1335 OutStreamer->AddComment(PPCInstPrinter:: in emitInstruction()
1337 EmitToStreamer(*OutStreamer, MCInstBuilder(NewOpcode) in emitInstruction()
1351 OutStreamer->AddComment(PPCInstPrinter:: in emitInstruction()
1353 EmitToStreamer(*OutStreamer, MCInstBuilder(NewOpcode) in emitInstruction()
1377 *OutStreamer, in emitInstruction()
1380 *OutStreamer, in emitInstruction()
1382 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::EnforceIEIO)); in emitInstruction()
1388 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1412 OutStreamer->emitLabel(BeginOfSled); in emitInstruction()
1413 EmitToStreamer(*OutStreamer, in emitInstruction()
1416 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in emitInstruction()
1418 *OutStreamer, in emitInstruction()
1420 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR8).addReg(PPC::X0)); in emitInstruction()
1421 EmitToStreamer(*OutStreamer, in emitInstruction()
1426 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTLR8).addReg(PPC::X0)); in emitInstruction()
1427 OutStreamer->emitLabel(EndOfSled); in emitInstruction()
1450 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1476 *OutStreamer, in emitInstruction()
1497 OutStreamer->emitCodeAlignment(8); in emitInstruction()
1499 OutStreamer->emitLabel(BeginOfSled); in emitInstruction()
1500 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1501 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::NOP)); in emitInstruction()
1503 *OutStreamer, in emitInstruction()
1505 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MFLR8).addReg(PPC::X0)); in emitInstruction()
1506 EmitToStreamer(*OutStreamer, in emitInstruction()
1511 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::MTLR8).addReg(PPC::X0)); in emitInstruction()
1512 EmitToStreamer(*OutStreamer, RetInst); in emitInstruction()
1514 OutStreamer->emitLabel(FallthroughLabel); in emitInstruction()
1531 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitStartOfAsmFile()
1544 OutStreamer->SwitchSection(OutContext.getELFSection( in emitStartOfAsmFile()
1550 OutStreamer->emitLabel(CurrentPos); in emitStartOfAsmFile()
1559 OutStreamer->emitAssignment(TOCSym, tocExpr); in emitStartOfAsmFile()
1561 OutStreamer->SwitchSection(getObjFileLowering().getTextSection()); in emitStartOfAsmFile()
1576 OutStreamer->emitLabel(RelocSymbol); in emitFunctionEntryLabel()
1584 OutStreamer->emitValue(OffsExpr, 4); in emitFunctionEntryLabel()
1585 OutStreamer->emitLabel(CurrentFnSym); in emitFunctionEntryLabel()
1609 OutStreamer->emitLabel(PPCFI->getTOCOffsetSymbol(*MF)); in emitFunctionEntryLabel()
1610 OutStreamer->emitValue(TOCDeltaExpr, 8); in emitFunctionEntryLabel()
1616 MCSectionSubPair Current = OutStreamer->getCurrentSection(); in emitFunctionEntryLabel()
1617 MCSectionELF *Section = OutStreamer->getContext().getELFSection( in emitFunctionEntryLabel()
1619 OutStreamer->SwitchSection(Section); in emitFunctionEntryLabel()
1620 OutStreamer->emitLabel(CurrentFnSym); in emitFunctionEntryLabel()
1621 OutStreamer->emitValueToAlignment(8); in emitFunctionEntryLabel()
1625 OutStreamer->emitValue(MCSymbolRefExpr::create(Symbol1, OutContext), in emitFunctionEntryLabel()
1629 OutStreamer->emitValue( in emitFunctionEntryLabel()
1633 OutStreamer->emitIntValue(0, 8 /* size */); in emitFunctionEntryLabel()
1634 OutStreamer->SwitchSection(Current.first, Current.second); in emitFunctionEntryLabel()
1643 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitEndOfAsmFile()
1649 OutStreamer->SwitchSection(Section); in emitEndOfAsmFile()
1651 OutStreamer->emitValueToAlignment(4); in emitEndOfAsmFile()
1657 OutStreamer->emitLabel(TOCEntryLabel); in emitEndOfAsmFile()
1661 OutStreamer->emitSymbolValue(TOCEntryTarget, 4); in emitEndOfAsmFile()
1717 OutStreamer->emitLabel(GlobalEntryLabel); in emitFunctionBodyStart()
1728 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDIS) in emitFunctionBodyStart()
1734 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADDI) in emitFunctionBodyStart()
1744 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::LD) in emitFunctionBodyStart()
1748 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::ADD8) in emitFunctionBodyStart()
1755 OutStreamer->emitLabel(LocalEntryLabel); in emitFunctionBodyStart()
1763 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitFunctionBodyStart()
1792 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitFunctionBodyStart()
1812 OutStreamer->emitIntValue(0, 4/*size*/); in emitFunctionBodyEnd()
1813 OutStreamer->emitIntValue(0, 8/*size*/); in emitFunctionBodyEnd()
1869 OutStreamer->emitXCOFFSymbolLinkageWithVisibility(GVSym, LinkageAttr, in emitLinkage()
1916 OutStreamer->SwitchSection(getObjFileLowering().getCompactUnwindSection()); in emitFunctionBodyEnd()
1919 OutStreamer->emitLabel(EHInfoLabel); in emitFunctionBodyEnd()
1922 OutStreamer->emitInt32(0); in emitFunctionBodyEnd()
1927 OutStreamer->emitValueToAlignment(PointerSize); in emitFunctionBodyEnd()
1929 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionBodyEnd()
1930 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionBodyEnd()
1931 OutStreamer->SwitchSection(MF->getSection()); in emitFunctionBodyEnd()
1939 OutStreamer->emitLabel(FuncEnd); in emitTracebackTable()
1941 OutStreamer->AddComment("Traceback table begin"); in emitTracebackTable()
1943 OutStreamer->emitIntValueInHexWithPadding(0, 4 /*size*/); in emitTracebackTable()
1949 OutStreamer->AddComment(CommentOS.str()); in emitTracebackTable()
1955 OutStreamer->emitIntValueInHexWithPadding(Value, Size); in emitTracebackTable()
2020 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2047 OutStreamer->emitIntValueInHexWithPadding((FirstHalfOfMandatoryField & 0xff), in emitTracebackTable()
2069 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2114 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2125 OutStreamer->emitIntValueInHexWithPadding( in emitTracebackTable()
2142 OutStreamer->emitIntValueInHexWithPadding(SecondHalfOfMandatoryField & 0xff, in emitTracebackTable()
2164 OutStreamer->emitIntValueInHexWithPadding(ParmsTypeValue, in emitTracebackTable()
2168 OutStreamer->AddComment("Function size"); in emitTracebackTable()
2172 OutStreamer->emitAbsoluteSymbolDiff(FuncEnd, FuncSectSym, 4); in emitTracebackTable()
2188 OutStreamer->AddComment("Function Name"); in emitTracebackTable()
2189 OutStreamer->emitBytes(Name); in emitTracebackTable()
2194 OutStreamer->AddComment("AllocaUsed"); in emitTracebackTable()
2195 OutStreamer->emitIntValueInHex(AllocReg, sizeof(AllocReg)); in emitTracebackTable()
2228 OutStreamer->emitIntValueInHexWithPadding((VRData & 0xff00) >> 8, 1); in emitTracebackTable()
2233 OutStreamer->emitIntValueInHexWithPadding(VRData & 0x00ff, 1); in emitTracebackTable()
2244 OutStreamer->emitIntValueInHexWithPadding(VecParmTypeValue, in emitTracebackTable()
2265 auto &Ctx = OutStreamer->getContext(); in emitTracebackTable()
2277 OutStreamer->emitValueToAlignment(4); in emitTracebackTable()
2278 OutStreamer->AddComment("EHInfo Table"); in emitTracebackTable()
2279 OutStreamer->emitValue(Exp, DL.getPointerSize()); in emitTracebackTable()
2341 GV->printAsOperand(OutStreamer->GetCommentOS(), in emitGlobalVariableHelper()
2343 OutStreamer->GetCommentOS() << '\n'; in emitGlobalVariableHelper()
2351 OutStreamer->SwitchSection(Csect); in emitGlobalVariableHelper()
2364 OutStreamer->emitXCOFFLocalCommonSymbol( in emitGlobalVariableHelper()
2368 OutStreamer->emitCommonSymbol(GVSym, Size, Alignment.value()); in emitGlobalVariableHelper()
2379 OutStreamer->emitLabel(EmittedInitSym); in emitGlobalVariableHelper()
2384 OutStreamer->emitLabel(getSymbol(Alias)); in emitGlobalVariableHelper()
2394 MCSectionSubPair Current = OutStreamer->getCurrentSection(); in emitFunctionDescriptor()
2396 OutStreamer->SwitchSection( in emitFunctionDescriptor()
2402 OutStreamer->emitLabel(getSymbol(Alias)); in emitFunctionDescriptor()
2406 OutStreamer->emitValue(MCSymbolRefExpr::create(CurrentFnSym, OutContext), in emitFunctionDescriptor()
2412 OutStreamer->emitValue(MCSymbolRefExpr::create(TOCBaseSym, OutContext), in emitFunctionDescriptor()
2415 OutStreamer->emitIntValue(0, PointerSize); in emitFunctionDescriptor()
2417 OutStreamer->SwitchSection(Current.first, Current.second); in emitFunctionDescriptor()
2429 OutStreamer->emitLabel( in emitFunctionEntryLabel()
2441 OutStreamer->SwitchSection(getObjFileLowering().getTOCBaseSection()); in emitEndOfAsmFile()
2444 static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer()); in emitEndOfAsmFile()
2463 OutStreamer->SwitchSection(TCEntry); in emitEndOfAsmFile()
2465 OutStreamer->emitLabel(I.second); in emitEndOfAsmFile()
2586 *OutStreamer, in emitInstruction()
2596 OutStreamer->doFinalizationAtSectionEnd( in doFinalization()
2597 OutStreamer->getContext().getObjectFileInfo()->getTextSection()); in doFinalization()
2600 OutStreamer->emitSymbolAttribute(Sym, MCSA_Extern); in doFinalization()
2676 auto &Ctx = OutStreamer->getContext(); in emitTTypeReference()
2680 OutStreamer->emitValue(Exp, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
2682 OutStreamer->emitIntValue(0, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()