Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/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()
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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp604 TlsRef, MCConstantExpr::create(32768, OutContext), OutContext); in EmitTlsCall()
679 Expr, MCConstantExpr::create(-Adjustment, OutContext), OutContext); in emitInstruction()
778 MCSymbolRefExpr::create(BaseSymbol, OutContext), PB, OutContext); in emitInstruction()
872 OutContext.getOrCreateSymbol(Twine(".LTOC")), OutContext); in emitInstruction()
1127 OutContext); in emitInstruction()
1145 OutContext); in emitInstruction()
1205 OutContext); in emitInstruction()
1256 OutContext); in emitInstruction()
1425 OutContext))); in emitInstruction()
1557 OutContext); in emitStartOfAsmFile()
[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()
/freebsd-13.1/contrib/llvm-project/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()
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()
478 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
505 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
524 const MCExpr *MOne = MCConstantExpr::create(-1, OutContext); in HexagonProcessInstruction()
528 const MCExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
587 MCUnaryExpr::createMinus(Expr, OutContext), 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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/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()
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()
930 OutContext); in emitMachineConstantPoolValue()
941 OutContext); in emitMachineConstantPoolValue()
1067 MCConstantExpr::create(4, OutContext), OutContext); in emitJumpTableTBInst()
1070 OutContext); in emitJumpTableTBInst()
1389 TRegSym = OutContext.createTempSymbol(); in emitInstruction()
1462 OutContext), OutContext), OutContext); in emitInstruction()
1495 OutContext), OutContext), OutContext); in emitInstruction()
1515 OutContext); in emitInstruction()
1534 OutContext); in emitInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/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.cpp319 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()
338 Asm->OutContext); in getLabel()
345 MCSymbolRefExpr::create(OffsetFrom, Asm->OutContext), Asm->OutContext); in getOffset()
352 Asm->OutContext); in getOffsetPlusOne()
572 MCContext &Ctx = Asm->OutContext; in emitCSpecificHandlerTable()
640 MCContext &Ctx = Asm->OutContext; in emitSEHActionsForRange()
707 UnwindMapXData = Asm->OutContext.getOrCreateSymbol( in emitCXXFrameHandler3Table()
[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 DAsmPrinter.cpp273 .Initialize(OutContext, TM); in doInitialization()
1392 OutContext); in emitFunctionBody()
1492 MCSymbolRefExpr::create(CurrentFnSymForSize, OutContext), OutContext); in emitFunctionBody()
2183 MJTI, MBB, UID, OutContext); in emitJumpTableEntry()
2440 Expr, MCConstantExpr::create(Offset, OutContext), OutContext); in emitLabelPlusOffset()
2469 MCContext &Ctx = OutContext; in lowerConstant()
3109 return OutContext.createTempSymbol(Name, true); in createTempSymbol()
3171 return OutContext.getOrCreateSymbol(NameStr); in GetExternalSymbolSymbol()
3493 FnSledIndex = OutContext.getELFSection( in emitXRayTable()
3500 FnSledIndex = OutContext.getMachOSection( in emitXRayTable()
[all …]
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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp193 AMDGPUMCInstLower MCInstLowering(OutContext, STI, *this); in lowerOperand()
199 MCContext &OutContext) { in lowerAddrSpaceCast() argument
215 OutContext); in lowerAddrSpaceCast()
222 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
232 AMDGPUMCInstLower MCInstLowering(OutContext, STI, *this); in emitInstruction()
290 *STI.getInstrInfo(), *OutContext.getRegisterInfo(), OutContext)); in emitInstruction()
344 R600MCInstLower MCInstLowering(OutContext, STI, *this); in emitInstruction()
368 if (const MCExpr *E = lowerAddrSpaceCast(TM, CV, OutContext)) in lowerConstant()
/freebsd-13.1/contrib/llvm-project/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()
807 OutContext.getELFSection(SectionName, ELF::SHT_PROGBITS, 0)); in emitStartOfAsmFile()
1050 MCSectionELF *M = OutContext.getELFSection( in EmitFPCallStub()
1072 cast<MCSymbolELF>(OutContext.getOrCreateSymbol(StringRef(x))); in EmitFPCallStub()
1115 MCSymbol *Tmp = OutContext.createTempSymbol(); in EmitFPCallStub()
1207 auto CurSled = OutContext.createTempSymbol("xray_sled_", true); in EmitSled()
1209 auto Target = OutContext.createTempSymbol(); in EmitSled()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp507 MCSymbol *DotSym = OutContext.createTempSymbol(); 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()
524 const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext); in emitInstruction()
528 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
560 EXRLTargets2Sym[ET_STI] = DotSym = OutContext.createTempSymbol(); in emitInstruction()
577 static unsigned EmitNop(MCContext &OutContext, MCStreamer &OutStreamer, in EmitNop() argument
595 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitNop()
608 MCSymbol *DotSym = OutContext.createTempSymbol(); in LowerFENTRY_CALL()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp299 auto Target = OutContext.createTempSymbol(); in emitSled()
329 Sym = OutContext.getOrCreateSymbol(SymName); in LowerHWASAN_CHECK_MEMACCESS()
348 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch"); in emitHwasanMemaccessSymbols()
350 OutContext.getOrCreateSymbol("__hwasan_tag_mismatch_v2"); in emitHwasanMemaccessSymbols()
374 OutStreamer->SwitchSection(OutContext.getELFSection( in emitHwasanMemaccessSymbols()
410 OutContext)), in emitHwasanMemaccessSymbols()
412 MCSymbol *ReturnSym = OutContext.createTempSymbol(); in emitHwasanMemaccessSymbols()
547 OutContext)), in emitHwasanMemaccessSymbols()
555 OutContext)), in emitHwasanMemaccessSymbols()
608 return OutContext.getOrCreateSymbol( in GetCPISymbol()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp281 for (auto &It : OutContext.getSymbols()) { in emitExternalDecls()
372 WebAssembly::getOrCreateFunctionTableSymbol(OutContext, Subtarget); in emitEndOfAsmFile()
384 MCConstantExpr::create(Size, OutContext)); in emitEndOfAsmFile()
401 OutContext.getWasmSection(SectionName, SectionKind::getMetadata()); in emitEndOfAsmFile()
440 MCSectionWasm *Producers = OutContext.getWasmSection( in EmitProducerInfo()
504 MCSectionWasm *FeaturesSection = OutContext.getWasmSection( in EmitTargetFeatures()
609 WebAssemblyMCInstLower MCInstLowering(OutContext, *this); in emitInstruction()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp175 AVRMCInstLower MCInstLowering(OutContext, *this); in emitInstruction()
183 MCContext &Ctx = OutContext; in lowerConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiAsmPrinter.cpp153 LanaiMCInstLower MCInstLowering(OutContext, *this); in emitCallInstruction()
190 LanaiMCInstLower MCInstLowering(OutContext, *this); in customEmitInstruction()

12