/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | IndirectionUtils.h | 60 virtual Expected<JITTargetAddress> getTrampoline() = 0; 70 std::function<JITTargetAddress(JITTargetAddress TrampolineAddr)>; 89 Expected<JITTargetAddress> getTrampoline() override { in getTrampoline() 102 void releaseTrampoline(JITTargetAddress TrampolineAddr) { in releaseTrampoline() 108 static JITTargetAddress reenter(void *TrampolinePoolPtr, void *TrampolineId) { in reenter() 111 return TrampolinePool->GetTrampolineLanding(static_cast<JITTargetAddress>( in reenter() 164 static_cast<JITTargetAddress>(reinterpret_cast<uintptr_t>( in grow() 181 std::vector<JITTargetAddress> AvailableTrampolines; 187 using CompileFunction = std::function<JITTargetAddress()>; 192 Expected<JITTargetAddress> getCompileCallback(CompileFunction Compile); [all …]
|
D | OrcRemoteTargetClient.h | 236 void setRemoteAddress(JITTargetAddress RemoteAddr) { in setRemoteAddress() 240 JITTargetAddress getRemoteAddress() const { return RemoteAddr; } in getRemoteAddress() 246 JITTargetAddress RemoteAddr = 0; 256 JITTargetAddress RemoteCodeAddr = 0; 257 JITTargetAddress RemoteRODataAddr = 0; 258 JITTargetAddress RemoteRWDataAddr = 0; 270 JITTargetAddress NextAddr) { in mapAllocsToRemoteAddrs() 289 JITTargetAddress RemoteSegmentAddr, in copyAndProtect() 325 JITTargetAddress Addr; 343 Error createStub(StringRef StubName, JITTargetAddress StubAddr, in createStub() [all …]
|
D | OrcRemoteTargetRPCAPI.h | 61 DirectBufferWriter(const char *Src, JITTargetAddress Dst, uint64_t Size) in DirectBufferWriter() 65 JITTargetAddress getDst() const { return Dst; } in getDst() 70 JITTargetAddress Dst; 123 JITTargetAddress Dst; in deserialize() 173 void(JITTargetAddress Addr, uint32_t Size)> { 181 void(JITTargetAddress Addr, uint32_t Size)> { 194 : public rpc::Function<CallIntVoid, int32_t(JITTargetAddress Addr)> { 202 : public rpc::Function<CallMain, int32_t(JITTargetAddress Addr, 211 : public rpc::Function<CallVoidVoid, void(JITTargetAddress FnAddr)> { 239 : public rpc::Function<ReadMem, std::vector<uint8_t>(JITTargetAddress Src, [all …]
|
D | LazyReexports.h | 49 JITTargetAddress ResolvedAddr) = 0; 61 JITTargetAddress ResolvedAddr) { in operator() 80 Expected<JITTargetAddress> getCallThroughTrampoline( 86 JITTargetAddress ErrorHandlerAddr, 89 JITTargetAddress callThroughToSymbol(JITTargetAddress TrampolineAddr); 97 std::map<JITTargetAddress, std::pair<JITDylib *, SymbolStringPtr>>; 100 std::map<JITTargetAddress, std::shared_ptr<NotifyResolvedFunction>>; 104 JITTargetAddress ErrorHandlerAddr; 114 JITTargetAddress ErrorHandlerAddr) in LocalLazyCallThroughManager() 119 [this](JITTargetAddress TrampolineAddr) { in init() [all …]
|
D | OrcRemoteTargetServer.h | 51 std::function<JITTargetAddress(const std::string &Name)>; 100 Expected<JITTargetAddress> requestCompile(JITTargetAddress TrampolineAddr) { in requestCompile() 148 static JITTargetAddress reenter(void *JITTargetAddr, void *TrampolineAddr) { in reenter() 150 auto AddrOrErr = T->requestCompile(static_cast<JITTargetAddress>( in reenter() 157 Expected<int32_t> handleCallIntVoid(JITTargetAddress Addr) { in handleCallIntVoid() 170 Expected<int32_t> handleCallMain(JITTargetAddress Addr, in handleCallMain() 193 Error handleCallVoidVoid(JITTargetAddress Addr) { in handleCallVoidVoid() 226 Error handleDeregisterEHFrames(JITTargetAddress TAddr, uint32_t Size) { in handleDeregisterEHFrames() 254 Expected<std::tuple<JITTargetAddress, JITTargetAddress, uint32_t>> 270 JITTargetAddress StubsBase = static_cast<JITTargetAddress>( in handleEmitIndirectStubs() [all …]
|
D | OrcABISupport.h | 42 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr, 123 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr, 180 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr, 196 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr, 216 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr, 250 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr, 292 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr,
|
D | ExecutionUtils.h | 193 template <typename PtrTy> JITTargetAddress toTargetAddress(PtrTy *P) { in toTargetAddress() 194 return static_cast<JITTargetAddress>(reinterpret_cast<uintptr_t>(P)); in toTargetAddress() 230 void addOverride(const std::string &Name, JITTargetAddress Addr) { in addOverride() 234 StringMap<JITTargetAddress> CXXRuntimeOverrides;
|
D | GlobalMappingLayer.h | 58 void setGlobalMapping(const std::string &Name, JITTargetAddress Addr) { in setGlobalMapping() 105 std::map<std::string, JITTargetAddress> SymbolTable;
|
D | RTDyldObjectLinkingLayer.h | 164 JITTargetAddress TargetAddr) const = 0; 274 return [this, Name]() -> Expected<JITTargetAddress> { in getSymbolMaterializer() 285 JITTargetAddress TargetAddr) const override { in mapSectionAddress() 454 JITTargetAddress TargetAddr) { in mapSectionAddress()
|
D | CompileOnDemandLayer.h | 365 Error updatePointer(std::string FuncName, JITTargetAddress FnBodyAddr) { in updatePointer() 418 auto CompileAction = [this, &LD, LMId, &F]() -> JITTargetAddress { in addLogicalModule() 483 JITTargetAddress StubAddr = in addLogicalModule() 579 Expected<JITTargetAddress> 592 JITTargetAddress CalledAddr = 0; in extractAndCompile() 600 JITTargetAddress FnBodyAddr = *FnBodyAddrOrErr; in extractAndCompile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbol.h | 41 using JITTargetAddress = uint64_t; variable 49 template <typename T> T jitTargetAddressToPointer(JITTargetAddress Addr) { in jitTargetAddressToPointer() 60 template <typename T> T jitTargetAddressToFunction(JITTargetAddress Addr) { in jitTargetAddressToFunction() 69 template <typename T> JITTargetAddress pointerToJITTargetAddress(T *Ptr) { in pointerToJITTargetAddress() 70 return static_cast<JITTargetAddress>(reinterpret_cast<uintptr_t>(Ptr)); in pointerToJITTargetAddress() 216 JITEvaluatedSymbol(JITTargetAddress Address, JITSymbolFlags Flags) in JITEvaluatedSymbol() 223 JITTargetAddress getAddress() const { return Address; } in getAddress() 232 JITTargetAddress Address = 0; 239 using GetAddressFtor = unique_function<Expected<JITTargetAddress>()>; 252 JITSymbol(JITTargetAddress Addr, JITSymbolFlags Flags) in JITSymbol() [all …]
|
D | RuntimeDyldChecker.h | 81 MemoryRegionInfo(StringRef Content, JITTargetAddress TargetAddress) in MemoryRegionInfo() 86 MemoryRegionInfo(uint64_t Size, JITTargetAddress TargetAddress) in MemoryRegionInfo() 121 void setTargetAddress(JITTargetAddress TargetAddress) { in setTargetAddress() 127 JITTargetAddress getTargetAddress() const { return TargetAddress; } in getTargetAddress() 132 JITTargetAddress TargetAddress = 0;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/ |
D | EHFrameSupport.h | 36 virtual Error registerEHFrames(JITTargetAddress EHFrameSectionAddr, 38 virtual Error deregisterEHFrames(JITTargetAddress EHFrameSectionAddr, 55 Error registerEHFrames(JITTargetAddress EHFrameSectionAddr, in registerEHFrames() 62 Error deregisterEHFrames(JITTargetAddress EHFrameSectionAddr, in deregisterEHFrames() 74 std::function<void(JITTargetAddress EHFrameSectionAddr,
|
D | JITLink.h | 105 Addressable(JITTargetAddress Address, bool IsDefined) in Addressable() 108 Addressable(JITTargetAddress Address) in Addressable() 120 JITTargetAddress getAddress() const { return Address; } in getAddress() 121 void setAddress(JITTargetAddress Address) { this->Address = Address; } in setAddress() 129 JITTargetAddress Address = 0; 142 Block(Section &Parent, JITTargetAddress Size, JITTargetAddress Address, in Block() 155 Block(Section &Parent, StringRef Content, JITTargetAddress Address, in Block() 302 Symbol(Addressable &Base, JITTargetAddress Offset, StringRef Name, in Symbol() 303 JITTargetAddress Size, Linkage L, Scope S, bool IsLive, in Symbol() 314 JITTargetAddress Size, Scope S, bool IsLive) { in constructCommon() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/ |
D | EHFrameSupportImpl.h | 71 using CIEInfosMap = DenseMap<JITTargetAddress, CIEInformation>; 76 Expected<CIEInformation *> findCIEInfo(JITTargetAddress Address) { in findCIEInfo() 99 Expected<JITTargetAddress> 101 Expected<Symbol &> getOrCreateSymbol(ParseContext &PC, JITTargetAddress Addr);
|
D | EHFrameSupport.cpp | 390 JITTargetAddress RecordAddress = B.getAddress() + RecordOffset; in processFDE() 406 JITTargetAddress CIEAddress = in processFDE() 444 JITTargetAddress PCBeginFieldOffset = RecordReader.getOffset(); in processFDE() 450 JITTargetAddress PCBegin = in processFDE() 507 JITTargetAddress LSDAFieldOffset = RecordReader.getOffset(); in processFDE() 513 JITTargetAddress LSDA = RecordAddress + LSDAFieldOffset + *LSDADelta; in processFDE() 584 Expected<JITTargetAddress> 587 static_assert(sizeof(JITTargetAddress) == sizeof(uint64_t), in readAbsolutePointer() 589 JITTargetAddress Addr; in readAbsolutePointer() 604 JITTargetAddress Addr) { in getOrCreateSymbol() [all …]
|
D | MachO_x86_64.cpp | 114 JITTargetAddress FixupAddress, const char *FixupContent, in parsePairRelocation() 197 JITTargetAddress SectionAddress = S.getAddress(); in addRelocations() 217 JITTargetAddress FixupAddress = SectionAddress + (uint32_t)RI.r_address; in addRelocations() 233 if (FixupAddress + static_cast<JITTargetAddress>(1ULL << RI.r_length) > in addRelocations() 272 JITTargetAddress TargetAddress = *(const ulittle64_t *)FixupContent; in addRelocations() 291 JITTargetAddress TargetAddress = in addRelocations() 303 JITTargetAddress Delta = in addRelocations() 304 static_cast<JITTargetAddress>(1ULL << (*Kind - PCRel32Minus1Anon)); in addRelocations() 305 JITTargetAddress TargetAddress = in addRelocations() 472 JITTargetAddress FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
|
D | MachOLinkGraphBuilder.h | 132 Symbol *getSymbolByAddress(JITTargetAddress Address) { in getSymbolByAddress() 141 Expected<Symbol &> findSymbolByAddress(JITTargetAddress Address) { in findSymbolByAddress() 194 std::map<JITTargetAddress, Symbol *> AddrToCanonicalSymbol;
|
D | MachO_arm64.cpp | 112 JITTargetAddress FixupAddress, const char *FixupContent, in parsePairRelocation() 195 JITTargetAddress SectionAddress = S.getAddress(); in addRelocations() 208 JITTargetAddress FixupAddress = SectionAddress + (uint32_t)RI.r_address; in addRelocations() 225 if (FixupAddress + static_cast<JITTargetAddress>(1ULL << RI.r_length) > in addRelocations() 265 JITTargetAddress PairedFixupAddress = in addRelocations() 299 JITTargetAddress TargetAddress = *(const ulittle64_t *)FixupContent; in addRelocations() 533 JITTargetAddress FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
|
D | MachOLinkGraphBuilder.cpp | 452 JITTargetAddress BlockStart = BlockSyms.front()->Value; in graphifyRegularSymbols() 453 JITTargetAddress BlockEnd = SecNSymStack.empty() in graphifyRegularSymbols() 456 JITTargetAddress BlockOffset = BlockStart - NSec.Address; in graphifyRegularSymbols() 457 JITTargetAddress BlockSize = BlockEnd - BlockStart; in graphifyRegularSymbols() 477 Optional<JITTargetAddress> LastCanonicalAddr; in graphifyRegularSymbols() 478 JITTargetAddress SymEnd = BlockEnd; in graphifyRegularSymbols()
|
D | JITLinkMemoryManager.cpp | 33 JITTargetAddress getTargetMemory(ProtectionFlags Seg) override { in allocate() 35 return reinterpret_cast<JITTargetAddress>(SegBlocks[Seg].base()); in allocate()
|
D | JITLinkGeneric.h | 84 static JITTargetAddress alignToBlock(JITTargetAddress Addr, Block &B) { in alignToBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | LazyReexports.cpp | 22 ExecutionSession &ES, JITTargetAddress ErrorHandlerAddr, in LazyCallThroughManager() 26 Expected<JITTargetAddress> LazyCallThroughManager::getCallThroughTrampoline( in getCallThroughTrampoline() 40 JITTargetAddress 41 LazyCallThroughManager::callThroughToSymbol(JITTargetAddress TrampolineAddr) { in callThroughToSymbol() 87 JITTargetAddress ErrorHandlerAddr) { in createLocalLazyCallThroughManager() 133 JITTargetAddress ResolvedAddr) { in LazyReexportsMaterializationUnit()
|
D | OrcCBindingsStack.h | 261 static PtrTy fromTargetAddress(JITTargetAddress Addr) { in fromTargetAddress() 265 Expected<JITTargetAddress> 268 auto WrappedCallback = [=]() -> JITTargetAddress { in createLazyCompileCallback() 275 Error createIndirectStub(StringRef StubName, JITTargetAddress Addr) { in createIndirectStub() 280 Error setIndirectStubPointer(StringRef Name, JITTargetAddress Addr) { in setIndirectStubPointer() 392 Expected<JITTargetAddress> findSymbolAddress(const std::string &Name, in findSymbolAddress() 409 Expected<JITTargetAddress> findSymbolAddressIn(orc::VModuleKey K, in findSymbolAddressIn()
|
D | IndirectionUtils.cpp | 61 Expected<JITTargetAddress> 78 JITTargetAddress JITCompileCallbackManager::executeCompileCallback( in executeCompileCallback() 79 JITTargetAddress TrampolineAddr) { in executeCompileCallback() 120 JITTargetAddress ErrorHandlerAddress) { in createLocalCompileCallbackManager() 222 Constant* createIRTypedAddress(FunctionType &FT, JITTargetAddress Addr) { in createIRTypedAddress()
|