|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 187 OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)) {
3193 return OutStreamer->getContext().getDwarfVersion();
3197 OutStreamer->getContext().setDwarfVersion(Version);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 248 void *CKMem = OS.getContext().allocate(Checksum.size(), 1);
931 DebugSec = OS.getContext().getAssociativeCOFFSection(DebugSec, KeySym);
lib/CodeGen/AsmPrinter/DIE.cpp 434 AP->OutStreamer->getContext().getDwarfFormat()};
677 switch (AP->OutStreamer->getContext().getDwarfFormat()) {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 417 Asm->OutStreamer->getContext().setDwarfVersion(DwarfVersion);
1650 Asm->OutStreamer->getContext().getCurrentDwarfLoc().getLine();
1797 Asm->OutStreamer->getContext().setDwarfCompileUnitID(0);
1799 Asm->OutStreamer->getContext().setDwarfCompileUnitID(CU.getUniqueID());
1803 *MF, Asm->OutStreamer->getContext().getDwarfCompileUnitID());
1822 Asm->OutStreamer->getContext().setDwarfCompileUnitID(0);
1902 Asm->OutStreamer->getContext().getDwarfCompileUnitID(),
2276 Asm->emitInt16(Asm->OutStreamer->getContext().getDwarfVersion());
3033 return Asm->OutStreamer->getContext().getDwarfVersion();
lib/CodeGen/AsmPrinter/WasmException.cpp 62 MCContext &OutContext = Asm->OutStreamer->getContext();
lib/CodeGen/FaultMaps.cpp 32 MCContext &OutContext = AP.OutStreamer->getContext();
53 MCContext &OutContext = AP.OutStreamer->getContext();
lib/CodeGen/StackMaps.cpp 301 MCContext &OutContext = AP.OutStreamer->getContext();
558 MCContext &OutContext = AP.OutStreamer->getContext();
lib/MC/ConstantPools.cpp 113 return getOrCreateConstantPool(Section).addEntry(Expr, Streamer.getContext(),
lib/MC/MCAsmInfo.cpp 93 return MCSymbolRefExpr::create(Sym, Streamer.getContext());
95 MCContext &Context = Streamer.getContext();
lib/MC/MCAsmStreamer.cpp 450 *MAI, getContext().getObjectFileInfo()->getTargetTriple(), OS,
964 EmitValue(MCConstantExpr::create(Value, getContext()), Size);
968 EmitValue(MCConstantExpr::create(Value, getContext(), true), Size);
1246 MCDwarfLineTable &Table = getContext().getMCDwarfLineTable(CUID);
1250 getContext().getDwarfVersion(), FileNo);
1277 if (getContext().getDwarfVersion() < 5)
1280 getContext().setMCLineTableRootFile(CUID, Directory, Filename, Checksum,
1308 unsigned OldFlags = getContext().getCurrentDwarfLoc().getFlags();
1343 if (!getContext().getCVContext().addFile(*this, FileNo, Filename, Checksum,
1537 const MCRegisterInfo *MRI = getContext().getRegisterInfo();
2009 if (getContext().getGenDwarfForAssembly())
2015 const auto &Tables = getContext().getMCDwarfLineTables();
2019 SwitchSection(getContext().getObjectFileInfo()->getDwarfLineSection());
lib/MC/MCCodeView.cpp 68 OS.getContext().createTempSymbol("checksum_offset", false);
171 MCContext &Ctx = OS.getContext();
198 MCContext &Ctx = OS.getContext();
260 MCSymbolRefExpr::create(Files[Idx].ChecksumTableOffset, OS.getContext());
330 MCContext &Ctx = OS.getContext();
lib/MC/MCDwarf.cpp 88 if (!MCOS->getContext().getDwarfLocSeen())
92 MCSymbol *LineSym = MCOS->getContext().createTempSymbol();
97 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc();
103 MCOS->getContext().clearDwarfLocSeen();
106 MCOS->getContext()
107 .getMCDwarfLineTable(MCOS->getContext().getDwarfCompileUnitID())
121 MCSymbolRefExpr::create(&End, Variant, MCOS.getContext());
123 MCSymbolRefExpr::create(&Start, Variant, MCOS.getContext());
125 MCBinaryExpr::create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext());
127 MCConstantExpr::create(IntVal, MCOS.getContext());
129 MCBinaryExpr::create(MCBinaryExpr::Sub, Res1, Res2, MCOS.getContext());
175 MCOS->getContext().getDwarfVersion() >= 4) {
204 const MCAsmInfo *asmInfo = MCOS->getContext().getAsmInfo();
221 MCContext &Ctx = MCOS->getContext();
234 MCContext &context = MCOS->getContext();
295 MCContext &Context = OS.getContext();
313 MCOS->getContext().getObjectFileInfo()->getDwarfLineStrSection());
326 MCContext &Ctx = MCOS->getContext();
392 ? MCOS->getContext().getCompilationDir()
451 MCContext &context = MCOS->getContext();
646 MCContext &Context = MCOS->getContext();
800 MCContext &context = MCOS->getContext();
856 MCContext &context = MCOS->getContext();
929 MCContext &context = MCOS->getContext();
1059 MCOS->getContext().getMCGenDwarfLabelEntries();
1100 MCContext &context = MCOS->getContext();
1137 MCContext &context = MCOS->getContext();
1151 MCOS->getContext().finalizeDwarfSections(*MCOS);
1155 if (MCOS->getContext().getGenDwarfSectionSyms().empty())
1161 MCOS->getContext().getGenDwarfSectionSyms().size() > 1 &&
1162 MCOS->getContext().getDwarfVersion() >= 3;
1212 MCContext &context = MCOS->getContext();
1240 MCOS->getContext().addMCGenDwarfLabelEntry(
1245 MCContext &context = streamer.getContext();
1256 MCContext &context = streamer.getContext();
1277 MCContext &context = streamer.getContext();
1291 MCContext &context = streamer.getContext();
1331 auto *MRI = Streamer.getContext().getRegisterInfo();
1483 MCContext &Context = Streamer.getContext();
1561 MCContext &context = Streamer.getContext();
1680 MCContext &context = Streamer.getContext();
1825 MCContext &Context = Streamer.getContext();
1892 MCContext &Context = Streamer.getContext();
lib/MC/MCELFStreamer.cpp 91 MCContext &Ctx = getContext();
166 Symbol, MCSymbolRefExpr::VK_WEAKREF, getContext());
322 ->setSize(MCConstantExpr::create(Size, getContext()));
470 getContext().reportError(
478 MCSymbolRefExpr::create(S, SRE->getKind(), getContext(), SRE->getLoc());
lib/MC/MCMachOStreamer.cpp 164 MCSymbol *Label = getContext().createLinkerPrivateTempSymbol();
214 MCSymbol *Start = getContext().createTempSymbol();
228 Data.End = getContext().createTempSymbol();
418 return EmitZerofill(getContext().getObjectFileInfo()->getDataBSSSection(),
429 getContext().reportError(
lib/MC/MCObjectStreamer.cpp 71 getContext().reportError(PendingFixup.Fixup.getLoc(),
202 getContext().reportError(
216 MCSymbol *Label = getContext().createTempSymbol("cfi", true);
223 Frame.Begin = getContext().createTempSymbol();
228 Frame.End = getContext().createTempSymbol();
292 getContext().clearDwarfLocSeen();
409 MCContext &Context = OS.getContext();
471 MCSymbol *LineSym = getContext().createTempSymbol();
473 getContext().getCVContext().recordCVLoc(getContext(), LineSym, FunctionId,
473 getContext().getCVContext().recordCVLoc(getContext(), LineSym, FunctionId,
481 getContext().getCVContext().emitLineTableForFunction(*this, FunctionId, Begin,
489 getContext().getCVContext().emitInlineLineTableForFunction(
500 getContext().getCVContext().emitDefRange(*this, Ranges, FixedSizePortion);
508 getContext().getCVContext().emitStringTable(*this);
511 getContext().getCVContext().emitFileChecksums(*this);
515 getContext().getCVContext().emitFileChecksumOffset(*this, FileNo);
638 MCSymbolRefExpr::create(getContext().createTempSymbol(), getContext());
638 MCSymbolRefExpr::create(getContext().createTempSymbol(), getContext());
681 getContext().getSourceManager()->PrintMessage(
719 getContext().RemapDebugPaths();
722 if (getContext().getGenDwarfForAssembly())
lib/MC/MCParser/WasmAsmParser.cpp 183 getStreamer().getContext().getOrCreateSymbol(
lib/MC/MCStreamer.cpp 60 *Streamer.getContext().getAsmInfo(),
61 Streamer.getContext().getObjectFileInfo()->getTargetTriple(), OS,
73 Value->print(OS, Streamer.getContext().getAsmInfo());
78 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo();
172 EmitValueImpl(MCSymbolRefExpr::create(Sym, getContext()), Size);
204 emitFill(*MCConstantExpr::create(NumBytes, getContext()), FillValue);
218 return getContext().getDwarfFile(Directory, Filename, FileNo, Checksum,
227 getContext().setMCLineTableRootFile(CUID, Directory, Filename, Checksum,
243 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa,
248 MCDwarfLineTable &Table = getContext().getMCDwarfLineTable(CUID);
263 getContext().reportError(SMLoc(), "this directive must appear between "
274 return getContext().getCVContext().addFile(*this, FileNo, Filename, Checksum,
279 return getContext().getCVContext().recordFunctionId(FunctionId);
286 if (getContext().getCVContext().getCVFunctionInfo(IAFunc) == nullptr) {
287 getContext().reportError(Loc, "parent function id not introduced by "
292 return getContext().getCVContext().recordInlinedCallSiteId(
303 CodeViewContext &CVC = getContext().getCVContext();
306 getContext().reportError(
315 getContext().reportError(
388 SwitchSection(getContext().getObjectFileInfo()->getTextSection());
404 return getContext().reportError(Loc, "invalid symbol redefinition");
424 return getContext().reportError(
659 getContext().reportError(
664 getContext().reportError(
674 return getContext().reportError(
677 getContext().reportError(
693 getContext().reportError(Loc, "Not all chained regions terminated!");
704 getContext().reportError(Loc, "Not all chained regions terminated!");
728 return getContext().reportError(
743 return getContext().reportError(
747 getContext().reportError(Loc, "Don't know what kind of handler this is!");
759 getContext().reportError(Loc, "Chained unwind areas can't have handlers!");
802 return getWinCFISection(getContext(), &NextWinCFIID,
803 getContext().getObjectFileInfo()->getPDataSection(),
808 return getWinCFISection(getContext(), &NextWinCFIID,
809 getContext().getObjectFileInfo()->getXDataSection(),
837 return getContext().reportError(
840 return getContext().reportError(Loc, "offset is not a multiple of 16");
842 return getContext().reportError(
848 Label, encodeSEHRegNum(getContext(), Register), Offset);
858 return getContext().reportError(Loc,
861 return getContext().reportError(
877 return getContext().reportError(
893 return getContext().reportError(Loc, "offset is not a multiple of 16");
907 return getContext().reportError(
959 getContext().reportError(SMLoc(), "Unfinished frame!");
lib/MC/MCWasmStreamer.cpp 76 Symbol, MCSymbolRefExpr::VK_WEAKREF, getContext());
lib/MC/MCWin64EH.cpp 54 MCContext &Context = Streamer.getContext();
132 MCContext &Context = streamer.getContext();
144 MCContext &context = streamer.getContext();
159 MCContext &context = streamer.getContext();
253 MCContext &Context = Streamer.getContext();
498 MCContext &context = streamer.getContext();
647 MCContext &context = streamer.getContext();
lib/MC/MCWinCOFFStreamer.cpp 73 SwitchSection(getContext().getObjectFileInfo()->getTextSection());
76 SwitchSection(getContext().getObjectFileInfo()->getDataSection());
79 SwitchSection(getContext().getObjectFileInfo()->getBSSSection());
82 SwitchSection(getContext().getObjectFileInfo()->getTextSection());
184 if (getContext().getObjectFileInfo()->getTargetTriple().getArch() !=
192 MCSection *SXData = getContext().getObjectFileInfo()->getSXDataSection();
222 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext());
233 const MCExpr *MCE = MCSymbolRefExpr::create(Symbol, getContext());
237 MCE, MCConstantExpr::create(Offset, getContext()), getContext());
237 MCE, MCConstantExpr::create(Offset, getContext()), getContext());
252 Symbol, MCSymbolRefExpr::VK_COFF_IMGREL32, getContext());
256 MCE, MCConstantExpr::create(Offset, getContext()), getContext());
256 MCE, MCConstantExpr::create(Offset, getContext()), getContext());
269 const Triple &T = getContext().getObjectFileInfo()->getTargetTriple();
285 const MCObjectFileInfo *MFI = getContext().getObjectFileInfo();
301 MCSection *Section = getContext().getObjectFileInfo()->getBSSSection();
336 getContext().reportError(SMLoc(), Msg);
lib/Object/RecordStreamer.cpp 220 MCSymbol *Alias = getContext().getOrCreateSymbol(AliasName);
223 const MCExpr *Value = MCSymbolRefExpr::create(Aliasee, getContext());
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp 171 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp 59 MCContext &Context = Streamer.getContext();
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 221 auto &Context = Streamer.getContext();
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp 436 auto &Context = S.getContext();
504 getStreamer().getContext().getOrCreateSymbol(SymbolName));
617 auto &Context = Streamer.getContext();
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h 35 MCContext &getContext() const { return Streamer.getContext(); }
lib/Target/ARM/ARMAsmPrinter.cpp 509 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()),
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 245 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo();
500 const bool LittleEndian = getContext().getAsmInfo()->isLittleEndian();
559 getContext().reportError(Loc, "relocated expression must be 32-bit");
647 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
658 auto *Symbol = cast<MCSymbolELF>(getContext().getOrCreateSymbol(
1087 AttributeSection = Streamer.getContext().getELFSection(
1212 MCSectionELF *EHSection = getContext().getELFSection(
1258 FnStart = getContext().createTempSymbol();
1278 getContext());
1289 getContext());
1317 const MCSymbol *PersonalitySym = getContext().getOrCreateSymbol(Name);
1320 PersonalitySym, MCSymbolRefExpr::VK_ARM_NONE, getContext());
1339 const MCRegisterInfo *MRI = getContext().getRegisterInfo();
1361 ExTab = getContext().createTempSymbol();
1369 getContext());
1432 const MCRegisterInfo *MRI = getContext().getRegisterInfo();
1450 const MCRegisterInfo *MRI = getContext().getRegisterInfo();
lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp 54 const bool LittleEndian = getStreamer().getContext().getAsmInfo()->isLittleEndian();
lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.cpp 39 MCELFStreamer::EmitValue(MCSymbolRefExpr::create(Sym, Kind, getContext()),
lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.cpp 26 MCContext &Context = OS.getContext();
lib/Target/BPF/BTFDebug.cpp 723 MCContext &Ctx = OS.getContext();
761 MCContext &Ctx = OS.getContext();
993 MCSymbol *ORSym = OS.getContext().createTempSymbol();
1043 MCSymbol *LineSym = OS.getContext().createTempSymbol();
lib/Target/Hexagon/HexagonAsmPrinter.cpp 203 MCSectionELF *Section = OutStreamer.getContext().getELFSection(
231 MCSectionELF *Section = OutStreamer.getContext().getELFSection(
268 const MCRegisterInfo *RI = OutStreamer->getContext().getRegisterInfo();
765 MCContext &Ctx = OutStreamer->getContext();
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp 136 ELFSymbol->setSize(MCConstantExpr::create(Size, getContext()));
lib/Target/MSP430/MCTargetDesc/MSP430ELFStreamer.cpp 41 MCSection *AttributeSection = getStreamer().getContext().getELFSection(
lib/Target/MSP430/MSP430AsmPrinter.cpp 166 MCSection *IV = OutStreamer->getContext().getELFSection(
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 4122 MCContext &Context = TOut.getStreamer().getContext();
4973 MCContext & Context = TOut.getStreamer().getContext();
5010 MCContext & Context = TOut.getStreamer().getContext();
lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp 40 MCContext &Context = getContext();
57 Frame.Begin = getContext().createTempSymbol();
62 MCSymbol *Label = getContext().createTempSymbol("cfi", true);
68 Frame.End = getContext().createTempSymbol();
lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp 88 const MCObjectFileInfo *FI = getStreamer().getContext().getObjectFileInfo();
96 Section->PrintSwitchToSection(*getStreamer().getContext().getAsmInfo(),
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp 127 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo();
lib/Target/PowerPC/PPCAsmPrinter.cpp 1411 MCSectionELF *Section = OutStreamer->getContext().getELFSection(
1443 Section = OutStreamer->getContext().getELFSection(
1446 Section = OutStreamer->getContext().getELFSection(
1730 MCSectionXCOFF *FnDescSec = OutStreamer->getContext().getXCOFFSection(
1817 MCSectionXCOFF *TOCBaseSection = OutStreamer->getContext().getXCOFFSection(
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp 1589 bool Res = compressInst(CInst, Inst, getSTI(), S.getContext());
lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp 42 MCContext &Ctx = Streamer.getContext();
lib/Target/RISCV/RISCVAsmPrinter.cpp 66 OutStreamer->getContext());
lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp 54 MCContext &Ctx = Streamer.getContext();
67 MCContext &Ctx = Streamer.getContext();
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp 513 auto &Ctx = getStreamer().getContext();
659 auto &Ctx = Out.getContext();
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp 115 MCContext &Context = Streamer.getContext();
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp 82 MCContext &getContext() { return getStreamer().getContext(); }
102 ProcSym->print(OS, getStreamer().getContext().getAsmInfo());
120 ProcSym->print(OS, getStreamer().getContext().getAsmInfo());
320 const MCRegisterInfo *MRI = OS.getContext().getRegisterInfo();
356 CodeViewContext &CVCtx = OS.getContext().getCVContext();
387 MCContext &Ctx = OS.getContext();
lib/Target/X86/X86AsmPrinter.cpp 652 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()),
lib/Target/X86/X86MCInstLower.cpp 886 MCContext &Ctx = OutStreamer->getContext();
1188 MCContext &Ctx = OutStreamer->getContext();
tools/llvm-dwp/llvm-dwp.cpp 506 const auto &MCOFI = *Out.getContext().getObjectFileInfo();