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

12

/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/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp126 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 DMCJIT.cpp496 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 DJIT.cpp391 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 DTypeMetadataUtils.cpp22 // 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 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.cpp109 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 DDwarfDebug.h95 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 Dtoy.cpp515 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
519 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp760 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
764 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp871 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
875 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/lib/ProfileData/
H A DInstrProfReader.cpp306 const IntPtrT FPtr = swap(I->FunctionPointer);
307 if (!FPtr)
309 Symtab.mapAddress(FPtr, I->NameRef);
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp1059 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
1062 double (*FP)() = (double (*)())(intptr_t)FPtr;
H A Dtoy.cpp1426 void *FPtr = TheHelper->getPointerToFunction(LF); local
1430 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp1283 void *FPtr = TheHelper->getPointerToFunction(LF); local
1287 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp1041 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
1044 double (*FP)() = (double (*)())(intptr_t)FPtr;
H A Dtoy.cpp1324 void *FPtr = TheHelper->getPointerToFunction(LF); local
1328 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp1034 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); local
1038 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1503 void *FPtr = TheHelper->getPointerToFunction(LF); local
1506 double (*FP)() = (double (*)())(intptr_t)FPtr;
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp891 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 DXCoreISelLowering.cpp803 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 DPPCISelLowering.cpp1387 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 DX86ISelLowering.cpp9500 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 DPPCISelLowering.cpp2529 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)

Completed in 3002 milliseconds

12