Lines Matching refs:Streamer
306 void TargetLoweringObjectFileELF::emitModuleMetadata(MCStreamer &Streamer, in emitModuleMetadata() argument
314 Streamer.switchSection(S); in emitModuleMetadata()
320 Streamer.emitBytes(cast<MDString>(Option)->getString()); in emitModuleMetadata()
321 Streamer.emitInt8(0); in emitModuleMetadata()
330 Streamer.switchSection(S); in emitModuleMetadata()
333 Streamer.emitBytes( in emitModuleMetadata()
335 Streamer.emitInt8(0); in emitModuleMetadata()
354 Streamer.switchSection(S); in emitModuleMetadata()
355 Streamer.emitInt64(GUID->getZExtValue()); in emitModuleMetadata()
356 Streamer.emitInt64(Hash->getZExtValue()); in emitModuleMetadata()
357 Streamer.emitULEB128IntValue(Name->getString().size()); in emitModuleMetadata()
358 Streamer.emitBytes(Name->getString()); in emitModuleMetadata()
366 Streamer.switchSection(S); in emitModuleMetadata()
374 Streamer.emitULEB128IntValue(Key->getString().size()); in emitModuleMetadata()
375 Streamer.emitBytes(Key->getString()); in emitModuleMetadata()
381 Streamer.emitULEB128IntValue(Value.size()); in emitModuleMetadata()
382 Streamer.emitBytes(Value); in emitModuleMetadata()
394 Streamer.switchSection(S); in emitModuleMetadata()
395 Streamer.emitLabel(C.getOrCreateSymbol(StringRef("OBJC_IMAGE_INFO"))); in emitModuleMetadata()
396 Streamer.emitInt32(Version); in emitModuleMetadata()
397 Streamer.emitInt32(Flags); in emitModuleMetadata()
398 Streamer.addBlankLine(); in emitModuleMetadata()
401 emitCGProfileMetadata(Streamer, M); in emitModuleMetadata()
417 MCStreamer &Streamer, const DataLayout &DL, const MCSymbol *Sym) const { in emitPersonalityValue() argument
422 Streamer.emitSymbolAttribute(Label, MCSA_Hidden); in emitPersonalityValue()
423 Streamer.emitSymbolAttribute(Label, MCSA_Weak); in emitPersonalityValue()
428 Streamer.switchSection(Sec); in emitPersonalityValue()
429 Streamer.emitValueToAlignment(DL.getPointerABIAlignment(0)); in emitPersonalityValue()
430 Streamer.emitSymbolAttribute(Label, MCSA_ELF_TypeObject); in emitPersonalityValue()
432 Streamer.emitELFSize(Label, E); in emitPersonalityValue()
433 Streamer.emitLabel(Label); in emitPersonalityValue()
435 Streamer.emitSymbolValue(Sym, Size); in emitPersonalityValue()
440 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference()
456 Encoding & ~DW_EH_PE_indirect, Streamer); in getTTypeGlobalReference()
460 MMI, Streamer); in getTTypeGlobalReference()
1228 void TargetLoweringObjectFileMachO::emitModuleMetadata(MCStreamer &Streamer, in emitModuleMetadata() argument
1236 Streamer.emitLinkerOptions(StrOptions); in emitModuleMetadata()
1245 emitCGProfileMetadata(Streamer, M); in emitModuleMetadata()
1264 Streamer.switchSection(S); in emitModuleMetadata()
1265 Streamer.emitLabel(getContext(). in emitModuleMetadata()
1267 Streamer.emitInt32(VersionVal); in emitModuleMetadata()
1268 Streamer.emitInt32(ImageInfoFlags); in emitModuleMetadata()
1269 Streamer.addBlankLine(); in emitModuleMetadata()
1436 MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getTTypeGlobalReference()
1455 Encoding & ~DW_EH_PE_indirect, Streamer); in getTTypeGlobalReference()
1459 MMI, Streamer); in getTTypeGlobalReference()
1484 int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const { in getIndirectSymViaGOTPCRel()
1841 void TargetLoweringObjectFileCOFF::emitModuleMetadata(MCStreamer &Streamer, in emitModuleMetadata() argument
1843 emitLinkerDirectives(Streamer, M); in emitModuleMetadata()
1856 Streamer.switchSection(S); in emitModuleMetadata()
1857 Streamer.emitLabel(C.getOrCreateSymbol(StringRef("OBJC_IMAGE_INFO"))); in emitModuleMetadata()
1858 Streamer.emitInt32(Version); in emitModuleMetadata()
1859 Streamer.emitInt32(Flags); in emitModuleMetadata()
1860 Streamer.addBlankLine(); in emitModuleMetadata()
1863 emitCGProfileMetadata(Streamer, M); in emitModuleMetadata()
1867 MCStreamer &Streamer, Module &M) const { in emitLinkerDirectives() argument
1873 Streamer.switchSection(Sec); in emitLinkerDirectives()
1879 Streamer.emitBytes(Directive); in emitLinkerDirectives()
1892 Streamer.switchSection(getDrectveSection()); in emitLinkerDirectives()
1893 Streamer.emitBytes(Flags); in emitLinkerDirectives()
1918 Streamer.switchSection(getDrectveSection()); in emitLinkerDirectives()
1919 Streamer.emitBytes(Flags); in emitLinkerDirectives()