Home
last modified time | relevance | path

Searched refs:CurBufferPtr (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DJITCodeEmitter.h80 if (CurBufferPtr != BufferEnd) in emitByte()
81 *CurBufferPtr++ = B; in emitByte()
88 if (4 <= BufferEnd-CurBufferPtr) { in emitWordLE()
89 *CurBufferPtr++ = (uint8_t)(W >> 0); in emitWordLE()
90 *CurBufferPtr++ = (uint8_t)(W >> 8); in emitWordLE()
91 *CurBufferPtr++ = (uint8_t)(W >> 16); in emitWordLE()
92 *CurBufferPtr++ = (uint8_t)(W >> 24); in emitWordLE()
94 CurBufferPtr = BufferEnd; in emitWordLE()
102 if (4 <= BufferEnd-CurBufferPtr) { in emitWordBE()
103 *CurBufferPtr++ = (uint8_t)(W >> 24); in emitWordBE()
[all …]
DMachineCodeEmitter.h61 uint8_t *CurBufferPtr; variable
83 if (CurBufferPtr != BufferEnd) in emitByte()
84 *CurBufferPtr++ = B; in emitByte()
91 if (4 <= BufferEnd-CurBufferPtr) { in emitWordLE()
92 emitWordLEInto(CurBufferPtr, W); in emitWordLE()
94 CurBufferPtr = BufferEnd; in emitWordLE()
113 if (4 <= BufferEnd-CurBufferPtr) { in emitWordBE()
114 *CurBufferPtr++ = (uint8_t)(W >> 24); in emitWordBE()
115 *CurBufferPtr++ = (uint8_t)(W >> 16); in emitWordBE()
116 *CurBufferPtr++ = (uint8_t)(W >> 8); in emitWordBE()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITEmitter.cpp793 BufferBegin = CurBufferPtr = MemMgr->startFunctionBody(F.getFunction(), in startFunction()
807 TheJIT->updateGlobalMapping(F.getFunction(), CurBufferPtr); in startFunction()
808 EmittedFunctions[F.getFunction()].Code = CurBufferPtr; in startFunction()
817 if (CurBufferPtr == BufferEnd) { in finishFunction()
820 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr); in finishFunction()
834 uint8_t *FnEnd = CurBufferPtr; in finishFunction()
907 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr); in finishFunction()
909 if (CurBufferPtr == BufferEnd) { in finishFunction()
918 BufferBegin = CurBufferPtr = 0; in finishFunction()
975 SavedCurBufferPtr = CurBufferPtr; in finishFunction()
[all …]