Lines Matching refs:OutContext
464 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()
658 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in emitInstruction()
675 MCSymbol *BaseSymbol = OutContext.getOrCreateSymbol( in emitInstruction()
679 MCSymbolRefExpr::create(MF->getPICBaseSymbol(), OutContext); in emitInstruction()
682 MCSymbolRefExpr::create(BaseSymbol, OutContext), PB, OutContext); in emitInstruction()
684 const MCExpr *DeltaHi = PPCMCExpr::createHa(DeltaExpr, OutContext); in emitInstruction()
689 const MCExpr *DeltaLo = PPCMCExpr::createLo(DeltaExpr, OutContext); in emitInstruction()
699 MCSymbolRefExpr::create(PICOffset, MCSymbolRefExpr::VK_None, OutContext); in emitInstruction()
703 OutContext); in emitInstruction()
709 MCOperand::createExpr(MCBinaryExpr::createSub(Exp, PB, OutContext)); in emitInstruction()
741 OutContext); in emitInstruction()
752 MCSymbolRefExpr::create(TOCEntry, MCSymbolRefExpr::VK_None, OutContext); in emitInstruction()
770 OutContext.getOrCreateSymbol(Twine(".LTOC")), OutContext); in emitInstruction()
771 Exp = MCBinaryExpr::createSub(Exp, PB, OutContext); in emitInstruction()
801 MCSymbolRefExpr::create(TOCEntry, VK, OutContext); in emitInstruction()
832 OutContext); in emitInstruction()
862 OutContext); in emitInstruction()
893 MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in emitInstruction()
898 OutContext), in emitInstruction()
899 OutContext); in emitInstruction()
933 MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in emitInstruction()
956 MCSymbolRefExpr::VK_PPC_TOC_LO, OutContext); in emitInstruction()
970 OutContext); in emitInstruction()
990 OutContext); in emitInstruction()
997 MCSymbol *GOTSymbol = OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
998 MCSymbol *GOTRef = OutContext.createTempSymbol(); in emitInstruction()
999 MCSymbol *NextInstr = OutContext.createTempSymbol(); in emitInstruction()
1004 .addExpr(MCSymbolRefExpr::create(NextInstr, OutContext))); in emitInstruction()
1006 MCBinaryExpr::createSub(MCSymbolRefExpr::create(GOTSymbol, OutContext), in emitInstruction()
1007 MCSymbolRefExpr::create(GOTRef, OutContext), in emitInstruction()
1008 OutContext); in emitInstruction()
1026 OutContext.getOrCreateSymbol(StringRef("_GLOBAL_OFFSET_TABLE_")); in emitInstruction()
1028 GOTSymbol, MCSymbolRefExpr::VK_PPC_LO, OutContext); in emitInstruction()
1030 GOTSymbol, MCSymbolRefExpr::VK_PPC_HA, OutContext); in emitInstruction()
1049 OutContext); in emitInstruction()
1068 OutContext); in emitInstruction()
1095 OutContext); in emitInstruction()
1114 OutContext); in emitInstruction()
1143 OutContext); in emitInstruction()
1159 MOSymbol, MCSymbolRefExpr::VK_DTPREL, OutContext); in emitInstruction()
1178 OutContext); in emitInstruction()
1207 unsigned Mask = 0x80 >> OutContext.getRegisterInfo() in emitInstruction()
1258 MCSymbol *BeginOfSled = OutContext.createTempSymbol(); in emitInstruction()
1259 MCSymbol *EndOfSled = OutContext.createTempSymbol(); in emitInstruction()
1263 MCSymbolRefExpr::create(EndOfSled, OutContext))); in emitInstruction()
1272 OutContext.getOrCreateSymbol("__xray_FunctionEntry"), in emitInstruction()
1273 OutContext))); in emitInstruction()
1323 FallthroughLabel = OutContext.createTempSymbol(); in emitInstruction()
1330 .addExpr(MCSymbolRefExpr::create(FallthroughLabel, OutContext))); in emitInstruction()
1347 MCSymbol *BeginOfSled = OutContext.createTempSymbol(); in emitInstruction()
1358 OutContext.getOrCreateSymbol("__xray_FunctionExit"), in emitInstruction()
1359 OutContext))); in emitInstruction()
1393 OutStreamer->SwitchSection(OutContext.getELFSection( in emitStartOfAsmFile()
1396 MCSymbol *TOCSym = OutContext.getOrCreateSymbol(Twine(".LTOC")); in emitStartOfAsmFile()
1397 MCSymbol *CurrentPos = OutContext.createTempSymbol(); in emitStartOfAsmFile()
1404 MCBinaryExpr::createAdd(MCSymbolRefExpr::create(CurrentPos, OutContext), in emitStartOfAsmFile()
1405 MCConstantExpr::create(0x8000, OutContext), in emitStartOfAsmFile()
1406 OutContext); in emitStartOfAsmFile()
1429 MCSymbolRefExpr::create(OutContext.getOrCreateSymbol(Twine(".LTOC")), in emitFunctionEntryLabel()
1430 OutContext), in emitFunctionEntryLabel()
1431 MCSymbolRefExpr::create(PICBase, OutContext), in emitFunctionEntryLabel()
1432 OutContext); in emitFunctionEntryLabel()
1450 MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionEntryLabel()
1453 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCSymbol, OutContext), in emitFunctionEntryLabel()
1455 OutContext), in emitFunctionEntryLabel()
1456 OutContext); in emitFunctionEntryLabel()
1474 OutStreamer->emitValue(MCSymbolRefExpr::create(Symbol1, OutContext), in emitFunctionEntryLabel()
1476 MCSymbol *Symbol2 = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionEntryLabel()
1479 MCSymbolRefExpr::create(Symbol2, MCSymbolRefExpr::VK_PPC_TOCBASE, OutContext), in emitFunctionEntryLabel()
1496 MCSectionELF *Section = OutContext.getELFSection( in emitEndOfAsmFile()
1568 MCSymbolRefExpr::create(GlobalEntryLabel, OutContext); in emitFunctionBodyStart()
1571 MCSymbol *TOCSymbol = OutContext.getOrCreateSymbol(StringRef(".TOC.")); in emitFunctionBodyStart()
1573 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCSymbol, OutContext), in emitFunctionBodyStart()
1574 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
1576 const MCExpr *TOCDeltaHi = PPCMCExpr::createHa(TOCDeltaExpr, OutContext); in emitFunctionBodyStart()
1582 const MCExpr *TOCDeltaLo = PPCMCExpr::createLo(TOCDeltaExpr, OutContext); in emitFunctionBodyStart()
1590 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCOffset, OutContext), in emitFunctionBodyStart()
1591 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
1606 MCSymbolRefExpr::create(LocalEntryLabel, OutContext); in emitFunctionBodyStart()
1609 GlobalEntryLabelExp, OutContext); in emitFunctionBodyStart()
1644 MCConstantExpr::create(1, OutContext)); in emitFunctionBodyStart()
1799 OutContext.getOrCreateSymbol(GVSym->getSymbolTableName()), Size, in emitGlobalVariable()
1840 OutStreamer->emitValue(MCSymbolRefExpr::create(CurrentFnSym, OutContext), in emitFunctionDescriptor()
1846 OutStreamer->emitValue(MCSymbolRefExpr::create(TOCBaseSym, OutContext), in emitFunctionDescriptor()
1969 cast<MCSymbolXCOFF>(OutContext.getOrCreateSymbol(MO.getSymbolName())); in emitInstruction()