Lines Matching refs:OutStreamer
146 EmitToStreamer(*OutStreamer, in emitCallInformation()
304 EmitToStreamer(*OutStreamer, in emitInstruction()
313 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::BASR) in emitInstruction()
320 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::BASR) in emitInstruction()
346 *OutStreamer, in emitInstruction()
350 *OutStreamer, in emitInstruction()
355 EmitToStreamer(*OutStreamer, MCInstBuilder(Op) in emitInstruction()
627 OutStreamer->emitLabel(DotSym); in emitInstruction()
640 OutStreamer->emitLabel(DotSym); in emitInstruction()
684 *OutStreamer, in emitInstruction()
693 EmitToStreamer(*OutStreamer, LoweredMI); in emitInstruction()
698 static unsigned EmitNop(MCContext &OutContext, MCStreamer &OutStreamer, in EmitNop() argument
705 OutStreamer.emitInstruction( in EmitNop()
710 OutStreamer.emitInstruction( in EmitNop()
718 OutStreamer.emitLabel(DotSym); in EmitNop()
719 OutStreamer.emitInstruction( in EmitNop()
730 OutStreamer->pushSection(); in LowerFENTRY_CALL()
731 OutStreamer->switchSection( in LowerFENTRY_CALL()
733 OutStreamer->emitSymbolValue(DotSym, 8); in LowerFENTRY_CALL()
734 OutStreamer->popSection(); in LowerFENTRY_CALL()
735 OutStreamer->emitLabel(DotSym); in LowerFENTRY_CALL()
739 EmitNop(Ctx, *OutStreamer, 6, getSubtargetInfo()); in LowerFENTRY_CALL()
746 OutStreamer->emitInstruction( in LowerFENTRY_CALL()
756 auto &Ctx = OutStreamer->getContext(); in LowerSTACKMAP()
758 OutStreamer->emitLabel(MILabel); in LowerSTACKMAP()
781 ShadowBytes += EmitNop(OutContext, *OutStreamer, NumNOPBytes - ShadowBytes, in LowerSTACKMAP()
789 auto &Ctx = OutStreamer->getContext(); in LowerPATCHPOINT()
791 OutStreamer->emitLabel(MILabel); in LowerPATCHPOINT()
810 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::LLILF) in LowerPATCHPOINT()
815 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::IIHF) in LowerPATCHPOINT()
821 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::BASR) in LowerPATCHPOINT()
828 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::BRASL) in LowerPATCHPOINT()
841 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
852 OutStreamer->emitGNUAttribute(8, HasVectorFeature ? 2 : 1); in emitAttributes()
879 OutStreamer->emitValue(Expr, Size); in emitMachineConstantPoolValue()
985 OutStreamer->pushSection(); in emitADASection()
988 OutStreamer->switchSection(getObjFileLowering().getADASection()); in emitADASection()
999 OutStreamer->AddComment(Twine("Offset ") \ in emitADASection()
1008 OutStreamer->emitValue( in emitADASection()
1013 OutStreamer->emitValue( in emitADASection()
1022 OutStreamer->emitValue( in emitADASection()
1032 OutStreamer->emitAssignment(Alias, in emitADASection()
1034 OutStreamer->emitSymbolAttribute(Alias, MCSA_IndirectSymbol); in emitADASection()
1037 OutStreamer->emitValue( in emitADASection()
1050 OutStreamer->popSection(); in emitADASection()
1094 OutStreamer->pushSection(); in emitIDRLSection()
1095 OutStreamer->switchSection(getObjFileLowering().getIDRLSection()); in emitIDRLSection()
1112 OutStreamer->emitInt8(0); // Reserved. in emitIDRLSection()
1113 OutStreamer->emitInt8(3); // Format. in emitIDRLSection()
1114 OutStreamer->emitInt16(IDRLDataLength); // Length. in emitIDRLSection()
1115 OutStreamer->emitBytes(Data.str()); in emitIDRLSection()
1116 OutStreamer->popSection(); in emitIDRLSection()
1124 OutStreamer->emitLabel(FnEndSym); in emitFunctionBodyEnd()
1126 OutStreamer->pushSection(); in emitFunctionBodyEnd()
1127 OutStreamer->switchSection(getObjFileLowering().getPPA1Section()); in emitFunctionBodyEnd()
1129 OutStreamer->popSection(); in emitFunctionBodyEnd()
1136 static void emitPPA1Flags(std::unique_ptr<MCStreamer> &OutStreamer, bool VarArg, in emitPPA1Flags() argument
1188 OutStreamer->AddComment("PPA1 Flags 1"); in emitPPA1Flags()
1190 OutStreamer->AddComment(" Bit 0: 1 = 64-bit DSA"); in emitPPA1Flags()
1192 OutStreamer->AddComment(" Bit 0: 0 = 32-bit DSA"); in emitPPA1Flags()
1194 OutStreamer->AddComment(" Bit 7: 1 = Vararg function"); in emitPPA1Flags()
1195 OutStreamer->emitInt8(static_cast<uint8_t>(Flags1)); // Flags 1. in emitPPA1Flags()
1197 OutStreamer->AddComment("PPA1 Flags 2"); in emitPPA1Flags()
1199 OutStreamer->AddComment(" Bit 0: 1 = External procedure"); in emitPPA1Flags()
1201 OutStreamer->AddComment(" Bit 3: 1 = STACKPROTECT is enabled"); in emitPPA1Flags()
1203 OutStreamer->AddComment(" Bit 3: 0 = STACKPROTECT is not enabled"); in emitPPA1Flags()
1204 OutStreamer->emitInt8(static_cast<uint8_t>(Flags2)); // Flags 2. in emitPPA1Flags()
1206 OutStreamer->AddComment("PPA1 Flags 3"); in emitPPA1Flags()
1208 OutStreamer->AddComment(" Bit 2: 1 = FP Reg Mask is in optional area"); in emitPPA1Flags()
1209 OutStreamer->emitInt8( in emitPPA1Flags()
1212 OutStreamer->AddComment("PPA1 Flags 4"); in emitPPA1Flags()
1214 OutStreamer->AddComment(" Bit 2: 1 = Vector Reg Mask is in optional area"); in emitPPA1Flags()
1216 OutStreamer->AddComment(" Bit 3: 1 = C++ EH block"); in emitPPA1Flags()
1219 OutStreamer->AddComment(" Bit 7: 1 = Name Length and Name"); in emitPPA1Flags()
1220 OutStreamer->emitInt8(static_cast<uint8_t>( in emitPPA1Flags()
1224 static void emitPPA1Name(std::unique_ptr<MCStreamer> &OutStreamer, in emitPPA1Name() argument
1241 OutStreamer->AddComment("Length of Name"); in emitPPA1Name()
1242 OutStreamer->emitInt16(OutSize); in emitPPA1Name()
1243 OutStreamer->AddComment("Name of Function"); in emitPPA1Name()
1244 OutStreamer->emitBytes(OutName); in emitPPA1Name()
1245 OutStreamer->emitZeros(ExtraZeros); in emitPPA1Name()
1332 OutStreamer->AddComment("PPA1"); in emitPPA1()
1333 OutStreamer->emitLabel(CurrentFnPPA1Sym); in emitPPA1()
1334 OutStreamer->AddComment("Version"); in emitPPA1()
1335 OutStreamer->emitInt8(0x02); // Version. in emitPPA1()
1336 OutStreamer->AddComment("LE Signature X'CE'"); in emitPPA1()
1337 OutStreamer->emitInt8(0xCE); // CEL signature. in emitPPA1()
1338 OutStreamer->AddComment("Saved GPR Mask"); in emitPPA1()
1339 OutStreamer->emitInt16(SavedGPRMask); in emitPPA1()
1340 OutStreamer->AddComment("Offset to PPA2"); in emitPPA1()
1341 OutStreamer->emitAbsoluteSymbolDiff(PPA2Sym, CurrentFnPPA1Sym, 4); in emitPPA1()
1348 emitPPA1Flags(OutStreamer, MF->getFunction().isVarArg(), in emitPPA1()
1352 OutStreamer->AddComment("Length/4 of Parms"); in emitPPA1()
1353 OutStreamer->emitInt16( in emitPPA1()
1355 OutStreamer->AddComment("Length of Code"); in emitPPA1()
1356 OutStreamer->emitAbsoluteSymbolDiff(FnEndSym, CurrentFnEPMarkerSym, 4); in emitPPA1()
1360 OutStreamer->AddComment("FPR mask"); in emitPPA1()
1361 OutStreamer->emitInt16(SavedFPRMask); in emitPPA1()
1362 OutStreamer->AddComment("AR mask"); in emitPPA1()
1363 OutStreamer->emitInt16(0); // AR Mask, unused currently. in emitPPA1()
1364 OutStreamer->AddComment("FPR Save Area Locator"); in emitPPA1()
1365 OutStreamer->AddComment(Twine(" Bit 0-3: Register R") in emitPPA1()
1368 OutStreamer->AddComment(Twine(" Bit 4-31: Offset ") in emitPPA1()
1371 OutStreamer->emitInt32(FrameAndFPROffset); // Offset to FPR save area with in emitPPA1()
1378 OutStreamer->AddComment("VR mask"); in emitPPA1()
1379 OutStreamer->emitInt8(SavedVRMask); in emitPPA1()
1380 OutStreamer->emitInt8(0); // Reserved. in emitPPA1()
1381 OutStreamer->emitInt16(0); // Also reserved. in emitPPA1()
1382 OutStreamer->AddComment("VR Save Area Locator"); in emitPPA1()
1383 OutStreamer->AddComment(Twine(" Bit 0-3: Register R") in emitPPA1()
1386 OutStreamer->AddComment(Twine(" Bit 4-31: Offset ") in emitPPA1()
1389 OutStreamer->emitInt32(FrameAndVROffset); in emitPPA1()
1401 OutStreamer->AddComment("Version"); in emitPPA1()
1402 OutStreamer->emitInt32(1); in emitPPA1()
1403 OutStreamer->AddComment("Flags"); in emitPPA1()
1404 OutStreamer->emitInt32(0); // LSDA field is a WAS offset in emitPPA1()
1405 OutStreamer->AddComment("Personality routine"); in emitPPA1()
1406 OutStreamer->emitInt64(ADATable.insert( in emitPPA1()
1408 OutStreamer->AddComment("LSDA location"); in emitPPA1()
1411 OutStreamer->emitInt64( in emitPPA1()
1417 emitPPA1Name(OutStreamer, MF->getFunction().getName()); in emitPPA1()
1420 OutStreamer->emitAbsoluteSymbolDiff(CurrentFnEPMarkerSym, CurrentFnPPA1Sym, in emitPPA1()
1431 OutStreamer->pushSection(); in emitPPA2()
1432 OutStreamer->switchSection(getObjFileLowering().getPPA2Section()); in emitPPA2()
1433 MCContext &OutContext = OutStreamer->getContext(); in emitPPA2()
1496 OutStreamer->emitLabel(PPA2Sym); in emitPPA2()
1497 OutStreamer->emitInt8(static_cast<uint8_t>(PPA2MemberId::LE_C_Runtime)); in emitPPA2()
1498 OutStreamer->emitInt8(static_cast<uint8_t>(MemberSubId)); in emitPPA2()
1499 OutStreamer->emitInt8(0x22); // Member defined, c370_plist+c370_env in emitPPA2()
1500 OutStreamer->emitInt8(0x04); // Control level 4 (XPLink) in emitPPA2()
1501 OutStreamer->emitAbsoluteSymbolDiff(CELQSTRT, PPA2Sym, 4); in emitPPA2()
1502 OutStreamer->emitInt32(0x00000000); in emitPPA2()
1503 OutStreamer->emitAbsoluteSymbolDiff(DateVersionSym, PPA2Sym, 4); in emitPPA2()
1504 OutStreamer->emitInt32( in emitPPA2()
1521 OutStreamer->emitInt8(Flgs); in emitPPA2()
1522 OutStreamer->emitInt8(0x00); // Reserved. in emitPPA2()
1526 OutStreamer->emitInt16(0x0000); // 16 Reserved flag bits. in emitPPA2()
1529 OutStreamer->emitLabel(DateVersionSym); in emitPPA2()
1530 OutStreamer->emitBytes(CompilationTimeStr.str()); in emitPPA2()
1531 OutStreamer->emitBytes(VersionStr.str()); in emitPPA2()
1533 OutStreamer->emitInt16(0x0000); // Service level string length. in emitPPA2()
1537 OutStreamer->switchSection(getObjFileLowering().getPPA2ListSection()); in emitPPA2()
1540 OutStreamer->AddComment("A(PPA2-CELQSTRT)"); in emitPPA2()
1541 OutStreamer->emitAbsoluteSymbolDiff(PPA2Sym, CELQSTRT, 8); in emitPPA2()
1542 OutStreamer->popSection(); in emitPPA2()
1549 MCContext &OutContext = OutStreamer->getContext(); in emitFunctionEntryLabel()
1579 OutStreamer->AddComment("XPLINK Routine Layout Entry"); in emitFunctionEntryLabel()
1580 OutStreamer->emitLabel(CurrentFnEPMarkerSym); in emitFunctionEntryLabel()
1581 OutStreamer->AddComment("Eyecatcher 0x00C300C500C500"); in emitFunctionEntryLabel()
1582 OutStreamer->emitIntValueInHex(0x00C300C500C500, 7); // Eyecatcher. in emitFunctionEntryLabel()
1583 OutStreamer->AddComment("Mark Type C'1'"); in emitFunctionEntryLabel()
1584 OutStreamer->emitInt8(0xF1); // Mark Type. in emitFunctionEntryLabel()
1585 OutStreamer->AddComment("Offset to PPA1"); in emitFunctionEntryLabel()
1586 OutStreamer->emitAbsoluteSymbolDiff(CurrentFnPPA1Sym, CurrentFnEPMarkerSym, in emitFunctionEntryLabel()
1588 if (OutStreamer->isVerboseAsm()) { in emitFunctionEntryLabel()
1589 OutStreamer->AddComment("DSA Size 0x" + Twine::utohexstr(DSASize)); in emitFunctionEntryLabel()
1590 OutStreamer->AddComment("Entry Flags"); in emitFunctionEntryLabel()
1592 OutStreamer->AddComment(" Bit 1: 1 = Leaf function"); in emitFunctionEntryLabel()
1594 OutStreamer->AddComment(" Bit 1: 0 = Non-leaf function"); in emitFunctionEntryLabel()
1596 OutStreamer->AddComment(" Bit 2: 1 = Uses alloca"); in emitFunctionEntryLabel()
1598 OutStreamer->AddComment(" Bit 2: 0 = Does not use alloca"); in emitFunctionEntryLabel()
1600 OutStreamer->emitInt32(DSAAndFlags); in emitFunctionEntryLabel()