/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | OrcABISupport.h | 75 GenericIndirectStubsInfo() : NumStubs(0) {} in GenericIndirectStubsInfo() 76 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() 80 Other.NumStubs = 0; in GenericIndirectStubsInfo() 83 NumStubs = Other.NumStubs; 84 Other.NumStubs = 0; 90 unsigned getNumStubs() const { return NumStubs; } in getNumStubs() 101 char *PtrsBase = static_cast<char *>(StubsMem.base()) + NumStubs * StubSize; in getPtr() 106 unsigned NumStubs;
|
D | IndirectionUtils.h | 300 Error reserveStubs(unsigned NumStubs) { in reserveStubs() argument 301 if (NumStubs <= FreeStubs.size()) in reserveStubs() 304 unsigned NewStubsRequired = NumStubs - FreeStubs.size(); in reserveStubs()
|
D | OrcRemoteTargetClient.h | 505 unsigned NumStubs; member 515 Error reserveStubs(unsigned NumStubs) { in reserveStubs() argument 516 if (NumStubs <= FreeStubs.size()) in reserveStubs() 519 unsigned NewStubsRequired = NumStubs - FreeStubs.size(); in reserveStubs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | OrcABISupport.h | 80 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() 84 Other.NumStubs = 0; in GenericIndirectStubsInfo() 88 NumStubs = Other.NumStubs; 89 Other.NumStubs = 0; 95 unsigned getNumStubs() const { return NumStubs; } in getNumStubs() 106 char *PtrsBase = static_cast<char *>(StubsMem.base()) + NumStubs * StubSize; in getPtr() 111 unsigned NumStubs = 0;
|
D | IndirectionUtils.h | 361 Error reserveStubs(unsigned NumStubs) { in reserveStubs() argument 362 if (NumStubs <= FreeStubs.size()) in reserveStubs() 365 unsigned NewStubsRequired = NumStubs - FreeStubs.size(); in reserveStubs()
|
D | OrcRemoteTargetClient.h | 395 unsigned NumStubs; member 400 Error reserveStubs(unsigned NumStubs) { in reserveStubs() argument 401 if (NumStubs <= FreeStubs.size()) in reserveStubs() 404 unsigned NewStubsRequired = NumStubs - FreeStubs.size(); in reserveStubs()
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | OrcABISupport.cpp | 21 unsigned NumStubs) { in stubAndPointerRangesOk() argument 24 JITTargetAddress LastStub = FirstStub + ((NumStubs - 1) * ORCABI::StubSize); in stubAndPointerRangesOk() 27 FirstPointer + ((NumStubs - 1) * ORCABI::StubSize); in stubAndPointerRangesOk() 163 JITTargetAddress PointersBlockTargetAddress, unsigned NumStubs) { in writeIndirectStubsBlock() argument 187 StubsBlockTargetAddress, PointersBlockTargetAddress, NumStubs) && in writeIndirectStubsBlock() 194 for (unsigned I = 0; I < NumStubs; ++I) in writeIndirectStubsBlock() 218 JITTargetAddress PointersBlockTargetAddress, unsigned NumStubs) { in writeIndirectStubsBlock() argument 243 StubsBlockTargetAddress, PointersBlockTargetAddress, NumStubs) && in writeIndirectStubsBlock() 248 for (unsigned I = 0; I < NumStubs; ++I) in writeIndirectStubsBlock() 473 JITTargetAddress PointersBlockTargetAddress, unsigned NumStubs) { in writeIndirectStubsBlock() argument [all …]
|
D | TPCIndirectionUtils.cpp | 28 getIndirectStubs(TPCIndirectionUtils &TPCIU, unsigned NumStubs) { in getIndirectStubs() argument 29 return TPCIU.getIndirectStubs(NumStubs); in getIndirectStubs() 343 TPCIndirectionUtils::getIndirectStubs(unsigned NumStubs) { in getIndirectStubs() argument 348 if (NumStubs > AvailableIndirectStubs.size()) { in getIndirectStubs() 349 auto NumStubsToAllocate = NumStubs; in getIndirectStubs() 391 assert(NumStubs <= AvailableIndirectStubs.size() && in getIndirectStubs() 395 while (NumStubs--) { in getIndirectStubs()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
D | OrcABISupport.h | 33 unsigned NumStubs = 0; member 45 unsigned NumStubs = StubBytes / ORCABI::StubSize; variable 46 uint64_t PointerBytes = NumStubs * ORCABI::PointerSize; 47 return {StubBytes, PointerBytes, NumStubs}; 82 JITTargetAddress PointersBlockTargetAddress, unsigned NumStubs) { in writeIndirectStubsBlock() argument 150 JITTargetAddress PointersBlockTargetAddress, unsigned NumStubs); 230 JITTargetAddress PointersBlockTargetAddress, unsigned NumStubs); 270 JITTargetAddress PointersBlockTargetAddress, unsigned NumStubs); 331 JITTargetAddress PointersBlockTargetAddress, unsigned NumStubs);
|
D | IndirectionUtils.h | 307 LocalIndirectStubsInfo(unsigned NumStubs, sys::OwningMemoryBlock StubsMem) in LocalIndirectStubsInfo() argument 308 : NumStubs(NumStubs), StubsMem(std::move(StubsMem)) {} in LocalIndirectStubsInfo() 334 PtrBlockAddress, ISAS.NumStubs); in create() 340 return LocalIndirectStubsInfo(ISAS.NumStubs, std::move(StubsAndPtrsMem)); in create() 343 unsigned getNumStubs() const { return NumStubs; } in getNumStubs() 351 static_cast<char *>(StubsMem.base()) + NumStubs * ORCABI::StubSize; in getPtr() 356 unsigned NumStubs = 0; 431 Error reserveStubs(unsigned NumStubs) { in reserveStubs() argument 432 if (NumStubs <= FreeStubs.size()) in reserveStubs() 435 unsigned NewStubsRequired = NumStubs - FreeStubs.size(); in reserveStubs()
|
D | TPCIndirectionUtils.h | 70 unsigned NumStubs) const = 0; 146 Expected<IndirectStubInfoVector> getIndirectStubs(unsigned NumStubs); 203 unsigned NumStubs) const override { in writeIndirectStubsBlock() argument 206 PointersBlockTargetAddress, NumStubs); in writeIndirectStubsBlock()
|
D | OrcRemoteTargetClient.h | 610 unsigned NumStubs; member 615 Error reserveStubs(unsigned NumStubs) { in reserveStubs() argument 616 if (NumStubs <= FreeStubs.size()) in reserveStubs() 619 unsigned NewStubsRequired = NumStubs - FreeStubs.size(); in reserveStubs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcABISupport.cpp | 152 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock() local 174 for (unsigned I = 0; I < NumStubs; ++I) in emitIndirectStubsBlock() 183 for (unsigned I = 0; I < NumStubs; ++I) in emitIndirectStubsBlock() 186 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock() 234 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock() local 255 for (unsigned I = 0; I < NumStubs; ++I) in emitIndirectStubsBlock() 264 for (unsigned I = 0; I < NumStubs; ++I) in emitIndirectStubsBlock() 267 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock() 502 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock() local 522 for (unsigned I = 0; I < NumStubs; ++I, PtrAddr += 4) in emitIndirectStubsBlock() [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcABISupport.cpp | 154 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock() local 176 for (unsigned I = 0; I < NumStubs; ++I) in emitIndirectStubsBlock() 185 for (unsigned I = 0; I < NumStubs; ++I) in emitIndirectStubsBlock() 188 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock() 236 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock() local 257 for (unsigned I = 0; I < NumStubs; ++I) in emitIndirectStubsBlock() 266 for (unsigned I = 0; I < NumStubs; ++I) in emitIndirectStubsBlock() 269 StubsInfo = IndirectStubsInfo(NumStubs, std::move(StubsMem)); in emitIndirectStubsBlock() 504 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock() local 524 for (unsigned I = 0; I < NumStubs; ++I, PtrAddr += 4) in emitIndirectStubsBlock() [all …]
|