/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTest.cpp | 91 int (*FuncPtr)(void) = (int(*)(void))ptr; in TEST_F() local 92 int returnCode = FuncPtr(); in TEST_F() 111 int32_t(*FuncPtr)(void) = (int32_t(*)(void))rgvPtr; in TEST_F() local 112 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F() 183 int32_t(*FuncPtr)(void) = (int32_t(*)(void))ptr; in TEST_F() local 184 EXPECT_EQ(innerRetVal, FuncPtr()) in TEST_F()
|
D | MCJITMultipleModuleTest.cpp | 222 int32_t(*FuncPtr)(void) = (int32_t(*)(void))FBPtr; in TEST_F() local 223 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F() 228 FuncPtr = (int32_t(*)(void))FAPtr; in TEST_F() 229 EXPECT_EQ(initialNum, FuncPtr()) in TEST_F()
|
D | MCJITObjectCacheTest.cpp | 113 int (*FuncPtr)(void) = (int(*)(void))(intptr_t)vPtr; in compileAndRun() local 114 int returnCode = FuncPtr(); in compileAndRun()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-function-params.cpp | 44 template<typename R, typename A1, R (*ptr)(A1)> struct FuncPtr { }; struct 45 template<typename A1, int (*ptr)(A1)> struct FuncPtr<int, A1, ptr> { }; struct 51 FuncPtr<R, A1, &unary_func<R, A1> > fp1; in use_func_ptr() 52 FuncPtr<R, A2, &unary_func<R, A2> > fp2; in use_func_ptr()
|
/external/clang/test/CodeGen/ |
D | 2007-09-28-PackedUnionMember.c | 23 typedef long (*FuncPtr) (); typedef 25 extern long bork(FuncPtr handler, const struct E *list);
|
D | 2002-07-14-MiscTests3.c | 26 typedef int (*FuncPtr)(int); typedef 32 char PtrFunc2(FuncPtr FuncTab[30], int Num) { in PtrFunc2()
|
/external/clang/test/SemaCXX/ |
D | member-pointers-2.cpp | 39 typedef void (*FuncPtr)(); typedef 45 FuncPtr X0::*fptr;
|
/external/llvm/test/CodeGen/ARM/ |
D | 2011-04-26-SchedTweak.ll | 10 @FuncPtr = external hidden unnamed_addr global %struct.FF* 47 store %struct.FF* %tmp7, %struct.FF** @FuncPtr, align 4
|
/external/clang/test/Rewriter/ |
D | rewrite-modern-block-ivar-call.mm | 17 …ock_impl *)(*(void (**)(void))((char *)self + OBJC_IVAR_$_Foo$_block)))->FuncPtr)((struct __block_…
|
/external/llvm/test/CodeGen/Thumb2/ |
D | v8_IT_3.ll | 9 @FuncPtr = external hidden unnamed_addr global %struct.FF* 47 store %struct.FF* %tmp7, %struct.FF** @FuncPtr, align 4
|
/external/llvm/tools/bugpoint/ |
D | Miscompilation.cpp | 921 PHINode *FuncPtr = PHINode::Create(NullPtr->getType(), 2, in CleanupAndPrepareModules() local 923 FuncPtr->addIncoming(CastedResolver, LookupBB); in CleanupAndPrepareModules() 924 FuncPtr->addIncoming(CachedVal, EntryBB); in CleanupAndPrepareModules() 934 CallInst::Create(FuncPtr, Args, "", DoCallBB); in CleanupAndPrepareModules() 937 CallInst *Call = CallInst::Create(FuncPtr, Args, in CleanupAndPrepareModules()
|
/external/clang/lib/CodeGen/ |
D | CGBlocks.cpp | 947 llvm::Value *FuncPtr = Builder.CreateStructGEP(BlockLiteral, 3); in EmitBlockCallExpr() local 962 llvm::Value *Func = Builder.CreateLoad(FuncPtr); in EmitBlockCallExpr()
|