Home
last modified time | relevance | path

Searched refs:TargetSym (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp281 auto &TargetSym = E.getTarget(); in computeNamedSymbolDependencies() local
283 if (TargetSym.getScope() != Scope::Local) { in computeNamedSymbolDependencies()
284 if (TargetSym.isExternal()) in computeNamedSymbolDependencies()
285 ExternalSymDeps.insert(ES.intern(TargetSym.getName())); in computeNamedSymbolDependencies()
286 else if (&TargetSym != Sym) in computeNamedSymbolDependencies()
287 InternalSymDeps.insert(ES.intern(TargetSym.getName())); in computeNamedSymbolDependencies()
289 assert(TargetSym.isDefined() && in computeNamedSymbolDependencies()
291 auto I = LocalDeps.find(&TargetSym); in computeNamedSymbolDependencies()
357 auto &TargetSym = E.getTarget(); in computeLocalDeps() local
358 if (TargetSym.getScope() != Scope::Local) in computeLocalDeps()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLink.cpp146 auto &TargetSym = E.getTarget(); in printEdge() local
147 if (TargetSym.hasName()) in printEdge()
148 OS << TargetSym.getName(); in printEdge()
150 auto &TargetBlock = TargetSym.getBlock(); in printEdge()
157 JITTargetAddress SecDelta = TargetSym.getAddress() - SecAddress; in printEdge()
158 OS << formatv("{0:x16}", TargetSym.getAddress()) << " (section " in printEdge()
163 if (TargetSym.getOffset()) in printEdge()
164 OS << " + " << formatv("{0:x}", TargetSym.getOffset()); in printEdge()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp222 auto &TargetSym = E.getTarget(); in computeNamedSymbolDependencies() local
224 if (TargetSym.getScope() != Scope::Local) in computeNamedSymbolDependencies()
225 SymDeps.insert(ES.intern(TargetSym.getName())); in computeNamedSymbolDependencies()
227 assert(TargetSym.isDefined() && in computeNamedSymbolDependencies()
229 auto I = AnonDeps.find(&TargetSym); in computeNamedSymbolDependencies()
263 auto &TargetSym = E.getTarget(); in computeAnonDeps() local
264 if (TargetSym.hasName()) in computeAnonDeps()
265 SymNamedDeps.insert(ES.intern(TargetSym.getName())); in computeAnonDeps()
267 assert(TargetSym.isDefined() && in computeAnonDeps()
269 SymAnonDeps.insert(&TargetSym); in computeAnonDeps()
[all …]
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink-macho.cpp44 auto &TargetSym = E->getTarget(); in getMachOGOTTarget() local
45 if (!TargetSym.hasName()) in getMachOGOTTarget()
48 TargetSym.getBlock().getSection().getName() + in getMachOGOTTarget()
52 return TargetSym; in getMachOGOTTarget()
Dllvm-jitlink-elf.cpp42 auto &TargetSym = E->getTarget(); in getELFGOTTarget() local
43 if (!TargetSym.hasName()) in getELFGOTTarget()
46 TargetSym.getBlock().getSection().getName() + in getELFGOTTarget()
50 return TargetSym; in getELFGOTTarget()
/external/llvm-project/llvm/lib/InterfaceStub/
DELFObjHandler.cpp528 ELFSymbol TargetSym{std::string(SymName)}; in createELFSym() local
531 TargetSym.Weak = true; in createELFSym()
533 TargetSym.Weak = false; in createELFSym()
535 TargetSym.Undefined = RawSym.isUndefined(); in createELFSym()
536 TargetSym.Type = convertInfoToType(RawSym.st_info); in createELFSym()
538 if (TargetSym.Type == ELFSymbolType::Func) { in createELFSym()
539 TargetSym.Size = 0; in createELFSym()
541 TargetSym.Size = RawSym.st_size; in createELFSym()
543 return TargetSym; in createELFSym()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RetpolineThunks.cpp251 MCSymbol *TargetSym = MF.getContext().createTempSymbol(); in populateThunk() local
259 BuildMI(Entry, DebugLoc(), TII->get(CallOpc)).addSym(TargetSym); in populateThunk()
284 CallTarget->back().setPreInstrSymbol(MF, TargetSym); in populateThunk()
/external/llvm-project/llvm/lib/Target/X86/
DX86IndirectThunks.cpp211 MCSymbol *TargetSym = MF.getContext().createTempSymbol(); in populateThunk() local
219 BuildMI(Entry, DebugLoc(), TII->get(CallOpc)).addSym(TargetSym); in populateThunk()
251 CallTarget->back().setPreInstrSymbol(MF, TargetSym); in populateThunk()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp1251 auto TargetSym = std::upper_bound( in DisassembleObject() local
1257 if (TargetSym != TargetSectionSymbols->begin()) { in DisassembleObject()
1258 --TargetSym; in DisassembleObject()
1259 uint64_t TargetAddress = std::get<0>(*TargetSym); in DisassembleObject()
1260 StringRef TargetName = std::get<1>(*TargetSym); in DisassembleObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DWasmObjectWriter.cpp1566 const auto &TargetSym = cast<const MCSymbolWasm>(SymRef->getSymbol()); in writeObject() local
1567 if (TargetSym.getIndex() == InvalidIndex) in writeObject()
1569 if (!TargetSym.isFunction()) in writeObject()
1572 std::make_pair(Priority, TargetSym.getIndex())); in writeObject()
/external/llvm-project/llvm/lib/MC/
DWasmObjectWriter.cpp1782 const auto &TargetSym = cast<const MCSymbolWasm>(SymRef->getSymbol()); in writeOneObject() local
1783 if (TargetSym.getIndex() == InvalidIndex) in writeOneObject()
1785 if (!TargetSym.isFunction()) in writeOneObject()
1788 std::make_pair(Priority, TargetSym.getIndex())); in writeOneObject()
/external/llvm-project/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp2061 const SymbolInfoTy *TargetSym = nullptr; in disassembleObject() local
2068 TargetSym = &*(It - 1); in disassembleObject()
2075 if (TargetSym != nullptr) { in disassembleObject()
2076 uint64_t TargetAddress = TargetSym->Addr; in disassembleObject()
2078 std::string TargetName = TargetSym->Name.str(); in disassembleObject()