Lines Matching refs:OutContext
278 AddrLabelSymbols = std::make_unique<AddrLabelMap>(OutContext); in getAddrLabelSymbolToEmit()
376 OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)), in AsmPrinter()
458 .Initialize(OutContext, TM); in doInitialization()
760 OutContext.reportError(SMLoc(), in emitGlobalVariable()
771 OutContext.reportError(SMLoc(), "symbol '" + Twine(GVSym->getName()) + in emitGlobalVariable()
856 OutContext.getOrCreateSymbol(GVSym->getName() + Twine("$tlv$init")); in emitGlobalVariable()
912 MCConstantExpr::create(Size, OutContext)); in emitGlobalVariable()
972 MCSymbol *PrefixSym = OutContext.createLinkerPrivateTempSymbol(); in emitFunctionHeader()
999 OutContext.createLinkerPrivateTempSymbol(); in emitFunctionHeader()
1048 MCSymbol *CurPos = OutContext.createTempSymbol(); in emitFunctionHeader()
1051 MCSymbolRefExpr::create(CurPos, OutContext)); in emitFunctionHeader()
1359 MCConstantExpr::create(FrameOffset, OutContext)); in emitFrameAlloc()
1476 MCSymbol *Loc = OutContext.createLinkerPrivateTempSymbol(); in emitKCFITrapEntry()
1847 MCSymbolRefExpr::create(MBB.getEndSymbol(), OutContext), in emitFunctionBody()
1848 MCSymbolRefExpr::create(CurrentSectionBeginSym, OutContext), in emitFunctionBody()
1849 OutContext); in emitFunctionBody()
1951 MCSymbolRefExpr::create(CurrentFnEnd, OutContext), in emitFunctionBody()
1952 MCSymbolRefExpr::create(CurrentFnSymForSize, OutContext), OutContext); in emitFunctionBody()
2167 OutStreamer->emitELFSize(Name, MCConstantExpr::create(Size, OutContext)); in emitGlobalAlias()
2223 OutStreamer->switchSection(OutContext.getObjectFileInfo()->getDataSection()); in emitGlobalIFunc()
2229 OutStreamer->emitValue(MCSymbolRefExpr::create(StubHelper, OutContext), 8); in emitGlobalIFunc()
2231 OutStreamer->switchSection(OutContext.getObjectFileInfo()->getTextSection()); in emitGlobalIFunc()
2273 OutContext.getObjectFileInfo()->getRemarksSection(); in emitRemarksSection()
2369 OutStreamer->switchSection(OutContext.getCOFFSection( in doFinalization()
2477 OutStreamer->switchSection(OutContext.getELFSection(".note.GNU-split-stack", in doFinalization()
2480 OutStreamer->switchSection(OutContext.getELFSection( in doFinalization()
2488 if (MCSection *S = MAI->getNonexecutableStackSection(OutContext)) in doFinalization()
2512 OutContext.getELFSection(".llvm_sympart", ELF::SHT_LLVM_SYMPART, 0, 0, in doFinalization()
2517 MCSymbolRefExpr::create(getSymbol(&GV), OutContext), in doFinalization()
2729 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext); in emitJumpTableInfo()
2736 MCSymbolRefExpr::create(MBB->getSymbol(), OutContext); in emitJumpTableInfo()
2739 OutContext)); in emitJumpTableInfo()
2775 MJTI, MBB, UID, OutContext); in emitJumpTableEntry()
2780 Value = MCSymbolRefExpr::create(MBB->getSymbol(), OutContext); in emitJumpTableEntry()
2787 OutStreamer->emitGPRel32Value(MCSymbolRefExpr::create(MBBSym, OutContext)); in emitJumpTableEntry()
2796 OutStreamer->emitGPRel64Value(MCSymbolRefExpr::create(MBBSym, OutContext)); in emitJumpTableEntry()
2812 OutContext); in emitJumpTableEntry()
2815 Value = MCSymbolRefExpr::create(MBB->getSymbol(), OutContext); in emitJumpTableEntry()
2817 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF, UID, OutContext); in emitJumpTableEntry()
2818 Value = MCBinaryExpr::createSub(Value, Base, OutContext); in emitJumpTableEntry()
2848 OutStreamer->switchSection(OutContext.getCOFFSection( in emitSpecialLLVMGlobal()
2861 OutContext.getOrCreateSymbol("__imp_" + Src->getName())); in emitSpecialLLVMGlobal()
3086 const MCExpr *Expr = MCSymbolRefExpr::create(Label, OutContext); in emitLabelPlusOffset()
3089 Expr, MCConstantExpr::create(Offset, OutContext), OutContext); in emitLabelPlusOffset()
3124 MCContext &Ctx = OutContext; in lowerConstant()
3806 return OutContext.createTempSymbol(Name, true); in createTempSymbol()
3841 return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in GetCPISymbol()
3848 return MF->getJTISymbol(JTID, OutContext, isLinkerPrivate); in GetJTISymbol()
3855 return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in GetJTSetSymbol()
3869 return OutContext.getOrCreateSymbol(NameStr); in GetExternalSymbolSymbol()
4185 InstMap = OutContext.getELFSection("xray_instr_map", ELF::SHT_PROGBITS, in emitXRayTable()
4190 FnSledIndex = OutContext.getELFSection( in emitXRayTable()
4194 InstMap = OutContext.getMachOSection("__DATA", "xray_instr_map", in emitXRayTable()
4198 FnSledIndex = OutContext.getMachOSection("__DATA", "xray_fn_idx", in emitXRayTable()
4210 auto &Ctx = OutContext; in emitXRayTable()
4212 OutContext.createLinkerPrivateSymbol("xray_sleds_start"); in emitXRayTable()
4232 MCSymbol *SledsEnd = OutContext.createTempSymbol("xray_sleds_end", true); in emitXRayTable()
4299 OutStreamer->switchSection(OutContext.getELFSection( in emitPatchableFunctionEntries()