Home
last modified time | relevance | path

Searched refs:FPtr (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp31 void *FPtr = getPointerToFunction(F); in runFunction() local
32 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); in runFunction()
51 (int (*)(int, char **, const char **))(intptr_t)FPtr; in runFunction()
64 int (*PF)(int, char **) = (int (*)(int, char **))(intptr_t)FPtr; in runFunction()
76 int (*PF)(int) = (int (*)(int))(intptr_t)FPtr; in runFunction()
93 rv.IntVal = APInt(BitWidth, ((bool (*)())(intptr_t)FPtr)()); in runFunction()
95 rv.IntVal = APInt(BitWidth, ((char (*)())(intptr_t)FPtr)()); in runFunction()
97 rv.IntVal = APInt(BitWidth, ((short (*)())(intptr_t)FPtr)()); in runFunction()
99 rv.IntVal = APInt(BitWidth, ((int (*)())(intptr_t)FPtr)()); in runFunction()
101 rv.IntVal = APInt(BitWidth, ((int64_t (*)())(intptr_t)FPtr)()); in runFunction()
[all …]
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp448 void *FPtr = getPointerToFunction(F); in runFunction() local
449 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); in runFunction()
468 (int(*)(int, char **, const char **))(intptr_t)FPtr; in runFunction()
481 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; in runFunction()
494 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; in runFunction()
510 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction()
512 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction()
514 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction()
516 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction()
518 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction()
[all …]
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMultipleModuleTest.cpp59 int32_t (*FPtr)(int32_t) = (int32_t (*)(int32_t))(intptr_t)ptr; in checkAccumulate() local
60 EXPECT_EQ(0, FPtr(0)); in checkAccumulate()
61 EXPECT_EQ(1, FPtr(1)); in checkAccumulate()
62 EXPECT_EQ(3, FPtr(2)); in checkAccumulate()
63 EXPECT_EQ(6, FPtr(3)); in checkAccumulate()
64 EXPECT_EQ(10, FPtr(4)); in checkAccumulate()
65 EXPECT_EQ(15, FPtr(5)); in checkAccumulate()
/external/llvm/lib/IR/
DGCOV.cpp108 for (const auto &FPtr : Functions) in dump() local
109 FPtr->dump(); in dump()
115 for (const auto &FPtr : Functions) in collectLineCounts() local
116 FPtr->collectLineCounts(FI); in collectLineCounts()
/external/clang/test/CXX/drs/
Ddr2xx.cpp570 typedef void (*FPtr)(double x[]); typedef
573 FPtr fp = &f<3>;
576 FPtr gp = &g<>;
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp788 void *FPtr = JITHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
792 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp829 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local
833 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp944 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local
948 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp1063 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local
1066 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
Dtoy.cpp1430 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
1434 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp1117 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local
1121 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp1045 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local
1048 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
Dtoy.cpp1328 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
1332 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp1287 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
1291 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1507 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
1510 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/external/llvm/docs/tutorial/
DLangImpl8.rst116 - void *FPtr = TheExecutionEngine->getPointerToFunction(LF);
120 - double (*FP)() = (double (*)())(intptr_t)FPtr;
DLangImpl4.rst268 void *FPtr = TheExecutionEngine->getPointerToFunction(LF);
272 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp892 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
937 OutChains[4] = DAG.getStore(Chain, dl, FPtr, Addr, in LowerINIT_TRAMPOLINE()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2237 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
2258 Entry.Node = FPtr; Args.push_back(Entry); in LowerINIT_TRAMPOLINE()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp15548 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
15576 OutChains[1] = DAG.getStore(Root, dl, FPtr, Addr, in LowerINIT_TRAMPOLINE()
15661 Disp = DAG.getNode(ISD::SUB, dl, MVT::i32, FPtr, Addr); in LowerINIT_TRAMPOLINE()