Home
last modified time | relevance | path

Searched refs:MCCtx (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DModuleSymbolTable.cpp109 MCContext MCCtx(TT, MAI.get(), MRI.get(), STI.get(), &SrcMgr); in initializeRecordStreamer() local
111 T->createMCObjectFileInfo(MCCtx, /*PIC=*/false)); in initializeRecordStreamer()
113 MCCtx.setObjectFileInfo(MOFI.get()); in initializeRecordStreamer()
114 RecordStreamer Streamer(MCCtx, M); in initializeRecordStreamer()
118 createMCAsmParser(SrcMgr, MCCtx, Streamer, *MAI)); in initializeRecordStreamer()
125 MCCtx.setDiagnosticHandler([&](const SMDiagnostic &SMD, bool IsInlineAsm, in initializeRecordStreamer()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeView.h146 CodeViewContext(MCContext *MCCtx) : MCCtx(MCCtx) {} in CodeViewContext() argument
226 MCContext *MCCtx;
H A DMCObjectFileInfo.h245 void initMCObjectFileInfo(MCContext &MCCtx, bool PIC,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp138 StrTabFragment = MCCtx->allocFragment<MCDataFragment>(); in getStringTableFragment()
450 auto *F = MCCtx->allocFragment<MCCVInlineLineTableFragment>( in emitInlineLineTableForFunction()
462 MCCtx->allocFragment<MCCVDefRangeFragment>(Ranges, FixedSizePortion); in emitDefRange()
H A DMCObjectFileInfo.cpp1006 void MCObjectFileInfo::initMCObjectFileInfo(MCContext &MCCtx, bool PIC, in initMCObjectFileInfo() argument
1009 Ctx = &MCCtx; in initMCObjectFileInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2904 auto &MCCtx = MF->getContext(); in insertIndirectBranch() local
2906 MCCtx.createTempSymbol("post_getpc", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2910 MCCtx.createTempSymbol("offset_lo", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2912 MCCtx.createTempSymbol("offset_hi", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2987 MCSymbolRefExpr::create(DestLabel, MCCtx), in insertIndirectBranch()
2988 MCSymbolRefExpr::create(PostGetPCLabel, MCCtx), MCCtx); in insertIndirectBranch()
2990 auto *Mask = MCConstantExpr::create(0xFFFFFFFFULL, MCCtx); in insertIndirectBranch()
2991 OffsetLo->setVariableValue(MCBinaryExpr::createAnd(Offset, Mask, MCCtx)); in insertIndirectBranch()
2992 auto *ShAmt = MCConstantExpr::create(32, MCCtx); in insertIndirectBranch()
2993 OffsetHi->setVariableValue(MCBinaryExpr::createAShr(Offset, ShAmt, MCCtx)); in insertIndirectBranch()