Lines Matching refs:OutContext

259     AddrLabelSymbols = std::make_unique<AddrLabelMap>(OutContext);  in getAddrLabelSymbolToEmit()
357 OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)) { in AsmPrinter()
440 .Initialize(OutContext, TM); in doInitialization()
718 OutContext.reportError(SMLoc(), "symbol '" + Twine(GVSym->getName()) + in emitGlobalVariable()
809 OutContext.getOrCreateSymbol(GVSym->getName() + Twine("$tlv$init")); in emitGlobalVariable()
865 MCConstantExpr::create(Size, OutContext)); in emitGlobalVariable()
932 MCSymbol *PrefixSym = OutContext.createLinkerPrivateTempSymbol(); in emitFunctionHeader()
956 OutContext.createLinkerPrivateTempSymbol(); in emitFunctionHeader()
988 MCSymbol *CurPos = OutContext.createTempSymbol(); in emitFunctionHeader()
991 MCSymbolRefExpr::create(CurPos, OutContext)); in emitFunctionHeader()
1020 const MCExpr *FnExp = MCSymbolRefExpr::create(CurrentFnSym, OutContext); in emitFunctionHeader()
1021 const MCExpr *PCRel = MCBinaryExpr::createSub(Proxy, FnExp, OutContext); in emitFunctionHeader()
1301 MCConstantExpr::create(FrameOffset, OutContext)); in emitFrameAlloc()
1581 MCSymbolRefExpr::create(MBB.getEndSymbol(), OutContext), in emitFunctionBody()
1582 MCSymbolRefExpr::create(CurrentSectionBeginSym, OutContext), in emitFunctionBody()
1583 OutContext); in emitFunctionBody()
1682 MCSymbolRefExpr::create(CurrentFnEnd, OutContext), in emitFunctionBody()
1683 MCSymbolRefExpr::create(CurrentFnSymForSize, OutContext), OutContext); in emitFunctionBody()
1878 OutStreamer->emitELFSize(Name, MCConstantExpr::create(Size, OutContext)); in emitGlobalAlias()
1928 OutContext.getObjectFileInfo()->getRemarksSection(); in emitRemarksSection()
2024 OutStreamer->switchSection(OutContext.getCOFFSection( in doFinalization()
2118 OutStreamer->switchSection(OutContext.getELFSection(".note.GNU-split-stack", in doFinalization()
2121 OutStreamer->switchSection(OutContext.getELFSection( in doFinalization()
2129 if (MCSection *S = MAI->getNonexecutableStackSection(OutContext)) in doFinalization()
2152 OutContext.getELFSection(".llvm_sympart", ELF::SHT_LLVM_SYMPART, 0, 0, in doFinalization()
2157 MCSymbolRefExpr::create(getSymbol(&GV), OutContext), in doFinalization()
2367 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF,JTI,OutContext); in emitJumpTableInfo()
2374 MCSymbolRefExpr::create(MBB->getSymbol(), OutContext); in emitJumpTableInfo()
2377 OutContext)); in emitJumpTableInfo()
2413 MJTI, MBB, UID, OutContext); in emitJumpTableEntry()
2418 Value = MCSymbolRefExpr::create(MBB->getSymbol(), OutContext); in emitJumpTableEntry()
2425 OutStreamer->emitGPRel32Value(MCSymbolRefExpr::create(MBBSym, OutContext)); in emitJumpTableEntry()
2434 OutStreamer->emitGPRel64Value(MCSymbolRefExpr::create(MBBSym, OutContext)); in emitJumpTableEntry()
2448 OutContext); in emitJumpTableEntry()
2451 Value = MCSymbolRefExpr::create(MBB->getSymbol(), OutContext); in emitJumpTableEntry()
2453 const MCExpr *Base = TLI->getPICJumpTableRelocBaseExpr(MF, UID, OutContext); in emitJumpTableEntry()
2454 Value = MCBinaryExpr::createSub(Value, Base, OutContext); in emitJumpTableEntry()
2667 const MCExpr *Expr = MCSymbolRefExpr::create(Label, OutContext); in emitLabelPlusOffset()
2670 Expr, MCConstantExpr::create(Offset, OutContext), OutContext); in emitLabelPlusOffset()
2705 MCContext &Ctx = OutContext; in lowerConstant()
3388 return OutContext.createTempSymbol(Name, true); in createTempSymbol()
3423 return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in GetCPISymbol()
3430 return MF->getJTISymbol(JTID, OutContext, isLinkerPrivate); in GetJTISymbol()
3437 return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in GetJTSetSymbol()
3451 return OutContext.getOrCreateSymbol(NameStr); in GetExternalSymbolSymbol()
3768 InstMap = OutContext.getELFSection("xray_instr_map", ELF::SHT_PROGBITS, in emitXRayTable()
3773 FnSledIndex = OutContext.getELFSection( in emitXRayTable()
3777 InstMap = OutContext.getMachOSection("__DATA", "xray_instr_map", 0, in emitXRayTable()
3780 FnSledIndex = OutContext.getMachOSection( in emitXRayTable()
3791 auto &Ctx = OutContext; in emitXRayTable()
3792 MCSymbol *SledsStart = OutContext.createTempSymbol("xray_sleds_start", true); in emitXRayTable()
3812 MCSymbol *SledsEnd = OutContext.createTempSymbol("xray_sleds_end", true); in emitXRayTable()
3869 OutStreamer->switchSection(OutContext.getELFSection( in emitPatchableFunctionEntries()