Searched refs:GTID (Results 1 – 2 of 2) sorted by relevance
101 CallInst *GTID = dyn_cast<CallInst>(&BB->front()); in TEST_F() local102 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() local146 EXPECT_NE(GTID, nullptr); in TEST_F()[all …]
69 ; CHECK-SAME: (i32 [[NOT_GTID:%.*]], i32 [[GTID:%.*]])71 ; CHECK-NEXT: [[C:%.*]] = icmp eq i32 [[GTID]], [[GTID]]74 ; CHECK-NEXT: call void @useI32(i32 [[GTID]])78 ; CHECK-NEXT: call void @useI32(i32 [[GTID]])81 ; CHECK-NEXT: call void @useI32(i32 [[GTID]])