Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DModuleSymbolTable.cpp107 MCContext MCCtx(TT, MAI.get(), MRI.get(), STI.get(), &SrcMgr); in initializeRecordStreamer() local
109 T->createMCObjectFileInfo(MCCtx, /*PIC=*/false)); in initializeRecordStreamer()
110 MCCtx.setObjectFileInfo(MOFI.get()); in initializeRecordStreamer()
111 RecordStreamer Streamer(MCCtx, M); in initializeRecordStreamer()
115 createMCAsmParser(SrcMgr, MCCtx, Streamer, *MAI)); in initializeRecordStreamer()
122 MCCtx.setDiagnosticHandler([&](const SMDiagnostic &SMD, bool IsInlineAsm, in initializeRecordStreamer()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeView.h147 CodeViewContext(MCContext *MCCtx) : MCCtx(MCCtx) {} in CodeViewContext() argument
228 MCContext *MCCtx;
H A DMCObjectFileInfo.h248 void initMCObjectFileInfo(MCContext &MCCtx, bool PIC,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp436 auto *F = MCCtx->allocFragment<MCCVInlineLineTableFragment>( in emitInlineLineTableForFunction()
447 FixedSizePortion = MCCtx->allocateString(FixedSizePortion); in emitDefRange()
451 auto *F = MCCtx->allocFragment<MCCVDefRangeFragment>(Saved, FixedSizePortion); in emitDefRange()
H A DMCObjectFileInfo.cpp1050 void MCObjectFileInfo::initMCObjectFileInfo(MCContext &MCCtx, bool PIC, in initMCObjectFileInfo() argument
1053 Ctx = &MCCtx; in initMCObjectFileInfo()
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp690 MCContext &MCCtx = MMIWP->getMMI().getContext(); in compileModule() local
691 MCCtx.setDiagnosticHandler([&](const SMDiagnostic &SMD, bool IsInlineAsm, in compileModule()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2977 auto &MCCtx = MF->getContext(); in insertIndirectBranch() local
2979 MCCtx.createTempSymbol("post_getpc", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2983 MCCtx.createTempSymbol("offset_lo", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2985 MCCtx.createTempSymbol("offset_hi", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
3061 MCSymbolRefExpr::create(DestLabel, MCCtx), in insertIndirectBranch()
3062 MCSymbolRefExpr::create(PostGetPCLabel, MCCtx), MCCtx); in insertIndirectBranch()
3064 auto *Mask = MCConstantExpr::create(0xFFFFFFFFULL, MCCtx); in insertIndirectBranch()
3065 OffsetLo->setVariableValue(MCBinaryExpr::createAnd(Offset, Mask, MCCtx)); in insertIndirectBranch()
3066 auto *ShAmt = MCConstantExpr::create(32, MCCtx); in insertIndirectBranch()
3067 OffsetHi->setVariableValue(MCBinaryExpr::createAShr(Offset, ShAmt, MCCtx)); in insertIndirectBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp8413 MCContext &MCCtx = TLO->getContext(); in lowerINIT_TRAMPOLINE() local
8416 createRISCVMCCodeEmitter(*getTargetMachine().getMCInstrInfo(), MCCtx)); in lowerINIT_TRAMPOLINE()