/external/llvm/lib/Target/ARM/ |
D | ARMJITInfo.cpp | 271 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/llvm/lib/Target/Mips/ |
D | MipsJITInfo.cpp | 252 intptr_t ResultPtr = (intptr_t) MR->getResultPointer(); in relocate() local 256 ResultPtr = (((ResultPtr - (intptr_t) RelocPos) - 4) >> 2) & 0xffff; in relocate() 257 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate() 261 ResultPtr = (ResultPtr & 0x0fffffff) >> 2; in relocate() 262 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate() 266 ResultPtr = ResultPtr >> 16; in relocate() 268 ResultPtr += 1; in relocate() 270 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate() 278 ResultPtr = (ResultPtr + Addend) & 0xffff; in relocate() 280 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
|
/external/llvm/lib/Support/ |
D | ConvertUTFWrapper.cpp | 15 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide() argument 25 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide() 26 ResultPtr += Source.size(); in ConvertUTF8toWide() 32 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr); in ConvertUTF8toWide() 38 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide() 45 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); in ConvertUTF8toWide() 51 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide() 60 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) { in ConvertCodePointToUTF8() argument 63 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8() 71 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCJITInfo.cpp | 417 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); in relocate() local 422 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2; in relocate() 423 assert(ResultPtr >= -(1 << 23) && ResultPtr < (1 << 23) && in relocate() 425 *RelocPos |= (ResultPtr & ((1 << 24)-1)) << 2; in relocate() 430 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2; in relocate() 431 assert(ResultPtr >= -(1 << 13) && ResultPtr < (1 << 13) && in relocate() 433 *RelocPos |= (ResultPtr & ((1 << 14)-1)) << 2; in relocate() 437 ResultPtr += MR->getConstantVal(); in relocate() 443 if (((int)ResultPtr << 16) < 0) in relocate() 444 ResultPtr += 1 << 16; in relocate() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86JITInfo.cpp | 545 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); in relocate() local 550 ResultPtr = ResultPtr -(intptr_t)RelocPos - 4 - MR->getConstantVal(); in relocate() 551 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate() 557 ResultPtr = ResultPtr - ((intptr_t)Function + MR->getConstantVal()); in relocate() 558 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate() 565 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate() 568 addUnaligned<intptr_t>(RelocPos, ResultPtr); in relocate()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 348 UTF32 *ResultPtr = reinterpret_cast<UTF32*>(ResultBuf); in EncodeUCNEscape() local 349 *ResultPtr = UcnVal; in EncodeUCNEscape() 357 UTF16 *ResultPtr = reinterpret_cast<UTF16*>(ResultBuf); in EncodeUCNEscape() local 360 *ResultPtr = UcnVal; in EncodeUCNEscape() 367 *ResultPtr = 0xD800 + (UcnVal >> 10); in EncodeUCNEscape() 368 *(ResultPtr+1) = 0xDC00 + (UcnVal & 0x3FF); in EncodeUCNEscape() 1114 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in StringLiteralParser() 1188 ResultPtr = &ResultBuf[0]; // Next byte to fill in. in init() 1307 ResultPtr, hadError, in init() 1321 UTF32 *ResultWidePtr = reinterpret_cast<UTF32*>(ResultPtr); in init() [all …]
|
D | Preprocessor.cpp | 506 char *ResultPtr = ResultBuf; in appendCodePoint() local 507 bool Res = llvm::ConvertCodePointToUTF8(Codepoint, ResultPtr); in appendCodePoint() 510 Str.append(ResultBuf, ResultPtr); in appendCodePoint()
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JITEmitter.cpp | 721 void *ResultPtr = TheJIT->getPointerToGlobalIfAvailable(F); in getPointerToGlobal() local 722 if (ResultPtr) return ResultPtr; in getPointerToGlobal() 839 void *ResultPtr = 0; in finishFunction() local 842 ResultPtr = TheJIT->getPointerToNamedFunction(MR.getExternalSymbol(), in finishFunction() 845 << ResultPtr << "]\n"); in finishFunction() 849 ResultPtr = Resolver.getExternalFunctionStub(ResultPtr); in finishFunction() 852 ResultPtr = getPointerToGlobal(MR.getGlobalValue(), in finishFunction() 856 ResultPtr = getPointerToGVIndirectSym( in finishFunction() 859 ResultPtr = (void*)getMachineBasicBlockAddress(MR.getBasicBlock()); in finishFunction() 861 ResultPtr = in finishFunction() [all …]
|
/external/clang/include/clang/Lex/ |
D | LiteralSupport.h | 177 char *ResultPtr; // cursor variable 189 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in SM() 200 unsigned GetStringLength() const { return ResultPtr-ResultBuf.data(); } in GetStringLength()
|
/external/llvm/include/llvm/Support/ |
D | ConvertUTF.h | 182 char *&ResultPtr, const UTF8 *&ErrorPtr); 194 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1958 char *ResultPtr = &Target[0]; in ConvertUTF8ToWideString() local 1960 bool success = ConvertUTF8toWide(CharByteWidth, Source, ResultPtr, ErrorPtr); in ConvertUTF8ToWideString() 1963 Target.resize(ResultPtr - &Target[0]); in ConvertUTF8ToWideString()
|