/external/llvm/lib/Target/PowerPC/ |
D | PPCAsmPrinter.cpp | 324 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::BL) in EmitInstruction() 330 OutStreamer.EmitLabel(PICBase); in EmitInstruction() 360 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction() 403 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction() 440 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction() 474 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction() 487 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::ADDIS8) in EmitInstruction() 507 EmitToStreamer(OutStreamer, TmpInst); in EmitInstruction() 519 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::LI) in EmitInstruction() 522 EmitToStreamer(OutStreamer, MCInstBuilder(PPC::ADDIS) in EmitInstruction() [all …]
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUAsmPrinter.cpp | 75 OutStreamer.emitRawComment(Twine('@') + MF.getName() + Twine(':')); in runOnMachineFunction() 81 OutStreamer.SwitchSection(ConfigSection); in runOnMachineFunction() 96 OutStreamer.SwitchSection(getObjFileLowering().getTextSection()); in runOnMachineFunction() 104 OutStreamer.SwitchSection(CommentSection); in runOnMachineFunction() 107 OutStreamer.emitRawComment(" Kernel info:", false); in runOnMachineFunction() 108 OutStreamer.emitRawComment(" codeLenInByte = " + Twine(KernelInfo.CodeLen), in runOnMachineFunction() 110 OutStreamer.emitRawComment(" NumSgprs: " + Twine(KernelInfo.NumSGPR), in runOnMachineFunction() 112 OutStreamer.emitRawComment(" NumVgprs: " + Twine(KernelInfo.NumVGPR), in runOnMachineFunction() 114 OutStreamer.emitRawComment(" FloatMode: " + Twine(KernelInfo.FloatMode), in runOnMachineFunction() 116 OutStreamer.emitRawComment(" IeeeMode: " + Twine(KernelInfo.IEEEMode), in runOnMachineFunction() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 104 OutStreamer(Streamer), in AsmPrinter() 122 delete &OutStreamer; in ~AsmPrinter() 154 return OutStreamer.getCurrentSection().first; in getCurrentSection() 176 OutStreamer.InitSections(); in doInitialization() 194 OutStreamer.EmitVersionMin((TT.isMacOSX() ? in doInitialization() 206 OutStreamer.EmitFileDirective(M.getModuleIdentifier()); in doInitialization() 217 OutStreamer.AddComment("Start of file scope inline assembly"); in doInitialization() 218 OutStreamer.AddBlankLine(); in doInitialization() 220 OutStreamer.AddComment("End of file scope inline assembly"); in doInitialization() 221 OutStreamer.AddBlankLine(); in doInitialization() [all …]
|
D | ARMException.cpp | 45 MCTargetStreamer &TS = *Asm->OutStreamer.getTargetStreamer(); in getTargetStreamer() 53 Asm->OutStreamer.EmitCFISections(false, true); in endModule() 61 Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_begin", in beginFunction() 69 Asm->OutStreamer.EmitCFIStartProc(false); in beginFunction() 77 Asm->OutStreamer.EmitCFIEndProc(); in endFunction() 87 Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end", in endFunction() 94 Asm->OutStreamer.EmitSymbolAttribute(PerSym, MCSA_Global); in endFunction() 114 bool VerboseAsm = Asm->OutStreamer.isVerboseAsm(); in emitTypeInfos() 119 Asm->OutStreamer.AddComment(">> Catch TypeInfos <<"); in emitTypeInfos() 120 Asm->OutStreamer.AddBlankLine(); in emitTypeInfos() [all …]
|
D | AsmPrinterDwarf.cpp | 41 OutStreamer.AddComment(Desc); in EmitSLEB128() 43 OutStreamer.EmitSLEB128IntValue(Value); in EmitSLEB128() 50 OutStreamer.AddComment(Desc); in EmitULEB128() 52 OutStreamer.EmitULEB128IntValue(Value, PadTo); in EmitULEB128() 59 OutStreamer.AddComment("DW_CFA_offset + Reg (" + in EmitCFAByte() 62 OutStreamer.AddComment(dwarf::CallFrameString(Val)); in EmitCFAByte() 64 OutStreamer.EmitIntValue(Val, 1); in EmitCFAByte() 115 OutStreamer.AddComment(Twine(Desc) + " Encoding = " + in EmitEncodingByte() 118 OutStreamer.AddComment(Twine("Encoding = ") + DecodeDWARFEncoding(Val)); in EmitEncodingByte() 121 OutStreamer.EmitIntValue(Val, 1); in EmitEncodingByte() [all …]
|
D | Win64Exception.cpp | 75 Asm->OutStreamer.EmitWinCFIStartProc(Asm->CurrentFnSym); in beginFunction() 82 Asm->OutStreamer.EmitWinEHHandler(PersHandlerSym, true, true); in beginFunction() 84 Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_begin", in beginFunction() 94 Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end", in endFunction() 101 Asm->OutStreamer.PushSection(); in endFunction() 102 Asm->OutStreamer.EmitWinEHHandlerData(); in endFunction() 104 Asm->OutStreamer.PopSection(); in endFunction() 106 Asm->OutStreamer.EmitWinCFIEndProc(); in endFunction()
|
D | DwarfCFIException.cpp | 52 Asm->OutStreamer.EmitCFISections(false, true); in endModule() 70 TLOF.emitPersonalityValue(Asm->OutStreamer, Asm->TM, Sym); in endModule() 105 Asm->OutStreamer.EmitCFIStartProc(/*IsSimple=*/false); in beginFunction() 113 Asm->OutStreamer.EmitCFIPersonality(Sym, PerEncoding); in beginFunction() 120 Asm->OutStreamer.EmitLabel(CurPos); in beginFunction() 121 Asm->OutStreamer.EmitAssignment(EHBegin, in beginFunction() 124 Asm->OutStreamer.EmitLabel(EHBegin); in beginFunction() 131 Asm->OutStreamer.EmitCFILsda(Asm->GetTempSymbol("exception", in beginFunction() 142 Asm->OutStreamer.EmitCFIEndProc(); in endFunction() 147 Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end", in endFunction()
|
D | EHStreamer.cpp | 429 Asm->OutStreamer.SwitchSection(LSDASection); in emitExceptionTable() 436 Asm->OutStreamer.EmitLabel(GCCETSym); in emitExceptionTable() 437 Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("exception", in emitExceptionTable() 441 Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("_LSDA_", in emitExceptionTable() 486 bool VerboseAsm = Asm->OutStreamer.isVerboseAsm(); in emitExceptionTable() 504 Asm->OutStreamer.AddComment(">> Call Site " + Twine(idx) + " <<"); in emitExceptionTable() 505 Asm->OutStreamer.AddComment(" On exception at call site "+Twine(idx)); in emitExceptionTable() 514 Asm->OutStreamer.AddComment(" Action: cleanup"); in emitExceptionTable() 516 Asm->OutStreamer.AddComment(" Action: " + in emitExceptionTable() 569 Asm->OutStreamer.AddComment(">> Call Site " + Twine(++Entry) + " <<"); in emitExceptionTable() [all …]
|
D | WinCodeViewLineTables.cpp | 99 Asm->OutStreamer.EmitLabel(MCL); in maybeRecordLocation() 158 Asm->OutStreamer.AddComment( in emitDebugInfoForFunction() 163 EmitLabelDiff(Asm->OutStreamer, SubsectionBegin, SubsectionEnd); in emitDebugInfoForFunction() 164 Asm->OutStreamer.EmitLabel(SubsectionBegin); in emitDebugInfoForFunction() 167 Asm->OutStreamer.EmitCOFFSecRel32(Fn); in emitDebugInfoForFunction() 168 Asm->OutStreamer.EmitCOFFSectionIndex(Fn); in emitDebugInfoForFunction() 171 EmitLabelDiff(Asm->OutStreamer, Fn, FI.End); in emitDebugInfoForFunction() 182 Asm->OutStreamer.EmitLabel(FileSegmentEnd); in emitDebugInfoForFunction() 189 Asm->OutStreamer.AddComment( in emitDebugInfoForFunction() 192 Asm->OutStreamer.EmitLabel(FileSegmentBegin); in emitDebugInfoForFunction() [all …]
|
D | OcamlGCPrinter.cpp | 65 AP.OutStreamer.EmitSymbolAttribute(Sym, MCSA_Global); in EmitCamlGlobal() 66 AP.OutStreamer.EmitLabel(Sym); in EmitCamlGlobal() 70 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getTextSection()); in beginAssembly() 73 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getDataSection()); in beginAssembly() 96 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getTextSection()); in finishAssembly() 99 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getDataSection()); in finishAssembly() 103 AP.OutStreamer.EmitIntValue(0, IntPtrSize); in finishAssembly() 105 AP.OutStreamer.SwitchSection(AP.getObjFileLowering().getDataSection()); in finishAssembly() 135 AP.OutStreamer.AddComment("live roots for " + in finishAssembly() 137 AP.OutStreamer.AddBlankLine(); in finishAssembly() [all …]
|
D | DwarfAccelTable.cpp | 103 Asm->OutStreamer.AddComment("Header Magic"); in EmitHeader() 105 Asm->OutStreamer.AddComment("Header Version"); in EmitHeader() 107 Asm->OutStreamer.AddComment("Header Hash Function"); in EmitHeader() 109 Asm->OutStreamer.AddComment("Header Bucket Count"); in EmitHeader() 111 Asm->OutStreamer.AddComment("Header Hash Count"); in EmitHeader() 113 Asm->OutStreamer.AddComment("Header Data Length"); in EmitHeader() 115 Asm->OutStreamer.AddComment("HeaderData Die Offset Base"); in EmitHeader() 117 Asm->OutStreamer.AddComment("HeaderData Atom Count"); in EmitHeader() 121 Asm->OutStreamer.AddComment(dwarf::AtomTypeString(A.type)); in EmitHeader() 123 Asm->OutStreamer.AddComment(dwarf::FormEncodingString(A.form)); in EmitHeader() [all …]
|
D | DwarfDebug.cpp | 212 Asm->OutStreamer.getContext().setDwarfVersion(DwarfVersion); in DwarfDebug() 227 Asm->OutStreamer.SwitchSection(Section); in emitSectionSym() 232 Asm->OutStreamer.EmitLabel(TmpSym); in emitSectionSym() 637 if (!Asm->OutStreamer.hasRawTextSupport() || SingleCU) in constructDwarfCompileUnit() 638 Asm->OutStreamer.getContext().setMCLineTableCompilationDir( in constructDwarfCompileUnit() 999 Asm->OutStreamer.SwitchSection(Section); in endSections() 1000 Asm->OutStreamer.EmitLabel(Sym); in endSections() 1341 Asm->OutStreamer.EmitLabel(PrevLabel); in beginInstruction() 1369 Asm->OutStreamer.EmitLabel(PrevLabel); in endInstruction() 1449 if (Asm->OutStreamer.hasRawTextSupport()) in beginFunction() [all …]
|
D | DwarfStringPool.cpp | 45 Asm.OutStreamer.SwitchSection(StrSection); in emit() 57 Asm.OutStreamer.EmitLabel(Entry->getValue().first); in emit() 60 Asm.OutStreamer.EmitBytes( in emit() 66 Asm.OutStreamer.SwitchSection(OffsetSection); in emit() 70 Asm.OutStreamer.EmitIntValue(offset, size); in emit()
|
D | DwarfFile.cpp | 55 Asm->OutStreamer.SwitchSection(USection); in emitUnits() 58 Asm->OutStreamer.EmitLabel(TheU->getLabelBegin()); in emitUnits() 61 Asm->OutStreamer.AddComment("Length of Unit"); in emitUnits() 67 Asm->OutStreamer.EmitLabel(TheU->getLabelEnd()); in emitUnits() 134 Asm->OutStreamer.SwitchSection(Section); in emitAbbrevs()
|
D | ByteStreamer.h | 41 AP.OutStreamer.AddComment(Comment); in EmitInt8() 45 AP.OutStreamer.AddComment(Comment); in EmitSLEB128() 49 AP.OutStreamer.AddComment(Comment); in EmitULEB128()
|
D | AsmPrinterInlineAsm.cpp | 91 !OutStreamer.isIntegratedAssemblerRequired()) { in EmitInlineAsm() 92 OutStreamer.EmitRawText(Str); in EmitInlineAsm() 123 createMCAsmParser(SrcMgr, OutContext, OutStreamer, *MAI)); in EmitInlineAsm() 448 OutStreamer.emitRawComment(MAI->getInlineAsmStart()); in EmitInlineAsm() 449 OutStreamer.emitRawComment(MAI->getInlineAsmEnd()); in EmitInlineAsm() 455 OutStreamer.emitRawComment(MAI->getInlineAsmStart()); in EmitInlineAsm() 491 OutStreamer.emitRawComment(MAI->getInlineAsmEnd()); in EmitInlineAsm()
|
/external/llvm/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 66 OutStreamer.EmitDataRegion(MCDR_DataRegionEnd); in EmitFunctionBodyEnd() 71 OutStreamer.EmitAssemblerFlag(MCAF_Code16); in EmitFunctionEntryLabel() 72 OutStreamer.EmitThumbFunc(CurrentFnSym); in EmitFunctionEntryLabel() 75 OutStreamer.EmitLabel(CurrentFnSym); in EmitFunctionEntryLabel() 92 OutStreamer.EmitValue(E, Size); in EmitXXStructor() 110 OutStreamer.BeginCOFFSymbolDef(CurrentFnSym); in runOnMachineFunction() 111 OutStreamer.EmitCOFFSymbolStorageClass(Scl); in runOnMachineFunction() 112 OutStreamer.EmitCOFFSymbolType(Type); in runOnMachineFunction() 113 OutStreamer.EndCOFFSymbolDef(); in runOnMachineFunction() 411 OutStreamer.EmitAssemblerFlag(WasThumb ? MCAF_Code16 : MCAF_Code32); in emitInlineAsmEnd() [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcAsmPrinter.cpp | 43 *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/AArch64/ |
D | AArch64AsmPrinter.cpp | 70 void LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM, 72 void LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM, 76 bool emitPseudoExpansionLowering(MCStreamer &OutStreamer, 133 OutStreamer.EmitAssemblerFlag(MCAF_SubsectionsViaSymbols); in EmitEndOfAsmFile() 147 OutStreamer.SwitchSection(TLOFELF.getDataRelSection()); in EmitEndOfAsmFile() 151 OutStreamer.EmitLabel(Stubs[i].first); in EmitEndOfAsmFile() 152 OutStreamer.EmitSymbolValue(Stubs[i].second.getPointer(), in EmitEndOfAsmFile() 184 OutStreamer.EmitLOHDirective(D.getKind(), MCArgs); in EmitLOHs() 379 void AArch64AsmPrinter::LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM, in LowerSTACKMAP() argument 387 EmitToStreamer(OutStreamer, MCInstBuilder(AArch64::HINT).addImm(0)); in LowerSTACKMAP() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86AsmPrinter.cpp | 52 OutStreamer.BeginCOFFSymbolDef(CurrentFnSym); in runOnMachineFunction() 53 OutStreamer.EmitCOFFSymbolStorageClass(Intrn ? COFF::IMAGE_SYM_CLASS_STATIC in runOnMachineFunction() 55 OutStreamer.EmitCOFFSymbolType(COFF::IMAGE_SYM_DTYPE_FUNCTION in runOnMachineFunction() 57 OutStreamer.EndCOFFSymbolDef(); in runOnMachineFunction() 505 OutStreamer.SwitchSection(getObjFileLowering().getTextSection()); in EmitStartOfAsmFile() 512 OutStreamer.BeginCOFFSymbolDef(S); in EmitStartOfAsmFile() 513 OutStreamer.EmitCOFFSymbolStorageClass(COFF::IMAGE_SYM_CLASS_STATIC); in EmitStartOfAsmFile() 514 OutStreamer.EmitCOFFSymbolType(COFF::IMAGE_SYM_DTYPE_NULL); in EmitStartOfAsmFile() 515 OutStreamer.EndCOFFSymbolDef(); in EmitStartOfAsmFile() 522 OutStreamer.EmitSymbolAttribute(S, MCSA_Global); in EmitStartOfAsmFile() [all …]
|
D | X86MCInstLower.cpp | 221 AsmPrinter.OutStreamer.EmitAssignment(Label, Expr); in LowerSymbolOperand() 605 static void LowerTlsAddr(MCStreamer &OutStreamer, in LowerTlsAddr() argument 615 MCContext &context = OutStreamer.getContext(); in LowerTlsAddr() 618 OutStreamer.EmitInstruction(MCInstBuilder(X86::DATA16_PREFIX), STI); in LowerTlsAddr() 665 OutStreamer.EmitInstruction(LEA, STI); in LowerTlsAddr() 668 OutStreamer.EmitInstruction(MCInstBuilder(X86::DATA16_PREFIX), STI); in LowerTlsAddr() 669 OutStreamer.EmitInstruction(MCInstBuilder(X86::DATA16_PREFIX), STI); in LowerTlsAddr() 670 OutStreamer.EmitInstruction(MCInstBuilder(X86::REX64_PREFIX), STI); in LowerTlsAddr() 680 OutStreamer.EmitInstruction(MCInstBuilder(is64Bits ? X86::CALL64pcrel32 in LowerTlsAddr() 792 OutStreamer.emitRawComment("MEMBARRIER"); in EmitInstruction() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 90 return static_cast<XCoreTargetStreamer&>(*OutStreamer.getTargetStreamer()); in getTargetStreamer() 102 OutStreamer.EmitSymbolAttribute(SymGlob, MCSA_Global); in emitArrayBound() 103 OutStreamer.EmitAssignment(SymGlob, in emitArrayBound() 109 OutStreamer.EmitSymbolAttribute(SymGlob, MCSA_Weak); in emitArrayBound() 121 OutStreamer.SwitchSection( in EmitGlobalVariable() 141 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Global); in EmitGlobalVariable() 146 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_Weak); in EmitGlobalVariable() 162 OutStreamer.EmitSymbolAttribute(GVSym, MCSA_ELF_TypeObject); in EmitGlobalVariable() 163 OutStreamer.EmitELFSize(GVSym, MCConstantExpr::Create(Size, OutContext)); in EmitGlobalVariable() 165 OutStreamer.EmitLabel(GVSym); in EmitGlobalVariable() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsAsmPrinter.cpp | 57 return static_cast<MipsTargetStreamer &>(*OutStreamer.getTargetStreamer()); in getTargetStreamer() 96 void MipsAsmPrinter::emitPseudoIndirectBranch(MCStreamer &OutStreamer, in emitPseudoIndirectBranch() argument 127 EmitToStreamer(OutStreamer, TmpInst0); in emitPseudoIndirectBranch() 144 OutStreamer.EmitDataRegion(MCDR_DataRegionEnd); in EmitInstruction() 160 OutStreamer.EmitDataRegion(MCDR_DataRegion); in EmitInstruction() 164 OutStreamer.EmitLabel(GetCPISymbol(LabelId)); in EmitInstruction() 180 if (emitPseudoExpansionLowering(OutStreamer, &*I)) in EmitInstruction() 187 emitPseudoIndirectBranch(OutStreamer, &*I); in EmitInstruction() 204 EmitToStreamer(OutStreamer, TmpInst0); in EmitInstruction() 346 OutStreamer.EmitLabel(CurrentFnSym); in EmitFunctionEntryLabel() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | AMDGPUAsmPrinter.cpp | 49 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/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUAsmPrinter.cpp | 49 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()
|