Lines Matching refs:OutStreamer

145   EmitToStreamer(*OutStreamer,  in emitCallInformation()
303 EmitToStreamer(*OutStreamer, in emitInstruction()
312 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::BASR) in emitInstruction()
319 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::BASR) in emitInstruction()
345 *OutStreamer, in emitInstruction()
349 *OutStreamer, in emitInstruction()
354 EmitToStreamer(*OutStreamer, MCInstBuilder(Op) in emitInstruction()
626 OutStreamer->emitLabel(DotSym); in emitInstruction()
639 OutStreamer->emitLabel(DotSym); in emitInstruction()
683 *OutStreamer, in emitInstruction()
692 EmitToStreamer(*OutStreamer, LoweredMI); in emitInstruction()
697 static unsigned EmitNop(MCContext &OutContext, MCStreamer &OutStreamer, in EmitNop() argument
704 OutStreamer.emitInstruction( in EmitNop()
709 OutStreamer.emitInstruction( in EmitNop()
717 OutStreamer.emitLabel(DotSym); in EmitNop()
718 OutStreamer.emitInstruction( in EmitNop()
729 OutStreamer->pushSection(); in LowerFENTRY_CALL()
730 OutStreamer->switchSection( in LowerFENTRY_CALL()
732 OutStreamer->emitSymbolValue(DotSym, 8); in LowerFENTRY_CALL()
733 OutStreamer->popSection(); in LowerFENTRY_CALL()
734 OutStreamer->emitLabel(DotSym); in LowerFENTRY_CALL()
738 EmitNop(Ctx, *OutStreamer, 6, getSubtargetInfo()); in LowerFENTRY_CALL()
745 OutStreamer->emitInstruction( in LowerFENTRY_CALL()
755 auto &Ctx = OutStreamer->getContext(); in LowerSTACKMAP()
757 OutStreamer->emitLabel(MILabel); in LowerSTACKMAP()
780 ShadowBytes += EmitNop(OutContext, *OutStreamer, NumNOPBytes - ShadowBytes, in LowerSTACKMAP()
788 auto &Ctx = OutStreamer->getContext(); in LowerPATCHPOINT()
790 OutStreamer->emitLabel(MILabel); in LowerPATCHPOINT()
809 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::LLILF) in LowerPATCHPOINT()
814 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::IIHF) in LowerPATCHPOINT()
820 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::BASR) in LowerPATCHPOINT()
827 EmitToStreamer(*OutStreamer, MCInstBuilder(SystemZ::BRASL) in LowerPATCHPOINT()
840 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
851 OutStreamer->emitGNUAttribute(8, HasVectorFeature ? 2 : 1); in emitAttributes()
878 OutStreamer->emitValue(Expr, Size); in emitMachineConstantPoolValue()
965 OutStreamer->pushSection(); in emitADASection()
968 OutStreamer->switchSection(getObjFileLowering().getADASection()); in emitADASection()
979 OutStreamer->AddComment(Twine("Offset ") \ in emitADASection()
988 OutStreamer->emitValue( in emitADASection()
993 OutStreamer->emitValue( in emitADASection()
1002 OutStreamer->emitValue( in emitADASection()
1012 OutStreamer->emitAssignment(Alias, in emitADASection()
1014 OutStreamer->emitSymbolAttribute(Alias, MCSA_IndirectSymbol); in emitADASection()
1017 OutStreamer->emitValue( in emitADASection()
1030 OutStreamer->popSection(); in emitADASection()
1074 OutStreamer->pushSection(); in emitIDRLSection()
1075 OutStreamer->switchSection(getObjFileLowering().getIDRLSection()); in emitIDRLSection()
1092 OutStreamer->emitInt8(0); // Reserved. in emitIDRLSection()
1093 OutStreamer->emitInt8(3); // Format. in emitIDRLSection()
1094 OutStreamer->emitInt16(IDRLDataLength); // Length. in emitIDRLSection()
1095 OutStreamer->emitBytes(Data.str()); in emitIDRLSection()
1096 OutStreamer->popSection(); in emitIDRLSection()
1104 OutStreamer->emitLabel(FnEndSym); in emitFunctionBodyEnd()
1106 OutStreamer->pushSection(); in emitFunctionBodyEnd()
1107 OutStreamer->switchSection(getObjFileLowering().getPPA1Section()); in emitFunctionBodyEnd()
1109 OutStreamer->popSection(); in emitFunctionBodyEnd()
1116 static void emitPPA1Flags(std::unique_ptr<MCStreamer> &OutStreamer, bool VarArg, in emitPPA1Flags() argument
1168 OutStreamer->AddComment("PPA1 Flags 1"); in emitPPA1Flags()
1170 OutStreamer->AddComment(" Bit 0: 1 = 64-bit DSA"); in emitPPA1Flags()
1172 OutStreamer->AddComment(" Bit 0: 0 = 32-bit DSA"); in emitPPA1Flags()
1174 OutStreamer->AddComment(" Bit 7: 1 = Vararg function"); in emitPPA1Flags()
1175 OutStreamer->emitInt8(static_cast<uint8_t>(Flags1)); // Flags 1. in emitPPA1Flags()
1177 OutStreamer->AddComment("PPA1 Flags 2"); in emitPPA1Flags()
1179 OutStreamer->AddComment(" Bit 0: 1 = External procedure"); in emitPPA1Flags()
1181 OutStreamer->AddComment(" Bit 3: 1 = STACKPROTECT is enabled"); in emitPPA1Flags()
1183 OutStreamer->AddComment(" Bit 3: 0 = STACKPROTECT is not enabled"); in emitPPA1Flags()
1184 OutStreamer->emitInt8(static_cast<uint8_t>(Flags2)); // Flags 2. in emitPPA1Flags()
1186 OutStreamer->AddComment("PPA1 Flags 3"); in emitPPA1Flags()
1188 OutStreamer->AddComment(" Bit 2: 1 = FP Reg Mask is in optional area"); in emitPPA1Flags()
1189 OutStreamer->emitInt8( in emitPPA1Flags()
1192 OutStreamer->AddComment("PPA1 Flags 4"); in emitPPA1Flags()
1194 OutStreamer->AddComment(" Bit 2: 1 = Vector Reg Mask is in optional area"); in emitPPA1Flags()
1196 OutStreamer->AddComment(" Bit 3: 1 = C++ EH block"); in emitPPA1Flags()
1199 OutStreamer->AddComment(" Bit 7: 1 = Name Length and Name"); in emitPPA1Flags()
1200 OutStreamer->emitInt8(static_cast<uint8_t>( in emitPPA1Flags()
1204 static void emitPPA1Name(std::unique_ptr<MCStreamer> &OutStreamer, in emitPPA1Name() argument
1221 OutStreamer->AddComment("Length of Name"); in emitPPA1Name()
1222 OutStreamer->emitInt16(OutSize); in emitPPA1Name()
1223 OutStreamer->AddComment("Name of Function"); in emitPPA1Name()
1224 OutStreamer->emitBytes(OutName); in emitPPA1Name()
1225 OutStreamer->emitZeros(ExtraZeros); in emitPPA1Name()
1312 OutStreamer->AddComment("PPA1"); in emitPPA1()
1313 OutStreamer->emitLabel(CurrentFnPPA1Sym); in emitPPA1()
1314 OutStreamer->AddComment("Version"); in emitPPA1()
1315 OutStreamer->emitInt8(0x02); // Version. in emitPPA1()
1316 OutStreamer->AddComment("LE Signature X'CE'"); in emitPPA1()
1317 OutStreamer->emitInt8(0xCE); // CEL signature. in emitPPA1()
1318 OutStreamer->AddComment("Saved GPR Mask"); in emitPPA1()
1319 OutStreamer->emitInt16(SavedGPRMask); in emitPPA1()
1320 OutStreamer->AddComment("Offset to PPA2"); in emitPPA1()
1321 OutStreamer->emitAbsoluteSymbolDiff(PPA2Sym, CurrentFnPPA1Sym, 4); in emitPPA1()
1328 emitPPA1Flags(OutStreamer, MF->getFunction().isVarArg(), in emitPPA1()
1332 OutStreamer->AddComment("Length/4 of Parms"); in emitPPA1()
1333 OutStreamer->emitInt16( in emitPPA1()
1335 OutStreamer->AddComment("Length of Code"); in emitPPA1()
1336 OutStreamer->emitAbsoluteSymbolDiff(FnEndSym, CurrentFnEPMarkerSym, 4); in emitPPA1()
1340 OutStreamer->AddComment("FPR mask"); in emitPPA1()
1341 OutStreamer->emitInt16(SavedFPRMask); in emitPPA1()
1342 OutStreamer->AddComment("AR mask"); in emitPPA1()
1343 OutStreamer->emitInt16(0); // AR Mask, unused currently. in emitPPA1()
1344 OutStreamer->AddComment("FPR Save Area Locator"); in emitPPA1()
1345 OutStreamer->AddComment(Twine(" Bit 0-3: Register R") in emitPPA1()
1348 OutStreamer->AddComment(Twine(" Bit 4-31: Offset ") in emitPPA1()
1351 OutStreamer->emitInt32(FrameAndFPROffset); // Offset to FPR save area with in emitPPA1()
1358 OutStreamer->AddComment("VR mask"); in emitPPA1()
1359 OutStreamer->emitInt8(SavedVRMask); in emitPPA1()
1360 OutStreamer->emitInt8(0); // Reserved. in emitPPA1()
1361 OutStreamer->emitInt16(0); // Also reserved. in emitPPA1()
1362 OutStreamer->AddComment("VR Save Area Locator"); in emitPPA1()
1363 OutStreamer->AddComment(Twine(" Bit 0-3: Register R") in emitPPA1()
1366 OutStreamer->AddComment(Twine(" Bit 4-31: Offset ") in emitPPA1()
1369 OutStreamer->emitInt32(FrameAndVROffset); in emitPPA1()
1381 OutStreamer->AddComment("Version"); in emitPPA1()
1382 OutStreamer->emitInt32(1); in emitPPA1()
1383 OutStreamer->AddComment("Flags"); in emitPPA1()
1384 OutStreamer->emitInt32(0); // LSDA field is a WAS offset in emitPPA1()
1385 OutStreamer->AddComment("Personality routine"); in emitPPA1()
1386 OutStreamer->emitInt64(ADATable.insert( in emitPPA1()
1388 OutStreamer->AddComment("LSDA location"); in emitPPA1()
1391 OutStreamer->emitInt64( in emitPPA1()
1397 emitPPA1Name(OutStreamer, MF->getFunction().getName()); in emitPPA1()
1400 OutStreamer->emitAbsoluteSymbolDiff(CurrentFnEPMarkerSym, CurrentFnPPA1Sym, in emitPPA1()
1411 OutStreamer->pushSection(); in emitPPA2()
1412 OutStreamer->switchSection(getObjFileLowering().getPPA2Section()); in emitPPA2()
1413 MCContext &OutContext = OutStreamer->getContext(); in emitPPA2()
1476 OutStreamer->emitLabel(PPA2Sym); in emitPPA2()
1477 OutStreamer->emitInt8(static_cast<uint8_t>(PPA2MemberId::LE_C_Runtime)); in emitPPA2()
1478 OutStreamer->emitInt8(static_cast<uint8_t>(MemberSubId)); in emitPPA2()
1479 OutStreamer->emitInt8(0x22); // Member defined, c370_plist+c370_env in emitPPA2()
1480 OutStreamer->emitInt8(0x04); // Control level 4 (XPLink) in emitPPA2()
1481 OutStreamer->emitAbsoluteSymbolDiff(CELQSTRT, PPA2Sym, 4); in emitPPA2()
1482 OutStreamer->emitInt32(0x00000000); in emitPPA2()
1483 OutStreamer->emitAbsoluteSymbolDiff(DateVersionSym, PPA2Sym, 4); in emitPPA2()
1484 OutStreamer->emitInt32( in emitPPA2()
1501 OutStreamer->emitInt8(Flgs); in emitPPA2()
1502 OutStreamer->emitInt8(0x00); // Reserved. in emitPPA2()
1506 OutStreamer->emitInt16(0x0000); // 16 Reserved flag bits. in emitPPA2()
1509 OutStreamer->emitLabel(DateVersionSym); in emitPPA2()
1510 OutStreamer->emitBytes(CompilationTimeStr.str()); in emitPPA2()
1511 OutStreamer->emitBytes(VersionStr.str()); in emitPPA2()
1513 OutStreamer->emitInt16(0x0000); // Service level string length. in emitPPA2()
1517 OutStreamer->AddComment("A(PPA2-CELQSTRT)"); in emitPPA2()
1518 OutStreamer->emitAbsoluteSymbolDiff(PPA2Sym, CELQSTRT, 8); in emitPPA2()
1519 OutStreamer->popSection(); in emitPPA2()
1526 MCContext &OutContext = OutStreamer->getContext(); in emitFunctionEntryLabel()
1556 OutStreamer->AddComment("XPLINK Routine Layout Entry"); in emitFunctionEntryLabel()
1557 OutStreamer->emitLabel(CurrentFnEPMarkerSym); in emitFunctionEntryLabel()
1558 OutStreamer->AddComment("Eyecatcher 0x00C300C500C500"); in emitFunctionEntryLabel()
1559 OutStreamer->emitIntValueInHex(0x00C300C500C500, 7); // Eyecatcher. in emitFunctionEntryLabel()
1560 OutStreamer->AddComment("Mark Type C'1'"); in emitFunctionEntryLabel()
1561 OutStreamer->emitInt8(0xF1); // Mark Type. in emitFunctionEntryLabel()
1562 OutStreamer->AddComment("Offset to PPA1"); in emitFunctionEntryLabel()
1563 OutStreamer->emitAbsoluteSymbolDiff(CurrentFnPPA1Sym, CurrentFnEPMarkerSym, in emitFunctionEntryLabel()
1565 if (OutStreamer->isVerboseAsm()) { in emitFunctionEntryLabel()
1566 OutStreamer->AddComment("DSA Size 0x" + Twine::utohexstr(DSASize)); in emitFunctionEntryLabel()
1567 OutStreamer->AddComment("Entry Flags"); in emitFunctionEntryLabel()
1569 OutStreamer->AddComment(" Bit 1: 1 = Leaf function"); in emitFunctionEntryLabel()
1571 OutStreamer->AddComment(" Bit 1: 0 = Non-leaf function"); in emitFunctionEntryLabel()
1573 OutStreamer->AddComment(" Bit 2: 1 = Uses alloca"); in emitFunctionEntryLabel()
1575 OutStreamer->AddComment(" Bit 2: 0 = Does not use alloca"); in emitFunctionEntryLabel()
1577 OutStreamer->emitInt32(DSAAndFlags); in emitFunctionEntryLabel()