Home
last modified time | relevance | path

Searched refs:OutStreamer (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm/lib/Target/R600/
DAMDGPUAsmPrinter.cpp96 OutStreamer.SwitchSection(TLOF.getTextSection()); in EmitEndOfAsmFile()
99 OutStreamer.EmitLabel(EndOfTextLabel); in EmitEndOfAsmFile()
112 OutStreamer.SwitchSection(ConfigSection); in runOnMachineFunction()
119 OutStreamer.EmitCodeAlignment(2 << (MF.getAlignment() - 1)); in runOnMachineFunction()
136 OutStreamer.SwitchSection(CommentSection); in runOnMachineFunction()
139 OutStreamer.emitRawComment(" Kernel info:", false); in runOnMachineFunction()
140 OutStreamer.emitRawComment(" codeLenInByte = " + Twine(KernelInfo.CodeLen), in runOnMachineFunction()
142 OutStreamer.emitRawComment(" NumSgprs: " + Twine(KernelInfo.NumSGPR), in runOnMachineFunction()
144 OutStreamer.emitRawComment(" NumVgprs: " + Twine(KernelInfo.NumVGPR), in runOnMachineFunction()
146 OutStreamer.emitRawComment(" FloatMode: " + Twine(KernelInfo.FloatMode), in runOnMachineFunction()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterDwarf.cpp45 OutStreamer.AddComment(Desc); in EmitSLEB128()
47 OutStreamer.EmitSLEB128IntValue(Value); in EmitSLEB128()
54 OutStreamer.AddComment(Desc); in EmitULEB128()
56 OutStreamer.EmitULEB128IntValue(Value, PadTo); in EmitULEB128()
63 OutStreamer.AddComment("DW_CFA_offset + Reg (" + in EmitCFAByte()
66 OutStreamer.AddComment(dwarf::CallFrameString(Val)); in EmitCFAByte()
68 OutStreamer.EmitIntValue(Val, 1); in EmitCFAByte()
119 OutStreamer.AddComment(Twine(Desc) + " Encoding = " + in EmitEncodingByte()
122 OutStreamer.AddComment(Twine("Encoding = ") + DecodeDWARFEncoding(Val)); in EmitEncodingByte()
125 OutStreamer.EmitIntValue(Val, 1); in EmitEncodingByte()
[all …]
DAsmPrinter.cpp105 OutContext(Streamer->getContext()), OutStreamer(*Streamer.release()), in AsmPrinter()
115 VerboseAsm = OutStreamer.isVerboseAsm(); in AsmPrinter()
128 delete &OutStreamer; in ~AsmPrinter()
161 return OutStreamer.getCurrentSection().first; in getCurrentSection()
183 OutStreamer.InitSections(false); in doInitialization()
201 OutStreamer.EmitVersionMin((TT.isMacOSX() ? in doInitialization()
213 OutStreamer.EmitFileDirective(M.getModuleIdentifier()); in doInitialization()
228 OutStreamer.AddComment("Start of file scope inline assembly"); in doInitialization()
229 OutStreamer.AddBlankLine(); in doInitialization()
231 OutStreamer.AddComment("End of file scope inline assembly"); in doInitialization()
[all …]
DWinCodeViewLineTables.cpp98 Asm->OutStreamer.EmitLabel(MCL); in maybeRecordLocation()
123 Asm->OutStreamer.SwitchSection( in endModule()
138 Asm->OutStreamer.AddComment("File index to string table offset subsection"); in endModule()
151 Asm->OutStreamer.AddComment("String table"); in endModule()
159 Asm->OutStreamer.EmitBytes(FileNameRegistry.Filenames[I]); in endModule()
164 Asm->OutStreamer.EmitFill((-FileNameRegistry.LastOffset) % 4, 0); in endModule()
206 Asm->OutStreamer.AddComment("Symbol subsection for " + Twine(FuncName)); in emitDebugInfoForFunction()
208 EmitLabelDiff(Asm->OutStreamer, SymbolsBegin, SymbolsEnd); in emitDebugInfoForFunction()
209 Asm->OutStreamer.EmitLabel(SymbolsBegin); in emitDebugInfoForFunction()
213 EmitLabelDiff(Asm->OutStreamer, ProcSegmentBegin, ProcSegmentEnd, 2); in emitDebugInfoForFunction()
[all …]
DARMException.cpp44 MCTargetStreamer &TS = *Asm->OutStreamer.getTargetStreamer(); in getTargetStreamer()
52 Asm->OutStreamer.EmitCFISections(false, true); in endModule()
64 Asm->OutStreamer.EmitCFIStartProc(false); in beginFunction()
80 Asm->OutStreamer.EmitSymbolAttribute(PerSym, MCSA_Global); in endFunction()
100 bool VerboseAsm = Asm->OutStreamer.isVerboseAsm(); in emitTypeInfos()
105 Asm->OutStreamer.AddComment(">> Catch TypeInfos <<"); in emitTypeInfos()
106 Asm->OutStreamer.AddBlankLine(); in emitTypeInfos()
114 Asm->OutStreamer.AddComment("TypeInfo " + Twine(Entry--)); in emitTypeInfos()
120 Asm->OutStreamer.AddComment(">> Filter TypeInfos <<"); in emitTypeInfos()
121 Asm->OutStreamer.AddBlankLine(); in emitTypeInfos()
[all …]
DEHStreamer.cpp437 Asm->OutStreamer.SwitchSection(LSDASection); in emitExceptionTable()
444 Asm->OutStreamer.EmitLabel(GCCETSym); in emitExceptionTable()
445 Asm->OutStreamer.EmitLabel(Asm->getCurExceptionSym()); in emitExceptionTable()
489 bool VerboseAsm = Asm->OutStreamer.isVerboseAsm(); in emitExceptionTable()
507 Asm->OutStreamer.AddComment(">> Call Site " + Twine(idx) + " <<"); in emitExceptionTable()
508 Asm->OutStreamer.AddComment(" On exception at call site "+Twine(idx)); in emitExceptionTable()
517 Asm->OutStreamer.AddComment(" Action: cleanup"); in emitExceptionTable()
519 Asm->OutStreamer.AddComment(" Action: " + in emitExceptionTable()
569 Asm->OutStreamer.AddComment(">> Call Site " + Twine(++Entry) + " <<"); in emitExceptionTable()
572 Asm->OutStreamer.AddComment(Twine(" Call between ") + in emitExceptionTable()
[all …]
DOcamlGCPrinter.cpp65 AP.OutStreamer.EmitSymbolAttribute(Sym, MCSA_Global); in EmitCamlGlobal()
66 AP.OutStreamer.EmitLabel(Sym); in EmitCamlGlobal()
71 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getTextSection()); in beginAssembly()
74 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getDataSection()); in beginAssembly()
98 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getTextSection()); in finishAssembly()
101 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getDataSection()); in finishAssembly()
105 AP.OutStreamer.EmitIntValue(0, IntPtrSize); in finishAssembly()
107 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getDataSection()); in finishAssembly()
149 AP.OutStreamer.AddComment("live roots for " + in finishAssembly()
151 AP.OutStreamer.AddBlankLine(); in finishAssembly()
[all …]
DDwarfAccelTable.cpp114 Asm->OutStreamer.AddComment("Header Magic"); in EmitHeader()
116 Asm->OutStreamer.AddComment("Header Version"); in EmitHeader()
118 Asm->OutStreamer.AddComment("Header Hash Function"); in EmitHeader()
120 Asm->OutStreamer.AddComment("Header Bucket Count"); in EmitHeader()
122 Asm->OutStreamer.AddComment("Header Hash Count"); in EmitHeader()
124 Asm->OutStreamer.AddComment("Header Data Length"); in EmitHeader()
126 Asm->OutStreamer.AddComment("HeaderData Die Offset Base"); in EmitHeader()
128 Asm->OutStreamer.AddComment("HeaderData Atom Count"); in EmitHeader()
132 Asm->OutStreamer.AddComment(dwarf::AtomTypeString(A.type)); in EmitHeader()
134 Asm->OutStreamer.AddComment(dwarf::FormEncodingString(A.form)); in EmitHeader()
[all …]
DDwarfDebug.cpp236 Asm->OutStreamer.getContext().setDwarfVersion(DwarfVersion); in DwarfDebug()
381 if (!Asm->OutStreamer.hasRawTextSupport() || SingleCU) in constructDwarfCompileUnit()
382 Asm->OutStreamer.getContext().setMCLineTableCompilationDir( in constructDwarfCompileUnit()
973 Asm->OutStreamer.getContext().getCurrentDwarfLoc().getLine()) in beginInstruction()
999 Asm->OutStreamer.EmitLabel(PrevLabel); in beginInstruction()
1027 Asm->OutStreamer.EmitLabel(PrevLabel); in endInstruction()
1111 if (Asm->OutStreamer.hasRawTextSupport()) in beginFunction()
1113 Asm->OutStreamer.getContext().setDwarfCompileUnitID(0); in beginFunction()
1115 Asm->OutStreamer.getContext().setDwarfCompileUnitID(TheCU->getUniqueID()); in beginFunction()
1184 Asm->OutStreamer.getContext().setDwarfCompileUnitID(0); in endFunction()
[all …]
DDwarfCFIException.cpp47 Asm->OutStreamer.EmitCFIEndProc(); in markFunctionEnd()
67 Asm->OutStreamer.EmitCFISections(false, true); in endModule()
86 TLOF.emitPersonalityValue(Asm->OutStreamer, Asm->TM, Sym); in endModule()
120 Asm->OutStreamer.EmitCFIStartProc(/*IsSimple=*/false); in beginFunction()
128 Asm->OutStreamer.EmitCFIPersonality(Sym, PerEncoding); in beginFunction()
134 Asm->OutStreamer.EmitCFILsda(Asm->getCurExceptionSym(), LSDAEncoding); in beginFunction()
DWin64Exception.cpp86 Asm->OutStreamer.EmitAssignment( in beginFunction()
95 Asm->OutStreamer.EmitWinCFIStartProc(Asm->CurrentFnSym); in beginFunction()
102 Asm->OutStreamer.EmitWinEHHandler(PersHandlerSym, true, true); in beginFunction()
120 Asm->OutStreamer.PushSection(); in endFunction()
123 Asm->OutStreamer.EmitWinEHHandlerData(); in endFunction()
134 Asm->OutStreamer.PopSection(); in endFunction()
136 Asm->OutStreamer.EmitWinCFIEndProc(); in endFunction()
216 Asm->OutStreamer.EmitIntValue(NumEntries, 4); in emitCSpecificHandlerTable()
261 Asm->OutStreamer.EmitValue(Begin, 4); in emitCSpecificHandlerTable()
262 Asm->OutStreamer.EmitValue(End, 4); in emitCSpecificHandlerTable()
[all …]
DDwarfStringPool.cpp41 Asm.OutStreamer.SwitchSection(StrSection); in emit()
53 Asm.OutStreamer.EmitLabel(Entry->getValue().first); in emit()
56 Asm.OutStreamer.EmitBytes( in emit()
62 Asm.OutStreamer.SwitchSection(OffsetSection); in emit()
66 Asm.OutStreamer.EmitIntValue(offset, size); in emit()
DAsmPrinterInlineAsm.cpp94 !OutStreamer.isIntegratedAssemblerRequired()) { in EmitInlineAsm()
96 OutStreamer.EmitRawText(Str); in EmitInlineAsm()
127 createMCAsmParser(SrcMgr, OutContext, OutStreamer, *MAI)); in EmitInlineAsm()
451 OutStreamer.emitRawComment(MAI->getInlineAsmStart()); in EmitInlineAsm()
452 OutStreamer.emitRawComment(MAI->getInlineAsmEnd()); in EmitInlineAsm()
458 OutStreamer.emitRawComment(MAI->getInlineAsmStart()); in EmitInlineAsm()
495 OutStreamer.emitRawComment(MAI->getInlineAsmEnd()); in EmitInlineAsm()
DByteStreamer.h43 AP.OutStreamer.AddComment(Comment); in EmitInt8()
47 AP.OutStreamer.AddComment(Comment); in EmitSLEB128()
51 AP.OutStreamer.AddComment(Comment); in EmitULEB128()
DAddressPool.cpp32 Asm.OutStreamer.SwitchSection(AddrSection); in emit()
44 Asm.OutStreamer.EmitValue(Entry, Asm.getDataLayout().getPointerSize()); in emit()
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp97 void LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM,
99 void LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM,
333 void PPCAsmPrinter::LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM, in LowerSTACKMAP() argument
356 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::NOP)); in LowerSTACKMAP()
361 void PPCAsmPrinter::LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM, in LowerPATCHPOINT() argument
374 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::LI8) in LowerPATCHPOINT()
377 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::RLDIC) in LowerPATCHPOINT()
381 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::ORIS8) in LowerPATCHPOINT()
385 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::ORI8) in LowerPATCHPOINT()
390 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::MTCTR8).addReg(ScratchReg)); in LowerPATCHPOINT()
[all …]
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp72 OutStreamer.EmitDataRegion(MCDR_DataRegionEnd); in EmitFunctionBodyEnd()
77 OutStreamer.EmitAssemblerFlag(MCAF_Code16); in EmitFunctionEntryLabel()
78 OutStreamer.EmitThumbFunc(CurrentFnSym); in EmitFunctionEntryLabel()
81 OutStreamer.EmitLabel(CurrentFnSym); in EmitFunctionEntryLabel()
98 OutStreamer.EmitValue(E, Size); in EmitXXStructor()
117 OutStreamer.BeginCOFFSymbolDef(CurrentFnSym); in runOnMachineFunction()
118 OutStreamer.EmitCOFFSymbolStorageClass(Scl); in runOnMachineFunction()
119 OutStreamer.EmitCOFFSymbolType(Type); in runOnMachineFunction()
120 OutStreamer.EndCOFFSymbolDef(); in runOnMachineFunction()
130 OutStreamer.EmitAssemblerFlag(MCAF_Code16); in runOnMachineFunction()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp43 *OutStreamer.getTargetStreamer()); in getTargetStreamer()
110 static void EmitCall(MCStreamer &OutStreamer, in EmitCall() argument
117 OutStreamer.EmitInstruction(CallInst, STI); in EmitCall()
120 static void EmitSETHI(MCStreamer &OutStreamer, in EmitSETHI() argument
128 OutStreamer.EmitInstruction(SETHIInst, STI); in EmitSETHI()
131 static void EmitBinary(MCStreamer &OutStreamer, unsigned Opcode, in EmitBinary() argument
140 OutStreamer.EmitInstruction(Inst, STI); in EmitBinary()
143 static void EmitOR(MCStreamer &OutStreamer, in EmitOR() argument
146 EmitBinary(OutStreamer, SP::ORri, RS1, Imm, RD, STI); in EmitOR()
149 static void EmitADD(MCStreamer &OutStreamer, in EmitADD() argument
[all …]
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp58 OutStreamer.BeginCOFFSymbolDef(CurrentFnSym); in runOnMachineFunction()
59 OutStreamer.EmitCOFFSymbolStorageClass(Intrn ? COFF::IMAGE_SYM_CLASS_STATIC in runOnMachineFunction()
61 OutStreamer.EmitCOFFSymbolType(COFF::IMAGE_SYM_DTYPE_FUNCTION in runOnMachineFunction()
63 OutStreamer.EndCOFFSymbolDef(); in runOnMachineFunction()
510 OutStreamer.SwitchSection(getObjFileLowering().getTextSection()); in EmitStartOfAsmFile()
517 OutStreamer.BeginCOFFSymbolDef(S); in EmitStartOfAsmFile()
518 OutStreamer.EmitCOFFSymbolStorageClass(COFF::IMAGE_SYM_CLASS_STATIC); in EmitStartOfAsmFile()
519 OutStreamer.EmitCOFFSymbolType(COFF::IMAGE_SYM_DTYPE_NULL); in EmitStartOfAsmFile()
520 OutStreamer.EndCOFFSymbolDef(); in EmitStartOfAsmFile()
526 OutStreamer.EmitSymbolAttribute(S, MCSA_Global); in EmitStartOfAsmFile()
[all …]
DX86MCInstLower.cpp99 MCStreamer &OutStreamer, const MCSubtargetInfo &STI) { in emitShadowPadding() argument
102 EmitNops(OutStreamer, RequiredShadowSize - CurrentShadowSize, in emitShadowPadding()
108 OutStreamer.EmitInstruction(Inst, getSubtargetInfo()); in EmitAndCountInstruction()
274 AsmPrinter.OutStreamer.EmitAssignment(Label, Expr); in LowerSymbolOperand()
686 MCContext &context = OutStreamer.getContext(); in LowerTlsAddr()
862 SMShadowTracker.emitShadowPadding(OutStreamer, getSubtargetInfo()); in LowerSTACKMAP()
873 SMShadowTracker.emitShadowPadding(OutStreamer, getSubtargetInfo()); in LowerPATCHPOINT()
898 EmitNops(OutStreamer, NumBytes - EncodedBytes, Subtarget->is64Bit(), in LowerPATCHPOINT()
1000 OutStreamer.emitRawComment("MEMBARRIER"); in EmitInstruction()
1008 OutStreamer.AddComment(StringRef("eh_return, addr: %") + in EmitInstruction()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp68 void LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM,
70 void LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM,
74 bool emitPseudoExpansionLowering(MCStreamer &OutStreamer,
131 OutStreamer.EmitAssemblerFlag(MCAF_SubsectionsViaSymbols); in EmitEndOfAsmFile()
159 OutStreamer.EmitLOHDirective(D.getKind(), MCArgs); in EmitLOHs()
365 void AArch64AsmPrinter::LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM, in LowerSTACKMAP() argument
388 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0)); in LowerSTACKMAP()
393 void AArch64AsmPrinter::LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM, in LowerPATCHPOINT() argument
407 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::MOVZWi) in LowerPATCHPOINT()
411 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::MOVKWi) in LowerPATCHPOINT()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp89 return static_cast<XCoreTargetStreamer&>(*OutStreamer.getTargetStreamer()); in getTargetStreamer()
101 OutStreamer.EmitSymbolAttribute(SymGlob, MCSA_Global); in emitArrayBound()
102 OutStreamer.EmitAssignment(SymGlob, in emitArrayBound()
107 OutStreamer.EmitSymbolAttribute(SymGlob, MCSA_Weak); in emitArrayBound()
119 OutStreamer.SwitchSection( in EmitGlobalVariable()
139 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Global); in EmitGlobalVariable()
143 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitGlobalVariable()
159 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_ELF_TypeObject); in EmitGlobalVariable()
160 OutStreamer.EmitELFSize(GVSym, MCConstantExpr::Create(Size, OutContext)); in EmitGlobalVariable()
162 OutStreamer.EmitLabel(GVSym); in EmitGlobalVariable()
[all …]
/external/llvm/lib/Target/Mips/
DMipsAsmPrinter.cpp58 return static_cast<MipsTargetStreamer &>(*OutStreamer.getTargetStreamer()); in getTargetStreamer()
99 void MipsAsmPrinter::emitPseudoIndirectBranch(MCStreamer &OutStreamer, in emitPseudoIndirectBranch() argument
130 EmitToStreamer(OutStreamer, TmpInst0); in emitPseudoIndirectBranch()
147 OutStreamer.EmitDataRegion(MCDR_DataRegionEnd); in EmitInstruction()
163 OutStreamer.EmitDataRegion(MCDR_DataRegion); in EmitInstruction()
167 OutStreamer.EmitLabel(GetCPISymbol(LabelId)); in EmitInstruction()
183 if (emitPseudoExpansionLowering(OutStreamer, &*I)) in EmitInstruction()
190 emitPseudoIndirectBranch(OutStreamer, &*I); in EmitInstruction()
207 EmitToStreamer(OutStreamer, TmpInst0); in EmitInstruction()
341 OutStreamer.EmitLabel(CurrentFnSym); in EmitFunctionEntryLabel()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUAsmPrinter.cpp49 OutStreamer.SwitchSection(getObjFileLowering().getTextSection()); in runOnMachineFunction()
125 OutStreamer.EmitIntValue(MaxSGPR + 1, 4); in EmitProgramInfo()
126 OutStreamer.EmitIntValue(MaxVGPR + 1, 4); in EmitProgramInfo()
127 OutStreamer.EmitIntValue(MFI->spi_ps_input_addr, 4); in EmitProgramInfo()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp154 OutStreamer.EmitRawText(temp.str()); in emitLineNumberAsDotLoc()
165 EmitToStreamer(OutStreamer, Inst); in EmitInstruction()
447 OutStreamer.EmitRawText(StringRef("\t.pragma \"nounroll\";\n")); in EmitBasicBlockStart()
477 OutStreamer.EmitRawText(O.str()); in EmitFunctionEntryLabel()
484 OutStreamer.EmitRawText(StringRef("{\n")); in EmitFunctionBodyStart()
490 OutStreamer.EmitRawText(O.str()); in EmitFunctionBodyStart()
494 OutStreamer.EmitRawText(StringRef("}\n")); in EmitFunctionBodyEnd()
501 OutStreamer.AddComment(Twine("implicit-def: ") + in emitImplicitDef()
504 OutStreamer.AddComment(Twine("implicit-def: ") + in emitImplicitDef()
507 OutStreamer.AddBlankLine(); in emitImplicitDef()
[all …]

12