HomeSort by: relevance | last modified time | path
    Searched refs:Stub (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/InterfaceStub/
ELFStub.cpp 14 ELFStub::ELFStub(ELFStub const &Stub) {
15 TbeVersion = Stub.TbeVersion;
16 Arch = Stub.Arch;
17 SoName = Stub.SoName;
18 NeededLibs = Stub.NeededLibs;
19 Symbols = Stub.Symbols;
22 ELFStub::ELFStub(ELFStub &&Stub) {
23 TbeVersion = std::move(Stub.TbeVersion);
24 Arch = std::move(Stub.Arch);
25 SoName = std::move(Stub.SoName)
    [all...]
TBEHandler.cpp 109 static void mapping(IO &IO, ELFStub &Stub) {
112 IO.mapRequired("TbeVersion", Stub.TbeVersion);
113 IO.mapOptional("SoName", Stub.SoName);
114 IO.mapRequired("Arch", (ELFArchMapper &)Stub.Arch);
115 IO.mapOptional("NeededLibs", Stub.NeededLibs);
116 IO.mapRequired("Symbols", Stub.Symbols);
125 std::unique_ptr<ELFStub> Stub(new ELFStub());
126 YamlIn >> *Stub;
130 if (Stub->TbeVersion > elfabi::TBEVersionCurrent)
132 "TBE version " + Stub->TbeVersion.getAsString() + " is unsupported."
    [all...]
ELFObjHandler.cpp 183 explicit ELFStubBuilder(const ELFStub &Stub) {
194 for (const ELFSymbol &Sym : Stub.Symbols)
196 for (const std::string &Lib : Stub.NeededLibs)
198 if (Stub.SoName)
199 DynStr.Content.add(Stub.SoName.getValue());
216 for (const ELFSymbol &Sym : Stub.Symbols) {
230 for (const std::string &Lib : Stub.NeededLibs)
232 if (Stub.SoName)
234 DynStr.Content.getOffset(Stub.SoName.getValue()));
253 initELFHeader<ELFT>(ElfHeader, Stub.Arch)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-ifs/
llvm-ifs.cpp 149 IFSStub(const IFSStub &Stub)
150 : IfsVersion(Stub.IfsVersion), Triple(Stub.Triple),
151 ObjectFileFormat(Stub.ObjectFileFormat), SOName(Stub.SOName),
152 NeededLibs(Stub.NeededLibs), Symbols(Stub.Symbols) {}
153 IFSStub(IFSStub &&Stub)
154 : IfsVersion(std::move(Stub.IfsVersion)), Triple(std::move(Stub.Triple))
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/InterfaceStub/
ELFObjHandler.h 32 /// Attempt to write a binary ELF stub.
34 /// then writes a binary ELF stub to a specified file path.
37 /// @param Stub Source ELFStub to generate a binary ELF stub from.
41 Error writeBinaryStub(StringRef FilePath, const ELFStub &Stub,
TBEHandler.h 38 Error writeTBEToOutputStream(raw_ostream &OS, const ELFStub &Stub);
ELFStub.h 10 /// This file defines an internal representation of an ELF stub.
60 ELFStub(const ELFStub &Stub);
61 ELFStub(ELFStub &&Stub);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-elfabi/
ErrorCollector.h 36 ErrorCollector(const ErrorCollector &Stub) = delete;
llvm-elfabi.cpp 36 "Read `input` as text-based ELF stub"),
43 cl::desc("Emit a text-based ELF stub (.tbe) from the input file"),
50 "output-target", cl::desc("Create a binary stub for the specified target"),
52 "32-bit little-endian ELF stub"),
54 "32-bit big-endian ELF stub"),
56 "64-bit little-endian ELF stub"),
58 "64-bit big-endian ELF stub")));
64 /// writeTBE() writes a Text-Based ELF stub to a file using the latest version
66 static Error writeTBE(StringRef FilePath, ELFStub &Stub) {
70 Error YAMLErr = writeTBEToOutputStream(OutStr, Stub);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
OrcABISupport.cpp 164 // Stub format is:
185 "Pointer and stub size must match for algorithm below");
191 uint64_t *Stub = reinterpret_cast<uint64_t *>(StubsBlockWorkingMem);
195 Stub[I] = 0xd61f020058000010 | PtrOffsetField;
219 // Stub format is:
241 "Pointer and stub size must match for algorithm below");
245 uint64_t *Stub = reinterpret_cast<uint64_t *>(StubsBlockWorkingMem);
249 Stub[I] = 0xF1C40000000025ff | PtrOffsetField;
479 // Stub format is:
503 uint64_t *Stub = reinterpret_cast<uint64_t *>(StubsBlockWorkingMem)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCUDARuntime.h 83 /// Emits a kernel launch stub.
98 /// Get kernel handle by stub function.
99 virtual llvm::GlobalValue *getKernelHandle(llvm::Function *Stub,
102 /// Get kernel stub by kernel handle.
CGDebugInfo.h 655 /// Helper that either creates a forward declaration or a stub.
656 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub);
711 /// stub function.
CGDebugInfo.cpp 3631 bool Stub) {
3657 if (Stub) {
3678 return getFunctionFwdDeclOrStub(GD, /* Stub = */ false);
3682 return getFunctionFwdDeclOrStub(GD, /* Stub = */ true);
CGExpr.cpp 3355 // Emit a stub for __cfi_check function so that the linker knows about this
5291 // chevron. The kernel stub needs to be loaded from kernel handle and used
5299 auto *Stub = Builder.CreateLoad(Address(Cast, CGM.getPointerAlign()));
5300 Callee.setFunctionPointer(Stub);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
RuntimeDyldCOFFX86_64.h 156 auto Stub = Stubs.find(OriginalRelValueRef);
157 if (Stub == Stubs.end()) {
158 LLVM_DEBUG(dbgs() << " Create a new stub function for "
166 LLVM_DEBUG(dbgs() << " Stub function found for " << TargetName.data()
168 StubOffset = Stub->second;
172 // to ignore the __ImageBase requirement and just forward to the stub
177 // Resolve original relocation to stub function.
181 // adjust relocation info so resolution writes to the stub function
RuntimeDyldCOFFAArch64.h 29 // throught the Stub.
112 auto Stub = Stubs.find(OriginalRelValueRef);
113 if (Stub == Stubs.end()) {
114 LLVM_DEBUG(dbgs() << " Create a new stub function for "
122 LLVM_DEBUG(dbgs() << " Stub function found for " << TargetName.data()
124 StubOffset = Stub->second;
127 // Resolve original relocation to stub function.
131 // adjust relocation info so resolution writes to the stub function
133 // stub instruction.
307 // Encode the immadiate value for generated Stub instruction (MOVZ
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
GlobalDecl.h 40 Stub = 1,
46 /// a FunctionDecl and the kernel reference type (Kernel, Stub), or
155 : KernelReferenceKind::Stub;
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsAsmPrinter.cpp 997 // types of the floating point stub
998 // # Stub function to call rettype xxxx (params)
1041 OutStreamer->AddComment("\t# Stub function to call " + Twine(RetType) + " " +
1071 MCSymbolELF *Stub =
1073 TS.emitDirectiveEnt(*Stub);
1077 OutStreamer->emitLabel(Stub);
1117 const MCSymbolRefExpr *E = MCSymbolRefExpr::create(Stub, OutContext);
1120 OutStreamer->emitELFSize(Stub, T_min_E);
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86AsmPrinter.cpp 711 // L_foo$stub:
746 for (auto &Stub : Stubs)
747 emitNonLazySymbolPointer(OutStreamer, Stub.first, Stub.second);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
MachO_arm64.cpp 446 // Re-use GOT entries for stub targets.
452 void fixPLTEdge(Edge &E, Symbol &Stub) {
455 E.setTarget(Stub);
MachO_x86_64.cpp 459 void fixPLTEdge(Edge &E, Symbol &Stub) {
465 // this to check for stub optimization opportunities in the
468 E.setTarget(Stub);
537 "Stub block should be stub sized");
539 "Stub block should only have one outgoing edge");
557 dbgs() << " Replaced stub branch with direct branch:\n ";
ELF_x86_64.cpp 96 // Re-use GOT entries for stub targets.
102 void fixPLTEdge(Edge &E, Symbol &Stub) {
105 // Set the edge kind to Branch32ToStub. We will use this to check for stub
109 E.setTarget(Stub);
201 "Stub block should be stub sized");
203 "Stub block should only have one outgoing edge");
221 dbgs() << " Replaced stub branch with direct branch:\n ";
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMAsmPrinter.cpp 503 // L_foo$stub:
541 for (auto &Stub : Stubs)
542 emitNonLazySymbolPointer(*OutStreamer, Stub.first, Stub.second);
554 for (auto &Stub : Stubs)
555 emitNonLazySymbolPointer(*OutStreamer, Stub.first, Stub.second);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
AsmPrinter.cpp 1763 for (const auto &Stub : Stubs) {
1764 OutStreamer->emitLabel(Stub.first);
1765 OutStreamer->emitSymbolValue(Stub.second.getPointer(),
1780 for (const auto &Stub : Stubs) {
1782 SectionName += Stub.first->getName();
1787 SectionKind::getReadOnly(), Stub.first->getName(),
1790 OutStreamer->emitSymbolAttribute(Stub.first, MCSA_Global);
1791 OutStreamer->emitLabel(Stub.first);
1792 OutStreamer->emitSymbolValue(Stub.second.getPointer(),
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TargetLoweringObjectFileImpl.cpp 418 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", TM);
420 // Add information about the stub reference to ELFMMI so that the stub
1339 // The mach-o version of this method defaults to returning a stub reference.
1347 // Add information about the stub reference to MachOMMI so that the stub
1367 // The mach-o version of this method defaults to returning a stub reference.
1373 // Add information about the stub reference to MachOMMI so that the stub
1389 // through a non_lazy_ptr stub instead. One advantage is that it allows th
    [all...]

Completed in 107 milliseconds

1 2