Home
last modified time | relevance | path

Searched refs:StubsMem (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcABISupport.h76 GenericIndirectStubsInfo(unsigned NumStubs, sys::OwningMemoryBlock StubsMem) in GenericIndirectStubsInfo() argument
77 : NumStubs(NumStubs), StubsMem(std::move(StubsMem)) {} in GenericIndirectStubsInfo()
79 : NumStubs(Other.NumStubs), StubsMem(std::move(Other.StubsMem)) { in GenericIndirectStubsInfo()
85 StubsMem = std::move(Other.StubsMem);
95 return static_cast<char *>(StubsMem.base()) + Idx * StubSize; in getStub()
101 char *PtrsBase = static_cast<char *>(StubsMem.base()) + NumStubs * StubSize; in getPtr()
107 sys::OwningMemoryBlock StubsMem; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcABISupport.h80 GenericIndirectStubsInfo(unsigned NumStubs, sys::OwningMemoryBlock StubsMem) in GenericIndirectStubsInfo() argument
81 : NumStubs(NumStubs), StubsMem(std::move(StubsMem)) {} in GenericIndirectStubsInfo()
83 : NumStubs(Other.NumStubs), StubsMem(std::move(Other.StubsMem)) { in GenericIndirectStubsInfo()
90 StubsMem = std::move(Other.StubsMem);
100 return static_cast<char *>(StubsMem.base()) + Idx * StubSize; in getStub()
106 char *PtrsBase = static_cast<char *>(StubsMem.base()) + NumStubs * StubSize; in getPtr()
112 sys::OwningMemoryBlock StubsMem; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcABISupport.cpp156 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local
164 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
165 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock()
186 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock()
238 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local
246 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
247 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock()
267 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock()
506 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local
514 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcABISupport.cpp158 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local
166 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
167 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock()
188 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock()
240 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local
248 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
249 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock()
269 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock()
508 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() local
516 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
[all …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DIndirectionUtils.h307 LocalIndirectStubsInfo(unsigned NumStubs, sys::OwningMemoryBlock StubsMem) in LocalIndirectStubsInfo() argument
308 : NumStubs(NumStubs), StubsMem(std::move(StubsMem)) {} in LocalIndirectStubsInfo()
346 return static_cast<char *>(StubsMem.base()) + Idx * ORCABI::StubSize; in getStub()
351 static_cast<char *>(StubsMem.base()) + NumStubs * ORCABI::StubSize; in getPtr()
357 sys::OwningMemoryBlock StubsMem; variable