• Home
  • Raw
  • Download

Lines Matching refs:ForkCI

419   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()
515 EXPECT_EQ(ForkCI->getCalledFunction()->getName(), "__kmpc_fork_call"); in TEST_F()
516 EXPECT_EQ(ForkCI->getNumArgOperands(), 3U); in TEST_F()
517 EXPECT_TRUE(isa<GlobalVariable>(ForkCI->getArgOperand(0))); in TEST_F()
518 EXPECT_EQ(ForkCI->getArgOperand(1), in TEST_F()
520 EXPECT_EQ(ForkCI->getArgOperand(2), Usr); in TEST_F()
620 CallInst *ForkCI = dyn_cast<CallInst>(Usr->user_back()); in TEST_F() local
621 ASSERT_NE(ForkCI, nullptr); in TEST_F()
623 EXPECT_EQ(ForkCI->getCalledFunction()->getName(), "__kmpc_fork_call"); in TEST_F()
624 EXPECT_EQ(ForkCI->getNumArgOperands(), 3U); in TEST_F()
625 EXPECT_TRUE(isa<GlobalVariable>(ForkCI->getArgOperand(0))); in TEST_F()
626 EXPECT_EQ(ForkCI->getArgOperand(1), in TEST_F()
628 EXPECT_EQ(ForkCI->getArgOperand(2), Usr); in TEST_F()
724 CallInst *ForkCI = nullptr; in TEST_F() local
733 ForkCI = cast<CallInst>(Usr->user_back()); in TEST_F()
737 EXPECT_EQ(ForkCI->getCalledFunction()->getName(), "__kmpc_fork_call"); in TEST_F()
738 EXPECT_EQ(ForkCI->getNumArgOperands(), 4U); in TEST_F()
739 EXPECT_TRUE(isa<GlobalVariable>(ForkCI->getArgOperand(0))); in TEST_F()
740 EXPECT_EQ(ForkCI->getArgOperand(1), in TEST_F()
742 Value *StoredForkArg = findStoredValue(ForkCI->getArgOperand(3)); in TEST_F()