Searched refs:FPtr (Results 1 - 18 of 18) sorted by relevance

/external/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp31 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/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp448 void *FPtr = getPointerToFunction(F); local
449 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction");
468 (int(*)(int, char **, const char **))(intptr_t)FPtr;
481 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr;
494 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr;
510 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)());
512 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)());
514 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)());
516 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)());
518 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)());
[all...]
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITMultipleModuleTest.cpp59 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 DGCOV.cpp108 for (const auto &FPtr : Functions)
109 FPtr->dump();
115 for (const auto &FPtr : Functions)
116 FPtr->collectLineCounts(FI);
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp788 void *FPtr = JITHelper->getPointerToFunction(LF); local
792 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp829 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
833 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp944 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
948 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/clang/test/CXX/drs/
H A Ddr2xx.cpp570 typedef void (*FPtr)(double x[]); typedef in namespace:dr250
573 FPtr fp = &f<3>;
576 FPtr gp = &g<>;
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp1117 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
1121 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp1063 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
1066 double (*FP)() = (double (*)())(intptr_t)FPtr;
H A Dtoy.cpp1430 void *FPtr = TheHelper->getPointerToFunction(LF); local
1434 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp1287 void *FPtr = TheHelper->getPointerToFunction(LF); local
1291 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp1045 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
1048 double (*FP)() = (double (*)())(intptr_t)FPtr;
H A Dtoy.cpp1328 void *FPtr = TheHelper->getPointerToFunction(LF); local
1332 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1507 void *FPtr = TheHelper->getPointerToFunction(LF); local
1510 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp892 SDValue FPtr = Op.getOperand(2); // nested function local
937 OutChains[4] = DAG.getStore(Chain, dl, FPtr, Addr,
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2237 SDValue FPtr = Op.getOperand(2); // nested function local
2258 Entry.Node = FPtr; Args.push_back(Entry);
2261 // Lower to a call to __trampoline_setup(Trmp, TrampSize, FPtr, ctx_reg)
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp15548 SDValue FPtr = Op.getOperand(2); // nested function local
15576 OutChains[1] = DAG.getStore(Root, dl, FPtr, Addr,
15661 Disp = DAG.getNode(ISD::SUB, dl, MVT::i32, FPtr, Addr);

Completed in 443 milliseconds