Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp435 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT()
460 MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol(Name); in EmitTlsCall()
476 MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
480 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
516 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in EmitInstruction()
520 OutContext), in EmitInstruction()
521 MCConstantExpr::create(4, OutContext), in EmitInstruction()
522 OutContext); in EmitInstruction()
541 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in EmitInstruction()
557 MCSymbolRefExpr::create(PICOffset, MCSymbolRefExpr::VK_None, OutContext); in EmitInstruction()
[all …]
DPPCMCInstLower.cpp42 MCContext &Ctx = AP.OutContext; in GetSymbolFromOperand()
116 MCContext &Ctx = Printer.OutContext; in GetSymbolRef()
197 MO.getMBB()->getSymbol(), AP.OutContext)); in LowerPPCMachineInstrToMCInst()
/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp80 MCSymbol *Sym, MCContext &OutContext) { in createSparcMCOperand() argument
82 OutContext); in createSparcMCOperand()
83 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, OutContext); in createSparcMCOperand()
88 MCContext &OutContext) { in createPCXCallOP() argument
89 return createSparcMCOperand(SparcMCExpr::VK_Sparc_None, Label, OutContext); in createPCXCallOP()
95 MCContext &OutContext) in createPCXRelExprOp() argument
97 const MCSymbolRefExpr *GOT = MCSymbolRefExpr::create(GOTLabel, OutContext); in createPCXRelExprOp()
99 OutContext); in createPCXRelExprOp()
101 OutContext); in createPCXRelExprOp()
103 const MCBinaryExpr *Sub = MCBinaryExpr::createSub(Cur, Start, OutContext); in createPCXRelExprOp()
[all …]
DSparcMCInstLower.cpp63 AP.OutContext); in LowerSymbolOperand()
65 AP.OutContext); in LowerSymbolOperand()
/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()
DStackMaps.cpp287 MCContext &OutContext = AP.OutStreamer->getContext(); in recordStackMapOpers() local
288 MCSymbol *MILabel = OutContext.createTempSymbol(); in recordStackMapOpers()
329 MCSymbolRefExpr::create(MILabel, OutContext), in recordStackMapOpers()
330 MCSymbolRefExpr::create(AP.CurrentFnSymForSize, OutContext), OutContext); in recordStackMapOpers()
530 MCContext &OutContext = AP.OutStreamer->getContext(); in serializeToStackMapSection() local
535 OutContext.getObjectFileInfo()->getStackMapSection(); in serializeToStackMapSection()
539 OS.EmitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_StackMaps"))); in serializeToStackMapSection()
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp34 OutContext); in GetSymbolRef()
41 OutContext); in GetSymbolRef()
42 Expr = ARMMCExpr::createLower16(Expr, OutContext); in GetSymbolRef()
46 OutContext); in GetSymbolRef()
47 Expr = ARMMCExpr::createUpper16(Expr, OutContext); in GetSymbolRef()
55 OutContext); in GetSymbolRef()
62 OutContext), in GetSymbolRef()
63 OutContext); in GetSymbolRef()
84 MO.getMBB()->getSymbol(), OutContext)); in lowerOperand()
DARMAsmPrinter.cpp95 OutContext); in EmitXXStructor()
234 return OutContext.getOrCreateSymbol(Name); in GetARMJTIPICJumpTableLabel()
897 return OutContext.getOrCreateSymbol(Name); in GetARMGVSymbol()
937 OutContext); in EmitMachineConstantPoolValue()
942 ACPV->getLabelId(), OutContext); in EmitMachineConstantPoolValue()
943 const MCExpr *PCRelExpr = MCSymbolRefExpr::create(PCLabel, OutContext); in EmitMachineConstantPoolValue()
947 OutContext), in EmitMachineConstantPoolValue()
948 OutContext); in EmitMachineConstantPoolValue()
952 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitMachineConstantPoolValue()
954 const MCExpr *DotExpr = MCSymbolRefExpr::create(DotSym, OutContext); in EmitMachineConstantPoolValue()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonMCInstLower.cpp36 MCContext &MC = Printer.OutContext; in GetSymbolRef()
83 MCInst *MCI = new (AP.OutContext) MCInst; in HexagonLowerToMC()
110 AP.OutContext)); in HexagonLowerToMC()
115 MCConstantExpr::create(MO.getImm(), AP.OutContext)); in HexagonLowerToMC()
120 AP.OutContext)); in HexagonLowerToMC()
143 HexagonMCInstrInfo::extendIfNeeded(AP.OutContext, MCII, MCB, *MCI, in HexagonLowerToMC()
DHexagonAsmPrinter.cpp220 Sym = AP.OutContext.getOrCreateSymbol(Twine(symbolName)); in smallData()
248 Sym = AP.OutContext.getOrCreateSymbol(Twine(LitaName)); in smallData()
282 MCSymbolRefExpr::create(Sym, OutContext))); in HexagonProcessInstruction()
301 MCSymbolRefExpr::create(Sym, OutContext))); in HexagonProcessInstruction()
382 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
383 const MCExpr *Sub = MCBinaryExpr::createSub(Expr, One, OutContext); in HexagonProcessInstruction()
415 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
416 const MCExpr *Sub = MCBinaryExpr::createSub(Expr, One, OutContext); in HexagonProcessInstruction()
439 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
440 const MCExpr *Sub = MCBinaryExpr::createSub(Expr, One, OutContext); in HexagonProcessInstruction()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DWinException.cpp131 Asm->OutContext); in endFunction()
245 MCSymbol *FuncInfoXData = Asm->OutContext.getOrCreateSymbol( in endFunclet()
269 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
273 Asm->OutContext); in create32bitRef()
278 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef()
284 MCConstantExpr::create(1, Asm->OutContext), in getLabelPlusOne()
285 Asm->OutContext); in getLabelPlusOne()
291 MCSymbolRefExpr::create(OffsetOf, Asm->OutContext), in getOffset()
292 MCSymbolRefExpr::create(OffsetFrom, Asm->OutContext), Asm->OutContext); in getOffset()
298 MCConstantExpr::create(1, Asm->OutContext), in getOffsetPlusOne()
[all …]
DAsmPrinter.cpp104 OutContext(Streamer->getContext()), OutStreamer(std::move(Streamer)), in AsmPrinter()
180 .Initialize(OutContext, TM); in doInitialization()
239 OutContext.getSubtargetCopy(*STI), TM.Options.MCOptions); in doInitialization()
485 OutContext.getOrCreateSymbol(GVSym->getName() + Twine("$tlv$init")); in EmitGlobalVariable()
536 MCConstantExpr::create(Size, OutContext)); in EmitGlobalVariable()
587 MCSymbol *CurPos = OutContext.createTempSymbol(); in EmitFunctionHeader()
590 MCSymbolRefExpr::create(CurPos, OutContext)); in EmitFunctionHeader()
830 MCConstantExpr::create(FrameOffset, OutContext)); in emitFrameAlloc()
954 MCSymbolRefExpr::create(CurrentFnEnd, OutContext), in EmitFunctionBody()
955 MCSymbolRefExpr::create(CurrentFnSymForSize, OutContext), OutContext); in EmitFunctionBody()
[all …]
DAddressPool.cpp41 : MCSymbolRefExpr::create(I.first, Asm.OutContext); in emit()
DOcamlGCPrinter.cpp63 MCSymbol *Sym = AP.OutContext.getOrCreateSymbol(TmpStr); in EmitCamlGlobal()
/external/llvm/lib/Target/Mips/
DMipsAsmPrinter.cpp65 .Initialize(OutContext, TM); in runOnMachineFunction()
718 OutContext.getELFSection(SectionName, ELF::SHT_PROGBITS, 0)); in EmitStartOfAsmFile()
730 OutStreamer->SwitchSection(OutContext.getELFSection(".gcc_compiled_long32", in EmitStartOfAsmFile()
733 OutStreamer->SwitchSection(OutContext.getELFSection(".gcc_compiled_long64", in EmitStartOfAsmFile()
778 MCOperand::createExpr(MCSymbolRefExpr::create(Symbol, OutContext))); in EmitJal()
892 MCSymbol *MSymbol = OutContext.getOrCreateSymbol(StringRef(Symbol)); in EmitFPCallStub()
963 MCSectionELF *M = OutContext.getELFSection( in EmitFPCallStub()
985 cast<MCSymbolELF>(OutContext.getOrCreateSymbol(StringRef(x))); in EmitFPCallStub()
988 OutContext.getOrCreateSymbol("__call_stub_fp_" + Twine(Symbol)); in EmitFPCallStub()
1028 MCSymbol *Tmp = OutContext.createTempSymbol(); in EmitFPCallStub()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp99 MCSymbol *SymGlob = OutContext.getOrCreateSymbol( in emitArrayBound()
104 OutContext)); in emitArrayBound()
161 MCConstantExpr::create(Size, OutContext)); in EmitGlobalVariable()
/external/llvm/lib/Target/BPF/
DBPFAsmPrinter.cpp77 BPFMCInstLower MCInstLowering(OutContext, *this); in EmitInstruction()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp100 P.OutContext.getOrCreateSymbol(Twine("__imp_") + GVSym->getName()); in printSymbolOperand()
599 MCSection *TheSection = OutContext.getMachOSection( in EmitEndOfAsmFile()
624 MCSection *TheSection = OutContext.getMachOSection( in EmitEndOfAsmFile()
638 MCSection *TheSection = OutContext.getMachOSection( in EmitEndOfAsmFile()
DX86MCInstLower.cpp1141 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in EmitInstruction()
1182 MCSymbol *DotSym = OutContext.createTempSymbol(); in EmitInstruction()
1188 const MCExpr *DotExpr = MCSymbolRefExpr::create(DotSym, OutContext); in EmitInstruction()
1190 MCSymbolRefExpr::create(MF->getPICBaseSymbol(), OutContext); in EmitInstruction()
1191 DotExpr = MCBinaryExpr::createSub(DotExpr, PICBase, OutContext); in EmitInstruction()
1193 DotExpr = MCBinaryExpr::createAdd(MCSymbolRefExpr::create(OpSym,OutContext), in EmitInstruction()
1194 DotExpr, OutContext); in EmitInstruction()
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp55 : AsmPrinter(TM, std::move(Streamer)), MCInstLowering(OutContext, *this), in AArch64AsmPrinter()
175 return OutContext.getOrCreateSymbol( in GetCPISymbol()
179 return OutContext.getOrCreateSymbol( in GetCPISymbol()
/external/llvm/lib/Target/MSP430/
DMSP430AsmPrinter.cpp151 MSP430MCInstLower MCInstLowering(OutContext, *this); in EmitInstruction()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUMCInstLower.cpp89 AMDGPUMCInstLower MCInstLowering(OutContext, STI); in EmitInstruction()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp228 MCOp = GetSymbolRef(OutContext.getOrCreateSymbol( in lowerImageHandleSymbol()
238 OutContext.getOrCreateSymbol(Twine(MO.getSymbolName())))); in lowerToMCInst()
270 MO.getMBB()->getSymbol(), OutContext)); in lowerOperand()
286 NVPTXFloatMCExpr::createConstantFPSingle(Val, OutContext)); in lowerOperand()
290 NVPTXFloatMCExpr::createConstantFPDouble(Val, OutContext)); in lowerOperand()
338 OutContext); in GetSymbolRef()
825 .Initialize(OutContext, TM); in doInitialization()
2011 MCContext &Ctx = OutContext; in lowerConstantForGV()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp216 WebAssemblyMCInstLower MCInstLowering(OutContext, *this); in EmitInstruction()
/external/llvm/include/llvm/CodeGen/
DAsmPrinter.h78 MCContext &OutContext; variable

12