Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcAsmPrinter.cpp74 MCSymbol *Sym, MCContext &OutContext) { in createSparcMCOperand() argument
76 OutContext); in createSparcMCOperand()
77 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, OutContext); in createSparcMCOperand()
82 MCContext &OutContext) { in createPCXCallOP() argument
83 return createSparcMCOperand(SparcMCExpr::VK_Sparc_WDISP30, Label, OutContext); in createPCXCallOP()
89 MCContext &OutContext) in createPCXRelExprOp() argument
91 const MCSymbolRefExpr *GOT = MCSymbolRefExpr::create(GOTLabel, OutContext); in createPCXRelExprOp()
93 OutContext); in createPCXRelExprOp()
95 OutContext); in createPCXRelExprOp()
97 const MCBinaryExpr *Sub = MCBinaryExpr::createSub(Cur, Start, OutContext); in createPCXRelExprOp()
[all …]
H A DSparcMCInstLower.cpp61 AP.OutContext); in LowerSymbolOperand()
63 AP.OutContext); in LowerSymbolOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp509 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT()
573 MCSymbol *TlsGetAddr = createMCSymbolForTlsGetAddr(OutContext); in EmitTlsCall()
575 TlsGetAddr, MCSymbolRefExpr::VK_None, OutContext); in EmitTlsCall()
580 MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol("__tls_get_addr"); in EmitTlsCall()
586 MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
592 TlsRef, MCConstantExpr::create(32768, OutContext), OutContext); in EmitTlsCall()
596 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
667 Expr, MCConstantExpr::create(-Adjustment, OutContext), OutContext); in emitInstruction()
717 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
721 OutContext), in emitInstruction()
[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()
/netbsd-src/external/apache2/llvm/dist/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()
H A DStackMaps.cpp462 MCContext &OutContext = AP.OutStreamer->getContext(); in recordStackMapOpers() local
504 MCSymbolRefExpr::create(&MILabel, OutContext), in recordStackMapOpers()
505 MCSymbolRefExpr::create(AP.CurrentFnSymForSize, OutContext), OutContext); in recordStackMapOpers()
718 MCContext &OutContext = AP.OutStreamer->getContext(); in serializeToStackMapSection() local
723 OutContext.getObjectFileInfo()->getStackMapSection(); in serializeToStackMapSection()
727 OS.emitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_StackMaps"))); in serializeToStackMapSection()
/netbsd-src/external/apache2/llvm/dist/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()
291 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
298 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
305 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
312 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
319 const MCConstantExpr *C255 = MCConstantExpr::create(255, OutContext); in HexagonProcessInstruction()
339 MCSymbolRefExpr::create(Sym, OutContext))); in HexagonProcessInstruction()
355 MCSymbolRefExpr::create(Sym, OutContext), OutContext))); in HexagonProcessInstruction()
442 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
[all …]
H A DHexagonMCInstLower.cpp43 MCContext &MC = Printer.OutContext; in GetSymbolRef()
107 MCInst *MCI = AP.OutContext.createMCInst(); in HexagonLowerToMC()
135 AP.OutContext), in HexagonLowerToMC()
136 AP.OutContext); in HexagonLowerToMC()
143 MCConstantExpr::create(MO.getImm(), AP.OutContext), AP.OutContext); in HexagonLowerToMC()
150 AP.OutContext); in HexagonLowerToMC()
151 Expr = HexagonMCExpr::create(Expr, AP.OutContext); in HexagonLowerToMC()
178 HexagonMCInstrInfo::extendIfNeeded(AP.OutContext, MCII, MCB, *MCI); in HexagonLowerToMC()
/netbsd-src/external/apache2/llvm/dist/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()
77 MCSymbol *GOTLabel, MCContext &OutContext) { in createGOTRelExprOp() argument
78 const MCSymbolRefExpr *GOT = MCSymbolRefExpr::create(GOTLabel, OutContext); in createGOTRelExprOp()
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()
[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()
/netbsd-src/external/apache2/llvm/dist/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.cpp80 OutContext.getOrCreateSymbol("__acle_se_" + CurrentFnSym->getName()); in emitFunctionEntryLabel()
101 OutContext); in emitXXStructor()
256 return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in GetCPISymbol()
269 return OutContext.getOrCreateSymbol(Name); in GetARMJTIPICJumpTableLabel()
857 MCSymbol *MCSym = OutContext.getOrCreateSymbol(Name); in GetARMGVSymbol()
930 OutContext); in emitMachineConstantPoolValue()
935 ACPV->getLabelId(), OutContext); in emitMachineConstantPoolValue()
936 const MCExpr *PCRelExpr = MCSymbolRefExpr::create(PCLabel, OutContext); in emitMachineConstantPoolValue()
940 OutContext), in emitMachineConstantPoolValue()
941 OutContext); in emitMachineConstantPoolValue()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DWasmException.cpp28 if (Asm->OutContext.lookupSymbol(NameStr)) { in endModule()
62 MCContext &OutContext = Asm->OutStreamer->getContext(); in endFunction() local
64 MCSymbolRefExpr::create(LSDAEndLabel, OutContext), in endFunction()
65 MCSymbolRefExpr::create(LSDALabel, OutContext), OutContext); in endFunction()
H A DWinException.cpp61 OS.SwitchSection(Asm->OutContext.getObjectFileInfo()->getGEHContSection()); in endModule()
283 MCSymbol *FuncInfoXData = Asm->OutContext.getOrCreateSymbol( in endFuncletImpl()
319 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
323 Asm->OutContext); in create32bitRef()
328 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
335 Asm->OutContext); in getLabel()
337 MCConstantExpr::create(1, Asm->OutContext), in getLabel()
338 Asm->OutContext); in getLabel()
344 MCSymbolRefExpr::create(OffsetOf, Asm->OutContext), in getOffset()
345 MCSymbolRefExpr::create(OffsetFrom, Asm->OutContext), Asm->OutContext); in getOffset()
[all …]
H A DAsmPrinter.cpp198 OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)) { in AsmPrinter()
272 .Initialize(OutContext, TM); in doInitialization()
324 OutContext.getSubtargetCopy(*STI), TM.Options.MCOptions); in doInitialization()
542 OutContext.reportError(SMLoc(), "symbol '" + Twine(GVSym->getName()) + in emitGlobalVariable()
633 OutContext.getOrCreateSymbol(GVSym->getName() + Twine("$tlv$init")); in emitGlobalVariable()
689 MCConstantExpr::create(Size, OutContext)); in emitGlobalVariable()
756 MCSymbol *PrefixSym = OutContext.createLinkerPrivateTempSymbol(); in emitFunctionHeader()
780 OutContext.createLinkerPrivateTempSymbol(); in emitFunctionHeader()
812 MCSymbol *CurPos = OutContext.createTempSymbol(); in emitFunctionHeader()
815 MCSymbolRefExpr::create(CurPos, OutContext)); in emitFunctionHeader()
[all …]
H A DWinCFGuard.cpp83 return Asm->OutContext.lookupSymbol(Twine("__imp_") + Sym->getName()); in lookupImpSymbol()
113 OS.SwitchSection(Asm->OutContext.getObjectFileInfo()->getGFIDsSection()); in endModule()
118 OS.SwitchSection(Asm->OutContext.getObjectFileInfo()->getGIATsSection()); in endModule()
124 OS.SwitchSection(Asm->OutContext.getObjectFileInfo()->getGLJMPSection()); in endModule()
H A DAIXException.cpp55 Asm->OutStreamer->emitValue(MCSymbolRefExpr::create(LSDA, Asm->OutContext), in emitExceptionInfoTable()
59 Asm->OutStreamer->emitValue(MCSymbolRefExpr::create(PerSym, Asm->OutContext), in emitExceptionInfoTable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp162 MCContext &OutContext, in emitDirectiveRelocJalr() argument
172 MCSymbol *OffsetLabel = OutContext.createTempSymbol(); in emitDirectiveRelocJalr()
174 MCSymbolRefExpr::create(OffsetLabel, OutContext); in emitDirectiveRelocJalr()
176 MCSymbolRefExpr::create(Callee, OutContext); in emitDirectiveRelocJalr()
249 emitDirectiveRelocJalr(*MI, OutContext, TM, *OutStreamer, *Subtarget); in emitInstruction()
779 TS.setPic(OutContext.getObjectFileInfo()->isPositionIndependent()); in emitStartOfAsmFile()
807 OutContext.getELFSection(SectionName, ELF::SHT_PROGBITS, 0)); in emitStartOfAsmFile()
862 MCOperand::createExpr(MCSymbolRefExpr::create(Symbol, OutContext))); in EmitJal()
980 MCSymbol *MSymbol = OutContext.getOrCreateSymbol(StringRef(Symbol)); in EmitFPCallStub()
1050 MCSectionELF *M = OutContext.getELFSection( in EmitFPCallStub()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp221 AMDGPUMCInstLower MCInstLowering(OutContext, STI, *this); in lowerOperand()
227 MCContext &OutContext) { in lowerAddrSpaceCast() argument
243 OutContext); in lowerAddrSpaceCast()
250 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
260 AMDGPUMCInstLower MCInstLowering(OutContext, STI, *this); in emitInstruction()
318 *STI.getInstrInfo(), *OutContext.getRegisterInfo(), OutContext)); in emitInstruction()
372 R600MCInstLower MCInstLowering(OutContext, STI, *this); in emitInstruction()
396 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp79 : AsmPrinter(TM, std::move(Streamer)), MCInstLowering(OutContext, *this), in AArch64AsmPrinter()
300 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in EmitSled()
302 auto Target = OutContext.createTempSymbol(); in EmitSled()
332 Sym = OutContext.getOrCreateSymbol(SymName); in LowerHWASAN_CHECK_MEMACCESS()
337 .addExpr(MCSymbolRefExpr::create(Sym, OutContext))); in LowerHWASAN_CHECK_MEMACCESS()
351 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch"); in EmitHwasanMemaccessSymbols()
353 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch_v2"); in EmitHwasanMemaccessSymbols()
356 MCSymbolRefExpr::create(HwasanTagMismatchV1Sym, OutContext); in EmitHwasanMemaccessSymbols()
358 MCSymbolRefExpr::create(HwasanTagMismatchV2Sym, OutContext); in EmitHwasanMemaccessSymbols()
377 OutStreamer->SwitchSection(OutContext.getELFSection( in EmitHwasanMemaccessSymbols()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp507 MCSymbol *DotSym = OutContext.createTempSymbol(); in emitInstruction()
510 const MCSymbolRefExpr *Expr = MCSymbolRefExpr::create(DotSym, OutContext); in emitInstruction()
511 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction()
513 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
520 MCSymbol *DotSym = OutContext.createTempSymbol(); in emitInstruction()
523 const MCSymbolRefExpr *Expr = MCSymbolRefExpr::create(DotSym, OutContext); in emitInstruction()
524 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction()
528 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
553 static unsigned EmitNop(MCContext &OutContext, MCStreamer &OutStreamer, in EmitNop() argument
571 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitNop()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp211 for (auto &It : OutContext.getSymbols()) { in emitEndOfAsmFile()
301 WebAssembly::getOrCreateFunctionTableSymbol(OutContext, Subtarget); in emitEndOfAsmFile()
311 MCConstantExpr::create(Size, OutContext)); in emitEndOfAsmFile()
328 OutContext.getWasmSection(SectionName, SectionKind::getMetadata()); in emitEndOfAsmFile()
367 MCSectionWasm *Producers = OutContext.getWasmSection( in EmitProducerInfo()
431 MCSectionWasm *FeaturesSection = OutContext.getWasmSection( in EmitTargetFeatures()
525 WebAssemblyMCInstLower MCInstLowering(OutContext, *this); in emitInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp94 MCSymbol *SymGlob = OutContext.getOrCreateSymbol( in emitArrayBound()
99 OutContext)); in emitArrayBound()
153 OutStreamer->emitELFSize(GVSym, MCConstantExpr::create(Size, OutContext)); in emitGlobalVariable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp175 AVRMCInstLower MCInstLowering(OutContext, *this); in emitInstruction()
183 MCContext &Ctx = OutContext; in lowerConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiAsmPrinter.cpp153 LanaiMCInstLower MCInstLowering(OutContext, *this); in emitCallInstruction()
190 LanaiMCInstLower MCInstLowering(OutContext, *this); in customEmitInstruction()

12