Home
last modified time | relevance | path

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

12345

/external/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 …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp464 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT()
489 MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol(Name); in EmitTlsCall()
514 MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
520 TlsRef, MCConstantExpr::create(32768, OutContext), OutContext); in EmitTlsCall()
524 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
595 Expr, MCConstantExpr::create(-Adjustment, OutContext), OutContext); in emitInstruction()
633 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
637 OutContext), in emitInstruction()
638 MCConstantExpr::create(4, OutContext), in emitInstruction()
639 OutContext); in emitInstruction()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp78 MCSymbol *Sym, MCContext &OutContext) { in createSparcMCOperand() argument
80 OutContext); in createSparcMCOperand()
81 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, OutContext); in createSparcMCOperand()
86 MCContext &OutContext) { in createPCXCallOP() argument
87 return createSparcMCOperand(SparcMCExpr::VK_Sparc_None, Label, OutContext); in createPCXCallOP()
93 MCContext &OutContext) in createPCXRelExprOp() argument
95 const MCSymbolRefExpr *GOT = MCSymbolRefExpr::create(GOTLabel, OutContext); in createPCXRelExprOp()
97 OutContext); in createPCXRelExprOp()
99 OutContext); in createPCXRelExprOp()
101 const MCBinaryExpr *Sub = MCBinaryExpr::createSub(Cur, Start, OutContext); in createPCXRelExprOp()
[all …]
/external/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 …]
/external/llvm-project/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 …]
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp422 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT()
447 MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol(Name); in EmitTlsCall()
463 MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
467 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
503 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in EmitInstruction()
507 OutContext), in EmitInstruction()
508 MCConstantExpr::create(4, OutContext), in EmitInstruction()
509 OutContext); in EmitInstruction()
528 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in EmitInstruction()
544 MCSymbolRefExpr::create(PICOffset, MCSymbolRefExpr::VK_None, OutContext); in EmitInstruction()
[all …]
/external/llvm/lib/CodeGen/
DFaultMaps.cpp30 MCContext &OutContext = AP.OutStreamer->getContext(); in recordFaultingOp() local
31 MCSymbol *FaultingLabel = OutContext.createTempSymbol(); in recordFaultingOp()
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()
/external/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()
/external/llvm-project/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()
/external/llvm-project/llvm/lib/Target/VE/
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 …]
/external/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()
/external/llvm-project/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 = 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()
/external/llvm-project/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.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 …]
/external/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 …]
/external/llvm/lib/Target/Hexagon/
DHexagonMCInstLower.cpp36 MCContext &MC = Printer.OutContext; in GetSymbolRef()
100 MCInst *MCI = new (AP.OutContext) MCInst; in HexagonLowerToMC()
125 AP.OutContext), in HexagonLowerToMC()
126 AP.OutContext); in HexagonLowerToMC()
133 MCConstantExpr::create(MO.getImm(), AP.OutContext), AP.OutContext); in HexagonLowerToMC()
140 AP.OutContext); in HexagonLowerToMC()
141 Expr = HexagonMCExpr::create(Expr, AP.OutContext); in HexagonLowerToMC()
168 HexagonMCInstrInfo::extendIfNeeded(AP.OutContext, MCII, MCB, *MCI); in HexagonLowerToMC()
DHexagonAsmPrinter.cpp217 Sym = AP.OutContext.getOrCreateSymbol(Twine(symbolName)); in smallData()
245 Sym = AP.OutContext.getOrCreateSymbol(Twine(LitaName)); in smallData()
292 MCSymbolRefExpr::create(Sym, OutContext))); in HexagonProcessInstruction()
311 MCSymbolRefExpr::create(Sym, OutContext), OutContext))); in HexagonProcessInstruction()
393 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
394 const MCExpr *Sub = MCBinaryExpr::createSub(Expr, One, OutContext); in HexagonProcessInstruction()
396 MCOperand::createExpr(HexagonMCExpr::create(Sub, OutContext))); in HexagonProcessInstruction()
428 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
429 const MCExpr *Sub = MCBinaryExpr::createSub(Expr, One, OutContext); in HexagonProcessInstruction()
431 MCOperand::createExpr(HexagonMCExpr::create(Sub, OutContext))); in HexagonProcessInstruction()
[all …]
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp30 MCSymbolRefExpr::create(Symbol, MCSymbolRefExpr::VK_None, OutContext); in GetSymbolRef()
38 MCSymbolRefExpr::create(Symbol, MCSymbolRefExpr::VK_None, OutContext); in GetSymbolRef()
39 Expr = ARMMCExpr::createLower16(Expr, OutContext); in GetSymbolRef()
43 MCSymbolRefExpr::create(Symbol, MCSymbolRefExpr::VK_None, OutContext); in GetSymbolRef()
44 Expr = ARMMCExpr::createUpper16(Expr, OutContext); in GetSymbolRef()
51 OutContext), in GetSymbolRef()
52 OutContext); in GetSymbolRef()
73 MO.getMBB()->getSymbol(), OutContext)); in lowerOperand()
DARMAsmPrinter.cpp94 OutContext); in EmitXXStructor()
231 return OutContext.getOrCreateSymbol(Name); in GetARMJTIPICJumpTableLabel()
943 return OutContext.getOrCreateSymbol(Name); in GetARMGVSymbol()
983 OutContext); in EmitMachineConstantPoolValue()
988 ACPV->getLabelId(), OutContext); in EmitMachineConstantPoolValue()
989 const MCExpr *PCRelExpr = MCSymbolRefExpr::create(PCLabel, OutContext); in EmitMachineConstantPoolValue()
993 OutContext), in EmitMachineConstantPoolValue()
994 OutContext); in EmitMachineConstantPoolValue()
998 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitMachineConstantPoolValue()
1000 const MCExpr *DotExpr = MCSymbolRefExpr::create(DotSym, OutContext); in EmitMachineConstantPoolValue()
[all …]
/external/llvm-project/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()
/external/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()
/external/llvm/lib/CodeGen/AsmPrinter/
DWinException.cpp244 MCSymbol *FuncInfoXData = Asm->OutContext.getOrCreateSymbol( in endFunclet()
268 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
272 Asm->OutContext); in create32bitRef()
277 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
283 MCConstantExpr::create(1, Asm->OutContext), in getLabelPlusOne()
284 Asm->OutContext); in getLabelPlusOne()
290 MCSymbolRefExpr::create(OffsetOf, Asm->OutContext), in getOffset()
291 MCSymbolRefExpr::create(OffsetFrom, Asm->OutContext), Asm->OutContext); in getOffset()
297 MCConstantExpr::create(1, Asm->OutContext), in getOffsetPlusOne()
298 Asm->OutContext); in getOffsetPlusOne()
[all …]

12345