OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AddPtr
(Results
1 - 3
of
3
) sorted by null
/external/llvm/unittests/ExecutionEngine/MCJIT/
MCJITTest.cpp
67
uint64_t
addPtr
= TheJIT->getFunctionAddress(F->getName().str());
68
EXPECT_TRUE(0 !=
addPtr
)
71
ASSERT_TRUE(
addPtr
!= 0) << "Unable to get pointer to function .";
72
int (*
AddPtr
)(int, int) = (int(*)(int, int))
addPtr
;
73
EXPECT_EQ(0,
AddPtr
(0, 0));
74
EXPECT_EQ(1,
AddPtr
(1, 0));
75
EXPECT_EQ(3,
AddPtr
(1, 2));
76
EXPECT_EQ(-5,
AddPtr
(-2, -3));
77
EXPECT_EQ(30,
AddPtr
(10, 20))
[
all
...]
MCJITMultipleModuleTest.cpp
47
int (*
AddPtr
)(int, int) = (int (*)(int, int))ptr;
48
EXPECT_EQ(0,
AddPtr
(0, 0));
49
EXPECT_EQ(1,
AddPtr
(1, 0));
50
EXPECT_EQ(3,
AddPtr
(1, 2));
51
EXPECT_EQ(-5,
AddPtr
(-2, -3));
52
EXPECT_EQ(30,
AddPtr
(10, 20));
53
EXPECT_EQ(-30,
AddPtr
(-10, -20));
54
EXPECT_EQ(-40,
AddPtr
(-10, -30));
/external/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp
[
all
...]
Completed in 183 milliseconds