/external/llvm/lib/ExecutionEngine/Orc/ |
H A D | OrcMCJITReplacement.cpp | 31 void *FPtr = getPointerToFunction(F); local 32 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); 51 (int (*)(int, char **, const char **))(intptr_t)FPtr; 64 int (*PF)(int, char **) = (int (*)(int, char **))(intptr_t)FPtr; 76 int (*PF)(int) = (int (*)(int))(intptr_t)FPtr; 93 rv.IntVal = APInt(BitWidth, ((bool (*)())(intptr_t)FPtr)()); 95 rv.IntVal = APInt(BitWidth, ((char (*)())(intptr_t)FPtr)()); 97 rv.IntVal = APInt(BitWidth, ((short (*)())(intptr_t)FPtr)()); 99 rv.IntVal = APInt(BitWidth, ((int (*)())(intptr_t)FPtr)()); 101 rv.IntVal = APInt(BitWidth, ((int64_t (*)())(intptr_t)FPtr)()); [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/ |
H A D | MCJIT.cpp | 126 void *FPtr = getPointerToFunction(F); local 127 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); 146 (int(*)(int, char **, const char **))(intptr_t)FPtr; 159 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; 172 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; 188 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); 190 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); 192 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); 194 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); 196 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); [all...] |
/external/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | MCJIT.cpp | 496 void *FPtr = getPointerToFunction(F); local 498 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); 517 (int(*)(int, char **, const char **))(intptr_t)FPtr; 530 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; 543 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; 559 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); 561 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); 563 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); 565 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); 567 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
H A D | JIT.cpp | 391 void *FPtr = getPointerToFunction(F); local 392 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); 411 (int(*)(int, char **, const char **))(intptr_t)FPtr; 424 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; 437 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; 453 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); 455 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); 457 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); 459 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); 461 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); [all...] |
/external/llvm/lib/Analysis/ |
H A D | TypeMetadataUtils.cpp | 22 // Search for virtual calls that call FPtr and add them to DevirtCalls. 25 bool *HasNonCallUses, Value *FPtr, uint64_t Offset) { 26 for (const Use &U : FPtr->uses()) { 24 findCallsAtConstantOffset(SmallVectorImpl<DevirtCallSite> &DevirtCalls, bool *HasNonCallUses, Value *FPtr, uint64_t Offset) argument
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A D | MCJITMultipleModuleTest.cpp | 59 int32_t (*FPtr)(int32_t) = (int32_t (*)(int32_t))(intptr_t)ptr; 60 EXPECT_EQ(0, FPtr(0)); 61 EXPECT_EQ(1, FPtr(1)); 62 EXPECT_EQ(3, FPtr(2)); 63 EXPECT_EQ(6, FPtr(3)); 64 EXPECT_EQ(10, FPtr(4)); 65 EXPECT_EQ(15, FPtr(5));
|
/external/llvm/lib/IR/ |
H A D | GCOV.cpp | 109 for (const auto &FPtr : Functions) 110 FPtr->dump(); 116 for (const auto &FPtr : Functions) 117 FPtr->collectLineCounts(FI);
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.h | 95 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, const ConstantFP *FPtr) argument 97 Constant(true) { Constants.CFP = FPtr; EntryKind = E_ConstantFP; }
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 515 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local 519 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 760 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local 764 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 871 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local 875 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
/external/clang/test/CXX/drs/ |
H A D | dr2xx.cpp | 570 typedef void (*FPtr)(double x[]); typedef in namespace:dr250 573 FPtr fp = &f<3>; 576 FPtr gp = &g<>;
|
/external/llvm/lib/ProfileData/ |
H A D | InstrProfReader.cpp | 306 const IntPtrT FPtr = swap(I->FunctionPointer); 307 if (!FPtr) 309 Symtab.mapAddress(FPtr, I->NameRef);
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 1059 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local 1062 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
H A D | toy.cpp | 1426 void *FPtr = TheHelper->getPointerToFunction(LF); local 1430 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
H A D | toy.cpp | 1283 void *FPtr = TheHelper->getPointerToFunction(LF); local 1287 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 1041 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local 1044 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
H A D | toy.cpp | 1324 void *FPtr = TheHelper->getPointerToFunction(LF); local 1328 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 1034 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local 1038 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 1503 void *FPtr = TheHelper->getPointerToFunction(LF); local 1506 double (*FP)() = (double (*)())(intptr_t)FPtr;
|
/external/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 891 SDValue FPtr = Op.getOperand(2); // nested function local 936 OutChains[4] = DAG.getStore(Chain, dl, FPtr, Addr,
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 803 SDValue FPtr = Op.getOperand(2); // nested function local 848 OutChains[4] = DAG.getStore(Chain, dl, FPtr, Addr,
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 1387 SDValue FPtr = Op.getOperand(2); // nested function local 1408 Entry.Node = FPtr; Args.push_back(Entry); 1411 // Lower to a call to __trampoline_setup(Trmp, TrampSize, FPtr, ctx_reg)
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 9500 SDValue FPtr = Op.getOperand(2); // nested function local 9527 OutChains[1] = DAG.getStore(Root, dl, FPtr, Addr, 9612 Disp = DAG.getNode(ISD::SUB, dl, MVT::i32, FPtr, Addr);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 2529 SDValue FPtr = Op.getOperand(2); // nested function local 2548 Entry.Node = FPtr; Args.push_back(Entry); 2551 // Lower to a call to __trampoline_setup(Trmp, TrampSize, FPtr, ctx_reg)
|