Home | History | Annotate | Download | only in JIT

Lines Matching refs:CurBufferPtr

280     // save BufferBegin/BufferEnd/CurBufferPtr here.
783 BufferBegin = CurBufferPtr = MemMgr->startFunctionBody(F.getFunction(),
797 TheJIT->updateGlobalMapping(F.getFunction(), CurBufferPtr);
798 EmittedFunctions[F.getFunction()].Code = CurBufferPtr;
807 if (CurBufferPtr == BufferEnd) {
810 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
824 uint8_t *FnEnd = CurBufferPtr;
895 // CurBufferPtr may have moved beyond FnEnd, due to memory allocation for
897 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
899 if (CurBufferPtr == BufferEnd) {
908 BufferBegin = CurBufferPtr = nullptr;
1004 BufferBegin = CurBufferPtr = MemMgr->allocateSpace(Size, Alignment);
1006 return CurBufferPtr;
1139 SavedCurBufferPtr = CurBufferPtr;
1141 BufferBegin = CurBufferPtr = MemMgr->allocateStub(GV, StubSize, Alignment);
1148 SavedCurBufferPtr = CurBufferPtr;
1150 BufferBegin = CurBufferPtr = (uint8_t *)Buffer;
1155 assert(CurBufferPtr != BufferEnd && "Stub overflowed allocated space.");
1159 CurBufferPtr = SavedCurBufferPtr;