Lines Matching refs:CurBufferPtr
283 // save BufferBegin/BufferEnd/CurBufferPtr here.
793 BufferBegin = CurBufferPtr = MemMgr->startFunctionBody(F.getFunction(),
807 TheJIT->updateGlobalMapping(F.getFunction(), CurBufferPtr);
808 EmittedFunctions[F.getFunction()].Code = CurBufferPtr;
817 if (CurBufferPtr == BufferEnd) {
820 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
834 uint8_t *FnEnd = CurBufferPtr;
905 // CurBufferPtr may have moved beyond FnEnd, due to memory allocation for
907 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
909 if (CurBufferPtr == BufferEnd) {
918 BufferBegin = CurBufferPtr = 0;
975 SavedCurBufferPtr = CurBufferPtr;
977 BufferBegin = CurBufferPtr = MemMgr->startExceptionTable(F.getFunction(),
984 MemMgr->endExceptionTable(F.getFunction(), BufferBegin, CurBufferPtr,
986 uint8_t *EhEnd = CurBufferPtr;
989 CurBufferPtr = SavedCurBufferPtr;
1057 BufferBegin = CurBufferPtr = MemMgr->allocateSpace(Size, Alignment);
1059 return CurBufferPtr;
1189 SavedCurBufferPtr = CurBufferPtr;
1191 BufferBegin = CurBufferPtr = MemMgr->allocateStub(GV, StubSize, Alignment);
1198 SavedCurBufferPtr = CurBufferPtr;
1200 BufferBegin = CurBufferPtr = (uint8_t *)Buffer;
1205 assert(CurBufferPtr != BufferEnd && "Stub overflowed allocated space.");
1209 CurBufferPtr = SavedCurBufferPtr;