Home
last modified time | relevance | path

Searched refs:AddPtr (Results 1 – 9 of 9) sorted by relevance

/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTest.cpp72 int (*AddPtr)(int, int) = (int(*)(int, int))addPtr ; in TEST_F() local
73 EXPECT_EQ(0, AddPtr(0, 0)); in TEST_F()
74 EXPECT_EQ(1, AddPtr(1, 0)); in TEST_F()
75 EXPECT_EQ(3, AddPtr(1, 2)); in TEST_F()
76 EXPECT_EQ(-5, AddPtr(-2, -3)); in TEST_F()
77 EXPECT_EQ(30, AddPtr(10, 20)); in TEST_F()
78 EXPECT_EQ(-30, AddPtr(-10, -20)); in TEST_F()
79 EXPECT_EQ(-40, AddPtr(-10, -30)); in TEST_F()
DMCJITMultipleModuleTest.cpp47 int (*AddPtr)(int, int) = (int (*)(int, int))ptr; in checkAdd() local
48 EXPECT_EQ(0, AddPtr(0, 0)); in checkAdd()
49 EXPECT_EQ(1, AddPtr(1, 0)); in checkAdd()
50 EXPECT_EQ(3, AddPtr(1, 2)); in checkAdd()
51 EXPECT_EQ(-5, AddPtr(-2, -3)); in checkAdd()
52 EXPECT_EQ(30, AddPtr(10, 20)); in checkAdd()
53 EXPECT_EQ(-30, AddPtr(-10, -20)); in checkAdd()
54 EXPECT_EQ(-40, AddPtr(-10, -30)); in checkAdd()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTest.cpp71 int (*AddPtr)(int, int) = (int(*)(int, int))addPtr ; in TEST_F() local
72 EXPECT_EQ(0, AddPtr(0, 0)); in TEST_F()
73 EXPECT_EQ(1, AddPtr(1, 0)); in TEST_F()
74 EXPECT_EQ(3, AddPtr(1, 2)); in TEST_F()
75 EXPECT_EQ(-5, AddPtr(-2, -3)); in TEST_F()
76 EXPECT_EQ(30, AddPtr(10, 20)); in TEST_F()
77 EXPECT_EQ(-30, AddPtr(-10, -20)); in TEST_F()
78 EXPECT_EQ(-40, AddPtr(-10, -30)); in TEST_F()
DMCJITMultipleModuleTest.cpp47 int (*AddPtr)(int, int) = (int (*)(int, int))ptr; in checkAdd() local
48 EXPECT_EQ(0, AddPtr(0, 0)); in checkAdd()
49 EXPECT_EQ(1, AddPtr(1, 0)); in checkAdd()
50 EXPECT_EQ(3, AddPtr(1, 2)); in checkAdd()
51 EXPECT_EQ(-5, AddPtr(-2, -3)); in checkAdd()
52 EXPECT_EQ(30, AddPtr(10, 20)); in checkAdd()
53 EXPECT_EQ(-30, AddPtr(-10, -20)); in checkAdd()
54 EXPECT_EQ(-40, AddPtr(-10, -30)); in checkAdd()
/external/libchrome/mojo/public/cpp/bindings/
Dinterface_ptr_set.h33 InterfacePtrSetElementId AddPtr(Ptr<Interface> ptr) { in AddPtr() function
DREADME.md993 listeners_.AddPtr(std::move(listener));
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp4458 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, MVT::i64, Callee, PtrOff); in PrepareCall() local
4459 SDValue LoadEnvPtr = DAG.getLoad(MVT::i64, dl, LDChain, AddPtr, in PrepareCall()
5240 SDValue AddPtr = PtrOff; in LowerCall_64SVR4() local
5244 AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const); in LowerCall_64SVR4()
5246 Chain = CallSeqStart = createMemcpyOutsideCallSeq(Arg, AddPtr, in LowerCall_64SVR4()
5280 SDValue AddPtr = PtrOff; in LowerCall_64SVR4() local
5283 AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const); in LowerCall_64SVR4()
5285 Chain = CallSeqStart = createMemcpyOutsideCallSeq(Arg, AddPtr, in LowerCall_64SVR4()
5590 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, StackPtr, PtrOff); in LowerCall_64SVR4() local
5592 Val.getValue(1), dl, Val, AddPtr, in LowerCall_64SVR4()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp2643 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, MVT::i64, Callee, PtrOff); in PrepareCall() local
2644 SDValue LoadEnvPtr = DAG.getNode(PPCISD::LOAD, dl, VTs, Chain, AddPtr, in PrepareCall()
3183 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const); in LowerCall_Darwin() local
3184 SDValue MemcpyCall = CreateCopyOfByValArgument(Arg, AddPtr, in LowerCall_Darwin()
3386 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, StackPtr, PtrOff); in LowerCall_Darwin() local
3387 Chain = DAG.getStore(Val.getValue(1), dl, Val, AddPtr, MachinePointerInfo(), in LowerCall_Darwin()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp4989 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, MVT::i64, Callee, PtrOff); in PrepareCall() local
4991 DAG.getLoad(MVT::i64, dl, LDChain, AddPtr, MPI.getWithOffset(16), in PrepareCall()
5801 SDValue AddPtr = PtrOff; in LowerCall_64SVR4() local
5805 AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const); in LowerCall_64SVR4()
5807 Chain = CallSeqStart = createMemcpyOutsideCallSeq(Arg, AddPtr, in LowerCall_64SVR4()
5841 SDValue AddPtr = PtrOff; in LowerCall_64SVR4() local
5844 AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const); in LowerCall_64SVR4()
5846 Chain = CallSeqStart = createMemcpyOutsideCallSeq(Arg, AddPtr, in LowerCall_64SVR4()
6150 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, StackPtr, PtrOff); in LowerCall_64SVR4() local
6152 Val.getValue(1), dl, Val, AddPtr, in LowerCall_64SVR4()
[all …]