Lines Matching refs:OutContext

633     const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext);  in LowerPATCHPOINT()
680 MCSymbol *TlsCall = createMCSymbolForTlsGetAddr(OutContext, MI->getOpcode()); in EmitAIXTlsCallHelper()
682 MCSymbolRefExpr::create(TlsCall, MCSymbolRefExpr::VK_None, OutContext); in EmitAIXTlsCallHelper()
726 MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol("__tls_get_addr"); in EmitTlsCall()
732 MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
738 TlsRef, MCConstantExpr::create(32768, OutContext), OutContext); in EmitTlsCall()
742 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
846 Expr, MCConstantExpr::create(-Adjustment, OutContext), OutContext); in emitInstruction()
944 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
948 OutContext), in emitInstruction()
949 MCConstantExpr::create(4, OutContext), in emitInstruction()
950 OutContext); in emitInstruction()
969 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in emitInstruction()
986 MCSymbol *BaseSymbol = OutContext.getOrCreateSymbol( in emitInstruction()
990 MCSymbolRefExpr::create(MF->getPICBaseSymbol(), OutContext); in emitInstruction()
993 MCSymbolRefExpr::create(BaseSymbol, OutContext), PB, OutContext); in emitInstruction()
995 const MCExpr *DeltaHi = PPCMCExpr::createHa(DeltaExpr, OutContext); in emitInstruction()
1000 const MCExpr *DeltaLo = PPCMCExpr::createLo(DeltaExpr, OutContext); in emitInstruction()
1010 MCSymbolRefExpr::create(PICOffset, MCSymbolRefExpr::VK_None, OutContext); in emitInstruction()
1014 OutContext); in emitInstruction()
1020 MCOperand::createExpr(MCBinaryExpr::createSub(Exp, PB, OutContext)); in emitInstruction()
1052 OutContext); in emitInstruction()
1066 MCSymbolRefExpr::create(TOCEntry, MCSymbolRefExpr::VK_None, OutContext); in emitInstruction()
1088 OutContext.getOrCreateSymbol(Twine(".LTOC")), OutContext); in emitInstruction()
1089 Exp = MCBinaryExpr::createSub(Exp, PB, OutContext); in emitInstruction()
1112 MCSymbolRefExpr::create(MOSymbol, MCSymbolRefExpr::VK_None, OutContext); in emitInstruction()
1145 const MCExpr *Exp = MCSymbolRefExpr::create(TOCEntry, VKExpr, OutContext); in emitInstruction()
1195 MOSymbol, MCSymbolRefExpr::VK_PPC_U, OutContext); in emitInstruction()
1229 OutContext); in emitInstruction()
1265 MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in emitInstruction()
1270 OutContext), in emitInstruction()
1271 OutContext); in emitInstruction()
1307 MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in emitInstruction()
1337 OutContext); in emitInstruction()
1352 OutContext); in emitInstruction()
1372 OutContext); in emitInstruction()
1379 MCSymbol *GOTSymbol = OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
1380 MCSymbol *GOTRef = OutContext.createTempSymbol(); in emitInstruction()
1381 MCSymbol *NextInstr = OutContext.createTempSymbol(); in emitInstruction()
1386 .addExpr(MCSymbolRefExpr::create(NextInstr, OutContext))); in emitInstruction()
1388 MCBinaryExpr::createSub(MCSymbolRefExpr::create(GOTSymbol, OutContext), in emitInstruction()
1389 MCSymbolRefExpr::create(GOTRef, OutContext), in emitInstruction()
1390 OutContext); in emitInstruction()
1408 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
1410 GOTSymbol, MCSymbolRefExpr::VK_PPC_LO, OutContext); in emitInstruction()
1412 GOTSymbol, MCSymbolRefExpr::VK_PPC_HA, OutContext); in emitInstruction()
1431 OutContext); in emitInstruction()
1450 OutContext); in emitInstruction()
1493 OutContext); in emitInstruction()
1512 OutContext); in emitInstruction()
1541 OutContext); in emitInstruction()
1557 MOSymbol, MCSymbolRefExpr::VK_DTPREL, OutContext); in emitInstruction()
1576 OutContext); in emitInstruction()
1605 unsigned Mask = 0x80 >> OutContext.getRegisterInfo() in emitInstruction()
1748 OutContext); in getAdjustedFasterLocalExpr()
1750 Expr, MCConstantExpr::create(Offset, OutContext), OutContext); in getAdjustedFasterLocalExpr()
1766 Expr, MCConstantExpr::create(-Delta, OutContext), OutContext); in getAdjustedFasterLocalExpr()
1816 MCSymbol *BeginOfSled = OutContext.createTempSymbol(); in emitInstruction()
1817 MCSymbol *EndOfSled = OutContext.createTempSymbol(); in emitInstruction()
1821 MCSymbolRefExpr::create(EndOfSled, OutContext))); in emitInstruction()
1830 OutContext.getOrCreateSymbol("__xray_FunctionEntry"), in emitInstruction()
1831 OutContext))); in emitInstruction()
1880 FallthroughLabel = OutContext.createTempSymbol(); in emitInstruction()
1887 .addExpr(MCSymbolRefExpr::create(FallthroughLabel, OutContext))); in emitInstruction()
1904 MCSymbol *BeginOfSled = OutContext.createTempSymbol(); in emitInstruction()
1915 OutContext.getOrCreateSymbol("__xray_FunctionExit"), in emitInstruction()
1916 OutContext))); in emitInstruction()
1949 OutStreamer->switchSection(OutContext.getELFSection( in emitStartOfAsmFile()
1952 MCSymbol *TOCSym = OutContext.getOrCreateSymbol(Twine(".LTOC")); in emitStartOfAsmFile()
1953 MCSymbol *CurrentPos = OutContext.createTempSymbol(); in emitStartOfAsmFile()
1960 MCBinaryExpr::createAdd(MCSymbolRefExpr::create(CurrentPos, OutContext), in emitStartOfAsmFile()
1961 MCConstantExpr::create(0x8000, OutContext), in emitStartOfAsmFile()
1962 OutContext); in emitStartOfAsmFile()
1985 MCSymbolRefExpr::create(OutContext.getOrCreateSymbol(Twine(".LTOC")), in emitFunctionEntryLabel()
1986 OutContext), in emitFunctionEntryLabel()
1987 MCSymbolRefExpr::create(PICBase, OutContext), in emitFunctionEntryLabel()
1988 OutContext); in emitFunctionEntryLabel()
2006 MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionEntryLabel()
2009 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCSymbol, OutContext), in emitFunctionEntryLabel()
2011 OutContext), in emitFunctionEntryLabel()
2012 OutContext); in emitFunctionEntryLabel()
2030 OutStreamer->emitValue(MCSymbolRefExpr::create(Symbol1, OutContext), in emitFunctionEntryLabel()
2032 MCSymbol *Symbol2 = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionEntryLabel()
2035 MCSymbolRefExpr::create(Symbol2, MCSymbolRefExpr::VK_PPC_TOCBASE, OutContext), in emitFunctionEntryLabel()
2062 MCSectionELF *Section = OutContext.getELFSection( in emitEndOfAsmFile()
2134 MCSymbolRefExpr::create(GlobalEntryLabel, OutContext); in emitFunctionBodyStart()
2137 MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionBodyStart()
2139 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCSymbol, OutContext), in emitFunctionBodyStart()
2140 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
2142 const MCExpr *TOCDeltaHi = PPCMCExpr::createHa(TOCDeltaExpr, OutContext); in emitFunctionBodyStart()
2148 const MCExpr *TOCDeltaLo = PPCMCExpr::createLo(TOCDeltaExpr, OutContext); in emitFunctionBodyStart()
2156 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCOffset, OutContext), in emitFunctionBodyStart()
2157 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
2172 MCSymbolRefExpr::create(LocalEntryLabel, OutContext); in emitFunctionBodyStart()
2175 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
2207 MCConstantExpr::create(1, OutContext)); in emitFunctionBodyStart()
2835 OutContext.getOrCreateSymbol(GVSym->getSymbolTableName()), Size, in emitGlobalVariableHelper()
2890 OutStreamer->emitValue(MCSymbolRefExpr::create(CurrentFnSym, OutContext), in emitFunctionDescriptor()
2896 OutStreamer->emitValue(MCSymbolRefExpr::create(TOCBaseSym, OutContext), in emitFunctionDescriptor()
2917 if (!OutContext.hasXCOFFSection( in emitPGORefs()
2938 MCSection *CntsSection = OutContext.getXCOFFSection( in emitPGORefs()
2944 if (OutContext.hasXCOFFSection( in emitPGORefs()
2947 MCSymbol *S = OutContext.getOrCreateSymbol("__llvm_prf_data[RW]"); in emitPGORefs()
2950 if (OutContext.hasXCOFFSection( in emitPGORefs()
2953 MCSymbol *S = OutContext.getOrCreateSymbol("__llvm_prf_names[RO]"); in emitPGORefs()
2956 if (OutContext.hasXCOFFSection( in emitPGORefs()
2959 MCSymbol *S = OutContext.getOrCreateSymbol("__llvm_prf_vnds[RW]"); in emitPGORefs()
2993 MCSymbol *S = OutContext.getOrCreateSymbol(Name); in emitEndOfAsmFile()
3138 MCSymbol *TempSym = OutContext.createNamedTempSymbol(); in emitInstruction()
3155 createMCSymbolForTlsGetAddr(OutContext, MI->getOpcode()); in emitInstruction()
3166 cast<MCSymbolXCOFF>(OutContext.getOrCreateSymbol(MO.getSymbolName())); in emitInstruction()