Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp774 Function *CBFn, *BFn; in TEST_F() local
780 BFn = M->getFunction("__kmpc_barrier"); in TEST_F()
782 ASSERT_EQ(BFn, nullptr); in TEST_F()
791 BFn = M->getFunction("__kmpc_barrier"); in TEST_F()
793 ASSERT_NE(BFn, nullptr); in TEST_F()
795 ASSERT_EQ(BFn->getNumUses(), 1U); in TEST_F()
796 ASSERT_TRUE(isa<CallInst>(BFn->user_back())); in TEST_F()
797 ASSERT_EQ(BFn->user_back()->getNumUses(), 0U); in TEST_F()
802 ASSERT_EQ(BFn->getNumUses(), 1U); in TEST_F()