Home
last modified time | relevance | path

Searched refs:MCSym (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/lib/Target/XCore/
DXCoreMCInstLower.cpp68 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, Kind, *Ctx); in LowerSymbolOperand() local
71 return MCOperand::createExpr(MCSym); in LowerSymbolOperand()
77 const MCBinaryExpr *Add = MCBinaryExpr::createAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreMCInstLower.cpp64 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, Kind, *Ctx); in LowerSymbolOperand() local
67 return MCOperand::createExpr(MCSym); in LowerSymbolOperand()
73 const MCBinaryExpr *Add = MCBinaryExpr::createAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreMCInstLower.cpp64 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, Kind, *Ctx); in LowerSymbolOperand() local
67 return MCOperand::createExpr(MCSym); in LowerSymbolOperand()
73 const MCBinaryExpr *Add = MCBinaryExpr::createAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
/external/llvm-project/llvm/lib/Target/ARC/
DARCMCInstLower.cpp63 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, Kind, *Ctx); in LowerSymbolOperand() local
66 return MCOperand::createExpr(MCSym); in LowerSymbolOperand()
72 const MCBinaryExpr *Add = MCBinaryExpr::createAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCMCInstLower.cpp63 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, Kind, *Ctx); in LowerSymbolOperand() local
66 return MCOperand::createExpr(MCSym); in LowerSymbolOperand()
72 const MCBinaryExpr *Add = MCBinaryExpr::createAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVEMCInstLower.cpp31 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, AP.OutContext); in LowerSymbolOperand() local
32 return MCOperand::createExpr(MCSym); in LowerSymbolOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DXCOFFObjectWriter.cpp54 const MCSymbolXCOFF *const MCSym; member
58 return MCSym->getStorageClass(); in getStorageClass()
60 StringRef getName() const { return MCSym->getName(); } in getName()
61 Symbol(const MCSymbolXCOFF *MCSym) : MCSym(MCSym), SymbolTableIndex(-1) {} in Symbol()
575 Sym, Csect, SectionIndex, Layout.getSymbolOffset(*(Sym.MCSym))); in writeSymbolTable()
DWinCOFFObjectWriter.cpp355 void WinCOFFObjectWriter::DefineSymbol(const MCSymbol &MCSym, in DefineSymbol() argument
358 COFFSymbol *Sym = GetOrCreateCOFFSymbol(&MCSym); in DefineSymbol()
359 const MCSymbol *Base = Layout.getBaseSymbol(MCSym); in DefineSymbol()
368 if (cast<MCSymbolCOFF>(MCSym).isWeakExternal()) { in DefineSymbol()
371 COFFSymbol *WeakDefault = getLinkedSymbol(MCSym); in DefineSymbol()
373 std::string WeakName = (".weak." + MCSym.getName() + ".default").str(); in DefineSymbol()
400 Local->Data.Value = getSymbolValue(MCSym, Layout); in DefineSymbol()
402 const MCSymbolCOFF &SymbolCOFF = cast<MCSymbolCOFF>(MCSym); in DefineSymbol()
408 bool IsExternal = MCSym.isExternal() || in DefineSymbol()
409 (!MCSym.getFragment() && !MCSym.isVariable()); in DefineSymbol()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcMCInstLower.cpp61 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, in LowerSymbolOperand() local
63 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, in LowerSymbolOperand()
DSparcAsmPrinter.cpp79 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Sym, in createSparcMCOperand() local
81 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, OutContext); in createSparcMCOperand()
/external/llvm-project/llvm/lib/Target/Sparc/
DSparcMCInstLower.cpp60 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, in LowerSymbolOperand() local
62 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, in LowerSymbolOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcMCInstLower.cpp60 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, in LowerSymbolOperand() local
62 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, in LowerSymbolOperand()
DSparcAsmPrinter.cpp75 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Sym, in createSparcMCOperand() local
77 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, OutContext); in createSparcMCOperand()
/external/llvm-project/llvm/lib/MC/
DXCOFFObjectWriter.cpp65 const MCSymbolXCOFF *const MCSym; member
69 return MCSym->getStorageClass(); in getStorageClass()
71 StringRef getSymbolTableName() const { return MCSym->getSymbolTableName(); } in getSymbolTableName()
72 Symbol(const MCSymbolXCOFF *MCSym) : MCSym(MCSym), SymbolTableIndex(-1) {} in Symbol()
737 Sym, Csect, SectionIndex, Layout.getSymbolOffset(*(Sym.MCSym))); in writeSymbolTable()
837 SymbolIndexMap[Sym.MCSym] = Sym.SymbolTableIndex; in assignAddressesAndIndices()
DWinCOFFObjectWriter.cpp364 void WinCOFFObjectWriter::DefineSymbol(const MCSymbol &MCSym, in DefineSymbol() argument
367 COFFSymbol *Sym = GetOrCreateCOFFSymbol(&MCSym); in DefineSymbol()
368 const MCSymbol *Base = Layout.getBaseSymbol(MCSym); in DefineSymbol()
377 if (cast<MCSymbolCOFF>(MCSym).isWeakExternal()) { in DefineSymbol()
381 COFFSymbol *WeakDefault = getLinkedSymbol(MCSym); in DefineSymbol()
383 std::string WeakName = (".weak." + MCSym.getName() + ".default").str(); in DefineSymbol()
411 Local->Data.Value = getSymbolValue(MCSym, Layout); in DefineSymbol()
413 const MCSymbolCOFF &SymbolCOFF = cast<MCSymbolCOFF>(MCSym); in DefineSymbol()
419 bool IsExternal = MCSym.isExternal() || in DefineSymbol()
420 (!MCSym.getFragment() && !MCSym.isVariable()); in DefineSymbol()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp492 MachineModuleInfoImpl::StubValueTy &MCSym) { in emitNonLazySymbolPointer() argument
496 OutStreamer.EmitSymbolAttribute(MCSym.getPointer(), MCSA_IndirectSymbol); in emitNonLazySymbolPointer()
498 if (MCSym.getInt()) in emitNonLazySymbolPointer()
509 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()), in emitNonLazySymbolPointer()
812 MCSymbol *MCSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); in GetARMGVSymbol() local
816 GV->isThreadLocal() ? MMIMachO.getThreadLocalGVStubEntry(MCSym) in GetARMGVSymbol()
817 : MMIMachO.getGVStubEntry(MCSym); in GetARMGVSymbol()
822 return MCSym; in GetARMGVSymbol()
839 MCSymbol *MCSym = OutContext.getOrCreateSymbol(Name); in GetARMGVSymbol() local
845 MMICOFF.getGVStubEntry(MCSym); in GetARMGVSymbol()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp502 MachineModuleInfoImpl::StubValueTy &MCSym) { in emitNonLazySymbolPointer() argument
506 OutStreamer.emitSymbolAttribute(MCSym.getPointer(), MCSA_IndirectSymbol); in emitNonLazySymbolPointer()
508 if (MCSym.getInt()) in emitNonLazySymbolPointer()
519 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()), in emitNonLazySymbolPointer()
830 MCSymbol *MCSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); in GetARMGVSymbol() local
834 GV->isThreadLocal() ? MMIMachO.getThreadLocalGVStubEntry(MCSym) in GetARMGVSymbol()
835 : MMIMachO.getGVStubEntry(MCSym); in GetARMGVSymbol()
840 return MCSym; in GetARMGVSymbol()
857 MCSymbol *MCSym = OutContext.getOrCreateSymbol(Name); in GetARMGVSymbol() local
863 MMICOFF.getGVStubEntry(MCSym); in GetARMGVSymbol()
[all …]
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp470 MachineModuleInfoImpl::StubValueTy &MCSym) { in emitNonLazySymbolPointer() argument
474 OutStreamer.EmitSymbolAttribute(MCSym.getPointer(), MCSA_IndirectSymbol); in emitNonLazySymbolPointer()
476 if (MCSym.getInt()) in emitNonLazySymbolPointer()
487 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()), in emitNonLazySymbolPointer()
920 MCSymbol *MCSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr"); in GetARMGVSymbol() local
924 GV->isThreadLocal() ? MMIMachO.getThreadLocalGVStubEntry(MCSym) in GetARMGVSymbol()
925 : MMIMachO.getGVStubEntry(MCSym); in GetARMGVSymbol()
930 return MCSym; in GetARMGVSymbol()
957 MCSymbol *MCSym; in EmitMachineConstantPoolValue() local
959 MCSym = getCurExceptionSym(); in EmitMachineConstantPoolValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp59 MCSymbol *MCSym = Ctx.getOrCreateSymbol(Name); in GetGlobalAddressSymbol() local
65 MMICOFF.getGVStubEntry(MCSym); in GetGlobalAddressSymbol()
71 return MCSym; in GetGlobalAddressSymbol()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp59 MCSymbol *MCSym = Ctx.getOrCreateSymbol(Name); in GetGlobalAddressSymbol() local
65 MMICOFF.getGVStubEntry(MCSym); in GetGlobalAddressSymbol()
71 return MCSym; in GetGlobalAddressSymbol()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp534 MachineModuleInfoImpl::StubValueTy &MCSym) { in emitNonLazySymbolPointer() argument
538 OutStreamer.EmitSymbolAttribute(MCSym.getPointer(), MCSA_IndirectSymbol); in emitNonLazySymbolPointer()
540 if (MCSym.getInt()) in emitNonLazySymbolPointer()
551 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()), in emitNonLazySymbolPointer()
DX86ISelDAGToDAG.cpp69 MCSymbol *MCSym; member
77 MCSym(nullptr), JT(-1), Align(0), SymbolFlags(X86II::MO_NO_FLAG) {} in X86ISelAddressMode()
81 MCSym != nullptr || JT != -1 || BlockAddr != nullptr; in hasSymbolicDisplacement()
136 if (MCSym) in dump()
137 dbgs() << MCSym; in dump()
267 } else if (AM.MCSym) { in getAddressOperands()
270 Disp = CurDAG->getMCSymbol(AM.MCSym, MVT::i32); in getAddressOperands()
692 if (Offset != 0 && (AM.ES || AM.MCSym)) in foldOffsetIntoAddress()
780 AM.MCSym = S->getMCSymbol(); in matchWrapper()
820 AM.MCSym = S->getMCSymbol(); in matchWrapper()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86AsmPrinter.cpp657 MachineModuleInfoImpl::StubValueTy &MCSym) { in emitNonLazySymbolPointer() argument
661 OutStreamer.EmitSymbolAttribute(MCSym.getPointer(), MCSA_IndirectSymbol); in emitNonLazySymbolPointer()
663 if (MCSym.getInt()) in emitNonLazySymbolPointer()
674 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()), in emitNonLazySymbolPointer()
/external/llvm-project/llvm/lib/Target/X86/
DX86AsmPrinter.cpp704 MachineModuleInfoImpl::StubValueTy &MCSym) { in emitNonLazySymbolPointer() argument
708 OutStreamer.emitSymbolAttribute(MCSym.getPointer(), MCSA_IndirectSymbol); in emitNonLazySymbolPointer()
710 if (MCSym.getInt()) in emitNonLazySymbolPointer()
721 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()), in emitNonLazySymbolPointer()
/external/llvm-project/llvm/lib/Target/VE/
DVEAsmPrinter.cpp71 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Sym, OutContext); in createVEMCOperand() local
72 const VEMCExpr *expr = VEMCExpr::create(Kind, MCSym, OutContext); in createVEMCOperand()

12