Lines Matching refs:OutContext
409 MCSymbol *TlsGetAddr = OutContext.GetOrCreateSymbol(Name); in EmitTlsCall()
425 MCSymbolRefExpr::Create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
429 const MCExpr *SymVar = MCSymbolRefExpr::Create(MOSymbol, VK, OutContext); in EmitTlsCall()
465 OutContext.GetOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in EmitInstruction()
469 OutContext), in EmitInstruction()
470 MCConstantExpr::Create(4, OutContext), in EmitInstruction()
471 OutContext); in EmitInstruction()
489 .addExpr(MCSymbolRefExpr::Create(PICBase, OutContext))); in EmitInstruction()
505 MCSymbolRefExpr::Create(PICOffset, MCSymbolRefExpr::VK_None, OutContext); in EmitInstruction()
509 OutContext); in EmitInstruction()
515 MCOperand::CreateExpr(MCBinaryExpr::CreateSub(Exp, PB, OutContext)); in EmitInstruction()
551 OutContext); in EmitInstruction()
558 OutContext); in EmitInstruction()
560 MCSymbolRefExpr::Create(OutContext.GetOrCreateSymbol(Twine(".LTOC")), in EmitInstruction()
561 OutContext); in EmitInstruction()
562 Exp = MCBinaryExpr::CreateSub(Exp, PB, OutContext); in EmitInstruction()
596 OutContext); in EmitInstruction()
643 OutContext); in EmitInstruction()
685 OutContext); in EmitInstruction()
719 OutContext); in EmitInstruction()
733 OutContext); in EmitInstruction()
752 OutContext); in EmitInstruction()
759 MCSymbol *GOTSymbol = OutContext.GetOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in EmitInstruction()
760 MCSymbol *GOTRef = OutContext.CreateTempSymbol(); in EmitInstruction()
761 MCSymbol *NextInstr = OutContext.CreateTempSymbol(); in EmitInstruction()
766 .addExpr(MCSymbolRefExpr::Create(NextInstr, OutContext))); in EmitInstruction()
768 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(GOTSymbol, OutContext), in EmitInstruction()
769 MCSymbolRefExpr::Create(GOTRef, OutContext), in EmitInstruction()
770 OutContext); in EmitInstruction()
787 MCSymbol *GOTSymbol = OutContext.GetOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in EmitInstruction()
790 OutContext); in EmitInstruction()
793 OutContext); in EmitInstruction()
812 OutContext); in EmitInstruction()
831 OutContext); in EmitInstruction()
857 OutContext); in EmitInstruction()
876 OutContext); in EmitInstruction()
904 OutContext); in EmitInstruction()
924 OutContext); in EmitInstruction()
953 unsigned Mask = 0x80 >> OutContext.getRegisterInfo() in EmitInstruction()
1004 OutStreamer.SwitchSection(OutContext.getELFSection( in EmitStartOfAsmFile()
1007 MCSymbol *TOCSym = OutContext.GetOrCreateSymbol(Twine(".LTOC")); in EmitStartOfAsmFile()
1008 MCSymbol *CurrentPos = OutContext.CreateTempSymbol(); in EmitStartOfAsmFile()
1015 MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(CurrentPos, OutContext), in EmitStartOfAsmFile()
1016 MCConstantExpr::Create(0x8000, OutContext), in EmitStartOfAsmFile()
1017 OutContext); in EmitStartOfAsmFile()
1040 MCSymbolRefExpr::Create(OutContext.GetOrCreateSymbol(Twine(".LTOC")), in EmitFunctionEntryLabel()
1041 OutContext), in EmitFunctionEntryLabel()
1042 MCSymbolRefExpr::Create(PICBase, OutContext), in EmitFunctionEntryLabel()
1043 OutContext); in EmitFunctionEntryLabel()
1065 OutStreamer.EmitValue(MCSymbolRefExpr::Create(Symbol1, OutContext), in EmitFunctionEntryLabel()
1067 MCSymbol *Symbol2 = OutContext.GetOrCreateSymbol(StringRef(".TOC.")); in EmitFunctionEntryLabel()
1070 MCSymbolRefExpr::VK_PPC_TOCBASE, OutContext), in EmitFunctionEntryLabel()
1133 MCSymbol *GlobalEntryLabel = OutContext.CreateTempSymbol(); in EmitFunctionBodyStart()
1136 MCSymbolRefExpr::Create(GlobalEntryLabel, OutContext); in EmitFunctionBodyStart()
1138 MCSymbol *TOCSymbol = OutContext.GetOrCreateSymbol(StringRef(".TOC.")); in EmitFunctionBodyStart()
1140 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(TOCSymbol, OutContext), in EmitFunctionBodyStart()
1141 GlobalEntryLabelExp, OutContext); in EmitFunctionBodyStart()
1144 PPCMCExpr::CreateHa(TOCDeltaExpr, false, OutContext); in EmitFunctionBodyStart()
1151 PPCMCExpr::CreateLo(TOCDeltaExpr, false, OutContext); in EmitFunctionBodyStart()
1157 MCSymbol *LocalEntryLabel = OutContext.CreateTempSymbol(); in EmitFunctionBodyStart()
1160 MCSymbolRefExpr::Create(LocalEntryLabel, OutContext); in EmitFunctionBodyStart()
1163 GlobalEntryLabelExp, OutContext); in EmitFunctionBodyStart()
1245 OutContext.getMachOSection("__TEXT", "__picsymbolstub1", in EmitStartOfAsmFile()
1251 OutContext.getMachOSection("__TEXT","__symbol_stub1", in EmitStartOfAsmFile()
1293 OutContext.getMachOSection("__TEXT", "__picsymbolstub1", in EmitFunctionStubs()
1303 MCSymbol *LazyPtr = GetLazyPtr(Stub, OutContext); in EmitFunctionStubs()
1304 MCSymbol *AnonSymbol = GetAnonSym(Stub, OutContext); in EmitFunctionStubs()
1309 const MCExpr *Anon = MCSymbolRefExpr::Create(AnonSymbol, OutContext); in EmitFunctionStubs()
1310 const MCExpr *LazyPtrExpr = MCSymbolRefExpr::Create(LazyPtr, OutContext); in EmitFunctionStubs()
1312 MCBinaryExpr::CreateSub(LazyPtrExpr, Anon, OutContext); in EmitFunctionStubs()
1322 const MCExpr *SubHa16 = PPCMCExpr::CreateHa(Sub, true, OutContext); in EmitFunctionStubs()
1332 const MCExpr *SubLo16 = PPCMCExpr::CreateLo(Sub, true, OutContext); in EmitFunctionStubs()
1347 OutContext.GetOrCreateSymbol(StringRef("dyld_stub_binding_helper")); in EmitFunctionStubs()
1361 OutContext.getMachOSection("__TEXT","__symbol_stub1", in EmitFunctionStubs()
1368 MCSymbol *LazyPtr = GetLazyPtr(Stub, OutContext); in EmitFunctionStubs()
1369 const MCExpr *LazyPtrExpr = MCSymbolRefExpr::Create(LazyPtr, OutContext); in EmitFunctionStubs()
1378 PPCMCExpr::CreateHa(LazyPtrExpr, true, OutContext); in EmitFunctionStubs()
1386 PPCMCExpr::CreateLo(LazyPtrExpr, true, OutContext); in EmitFunctionStubs()
1402 OutContext.GetOrCreateSymbol(StringRef("dyld_stub_binding_helper")); in EmitFunctionStubs()
1471 OutContext), in doFinalization()
1490 OutContext), in doFinalization()