Lines Matching refs:Asm
17 DwarfStringPool::DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, in DwarfStringPool() argument
20 ShouldCreateSymbols(Asm.MAI->doesDwarfUseRelocationsAcrossSections()) {} in DwarfStringPool()
22 DwarfStringPool::EntryRef DwarfStringPool::getEntry(AsmPrinter &Asm, in getEntry() argument
29 Entry.Symbol = ShouldCreateSymbols ? Asm.createTempSymbol(Prefix) : nullptr; in getEntry()
37 void DwarfStringPool::emit(AsmPrinter &Asm, MCSection *StrSection, in emit() argument
43 Asm.OutStreamer->SwitchSection(StrSection); in emit()
58 Asm.OutStreamer->EmitLabel(Entry->getValue().Symbol); in emit()
61 Asm.OutStreamer->AddComment("string offset=" + in emit()
63 Asm.OutStreamer->EmitBytes( in emit()
69 Asm.OutStreamer->SwitchSection(OffsetSection); in emit()
72 Asm.OutStreamer->EmitIntValue(Entry->getValue().Offset, size); in emit()