Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Object/
H A DModuleSymbolTable.cpp103 MCContext MCCtx(TT, MAI.get(), MRI.get(), STI.get(), &SrcMgr); in initializeRecordStreamer() local
105 T->createMCObjectFileInfo(MCCtx, /*PIC=*/false)); in initializeRecordStreamer()
107 MCCtx.setObjectFileInfo(MOFI.get()); in initializeRecordStreamer()
108 RecordStreamer Streamer(MCCtx, M); in initializeRecordStreamer()
112 createMCAsmParser(SrcMgr, MCCtx, Streamer, *MAI)); in initializeRecordStreamer()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCObjectFileInfo.h241 void initMCObjectFileInfo(MCContext &MCCtx, bool PIC,
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCObjectFileInfo.cpp1030 void MCObjectFileInfo::initMCObjectFileInfo(MCContext &MCCtx, bool PIC, in initMCObjectFileInfo() argument
1033 Ctx = &MCCtx; in initMCObjectFileInfo()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp2410 auto &MCCtx = MF->getContext(); in insertIndirectBranch() local
2412 MCCtx.createTempSymbol("post_getpc", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2416 MCCtx.createTempSymbol("offset_lo", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2418 MCCtx.createTempSymbol("offset_hi", /*AlwaysAddSuffix=*/true); in insertIndirectBranch()
2489 MCSymbolRefExpr::create(DestLabel, MCCtx), in insertIndirectBranch()
2490 MCSymbolRefExpr::create(PostGetPCLabel, MCCtx), MCCtx); in insertIndirectBranch()
2492 auto *Mask = MCConstantExpr::create(0xFFFFFFFFULL, MCCtx); in insertIndirectBranch()
2493 OffsetLo->setVariableValue(MCBinaryExpr::createAnd(Offset, Mask, MCCtx)); in insertIndirectBranch()
2494 auto *ShAmt = MCConstantExpr::create(32, MCCtx); in insertIndirectBranch()
2495 OffsetHi->setVariableValue(MCBinaryExpr::createAShr(Offset, ShAmt, MCCtx)); in insertIndirectBranch()