Home
last modified time | relevance | path

Searched refs:ResultPtr (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMJITInfo.cpp271 intptr_t ResultPtr = resolveRelocDestAddr(MR); in relocate() local
278 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()
280 if (ResultPtr >= 0) in relocate()
285 ResultPtr = - ResultPtr; in relocate()
290 ResultPtr = ResultPtr >> 2; in relocate()
291 *((intptr_t*)RelocPos) |= ResultPtr; in relocate()
301 *((intptr_t*)RelocPos) |= (intptr_t)ResultPtr; in relocate()
310 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()
311 ResultPtr = (ResultPtr & 0x03FFFFFC) >> 2; in relocate()
312 assert(ResultPtr >= -33554432 && ResultPtr <= 33554428); in relocate()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsJITInfo.cpp200 intptr_t ResultPtr = (intptr_t) MR->getResultPointer(); in relocate() local
204 ResultPtr = (((ResultPtr - (intptr_t) RelocPos) - 4) >> 2) & 0xffff; in relocate()
205 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
209 ResultPtr = (ResultPtr & 0x0fffffff) >> 2; in relocate()
210 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
214 ResultPtr = ResultPtr >> 16; in relocate()
216 ResultPtr += 1; in relocate()
218 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
222 ResultPtr = ResultPtr & 0xffff; in relocate()
223 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCJITInfo.cpp414 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); in relocate() local
419 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2; in relocate()
420 assert(ResultPtr >= -(1 << 23) && ResultPtr < (1 << 23) && in relocate()
422 *RelocPos |= (ResultPtr & ((1 << 24)-1)) << 2; in relocate()
427 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2; in relocate()
428 assert(ResultPtr >= -(1 << 13) && ResultPtr < (1 << 13) && in relocate()
430 *RelocPos |= (ResultPtr & ((1 << 14)-1)) << 2; in relocate()
434 ResultPtr += MR->getConstantVal(); in relocate()
440 if (((int)ResultPtr << 16) < 0) in relocate()
441 ResultPtr += 1 << 16; in relocate()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DConvertUTFWrapper.cpp21 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide() argument
31 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide()
32 ResultPtr += Source.size(); in ConvertUTF8toWide()
38 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr); in ConvertUTF8toWide()
44 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide()
51 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); in ConvertUTF8toWide()
57 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide()
66 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) { in ConvertCodePointToUTF8() argument
69 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8()
77 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DConvertUTFWrapper.cpp21 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide() argument
31 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide()
32 ResultPtr += Source.size(); in ConvertUTF8toWide()
38 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr); in ConvertUTF8toWide()
44 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide()
51 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); in ConvertUTF8toWide()
57 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide()
66 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) { in ConvertCodePointToUTF8() argument
69 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8()
77 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
[all …]
/external/llvm/lib/Support/
DConvertUTFWrapper.cpp21 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide() argument
31 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide()
32 ResultPtr += Source.size(); in ConvertUTF8toWide()
38 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr); in ConvertUTF8toWide()
44 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide()
51 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); in ConvertUTF8toWide()
57 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide()
66 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) { in ConvertCodePointToUTF8() argument
69 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8()
77 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
[all …]
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp775 Value *ResultPtr = Variadic->getOperand(0); in lowerToSingleIndexGEPs() local
779 L && L->isLoopInvariant(ResultPtr) && in lowerToSingleIndexGEPs()
780 !hasMoreThanOneUseInLoop(ResultPtr, L); in lowerToSingleIndexGEPs()
783 if (ResultPtr->getType() != I8PtrTy) in lowerToSingleIndexGEPs()
784 ResultPtr = Builder.CreateBitCast(ResultPtr, I8PtrTy); in lowerToSingleIndexGEPs()
809 ResultPtr = in lowerToSingleIndexGEPs()
810 Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Idx, "uglygep"); in lowerToSingleIndexGEPs()
812 FirstResult = ResultPtr; in lowerToSingleIndexGEPs()
819 ResultPtr = in lowerToSingleIndexGEPs()
820 Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Offset, "uglygep"); in lowerToSingleIndexGEPs()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp821 Value *ResultPtr = Variadic->getOperand(0); in lowerToSingleIndexGEPs() local
825 L && L->isLoopInvariant(ResultPtr) && in lowerToSingleIndexGEPs()
826 !hasMoreThanOneUseInLoop(ResultPtr, L); in lowerToSingleIndexGEPs()
829 if (ResultPtr->getType() != I8PtrTy) in lowerToSingleIndexGEPs()
830 ResultPtr = Builder.CreateBitCast(ResultPtr, I8PtrTy); in lowerToSingleIndexGEPs()
855 ResultPtr = in lowerToSingleIndexGEPs()
856 Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Idx, "uglygep"); in lowerToSingleIndexGEPs()
858 FirstResult = ResultPtr; in lowerToSingleIndexGEPs()
865 ResultPtr = in lowerToSingleIndexGEPs()
866 Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Offset, "uglygep"); in lowerToSingleIndexGEPs()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86JITInfo.cpp531 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); in relocate() local
536 ResultPtr = ResultPtr -(intptr_t)RelocPos - 4 - MR->getConstantVal(); in relocate()
537 *((unsigned*)RelocPos) += (unsigned)ResultPtr; in relocate()
543 ResultPtr = ResultPtr - ((intptr_t)Function + MR->getConstantVal()); in relocate()
544 *((unsigned*)RelocPos) += (unsigned)ResultPtr; in relocate()
551 *((unsigned*)RelocPos) += (unsigned)ResultPtr; in relocate()
554 *((intptr_t*)RelocPos) += ResultPtr; in relocate()
/external/clang/lib/Lex/
DLiteralSupport.cpp220 char *ResultPtr = ResultBuf; in appendCodePoint() local
221 bool Res = llvm::ConvertCodePointToUTF8(Codepoint, ResultPtr); in appendCodePoint()
224 Str.append(ResultBuf, ResultPtr); in appendCodePoint()
392 UTF32 *ResultPtr = reinterpret_cast<UTF32*>(ResultBuf); in EncodeUCNEscape() local
393 *ResultPtr = UcnVal; in EncodeUCNEscape()
401 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf); in EncodeUCNEscape() local
404 *ResultPtr = UcnVal; in EncodeUCNEscape()
411 *ResultPtr = 0xD800 + (UcnVal >> 10); in EncodeUCNEscape()
412 *(ResultPtr+1) = 0xDC00 + (UcnVal & 0x3FF); in EncodeUCNEscape()
1271 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in StringLiteralParser()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITEmitter.cpp725 void *ResultPtr = TheJIT->getPointerToGlobalIfAvailable(F); in getPointerToGlobal() local
726 if (ResultPtr) return ResultPtr; in getPointerToGlobal()
843 void *ResultPtr = 0; in finishFunction() local
846 ResultPtr = TheJIT->getPointerToNamedFunction(MR.getExternalSymbol(), in finishFunction()
849 << ResultPtr << "]\n"); in finishFunction()
853 ResultPtr = Resolver.getExternalFunctionStub(ResultPtr); in finishFunction()
856 ResultPtr = getPointerToGlobal(MR.getGlobalValue(), in finishFunction()
860 ResultPtr = getPointerToGVIndirectSym( in finishFunction()
863 ResultPtr = (void*)getMachineBasicBlockAddress(MR.getBasicBlock()); in finishFunction()
865 ResultPtr = in finishFunction()
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_pipeline.c98 if (tnl->vb.ResultPtr[i]->size != tnl->last_result_size[i] || in check_output_changes()
99 tnl->vb.ResultPtr[i]->stride != tnl->last_result_stride[i]) { in check_output_changes()
100 tnl->last_result_size[i] = tnl->vb.ResultPtr[i]->size; in check_output_changes()
101 tnl->last_result_stride[i] = tnl->vb.ResultPtr[i]->stride; in check_output_changes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp48 Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32); in lowerLoadRelative() local
50 CI->replaceAllUsesWith(ResultPtr); in lowerLoadRelative()
DCodeGenPrepare.cpp4482 Value *ResultPtr = nullptr, *ResultIndex = nullptr; in optimizeMemoryInst() local
4486 ResultPtr = AddrMode.BaseReg; in optimizeMemoryInst()
4493 if (ResultPtr || AddrMode.Scale != 1) in optimizeMemoryInst()
4496 ResultPtr = AddrMode.ScaledReg; in optimizeMemoryInst()
4515 if (ResultPtr) in optimizeMemoryInst()
4518 ResultPtr = AddrMode.BaseGV; in optimizeMemoryInst()
4525 if (!ResultPtr && AddrMode.BaseReg) { in optimizeMemoryInst()
4526 ResultPtr = Builder.CreateIntToPtr(AddrMode.BaseReg, Addr->getType(), in optimizeMemoryInst()
4529 } else if (!ResultPtr && AddrMode.Scale == 1) { in optimizeMemoryInst()
4530 ResultPtr = Builder.CreateIntToPtr(AddrMode.ScaledReg, Addr->getType(), in optimizeMemoryInst()
[all …]
/external/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp48 Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32); in lowerLoadRelative() local
50 CI->replaceAllUsesWith(ResultPtr); in lowerLoadRelative()
DCodeGenPrepare.cpp3834 Value *ResultPtr = nullptr, *ResultIndex = nullptr; in optimizeMemoryInst() local
3838 ResultPtr = AddrMode.BaseReg; in optimizeMemoryInst()
3845 if (ResultPtr || AddrMode.Scale != 1) in optimizeMemoryInst()
3848 ResultPtr = AddrMode.ScaledReg; in optimizeMemoryInst()
3853 if (ResultPtr) in optimizeMemoryInst()
3856 ResultPtr = AddrMode.BaseGV; in optimizeMemoryInst()
3862 if (!ResultPtr && AddrMode.BaseReg) { in optimizeMemoryInst()
3863 ResultPtr = in optimizeMemoryInst()
3866 } else if (!ResultPtr && AddrMode.Scale == 1) { in optimizeMemoryInst()
3867 ResultPtr = in optimizeMemoryInst()
[all …]
/external/clang/include/clang/Lex/
DLiteralSupport.h205 char *ResultPtr; // cursor variable
218 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in SM()
229 unsigned GetStringLength() const { return ResultPtr-ResultBuf.data(); } in GetStringLength()
/external/llvm/include/llvm/Support/
DConvertUTF.h201 char *&ResultPtr, const UTF8 *&ErrorPtr);
232 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DConvertUTF.h197 char *&ResultPtr, const UTF8 *&ErrorPtr);
228 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DConvertUTF.h198 char *&ResultPtr, const UTF8 *&ErrorPtr);
229 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1666 llvm::Value *ResultPtr; in performTypeAdjustment() local
1684 ResultPtr = CGF.Builder.CreateInBoundsGEP(V.getPointer(), Offset); in performTypeAdjustment()
1686 ResultPtr = V.getPointer(); in performTypeAdjustment()
1692 ResultPtr = CGF.Builder.CreateConstInBoundsGEP1_64(ResultPtr, in performTypeAdjustment()
1697 return CGF.Builder.CreateBitCast(ResultPtr, InitialPtr.getType()); in performTypeAdjustment()
DCGBuiltin.cpp1790 Address ResultPtr = EmitPointerWithAlignment(ResultArg); in EmitBuiltinExpr() local
1819 Builder.CreateStore(EmitToMemory(Result, ResultQTy), ResultPtr, isVolatile); in EmitBuiltinExpr()
/external/clang/lib/Sema/
DSemaExpr.cpp3048 char *ResultPtr = &Target[0]; in ConvertUTF8ToWideString() local
3050 bool success = ConvertUTF8toWide(CharByteWidth, Source, ResultPtr, ErrorPtr); in ConvertUTF8ToWideString()
3053 Target.resize(ResultPtr - &Target[0]); in ConvertUTF8ToWideString()