Home
last modified time | relevance | path

Searched refs:GTID (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp101 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()
[all …]
/external/llvm-project/llvm/test/Transforms/OpenMP/
Ddeduplication.ll69 ; 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]])