| /trueos/contrib/llvm/lib/Target/ARM/ |
| HD | 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 …]
|
| /trueos/contrib/llvm/lib/Target/Sparc/ |
| HD | SparcJITInfo.cpp | 278 intptr_t ResultPtr = (intptr_t) MR->getResultPointer(); in relocate() local 282 ResultPtr = (ResultPtr >> 10) & 0x3fffff; in relocate() 286 ResultPtr = (ResultPtr & 0x3ff); in relocate() 290 ResultPtr = ((ResultPtr - (intptr_t)RelocPos) >> 2) & 0x3fffffff; in relocate() 294 ResultPtr = ((ResultPtr - (intptr_t)RelocPos) >> 2) & 0x3fffff; in relocate() 298 ResultPtr = ((ResultPtr - (intptr_t)RelocPos) >> 2) & 0x7ffff; in relocate() 302 ResultPtr = (ResultPtr >> 22) & 0x3fffff; in relocate() 306 ResultPtr = (ResultPtr >> 12) & 0x3ff; in relocate() 310 ResultPtr = (ResultPtr & 0xfff); in relocate() 314 ResultPtr = (((int64_t)ResultPtr) >> 42) & 0x3fffff; in relocate() [all …]
|
| /trueos/contrib/llvm/lib/Target/Mips/ |
| HD | 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()
|
| /trueos/contrib/llvm/lib/Target/PowerPC/ |
| HD | 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 …]
|
| /trueos/contrib/llvm/lib/Support/ |
| HD | ConvertUTFWrapper.cpp | 18 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide() argument 28 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide() 29 ResultPtr += Source.size(); in ConvertUTF8toWide() 35 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr); in ConvertUTF8toWide() 41 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide() 48 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); in ConvertUTF8toWide() 54 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide() 63 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) { in ConvertCodePointToUTF8() argument 66 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8() 74 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
|
| /trueos/contrib/llvm/lib/Target/X86/ |
| HD | X86JITInfo.cpp | 546 intptr_t ResultPtr = (intptr_t)MR->getResultPointer(); in relocate() local 551 ResultPtr = ResultPtr -(intptr_t)RelocPos - 4 - MR->getConstantVal(); in relocate() 552 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate() 558 ResultPtr = ResultPtr - ((intptr_t)Function + MR->getConstantVal()); in relocate() 559 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate() 566 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate() 569 addUnaligned<intptr_t>(RelocPos, ResultPtr); in relocate()
|
| /trueos/contrib/llvm/lib/ExecutionEngine/JIT/ |
| HD | JITEmitter.cpp | 710 void *ResultPtr = TheJIT->getPointerToGlobalIfAvailable(F); in getPointerToGlobal() local 711 if (ResultPtr) return ResultPtr; in getPointerToGlobal() 828 void *ResultPtr = 0; in finishFunction() local 831 ResultPtr = TheJIT->getPointerToNamedFunction(MR.getExternalSymbol(), in finishFunction() 834 << ResultPtr << "]\n"); in finishFunction() 838 ResultPtr = Resolver.getExternalFunctionStub(ResultPtr); in finishFunction() 841 ResultPtr = getPointerToGlobal(MR.getGlobalValue(), in finishFunction() 845 ResultPtr = getPointerToGVIndirectSym( in finishFunction() 848 ResultPtr = (void*)getMachineBasicBlockAddress(MR.getBasicBlock()); in finishFunction() 850 ResultPtr = in finishFunction() [all …]
|
| /trueos/contrib/llvm/patches/ |
| HD | patch-r262261-llvm-r199977-sparc.diff | 249 ResultPtr = ((ResultPtr - (intptr_t)RelocPos) >> 2) & 0x7ffff; 253 + ResultPtr = (ResultPtr >> 22) & 0x3fffff; 257 + ResultPtr = (ResultPtr >> 12) & 0x3ff; 261 + ResultPtr = (ResultPtr & 0xfff); 265 + ResultPtr = (((int64_t)ResultPtr) >> 42) & 0x3fffff; 269 + ResultPtr = (((int64_t)ResultPtr) >> 32) & 0x3ff; 273 *((unsigned*) RelocPos) |= (unsigned) ResultPtr;
|
| /trueos/contrib/llvm/tools/clang/lib/Lex/ |
| HD | 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() 1209 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in StringLiteralParser() 1283 ResultPtr = &ResultBuf[0]; // Next byte to fill in. in init() 1402 ResultPtr, hadError, in init() 1416 UTF32 *ResultWidePtr = reinterpret_cast<UTF32*>(ResultPtr); in init() [all …]
|
| HD | Preprocessor.cpp | 509 char *ResultPtr = ResultBuf; in appendCodePoint() local 510 bool Res = llvm::ConvertCodePointToUTF8(Codepoint, ResultPtr); in appendCodePoint() 513 Str.append(ResultBuf, ResultPtr); in appendCodePoint()
|
| /trueos/contrib/llvm/tools/clang/include/clang/Lex/ |
| HD | LiteralSupport.h | 189 char *ResultPtr; // cursor variable 201 ResultPtr(ResultBuf.data()), hadError(false), Pascal(false) { in SM() 212 unsigned GetStringLength() const { return ResultPtr-ResultBuf.data(); } in GetStringLength()
|
| /trueos/contrib/llvm/include/llvm/Support/ |
| HD | ConvertUTF.h | 186 char *&ResultPtr, const UTF8 *&ErrorPtr); 198 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
|
| /trueos/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGExpr.cpp | 1937 char *ResultPtr = &Target[0]; in ConvertUTF8ToWideString() local 1939 bool success = ConvertUTF8toWide(CharByteWidth, Source, ResultPtr, ErrorPtr); in ConvertUTF8ToWideString() 1942 Target.resize(ResultPtr - &Target[0]); in ConvertUTF8ToWideString()
|