Lines Matching refs:GTID
101 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() local
102 EXPECT_NE(GTID, nullptr); in TEST_F()
103 EXPECT_EQ(GTID->getNumArgOperands(), 1U); in TEST_F()
104 EXPECT_EQ(GTID->getCalledFunction()->getName(), "__kmpc_global_thread_num"); in TEST_F()
105 EXPECT_FALSE(GTID->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
106 EXPECT_FALSE(GTID->getCalledFunction()->doesNotFreeMemory()); in TEST_F()
108 CallInst *Barrier = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F()
115 EXPECT_EQ(cast<CallInst>(Barrier)->getArgOperand(1), GTID); in TEST_F()
145 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() local
146 EXPECT_NE(GTID, nullptr); in TEST_F()
147 EXPECT_EQ(GTID->getNumArgOperands(), 1U); in TEST_F()
148 EXPECT_EQ(GTID->getCalledFunction()->getName(), "__kmpc_global_thread_num"); in TEST_F()
149 EXPECT_FALSE(GTID->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
150 EXPECT_FALSE(GTID->getCalledFunction()->doesNotFreeMemory()); in TEST_F()
152 CallInst *Cancel = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F()
168 EXPECT_EQ(cast<CallInst>(Cancel)->getArgOperand(1), GTID); in TEST_F()
205 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() local
206 EXPECT_NE(GTID, nullptr); in TEST_F()
207 EXPECT_EQ(GTID->getNumArgOperands(), 1U); in TEST_F()
208 EXPECT_EQ(GTID->getCalledFunction()->getName(), "__kmpc_global_thread_num"); in TEST_F()
209 EXPECT_FALSE(GTID->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
210 EXPECT_FALSE(GTID->getCalledFunction()->doesNotFreeMemory()); in TEST_F()
212 CallInst *Cancel = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F()
229 EXPECT_EQ(cast<CallInst>(Cancel)->getArgOperand(1), GTID); in TEST_F()
261 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() local
262 EXPECT_NE(GTID, nullptr); in TEST_F()
263 EXPECT_EQ(GTID->getNumArgOperands(), 1U); in TEST_F()
264 EXPECT_EQ(GTID->getCalledFunction()->getName(), "__kmpc_global_thread_num"); in TEST_F()
265 EXPECT_FALSE(GTID->getCalledFunction()->doesNotAccessMemory()); in TEST_F()
266 EXPECT_FALSE(GTID->getCalledFunction()->doesNotFreeMemory()); in TEST_F()
268 CallInst *Barrier = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F()
284 EXPECT_EQ(cast<CallInst>(Barrier)->getArgOperand(1), GTID); in TEST_F()
301 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() local
302 CallInst *Barrier = dyn_cast<CallInst>(GTID->getNextNode()); in TEST_F()
303 EXPECT_EQ(GTID->getDebugLoc(), DL); in TEST_F()