Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/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()
59 Expr = ARMMCExpr::createUpper16(Expr, OutContext); in GetSymbolRef()
63 Expr = ARMMCExpr::createLower0_7(Expr, OutContext); in GetSymbolRef()
67 Expr = ARMMCExpr::createLower8_15(Expr, OutContext); in GetSymbolRef()
71 Expr = ARMMCExpr::createUpper0_7(Expr, OutContext); in GetSymbolRef()
75 Expr = ARMMCExpr::createUpper8_15(Expr, OutContext); in GetSymbolRef()
83 OutContext); in GetSymbolRef()
104 MO.getMBB()->getSymbol(), OutContext)); in lowerOperand()
[all …]
H A DARMAsmPrinter.cpp283 return OutContext.getOrCreateSymbol(Name); in GetARMJTIPICJumpTableLabel()
969 OutContext); in emitMachineConstantPoolValue()
980 OutContext); in emitMachineConstantPoolValue()
1106 MCConstantExpr::create(4, OutContext), OutContext); in emitJumpTableTBInst()
1109 OutContext); in emitJumpTableTBInst()
1530 TRegSym = OutContext.createTempSymbol(); in emitInstruction()
1603 OutContext), OutContext), OutContext); in emitInstruction()
1636 OutContext), OutContext), OutContext); in emitInstruction()
1656 OutContext); in emitInstruction()
1675 OutContext); in emitInstruction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcAsmPrinter.cpp83 MCContext &OutContext) { in createPCXCallOP() argument
170 MCContext &OutContext, in EmitHiLo() argument
200 MCRegOP, OutContext, STI); in LowerGETPCXAndEmitMCInsts()
205 MCRegOP, OutContext, STI); in LowerGETPCXAndEmitMCInsts()
217 MCRegOP, OutContext, STI); in LowerGETPCXAndEmitMCInsts()
225 RegO7, OutContext, STI); in LowerGETPCXAndEmitMCInsts()
232 MCSymbol *StartLabel = OutContext.createTempSymbol(); in LowerGETPCXAndEmitMCInsts()
261 OutContext); in LowerGETPCXAndEmitMCInsts()
266 OutContext); in LowerGETPCXAndEmitMCInsts()
455 OutContext.reportError( in PrintAsmOperand()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp688 TlsRef, MCConstantExpr::create(32768, OutContext), OutContext); in EmitTlsCall()
794 Expr, MCConstantExpr::create(-Adjustment, OutContext), OutContext); in emitInstruction()
908 MCSymbolRefExpr::create(BaseSymbol, OutContext), PB, OutContext); in emitInstruction()
1003 OutContext.getOrCreateSymbol(Twine(".LTOC")), OutContext); in emitInstruction()
1262 OutContext); in emitInstruction()
1280 OutContext); in emitInstruction()
1340 OutContext); in emitInstruction()
1397 OutContext); in emitInstruction()
1762 OutContext); in emitFunctionEntryLabel()
2647 if (!OutContext.hasXCOFFSection( in emitPGORefs()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp206 Sym = AP.OutContext.getOrCreateSymbol(Twine(symbolName)); in smallData()
234 Sym = AP.OutContext.getOrCreateSymbol(Twine(LitaName)); in smallData()
356 MCSymbolRefExpr::create(Sym, OutContext), OutContext))); in HexagonProcessInstruction()
443 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
479 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
506 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
529 const MCExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
588 MCUnaryExpr::createMinus(Expr, OutContext), OutContext)); in HexagonProcessInstruction()
805 MCInst *SledJump = new (OutContext) MCInst(); in EmitSled()
807 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEAsmPrinter.cpp72 MCContext &OutContext) { in createVEMCOperand() argument
73 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Sym, OutContext); in createVEMCOperand()
74 const VEMCExpr *expr = VEMCExpr::create(Kind, MCSym, OutContext); in createVEMCOperand()
81 const VEMCExpr *expr = VEMCExpr::create(Kind, GOT, OutContext); in createGOTRelExprOp()
171 MCOperand &RD, MCContext &OutContext, in emitHiLo() argument
174 MCOperand hi = createVEMCOperand(HiKind, GOTSym, OutContext); in emitHiLo()
175 MCOperand lo = createVEMCOperand(LoKind, GOTSym, OutContext); in emitHiLo()
185 OutContext.getOrCreateSymbol(Twine("_GLOBAL_OFFSET_TABLE_")); in lowerGETGOTAndEmitMCInsts()
199 VEMCExpr::VK_VE_LO32, MCRegOP, OutContext, STI); in lowerGETGOTAndEmitMCInsts()
214 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DWasmException.cpp37 if (Asm->OutContext.lookupSymbol(NameStr)) { in endModule()
63 MCContext &OutContext = Asm->OutStreamer->getContext(); in endFunction() local
65 MCSymbolRefExpr::create(LSDAEndLabel, OutContext), in endFunction()
66 MCSymbolRefExpr::create(LSDALabel, OutContext), OutContext); in endFunction()
H A DWinException.cpp306 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
310 Asm->OutContext); in create32bitRef()
315 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
321 Asm->OutContext); in getLabel()
327 Asm->OutContext); in getLabelPlusOne()
334 MCSymbolRefExpr::create(OffsetFrom, Asm->OutContext), Asm->OutContext); in getOffset()
341 Asm->OutContext); in getOffsetPlusOne()
561 MCContext &Ctx = Asm->OutContext; in emitCSpecificHandlerTable()
629 MCContext &Ctx = Asm->OutContext; in emitSEHActionsForRange()
701 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.cpp48 EHInfo = Asm->OutContext.getXCOFFSection(NameStr, EHInfo->getKind(), in emitExceptionInfoTable()
66 Asm->OutStreamer->emitValue(MCSymbolRefExpr::create(LSDA, Asm->OutContext), in emitExceptionInfoTable()
70 Asm->OutStreamer->emitValue(MCSymbolRefExpr::create(PerSym, Asm->OutContext), in emitExceptionInfoTable()
H A DAsmPrinter.cpp458 .Initialize(OutContext, TM); in doInitialization()
760 OutContext.reportError(SMLoc(), in emitGlobalVariable()
1849 OutContext); in emitFunctionBody()
1952 MCSymbolRefExpr::create(CurrentFnSymForSize, OutContext), OutContext); in emitFunctionBody()
2775 MJTI, MBB, UID, OutContext); in emitJumpTableEntry()
3089 Expr, MCConstantExpr::create(Offset, OutContext), OutContext); in emitLabelPlusOffset()
3124 MCContext &Ctx = OutContext; in lowerConstant()
3806 return OutContext.createTempSymbol(Name, true); in createTempSymbol()
3869 return OutContext.getOrCreateSymbol(NameStr); in GetExternalSymbolSymbol()
4190 FnSledIndex = OutContext.getELFSection( in emitXRayTable()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
221 MCSymbolRefExpr::create(MCSym, MCSymbolRefExpr::VK_None, OutContext); in emitMachineConstantPoolValue()
225 MCSymbol *PCLabel = OutContext.getOrCreateSymbol( in emitMachineConstantPoolValue()
229 const MCExpr *PCRelExpr = MCSymbolRefExpr::create(PCLabel, OutContext); in emitMachineConstantPoolValue()
233 MCSymbol *DotSym = OutContext.createTempSymbol(); in emitMachineConstantPoolValue()
235 const MCExpr *DotExpr = MCSymbolRefExpr::create(DotSym, OutContext); in emitMachineConstantPoolValue()
236 PCRelExpr = MCBinaryExpr::createSub(PCRelExpr, DotExpr, OutContext); in emitMachineConstantPoolValue()
238 Expr = MCBinaryExpr::createSub(Expr, PCRelExpr, OutContext); in emitMachineConstantPoolValue()
243 OutContext); in emitMachineConstantPoolValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp625 MCSymbol *DotSym = OutContext.createTempSymbol(); in emitInstruction()
638 MCSymbol *DotSym = OutContext.createTempSymbol(); in emitInstruction()
715 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitNop()
728 MCSymbol *DotSym = OutContext.createTempSymbol(); in LowerFENTRY_CALL()
875 OutContext); in emitMachineConstantPoolValue()
956 auto TT = OutContext.getTargetTriple(); in emitEndOfAsmFile()
991 OutContext), in emitADASection()
996 OutContext), in emitADASection()
1005 OutContext), in emitADASection()
1010 MCSymbol *Alias = OutContext.createTempSymbol( in emitADASection()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
768 OutContext.getELFSection(SectionName, ELF::SHT_PROGBITS, 0)); in emitStartOfAsmFile()
1011 MCSectionELF *M = OutContext.getELFSection( in EmitFPCallStub()
1033 cast<MCSymbolELF>(OutContext.getOrCreateSymbol(StringRef(x))); in EmitFPCallStub()
1076 MCSymbol *Tmp = OutContext.createTempSymbol(); in EmitFPCallStub()
1168 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in EmitSled()
1170 auto Target = OutContext.createTempSymbol(); in EmitSled()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVAsmPrinter.cpp462 Sym = OutContext.getOrCreateSymbol(SymName); in LowerHWASAN_CHECK_MEMACCESS()
542 MCSymbol *Pass = OutContext.createTempSymbol(); in LowerKCFI_CHECK()
549 MCSymbol *Trap = OutContext.createTempSymbol(); in LowerKCFI_CHECK()
567 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch_v2"); in EmitHwasanMemaccessSymbols()
575 MCSymbolRefExpr::create(HwasanTagMismatchV2Sym, OutContext); in EmitHwasanMemaccessSymbols()
586 OutStreamer->switchSection(OutContext.getELFSection( in EmitHwasanMemaccessSymbols()
625 OutContext)), in EmitHwasanMemaccessSymbols()
627 MCSymbol *ReturnSym = OutContext.createTempSymbol(); in EmitHwasanMemaccessSymbols()
641 MCSymbol *HandleMismatchSym = OutContext.createTempSymbol(); in EmitHwasanMemaccessSymbols()
676 .addExpr(MCSymbolRefExpr::create(ReturnSym, OutContext)), in EmitHwasanMemaccessSymbols()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp195 AVRMCInstLower MCInstLowering(OutContext, *this); in emitInstruction()
203 MCContext &Ctx = OutContext; in lowerConstant()
223 MCSymbol *CtorsSym = OutContext.getOrCreateSymbol("__do_global_ctors"); in emitXXStructor()
226 MCSymbol *DtorsSym = OutContext.getOrCreateSymbol("__do_global_dtors"); in emitXXStructor()
264 MCSymbol *DoCopyData = OutContext.getOrCreateSymbol("__do_copy_data"); in doFinalization()
265 MCSymbol *DoClearBss = OutContext.getOrCreateSymbol("__do_clear_bss"); in doFinalization()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp336 auto Target = OutContext.createTempSymbol(); in emitSled()
382 OutContext.getOrCreateSymbol( in LowerPATCHABLE_EVENT_CALL()
385 OutContext); in LowerPATCHABLE_EVENT_CALL()
513 MCSymbol *Pass = OutContext.createTempSymbol(); in LowerKCFI_CHECK()
561 Sym = OutContext.getOrCreateSymbol(SymName); in LowerHWASAN_CHECK_MEMACCESS()
606 OutStreamer->switchSection(OutContext.getELFSection( in emitHwasanMemaccessSymbols()
779 OutContext)), in emitHwasanMemaccessSymbols()
787 OutContext)), in emitHwasanMemaccessSymbols()
839 return OutContext.getOrCreateSymbol( in GetCPISymbol()
1083 Value, MCConstantExpr::create(2, OutContext), OutContext); in emitJumpTableInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchAsmPrinter.cpp179 MCSymbol *BeginOfSled = OutContext.createTempSymbol("xray_sled_begin"); in emitSled()
180 MCSymbol *EndOfSled = OutContext.createTempSymbol("xray_sled_end"); in emitSled()
184 .addExpr(MCSymbolRefExpr::create(EndOfSled, OutContext))); in emitSled()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.h47 MCContext &OutContext) { in lowerAddrSpaceCast() argument
63 OutContext); in lowerAddrSpaceCast()
H A DR600MCInstLower.cpp52 R600MCInstLower MCInstLowering(OutContext, STI, *this); in emitInstruction()
76 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp175 MCSymbol *FnSym = OutContext.getOrCreateSymbol("__cfi_" + MF.getName()); in emitKCFITypeId()
189 MCSymbol *EndSym = OutContext.createTempSymbol("cfi_func_end"); in emitKCFITypeId()
193 MCSymbolRefExpr::create(EndSym, OutContext), in emitKCFITypeId()
194 MCSymbolRefExpr::create(FnSym, OutContext), OutContext); in emitKCFITypeId()
222 GVSym = OutContext.getOrCreateSymbol(Twine("__imp_") + GVSym->getName()); in PrintSymbolOperand()
225 OutContext.getOrCreateSymbol(Twine(".refptr.") + GVSym->getName()); in PrintSymbolOperand()
551 MCSymbolRefExpr::create(LazyPointer, OutContext))) in emitMachOIFuncStubBody()
594 MCSymbolRefExpr::create(LazyPointer, OutContext))) in emitMachOIFuncStubHelperBody()
610 MCSymbolRefExpr::create(LazyPointer, OutContext))) in emitMachOIFuncStubHelperBody()
1023 if (MCSymbol *AddrSymbol = OutContext.lookupSymbol("__morestack_addr")) { in emitEndOfAsmFile()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp315 for (auto &It : OutContext.getSymbols()) { in emitDecls()
405 WebAssembly::getOrCreateFunctionTableSymbol(OutContext, Subtarget); in emitEndOfAsmFile()
417 MCConstantExpr::create(Size, OutContext)); in emitEndOfAsmFile()
434 OutContext.getWasmSection(SectionName, SectionKind::getMetadata()); in emitEndOfAsmFile()
474 MCSectionWasm *Producers = OutContext.getWasmSection( in EmitProducerInfo()
547 MCSectionWasm *FeaturesSection = OutContext.getWasmSection( in EmitTargetFeatures()
589 MCSectionWasm *CustomSection = OutContext.getWasmSection( in EmitFunctionAttributes()
597 OutContext), in EmitFunctionAttributes()
686 WebAssemblyMCInstLower MCInstLowering(OutContext, *this); in emitInstruction()

12