Lines Matching refs:CurPtr
275 /// out of. ByteOffset is an offset into C. CurPtr is the pointer to copy
277 /// the CurPtr buffer. DL is the DataLayout.
279 unsigned char *CurPtr, unsigned BytesLeft,
284 // If this element is zero or undefined, we can just return since *CurPtr is
301 CurPtr[i] = (unsigned char)(Val >> (n * 8));
310 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL);
314 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL);
318 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL);
335 !ReadDataFromGlobal(CS->getOperand(Index), ByteOffset, CurPtr,
352 CurPtr += NextEltOffset - CurEltOffset - ByteOffset;
373 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr,
384 CurPtr += BytesWritten;
392 return ReadDataFromGlobal(CE->getOperand(0), ByteOffset, CurPtr,