Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp457 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT()
482 MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol(Name); in EmitTlsCall()
499 MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
505 TlsRef, MCConstantExpr::create(32768, OutContext), OutContext); in EmitTlsCall()
509 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
589 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in EmitInstruction()
593 OutContext), in EmitInstruction()
594 MCConstantExpr::create(4, OutContext), in EmitInstruction()
595 OutContext); in EmitInstruction()
614 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in EmitInstruction()
[all …]
DPPCMCInstLower.cpp41 MCContext &Ctx = AP.OutContext; in GetSymbolFromOperand()
83 MCContext &Ctx = Printer.OutContext; in GetSymbolRef()
180 MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), AP.OutContext)); in LowerPPCMachineOperandToMCOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
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_None, 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 …]
DSparcMCInstLower.cpp61 AP.OutContext); in LowerSymbolOperand()
63 AP.OutContext); in LowerSymbolOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
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 …]
DHexagonMCInstLower.cpp43 MCContext &MC = Printer.OutContext; in GetSymbolRef()
107 MCInst *MCI = new (AP.OutContext) MCInst; 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DFaultMaps.cpp33 MCContext &OutContext = AP.OutStreamer->getContext(); in recordFaultingOp() local
36 MCSymbolRefExpr::create(FaultingLabel, OutContext), in recordFaultingOp()
37 MCSymbolRefExpr::create(AP.CurrentFnSymForSize, OutContext), OutContext); in recordFaultingOp()
40 MCSymbolRefExpr::create(HandlerLabel, OutContext), in recordFaultingOp()
41 MCSymbolRefExpr::create(AP.CurrentFnSymForSize, OutContext), OutContext); in recordFaultingOp()
51 MCContext &OutContext = AP.OutStreamer->getContext(); in serializeToFaultMapSection() local
56 OutContext.getObjectFileInfo()->getFaultMapSection(); in serializeToFaultMapSection()
60 OS.EmitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_FaultMaps"))); in serializeToFaultMapSection()
DStackMaps.cpp302 MCContext &OutContext = AP.OutStreamer->getContext(); in recordStackMapOpers() local
342 MCSymbolRefExpr::create(&MILabel, OutContext), in recordStackMapOpers()
343 MCSymbolRefExpr::create(AP.CurrentFnSymForSize, OutContext), OutContext); in recordStackMapOpers()
558 MCContext &OutContext = AP.OutStreamer->getContext(); in serializeToStackMapSection() local
563 OutContext.getObjectFileInfo()->getStackMapSection(); in serializeToStackMapSection()
567 OS.EmitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_StackMaps"))); in serializeToStackMapSection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
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()
DARMAsmPrinter.cpp91 OutContext); in EmitXXStructor()
246 return OutContext.getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + in GetCPISymbol()
259 return OutContext.getOrCreateSymbol(Name); in GetARMJTIPICJumpTableLabel()
839 MCSymbol *MCSym = OutContext.getOrCreateSymbol(Name); in GetARMGVSymbol()
912 OutContext); in EmitMachineConstantPoolValue()
917 ACPV->getLabelId(), OutContext); in EmitMachineConstantPoolValue()
918 const MCExpr *PCRelExpr = MCSymbolRefExpr::create(PCLabel, OutContext); in EmitMachineConstantPoolValue()
922 OutContext), in EmitMachineConstantPoolValue()
923 OutContext); in EmitMachineConstantPoolValue()
927 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitMachineConstantPoolValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
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()
DWinException.cpp277 MCSymbol *FuncInfoXData = Asm->OutContext.getOrCreateSymbol( in endFuncletImpl()
300 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
304 Asm->OutContext); in create32bitRef()
309 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
316 Asm->OutContext); in getLabel()
318 MCConstantExpr::create(1, Asm->OutContext), in getLabel()
319 Asm->OutContext); in getLabel()
325 MCSymbolRefExpr::create(OffsetOf, Asm->OutContext), in getOffset()
326 MCSymbolRefExpr::create(OffsetFrom, Asm->OutContext), Asm->OutContext); in getOffset()
332 MCConstantExpr::create(1, Asm->OutContext), in getOffsetPlusOne()
[all …]
DAsmPrinter.cpp190 OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)) { in AsmPrinter()
264 .Initialize(OutContext, TM); in doInitialization()
309 OutContext.getSubtargetCopy(*STI), TM.Options.MCOptions); in doInitialization()
587 OutContext.getOrCreateSymbol(GVSym->getName() + Twine("$tlv$init")); in EmitGlobalVariable()
640 MCConstantExpr::create(Size, OutContext)); in EmitGlobalVariable()
697 MCSymbol *PrefixSym = OutContext.createLinkerPrivateTempSymbol(); in EmitFunctionHeader()
721 OutContext.createLinkerPrivateTempSymbol(); in EmitFunctionHeader()
751 MCSymbol *CurPos = OutContext.createTempSymbol(); in EmitFunctionHeader()
754 MCSymbolRefExpr::create(CurPos, OutContext)); in EmitFunctionHeader()
1010 MCConstantExpr::create(FrameOffset, OutContext)); in emitFrameAlloc()
[all …]
DWinCFGuard.cpp90 OS.SwitchSection(Asm->OutContext.getObjectFileInfo()->getGFIDsSection()); in endModule()
95 OS.SwitchSection(Asm->OutContext.getObjectFileInfo()->getGLJMPSection()); in endModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp76 : AsmPrinter(TM, std::move(Streamer)), MCInstLowering(OutContext, *this), in AArch64AsmPrinter()
294 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in EmitSled()
296 auto Target = OutContext.createTempSymbol(); in EmitSled()
326 Sym = OutContext.getOrCreateSymbol(SymName); in LowerHWASAN_CHECK_MEMACCESS()
331 .addExpr(MCSymbolRefExpr::create(Sym, OutContext))); in LowerHWASAN_CHECK_MEMACCESS()
344 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch"); in EmitHwasanMemaccessSymbols()
346 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch_v2"); in EmitHwasanMemaccessSymbols()
349 MCSymbolRefExpr::create(HwasanTagMismatchV1Sym, OutContext); in EmitHwasanMemaccessSymbols()
351 MCSymbolRefExpr::create(HwasanTagMismatchV2Sym, OutContext); in EmitHwasanMemaccessSymbols()
361 OutStreamer->SwitchSection(OutContext.getELFSection( in EmitHwasanMemaccessSymbols()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMCInstLower.cpp223 AMDGPUMCInstLower MCInstLowering(OutContext, STI, *this); in lowerOperand()
229 MCContext &OutContext) { in lowerAddrSpaceCast() argument
245 OutContext); in lowerAddrSpaceCast()
252 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
262 AMDGPUMCInstLower MCInstLowering(OutContext, STI, *this); in EmitInstruction()
289 = MCSymbolRefExpr::create(MBB->getSymbol(), OutContext); in EmitInstruction()
332 *STI.getInstrInfo(), *OutContext.getRegisterInfo(), OutContext)); in EmitInstruction()
386 R600MCInstLower MCInstLowering(OutContext, STI, *this); in EmitInstruction()
410 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZAsmPrinter.cpp481 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitInstruction()
484 const MCSymbolRefExpr *Expr = MCSymbolRefExpr::create(DotSym, OutContext); in EmitInstruction()
485 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in EmitInstruction()
487 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in EmitInstruction()
494 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitInstruction()
497 const MCSymbolRefExpr *Expr = MCSymbolRefExpr::create(DotSym, OutContext); in EmitInstruction()
498 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in EmitInstruction()
502 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in EmitInstruction()
528 static unsigned EmitNop(MCContext &OutContext, MCStreamer &OutStreamer, in EmitNop() argument
546 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitNop()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp89 for (auto &It : OutContext.getSymbols()) { in EmitEndOfAsmFile()
150 MCConstantExpr::create(Size, OutContext)); in EmitEndOfAsmFile()
168 OutContext.getWasmSection(SectionName, SectionKind::getMetadata()); in EmitEndOfAsmFile()
207 MCSectionWasm *Producers = OutContext.getWasmSection( in EmitProducerInfo()
265 MCSectionWasm *FeaturesSection = OutContext.getWasmSection( in EmitTargetFeatures()
367 WebAssemblyMCInstLower MCInstLowering(OutContext, *this); in EmitInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp94 MCSymbol *SymGlob = OutContext.getOrCreateSymbol( in emitArrayBound()
99 OutContext)); in emitArrayBound()
154 OutStreamer->emitELFSize(GVSym, MCConstantExpr::create(Size, OutContext)); in EmitGlobalVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiAsmPrinter.cpp153 LanaiMCInstLower MCInstLowering(OutContext, *this); in emitCallInstruction()
190 LanaiMCInstLower MCInstLowering(OutContext, *this); in customEmitInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86MCInstLower.cpp1443 auto CurSled = OutContext.createTempSymbol("xray_event_sled_", true); in LowerPATCHABLE_EVENT_CALL()
1489 auto TSym = OutContext.getOrCreateSymbol("__xray_CustomEvent"); in LowerPATCHABLE_EVENT_CALL()
1539 auto CurSled = OutContext.createTempSymbol("xray_typed_event_sled_", true); in LowerPATCHABLE_TYPED_EVENT_CALL()
1592 auto TSym = OutContext.getOrCreateSymbol("__xray_TypedEvent"); in LowerPATCHABLE_TYPED_EVENT_CALL()
1642 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in LowerPATCHABLE_FUNCTION_ENTER()
1672 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in LowerPATCHABLE_RET()
1696 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in LowerPATCHABLE_TAIL_CALL()
1699 auto Target = OutContext.createTempSymbol(); in LowerPATCHABLE_TAIL_CALL()
2124 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in EmitInstruction()
2165 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitInstruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCAsmPrinter.cpp41 MCInstLowering(&OutContext, *this) {} in ARCAsmPrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVEMCInstLower.cpp31 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, AP.OutContext); in LowerSymbolOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp209 MCOp = GetSymbolRef(OutContext.getOrCreateSymbol(StringRef(*SymNamePtr))); in lowerImageHandleSymbol()
218 OutContext.getOrCreateSymbol(Twine(MO.getSymbolName())))); in lowerToMCInst()
251 MO.getMBB()->getSymbol(), OutContext)); in lowerOperand()
267 NVPTXFloatMCExpr::createConstantFPHalf(Val, OutContext)); in lowerOperand()
271 NVPTXFloatMCExpr::createConstantFPSingle(Val, OutContext)); in lowerOperand()
275 NVPTXFloatMCExpr::createConstantFPDouble(Val, OutContext)); in lowerOperand()
327 OutContext); in GetSymbolRef()
506 return OutContext.getOrCreateSymbol(Str); in getFunctionFrameSymbol()
1972 MCContext &Ctx = OutContext; in lowerConstantForGV()

12