Home
last modified time | relevance | path

Searched refs:OutContext (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcAsmPrinter.cpp82 MCContext &OutContext) { in createPCXCallOP() argument
160 MCContext &OutContext, in EmitHiLo() argument
190 MCRegOP, OutContext, STI); in LowerGETPCXAndEmitMCInsts()
195 MCRegOP, OutContext, STI); in LowerGETPCXAndEmitMCInsts()
207 MCRegOP, OutContext, STI); in LowerGETPCXAndEmitMCInsts()
215 RegO7, OutContext, STI); in LowerGETPCXAndEmitMCInsts()
222 MCSymbol *StartLabel = OutContext.createTempSymbol(); in LowerGETPCXAndEmitMCInsts()
223 MCSymbol *EndLabel = OutContext.createTempSymbol(); in LowerGETPCXAndEmitMCInsts()
224 MCSymbol *SethiLabel = OutContext.createTempSymbol(); in LowerGETPCXAndEmitMCInsts()
242 OutContext); in LowerGETPCXAndEmitMCInsts()
[all …]
H A DSparcMCInstLower.cpp61 AP.OutContext); in LowerSymbolOperand()
63 AP.OutContext); in LowerSymbolOperand()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DFaultMaps.cpp31 MCContext &OutContext = AP.OutStreamer->getContext(); in recordFaultingOp() local
34 MCSymbolRefExpr::create(FaultingLabel, OutContext), in recordFaultingOp()
35 MCSymbolRefExpr::create(AP.CurrentFnSymForSize, OutContext), OutContext); in recordFaultingOp()
38 MCSymbolRefExpr::create(HandlerLabel, OutContext), in recordFaultingOp()
39 MCSymbolRefExpr::create(AP.CurrentFnSymForSize, OutContext), OutContext); in recordFaultingOp()
49 MCContext &OutContext = AP.OutStreamer->getContext(); in serializeToFaultMapSection() local
54 OutContext.getObjectFileInfo()->getFaultMapSection(); in serializeToFaultMapSection()
58 OS.emitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_FaultMaps"))); in serializeToFaultMapSection()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp628 TlsRef, MCConstantExpr::create(32768, OutContext), OutContext); in EmitTlsCall()
706 Expr, MCConstantExpr::create(-Adjustment, OutContext), OutContext); in emitInstruction()
805 MCSymbolRefExpr::create(BaseSymbol, OutContext), PB, OutContext); in emitInstruction()
899 OutContext.getOrCreateSymbol(Twine(".LTOC")), OutContext); in emitInstruction()
1155 OutContext); in emitInstruction()
1173 OutContext); in emitInstruction()
1233 OutContext); in emitInstruction()
1284 OutContext); in emitInstruction()
1633 OutContext); in emitFunctionEntryLabel()
2520 if (OutContext.hasXCOFFSection( in emitPGORefs()
[all …]
H A DPPCMCInstLower.cpp37 MCContext &Ctx = AP.OutContext; in GetSymbolFromOperand()
55 MCContext &Ctx = Printer.OutContext; in GetSymbolRef()
182 MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), AP.OutContext)); in LowerPPCMachineOperandToMCOperand()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp207 Sym = AP.OutContext.getOrCreateSymbol(Twine(symbolName)); in smallData()
235 Sym = AP.OutContext.getOrCreateSymbol(Twine(LitaName)); in smallData()
357 MCSymbolRefExpr::create(Sym, OutContext), OutContext))); in HexagonProcessInstruction()
444 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
480 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
507 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
530 const MCExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
589 MCUnaryExpr::createMinus(Expr, OutContext), OutContext)); in HexagonProcessInstruction()
806 MCInst *SledJump = new (OutContext) MCInst(); in EmitSled()
808 auto PostSled = OutContext.createTempSymbol(); in EmitSled()
[all …]
H A DHexagonMCInstLower.cpp43 MCContext &MC = Printer.OutContext; in GetSymbolRef()
120 MCInst *MCI = AP.OutContext.createMCInst(); in HexagonLowerToMC()
147 AP.OutContext), in HexagonLowerToMC()
148 AP.OutContext); in HexagonLowerToMC()
155 MCConstantExpr::create(MO.getImm(), AP.OutContext), AP.OutContext); in HexagonLowerToMC()
162 AP.OutContext); in HexagonLowerToMC()
163 Expr = HexagonMCExpr::create(Expr, AP.OutContext); in HexagonLowerToMC()
190 HexagonMCInstrInfo::extendIfNeeded(AP.OutContext, MCII, MCB, *MCI); in HexagonLowerToMC()
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEAsmPrinter.cpp70 MCContext &OutContext) { in createVEMCOperand() argument
71 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Sym, OutContext); in createVEMCOperand()
72 const VEMCExpr *expr = VEMCExpr::create(Kind, MCSym, OutContext); in createVEMCOperand()
79 const VEMCExpr *expr = VEMCExpr::create(Kind, GOT, OutContext); in createGOTRelExprOp()
169 MCOperand &RD, MCContext &OutContext, in emitHiLo() argument
172 MCOperand hi = createVEMCOperand(HiKind, GOTSym, OutContext); in emitHiLo()
173 MCOperand lo = createVEMCOperand(LoKind, GOTSym, OutContext); in emitHiLo()
183 OutContext.getOrCreateSymbol(Twine("_GLOBAL_OFFSET_TABLE_")); in lowerGETGOTAndEmitMCInsts()
197 VEMCExpr::VK_VE_LO32, MCRegOP, OutContext, STI); in lowerGETGOTAndEmitMCInsts()
212 createGOTRelExprOp(VEMCExpr::VK_VE_PC_LO32, GOTLabel, OutContext); in lowerGETGOTAndEmitMCInsts()
[all …]
H A DVEMCInstLower.cpp33 const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, AP.OutContext); in LowerSymbolOperand()
37 Expr, MCConstantExpr::create(MO.getOffset(), AP.OutContext), in LowerSymbolOperand()
38 AP.OutContext); in LowerSymbolOperand()
39 Expr = VEMCExpr::create(Kind, Expr, AP.OutContext); in LowerSymbolOperand()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMMCInstLower.cpp45 MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef()
53 MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef()
54 Expr = ARMMCExpr::createLower16(Expr, OutContext); in GetSymbolRef()
58 MCSymbolRefExpr::create(Symbol, SymbolVariant, OutContext); in GetSymbolRef()
59 Expr = ARMMCExpr::createUpper16(Expr, OutContext); in GetSymbolRef()
66 OutContext), in GetSymbolRef()
67 OutContext); in GetSymbolRef()
88 MO.getMBB()->getSymbol(), OutContext)); in lowerOperand()
198 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in EmitSled()
200 auto Target = OutContext.createTempSymbol(); in EmitSled()
H A DARMAsmPrinter.cpp269 return OutContext.getOrCreateSymbol(Name); in GetARMJTIPICJumpTableLabel()
954 OutContext); in emitMachineConstantPoolValue()
965 OutContext); in emitMachineConstantPoolValue()
1091 MCConstantExpr::create(4, OutContext), OutContext); in emitJumpTableTBInst()
1094 OutContext); in emitJumpTableTBInst()
1440 TRegSym = OutContext.createTempSymbol(); in emitInstruction()
1513 OutContext), OutContext), OutContext); in emitInstruction()
1546 OutContext), OutContext), OutContext); in emitInstruction()
1566 OutContext); in emitInstruction()
1585 OutContext); in emitInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DWasmException.cpp37 if (Asm->OutContext.lookupSymbol(NameStr)) { in endModule()
73 MCContext &OutContext = Asm->OutStreamer->getContext(); in endFunction() local
75 MCSymbolRefExpr::create(LSDAEndLabel, OutContext), in endFunction()
76 MCSymbolRefExpr::create(LSDALabel, OutContext), OutContext); in endFunction()
H A DWinException.cpp314 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
318 Asm->OutContext); in create32bitRef()
323 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
329 Asm->OutContext); in getLabel()
335 Asm->OutContext); in getLabelPlusOne()
342 MCSymbolRefExpr::create(OffsetFrom, Asm->OutContext), Asm->OutContext); in getOffset()
349 Asm->OutContext); in getOffsetPlusOne()
569 MCContext &Ctx = Asm->OutContext; in emitCSpecificHandlerTable()
637 MCContext &Ctx = Asm->OutContext; in emitSEHActionsForRange()
709 UnwindMapXData = Asm->OutContext.getOrCreateSymbol( in emitCXXFrameHandler3Table()
[all …]
H A DWinCFGuard.cpp80 return Asm->OutContext.lookupSymbol(Twine("__imp_") + Sym->getName()); in lookupImpSymbol()
110 OS.switchSection(Asm->OutContext.getObjectFileInfo()->getGFIDsSection()); in endModule()
115 OS.switchSection(Asm->OutContext.getObjectFileInfo()->getGIATsSection()); in endModule()
121 OS.switchSection(Asm->OutContext.getObjectFileInfo()->getGLJMPSection()); in endModule()
H A DAIXException.cpp50 EHInfo = Asm->OutContext.getXCOFFSection(NameStr, EHInfo->getKind(), in emitExceptionInfoTable()
68 Asm->OutStreamer->emitValue(MCSymbolRefExpr::create(LSDA, Asm->OutContext), in emitExceptionInfoTable()
72 Asm->OutStreamer->emitValue(MCSymbolRefExpr::create(PerSym, Asm->OutContext), in emitExceptionInfoTable()
H A DAsmPrinter.cpp440 .Initialize(OutContext, TM); in doInitialization()
1583 OutContext); in emitFunctionBody()
1683 MCSymbolRefExpr::create(CurrentFnSymForSize, OutContext), OutContext); in emitFunctionBody()
2413 MJTI, MBB, UID, OutContext); in emitJumpTableEntry()
2670 Expr, MCConstantExpr::create(Offset, OutContext), OutContext); in emitLabelPlusOffset()
2705 MCContext &Ctx = OutContext; in lowerConstant()
3388 return OutContext.createTempSymbol(Name, true); in createTempSymbol()
3451 return OutContext.getOrCreateSymbol(NameStr); in GetExternalSymbolSymbol()
3773 FnSledIndex = OutContext.getELFSection( in emitXRayTable()
3780 FnSledIndex = OutContext.getMachOSection( in emitXRayTable()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYAsmPrinter.cpp41 : AsmPrinter(TM, std::move(Streamer)), MCInstLowering(OutContext, *this) {} in CSKYAsmPrinter()
74 MCSymbol *PCLabel = OutContext.getOrCreateSymbol( in expandTLSLA()
218 MCSymbolRefExpr::create(MCSym, MCSymbolRefExpr::VK_None, OutContext); in emitMachineConstantPoolValue()
222 MCSymbol *PCLabel = OutContext.getOrCreateSymbol( in emitMachineConstantPoolValue()
226 const MCExpr *PCRelExpr = MCSymbolRefExpr::create(PCLabel, OutContext); in emitMachineConstantPoolValue()
230 MCSymbol *DotSym = OutContext.createTempSymbol(); in emitMachineConstantPoolValue()
232 const MCExpr *DotExpr = MCSymbolRefExpr::create(DotSym, OutContext); in emitMachineConstantPoolValue()
233 PCRelExpr = MCBinaryExpr::createSub(PCRelExpr, DotExpr, OutContext); in emitMachineConstantPoolValue()
235 Expr = MCBinaryExpr::createSub(Expr, PCRelExpr, OutContext); in emitMachineConstantPoolValue()
240 OutContext); in emitMachineConstantPoolValue()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp158 MCContext &OutContext, in emitDirectiveRelocJalr() argument
167 MCSymbol *OffsetLabel = OutContext.createTempSymbol(); in emitDirectiveRelocJalr()
169 MCSymbolRefExpr::create(OffsetLabel, OutContext); in emitDirectiveRelocJalr()
171 MCSymbolRefExpr::create(Callee, OutContext); in emitDirectiveRelocJalr()
806 OutContext.getELFSection(SectionName, ELF::SHT_PROGBITS, 0)); in emitStartOfAsmFile()
1049 MCSectionELF *M = OutContext.getELFSection( in EmitFPCallStub()
1071 cast<MCSymbolELF>(OutContext.getOrCreateSymbol(StringRef(x))); in EmitFPCallStub()
1114 MCSymbol *Tmp = OutContext.createTempSymbol(); in EmitFPCallStub()
1206 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in EmitSled()
1208 auto Target = OutContext.createTempSymbol(); in EmitSled()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp306 auto Target = OutContext.createTempSymbol(); in emitSled()
336 Sym = OutContext.getOrCreateSymbol(SymName); in LowerHWASAN_CHECK_MEMACCESS()
355 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch"); in emitHwasanMemaccessSymbols()
357 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch_v2"); in emitHwasanMemaccessSymbols()
381 OutStreamer->switchSection(OutContext.getELFSection( in emitHwasanMemaccessSymbols()
417 OutContext)), in emitHwasanMemaccessSymbols()
419 MCSymbol *ReturnSym = OutContext.createTempSymbol(); in emitHwasanMemaccessSymbols()
554 OutContext)), in emitHwasanMemaccessSymbols()
562 OutContext)), in emitHwasanMemaccessSymbols()
615 return OutContext.getOrCreateSymbol( in GetCPISymbol()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp187 AVRMCInstLower MCInstLowering(OutContext, *this); in emitInstruction()
195 MCContext &Ctx = OutContext; in lowerConstant()
215 MCSymbol *CtorsSym = OutContext.getOrCreateSymbol("__do_global_ctors"); in emitXXStructor()
218 MCSymbol *DtorsSym = OutContext.getOrCreateSymbol("__do_global_dtors"); in emitXXStructor()
228 MCSymbol *DoCopyData = OutContext.getOrCreateSymbol("__do_copy_data"); in doFinalization()
229 MCSymbol *DoClearBss = OutContext.getOrCreateSymbol("__do_clear_bss"); in doFinalization()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp543 MCSymbol *DotSym = OutContext.createTempSymbol(); in emitInstruction()
549 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
556 MCSymbol *DotSym = OutContext.createTempSymbol(); in emitInstruction()
564 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
598 TS->EXRLTargets2Sym[ET_STI] = DotSym = OutContext.createTempSymbol(); in emitInstruction()
615 static unsigned EmitNop(MCContext &OutContext, MCStreamer &OutStreamer, in EmitNop() argument
633 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitNop()
646 MCSymbol *DotSym = OutContext.createTempSymbol(); in LowerFENTRY_CALL()
782 OutContext); in emitMachineConstantPoolValue()
1060 MCContext &OutContext = OutStreamer->getContext(); in emitFunctionEntryLabel() local
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.h47 MCContext &OutContext) { in lowerAddrSpaceCast() argument
63 OutContext); in lowerAddrSpaceCast()
H A DR600MCInstLower.cpp50 R600MCInstLower MCInstLowering(OutContext, STI, *this); in emitInstruction()
74 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
H A DAMDGPUMCInstLower.cpp163 AMDGPUMCInstLower MCInstLowering(OutContext, STI, *this); in lowerOperand()
168 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
182 AMDGPUMCInstLower MCInstLowering(OutContext, STI, *this); in emitInstruction()
256 *STI.getInstrInfo(), OutContext)); in emitInstruction()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp313 for (auto &It : OutContext.getSymbols()) { in emitDecls()
403 WebAssembly::getOrCreateFunctionTableSymbol(OutContext, Subtarget); in emitEndOfAsmFile()
415 MCConstantExpr::create(Size, OutContext)); in emitEndOfAsmFile()
432 OutContext.getWasmSection(SectionName, SectionKind::getMetadata()); in emitEndOfAsmFile()
471 MCSectionWasm *Producers = OutContext.getWasmSection( in EmitProducerInfo()
544 MCSectionWasm *FeaturesSection = OutContext.getWasmSection( in EmitTargetFeatures()
641 WebAssemblyMCInstLower MCInstLowering(OutContext, *this); in emitInstruction()

12