Lines Matching defs:Context
49 static inline uint64_t ScaleAddrDelta(MCContext &Context, uint64_t AddrDelta) {
50 unsigned MinInsnLength = Context.getAsmInfo()->getMinInstAlignment();
74 // Get the current .loc info saved in the context.
198 MCContext &context = MCOS->getContext();
200 MCSymbol *SectionEnd = context.CreateTempSymbol();
205 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfLineSection());
216 MCContext &context = MCOS->getContext();
218 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfLineSection());
243 MCContext &context = MCOS->getContext();
248 LineStartSym = context.CreateTempSymbol();
253 MCSymbol *LineEndSym = context.CreateTempSymbol();
264 MCSymbol *ProEndSym = context.CreateTempSymbol(); // Lprologue_end
274 MCOS->EmitIntValue(context.getAsmInfo()->getMinInstAlignment(), 1);
298 context.getMCDwarfDirs(CUID);
357 MCContext &Context = MCOS->getContext();
360 MCDwarfLineAddr::Encode(Context, LineDelta, AddrDelta, OS);
365 void MCDwarfLineAddr::Encode(MCContext &Context, int64_t LineDelta,
371 AddrDelta = ScaleAddrDelta(Context, AddrDelta);
459 MCContext &context = MCOS->getContext();
460 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfAbbrevSection());
471 StringRef DwarfDebugFlags = context.getDwarfDebugFlags();
505 MCContext &context = MCOS->getContext();
510 MCOS->SwitchSection(context.getGenDwarfSection());
511 MCSymbol *SectionEndSym = context.CreateTempSymbol();
513 context.setGenDwarfSectionEndSym(SectionEndSym);
515 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfARangesSection());
523 const MCAsmInfo *asmInfo = context.getAsmInfo();
559 context.getGenDwarfSectionStartSym(), MCSymbolRefExpr::VK_None, context);
561 *context.getGenDwarfSectionStartSym(), *SectionEndSym, 0);
576 MCContext &context = MCOS->getContext();
578 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfInfoSection());
582 MCSymbol *InfoStart = context.CreateTempSymbol();
584 MCSymbol *InfoEnd = context.CreateTempSymbol();
604 const MCAsmInfo *asmInfo = context.getAsmInfo();
624 context.getGenDwarfSectionStartSym(), MCSymbolRefExpr::VK_None, context);
629 context.getGenDwarfSectionEndSym(), MCSymbolRefExpr::VK_None, context);
635 context.getMCDwarfDirs();
646 MCOS->EmitBytes(context.getCompilationDir());
650 StringRef DwarfDebugFlags = context.getDwarfDebugFlags();
657 StringRef DwarfDebugProducer = context.getDwarfDebugProducer();
697 MCSymbolRefExpr::VK_None, context);
731 MCContext &context = MCOS->getContext();
732 const MCAsmInfo *AsmInfo = context.getAsmInfo();
739 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfInfoSection());
741 InfoSectionSymbol = context.CreateTempSymbol();
744 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfAbbrevSection());
746 AbbrevSectionSymbol = context.CreateTempSymbol();
749 MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfARangesSection());
752 if (context.getMCLineSections().empty())
777 MCContext &context = MCOS->getContext();
778 if (context.getGenDwarfSection() != MCOS->getCurrentSection().first)
788 unsigned FileNumber = context.getGenDwarfFileNumber();
799 MCSymbol *Label = context.CreateTempSymbol();
809 MCContext &context = streamer.getContext();
810 const MCAsmInfo *asmInfo = context.getAsmInfo();
820 MCContext &context = streamer.getContext();
826 return context.getAsmInfo()->getPointerSize();
841 MCContext &context = streamer.getContext();
842 const MCAsmInfo *asmInfo = context.getAsmInfo();
853 MCContext &context = streamer.getContext();
854 const MCAsmInfo *asmInfo = context.getAsmInfo();
1121 MCContext &Context = Streamer.getContext();
1122 const MCObjectFileInfo *MOFI = Context.getObjectFileInfo();
1196 MCContext &context = streamer.getContext();
1197 const MCRegisterInfo *MRI = context.getRegisterInfo();
1198 const MCObjectFileInfo *MOFI = context.getObjectFileInfo();
1203 sectionStart = context.CreateTempSymbol();
1205 sectionStart = context.GetOrCreateSymbol(Twine("EH_frame") + Twine(CIENum));
1210 MCSymbol *sectionEnd = context.CreateTempSymbol();
1245 streamer.EmitULEB128IntValue(context.getAsmInfo()->getMinInstAlignment());
1293 const MCAsmInfo *MAI = context.getAsmInfo();
1308 MCContext &context = streamer.getContext();
1309 MCSymbol *fdeStart = context.CreateTempSymbol();
1310 MCSymbol *fdeEnd = context.CreateTempSymbol();
1311 const MCObjectFileInfo *MOFI = context.getObjectFileInfo();
1316 context.GetOrCreateSymbol(frame.Function->getName() + Twine(".eh"));
1329 const MCAsmInfo *asmInfo = context.getAsmInfo();
1425 MCContext &Context = Streamer.getContext();
1426 const MCObjectFileInfo *MOFI = Context.getObjectFileInfo();
1438 Streamer.EmitValueToAlignment(Context.getAsmInfo()->getPointerSize());
1449 MCSymbol *SectionStart = Context.CreateTempSymbol();
1474 Streamer.EmitValueToAlignment(Context.getAsmInfo()->getPointerSize());
1481 MCContext &Context = Streamer.getContext();
1484 MCDwarfFrameEmitter::EncodeAdvanceLoc(Context, AddrDelta, OS);
1488 void MCDwarfFrameEmitter::EncodeAdvanceLoc(MCContext &Context,
1492 AddrDelta = ScaleAddrDelta(Context, AddrDelta);