Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCObjectFileInfo.h244 void initMCObjectFileInfo(MCContext &MCCtx, bool PIC,
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp1057 void MCObjectFileInfo::initMCObjectFileInfo(MCContext &MCCtx, bool PIC, in initMCObjectFileInfo() argument
1060 Ctx = &MCCtx; in initMCObjectFileInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2853 auto &MCCtx = MF->getContext(); in insertIndirectBranch() local
2855 MCCtx.createTempSymbol("post_getpc", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2859 MCCtx.createTempSymbol("offset_lo", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2861 MCCtx.createTempSymbol("offset_hi", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2936 MCSymbolRefExpr::create(DestLabel, MCCtx), in insertIndirectBranch()
2937 MCSymbolRefExpr::create(PostGetPCLabel, MCCtx), MCCtx); in insertIndirectBranch()
2939 auto *Mask = MCConstantExpr::create(0xFFFFFFFFULL, MCCtx); in insertIndirectBranch()
2940 OffsetLo->setVariableValue(MCBinaryExpr::createAnd(Offset, Mask, MCCtx)); in insertIndirectBranch()
2941 auto *ShAmt = MCConstantExpr::create(32, MCCtx); in insertIndirectBranch()
2942 OffsetHi->setVariableValue(MCBinaryExpr::createAShr(Offset, ShAmt, MCCtx)); in insertIndirectBranch()