Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp419 CallInst *ForkCI = dyn_cast<CallInst>(Usr->user_back()); in TEST_F() local
420 ASSERT_NE(ForkCI, nullptr); in TEST_F()
422 EXPECT_EQ(ForkCI->getCalledFunction()->getName(), "__kmpc_fork_call"); in TEST_F()
423 EXPECT_EQ(ForkCI->getNumArgOperands(), 4U); in TEST_F()
424 EXPECT_TRUE(isa<GlobalVariable>(ForkCI->getArgOperand(0))); in TEST_F()
425 EXPECT_EQ(ForkCI->getArgOperand(1), in TEST_F()
427 EXPECT_EQ(ForkCI->getArgOperand(2), Usr); in TEST_F()
428 EXPECT_EQ(findStoredValue(ForkCI->getArgOperand(3)), F->arg_begin()); in TEST_F()
512 CallInst *ForkCI = dyn_cast<CallInst>(Usr->user_back()); in TEST_F() local
513 ASSERT_NE(ForkCI, nullptr); in TEST_F()
[all …]