• Home
  • Raw
  • Download

Lines Matching refs:OutStreamer

95   void LowerJumpTableDest(MCStreamer &OutStreamer, const MachineInstr &MI);
97 void LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM,
99 void LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM,
101 void LowerSTATEPOINT(MCStreamer &OutStreamer, StackMaps &SM,
118 bool emitPseudoExpansionLowering(MCStreamer &OutStreamer,
143 OutStreamer->BeginCOFFSymbolDef(CurrentFnSym); in runOnMachineFunction()
144 OutStreamer->EmitCOFFSymbolStorageClass(Scl); in runOnMachineFunction()
145 OutStreamer->EmitCOFFSymbolType(Type); in runOnMachineFunction()
146 OutStreamer->EndCOFFSymbolDef(); in runOnMachineFunction()
214 OutStreamer->getTargetStreamer())) in emitStartOfAsmFile()
222 OutStreamer->GetCommentOS() << ' ' << OutlinerString; in emitFunctionHeaderComment()
274 OutStreamer->emitCodeAlignment(4); in EmitSled()
276 OutStreamer->emitLabel(CurSled); in EmitSled()
282 EmitToStreamer(*OutStreamer, MCInstBuilder(AArch64::B).addImm(8)); in EmitSled()
285 EmitToStreamer(*OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0)); in EmitSled()
287 OutStreamer->emitLabel(Target); in EmitSled()
310 EmitToStreamer(*OutStreamer, in LowerHWASAN_CHECK_MEMACCESS()
352 OutStreamer->SwitchSection(OutContext.getELFSection( in EmitHwasanMemaccessSymbols()
357 OutStreamer->emitSymbolAttribute(Sym, MCSA_ELF_TypeFunction); in EmitHwasanMemaccessSymbols()
358 OutStreamer->emitSymbolAttribute(Sym, MCSA_Weak); in EmitHwasanMemaccessSymbols()
359 OutStreamer->emitSymbolAttribute(Sym, MCSA_Hidden); in EmitHwasanMemaccessSymbols()
360 OutStreamer->emitLabel(Sym); in EmitHwasanMemaccessSymbols()
362 OutStreamer->emitInstruction(MCInstBuilder(AArch64::SBFMXri) in EmitHwasanMemaccessSymbols()
368 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
376 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
384 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
391 OutStreamer->emitLabel(ReturnSym); in EmitHwasanMemaccessSymbols()
392 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
394 OutStreamer->emitLabel(HandleMismatchOrPartialSym); in EmitHwasanMemaccessSymbols()
397 OutStreamer->emitInstruction(MCInstBuilder(AArch64::UBFMXri) in EmitHwasanMemaccessSymbols()
403 OutStreamer->emitInstruction(MCInstBuilder(AArch64::SUBSXri) in EmitHwasanMemaccessSymbols()
409 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
417 OutStreamer->emitInstruction(MCInstBuilder(AArch64::SUBSWri) in EmitHwasanMemaccessSymbols()
424 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
430 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
437 OutStreamer->emitInstruction(MCInstBuilder(AArch64::ADDXri) in EmitHwasanMemaccessSymbols()
443 OutStreamer->emitInstruction(MCInstBuilder(AArch64::SUBSWrs) in EmitHwasanMemaccessSymbols()
449 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
455 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
461 OutStreamer->emitInstruction(MCInstBuilder(AArch64::LDRBBui) in EmitHwasanMemaccessSymbols()
466 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
473 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
479 OutStreamer->emitLabel(HandleMismatchSym); in EmitHwasanMemaccessSymbols()
482 OutStreamer->emitInstruction(MCInstBuilder(AArch64::STPXpre) in EmitHwasanMemaccessSymbols()
489 OutStreamer->emitInstruction(MCInstBuilder(AArch64::STPXi) in EmitHwasanMemaccessSymbols()
497 OutStreamer->emitInstruction(MCInstBuilder(AArch64::ORRXrs) in EmitHwasanMemaccessSymbols()
503 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
514 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
520 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
527 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
535 OutStreamer->emitInstruction( in EmitHwasanMemaccessSymbols()
551 OutStreamer->emitAssemblerFlag(MCAF_SubsectionsViaSymbols); in emitEndOfAsmFile()
570 OutStreamer->emitLOHDirective(D.getKind(), MCArgs); in EmitLOHs()
797 OutStreamer->SwitchSection(ReadOnlySec); in emitJumpTableInfo()
809 OutStreamer->emitLabel(GetJTISymbol(JTI)); in emitJumpTableInfo()
827 OutStreamer->emitValue(Value, Size); in emitJumpTableInfo()
838 static_cast<AArch64TargetStreamer *>(OutStreamer->getTargetStreamer()); in emitFunctionEntryLabel()
854 void AArch64AsmPrinter::LowerJumpTableDest(llvm::MCStreamer &OutStreamer, in LowerJumpTableDest() argument
875 OutStreamer.emitLabel(Label); in LowerJumpTableDest()
879 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::ADR) in LowerJumpTableDest()
893 EmitToStreamer(OutStreamer, MCInstBuilder(LdrOpcode) in LowerJumpTableDest()
902 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::ADDXrs) in LowerJumpTableDest()
909 void AArch64AsmPrinter::LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM, in LowerSTACKMAP() argument
913 auto &Ctx = OutStreamer.getContext(); in LowerSTACKMAP()
915 OutStreamer.emitLabel(MILabel); in LowerSTACKMAP()
936 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0)); in LowerSTACKMAP()
941 void AArch64AsmPrinter::LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM, in LowerPATCHPOINT() argument
943 auto &Ctx = OutStreamer.getContext(); in LowerPATCHPOINT()
945 OutStreamer.emitLabel(MILabel); in LowerPATCHPOINT()
958 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::MOVZXi) in LowerPATCHPOINT()
962 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::MOVKXi) in LowerPATCHPOINT()
967 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::MOVKXi) in LowerPATCHPOINT()
972 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::BLR).addReg(ScratchReg)); in LowerPATCHPOINT()
981 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0)); in LowerPATCHPOINT()
984 void AArch64AsmPrinter::LowerSTATEPOINT(MCStreamer &OutStreamer, StackMaps &SM, in LowerSTATEPOINT() argument
990 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0)); in LowerSTATEPOINT()
1015 EmitToStreamer(OutStreamer, in LowerSTATEPOINT()
1019 auto &Ctx = OutStreamer.getContext(); in LowerSTATEPOINT()
1021 OutStreamer.emitLabel(MILabel); in LowerSTATEPOINT()
1036 auto &Ctx = OutStreamer->getContext(); in LowerFAULTING_OP()
1038 OutStreamer->emitLabel(FaultingLabel); in LowerFAULTING_OP()
1057 OutStreamer->AddComment("on-fault: " + HandlerLabel->getName()); in LowerFAULTING_OP()
1058 OutStreamer->emitInstruction(MI, getSubtargetInfo()); in LowerFAULTING_OP()
1077 EmitToStreamer(*OutStreamer, MOVI); in EmitFMov0()
1098 EmitToStreamer(*OutStreamer, FMov); in EmitFMov0()
1108 if (emitPseudoExpansionLowering(*OutStreamer, MI)) in emitInstruction()
1116 OutStreamer->emitLabel(LOHLabel); in emitInstruction()
1120 static_cast<AArch64TargetStreamer *>(OutStreamer->getTargetStreamer()); in emitInstruction()
1137 EmitToStreamer(*OutStreamer, Inst); in emitInstruction()
1139 OutStreamer->emitLabel(CurrentPatchableFunctionEntrySym); in emitInstruction()
1162 EmitToStreamer(*OutStreamer, MovZ); in emitInstruction()
1170 EmitToStreamer(*OutStreamer, MovK); in emitInstruction()
1182 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1188 if (isVerbose() && OutStreamer->hasRawTextSupport()) { in emitInstruction()
1192 OutStreamer->emitRawText(StringRef(OS.str())); in emitInstruction()
1205 OutStreamer->emitCFIBKeyFrame(); in emitInstruction()
1219 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1228 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()
1236 EmitToStreamer(*OutStreamer, TmpInstDSB); in emitInstruction()
1240 EmitToStreamer(*OutStreamer, TmpInstISB); in emitInstruction()
1247 EmitToStreamer(*OutStreamer, TmpInstSB); in emitInstruction()
1271 EmitToStreamer(*OutStreamer, Adrp); in emitInstruction()
1279 EmitToStreamer(*OutStreamer, Ldr); in emitInstruction()
1287 EmitToStreamer(*OutStreamer, Add); in emitInstruction()
1294 EmitToStreamer(*OutStreamer, TLSDescCall); in emitInstruction()
1299 EmitToStreamer(*OutStreamer, Blr); in emitInstruction()
1307 LowerJumpTableDest(*OutStreamer, *MI); in emitInstruction()
1317 return LowerSTACKMAP(*OutStreamer, SM, *MI); in emitInstruction()
1320 return LowerPATCHPOINT(*OutStreamer, SM, *MI); in emitInstruction()
1323 return LowerSTATEPOINT(*OutStreamer, SM, *MI); in emitInstruction()
1451 EmitToStreamer(*OutStreamer, TmpInst); in emitInstruction()