Lines Matching refs:OutContext
521 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, OutContext); in LowerPATCHPOINT()
585 MCSymbol *TlsGetAddr = createMCSymbolForTlsGetAddr(OutContext); in EmitTlsCall()
587 TlsGetAddr, MCSymbolRefExpr::VK_None, OutContext); in EmitTlsCall()
592 MCSymbol *TlsGetAddr = OutContext.getOrCreateSymbol("__tls_get_addr"); in EmitTlsCall()
598 MCSymbolRefExpr::create(TlsGetAddr, Kind, OutContext); in EmitTlsCall()
604 TlsRef, MCConstantExpr::create(32768, OutContext), OutContext); in EmitTlsCall()
608 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
679 Expr, MCConstantExpr::create(-Adjustment, OutContext), OutContext); in emitInstruction()
729 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
733 OutContext), in emitInstruction()
734 MCConstantExpr::create(4, OutContext), in emitInstruction()
735 OutContext); in emitInstruction()
754 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in emitInstruction()
771 MCSymbol *BaseSymbol = OutContext.getOrCreateSymbol( in emitInstruction()
775 MCSymbolRefExpr::create(MF->getPICBaseSymbol(), OutContext); in emitInstruction()
778 MCSymbolRefExpr::create(BaseSymbol, OutContext), PB, OutContext); in emitInstruction()
780 const MCExpr *DeltaHi = PPCMCExpr::createHa(DeltaExpr, OutContext); in emitInstruction()
785 const MCExpr *DeltaLo = PPCMCExpr::createLo(DeltaExpr, OutContext); in emitInstruction()
795 MCSymbolRefExpr::create(PICOffset, MCSymbolRefExpr::VK_None, OutContext); in emitInstruction()
799 OutContext); in emitInstruction()
805 MCOperand::createExpr(MCBinaryExpr::createSub(Exp, PB, OutContext)); in emitInstruction()
837 OutContext); in emitInstruction()
850 MCSymbolRefExpr::create(TOCEntry, MCSymbolRefExpr::VK_None, OutContext); in emitInstruction()
872 OutContext.getOrCreateSymbol(Twine(".LTOC")), OutContext); in emitInstruction()
873 Exp = MCBinaryExpr::createSub(Exp, PB, OutContext); in emitInstruction()
895 MCSymbolRefExpr::create(MOSymbol, MCSymbolRefExpr::VK_None, OutContext); in emitInstruction()
928 const MCExpr *Exp = MCSymbolRefExpr::create(TOCEntry, VKExpr, OutContext); in emitInstruction()
965 OutContext); in emitInstruction()
997 OutContext); in emitInstruction()
1029 MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in emitInstruction()
1034 OutContext), in emitInstruction()
1035 OutContext); in emitInstruction()
1070 MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in emitInstruction()
1093 MCSymbolRefExpr::VK_PPC_TOC_LO, OutContext); in emitInstruction()
1107 OutContext); in emitInstruction()
1127 OutContext); in emitInstruction()
1134 MCSymbol *GOTSymbol = OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
1135 MCSymbol *GOTRef = OutContext.createTempSymbol(); in emitInstruction()
1136 MCSymbol *NextInstr = OutContext.createTempSymbol(); in emitInstruction()
1141 .addExpr(MCSymbolRefExpr::create(NextInstr, OutContext))); in emitInstruction()
1143 MCBinaryExpr::createSub(MCSymbolRefExpr::create(GOTSymbol, OutContext), in emitInstruction()
1144 MCSymbolRefExpr::create(GOTRef, OutContext), in emitInstruction()
1145 OutContext); in emitInstruction()
1163 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
1165 GOTSymbol, MCSymbolRefExpr::VK_PPC_LO, OutContext); in emitInstruction()
1167 GOTSymbol, MCSymbolRefExpr::VK_PPC_HA, OutContext); in emitInstruction()
1186 OutContext); in emitInstruction()
1205 OutContext); in emitInstruction()
1237 OutContext); in emitInstruction()
1256 OutContext); in emitInstruction()
1285 OutContext); in emitInstruction()
1301 MOSymbol, MCSymbolRefExpr::VK_DTPREL, OutContext); in emitInstruction()
1320 OutContext); in emitInstruction()
1349 unsigned Mask = 0x80 >> OutContext.getRegisterInfo() in emitInstruction()
1410 MCSymbol *BeginOfSled = OutContext.createTempSymbol(); in emitInstruction()
1411 MCSymbol *EndOfSled = OutContext.createTempSymbol(); in emitInstruction()
1415 MCSymbolRefExpr::create(EndOfSled, OutContext))); in emitInstruction()
1424 OutContext.getOrCreateSymbol("__xray_FunctionEntry"), in emitInstruction()
1425 OutContext))); in emitInstruction()
1474 FallthroughLabel = OutContext.createTempSymbol(); in emitInstruction()
1481 .addExpr(MCSymbolRefExpr::create(FallthroughLabel, OutContext))); in emitInstruction()
1498 MCSymbol *BeginOfSled = OutContext.createTempSymbol(); in emitInstruction()
1509 OutContext.getOrCreateSymbol("__xray_FunctionExit"), in emitInstruction()
1510 OutContext))); in emitInstruction()
1544 OutStreamer->SwitchSection(OutContext.getELFSection( in emitStartOfAsmFile()
1547 MCSymbol *TOCSym = OutContext.getOrCreateSymbol(Twine(".LTOC")); in emitStartOfAsmFile()
1548 MCSymbol *CurrentPos = OutContext.createTempSymbol(); in emitStartOfAsmFile()
1555 MCBinaryExpr::createAdd(MCSymbolRefExpr::create(CurrentPos, OutContext), in emitStartOfAsmFile()
1556 MCConstantExpr::create(0x8000, OutContext), in emitStartOfAsmFile()
1557 OutContext); in emitStartOfAsmFile()
1580 MCSymbolRefExpr::create(OutContext.getOrCreateSymbol(Twine(".LTOC")), in emitFunctionEntryLabel()
1581 OutContext), in emitFunctionEntryLabel()
1582 MCSymbolRefExpr::create(PICBase, OutContext), in emitFunctionEntryLabel()
1583 OutContext); in emitFunctionEntryLabel()
1601 MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionEntryLabel()
1604 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCSymbol, OutContext), in emitFunctionEntryLabel()
1606 OutContext), in emitFunctionEntryLabel()
1607 OutContext); in emitFunctionEntryLabel()
1625 OutStreamer->emitValue(MCSymbolRefExpr::create(Symbol1, OutContext), in emitFunctionEntryLabel()
1627 MCSymbol *Symbol2 = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionEntryLabel()
1630 MCSymbolRefExpr::create(Symbol2, MCSymbolRefExpr::VK_PPC_TOCBASE, OutContext), in emitFunctionEntryLabel()
1647 MCSectionELF *Section = OutContext.getELFSection( in emitEndOfAsmFile()
1719 MCSymbolRefExpr::create(GlobalEntryLabel, OutContext); in emitFunctionBodyStart()
1722 MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionBodyStart()
1724 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCSymbol, OutContext), in emitFunctionBodyStart()
1725 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
1727 const MCExpr *TOCDeltaHi = PPCMCExpr::createHa(TOCDeltaExpr, OutContext); in emitFunctionBodyStart()
1733 const MCExpr *TOCDeltaLo = PPCMCExpr::createLo(TOCDeltaExpr, OutContext); in emitFunctionBodyStart()
1741 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCOffset, OutContext), in emitFunctionBodyStart()
1742 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
1757 MCSymbolRefExpr::create(LocalEntryLabel, OutContext); in emitFunctionBodyStart()
1760 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
1795 MCConstantExpr::create(1, OutContext)); in emitFunctionBodyStart()
2365 OutContext.getOrCreateSymbol(GVSym->getSymbolTableName()), Size, in emitGlobalVariableHelper()
2406 OutStreamer->emitValue(MCSymbolRefExpr::create(CurrentFnSym, OutContext), in emitFunctionDescriptor()
2412 OutStreamer->emitValue(MCSymbolRefExpr::create(TOCBaseSym, OutContext), in emitFunctionDescriptor()
2456 MCSymbol *S = OutContext.getOrCreateSymbol(Name); in emitEndOfAsmFile()
2548 MCSymbol *TlsGetAddr = createMCSymbolForTlsGetAddr(OutContext); in emitInstruction()
2559 cast<MCSymbolXCOFF>(OutContext.getOrCreateSymbol(MO.getSymbolName())); in emitInstruction()