Lines Matching refs:FnF
1425 Function *FnF = M->getFunction("f"); in TEST_F() local
1427 ASSERT_NE(FnF, nullptr); in TEST_F()
1431 Instruction *IP = &FnF->getEntryBlock().front(); in TEST_F()
1456 Function *FnF = M->getFunction("f"); in TEST_F() local
1458 ASSERT_NE(FnF, nullptr); in TEST_F()
1462 Instruction *IP = &FnF->getEntryBlock().front(); in TEST_F()
1487 Function *FnF = M->getFunction("f"); in TEST_F() local
1488 Function *FnewF = Function::Create(FnF->getFunctionType(), in TEST_F()
1489 FnF->getLinkage(), "newF", *M); in TEST_F()
1494 Instruction *IP = &FnF->getEntryBlock().front(); in TEST_F()
1501 CGU.registerOutlinedFunction(*FnF, *FnewF); in TEST_F()
1526 Function *FnF = M->getFunction("f"); in TEST_F() local
1528 Function::Create(FnF->getFunctionType(), FnF->getLinkage(), "newF", *M); in TEST_F()
1538 Instruction *IP = &FnF->getEntryBlock().front(); in TEST_F()
1596 Function *FnF = M->getFunction("f"); in TEST_F() local
1598 ASSERT_NE(FnF, nullptr); in TEST_F()
1602 Instruction *IP = &FnF->getEntryBlock().front(); in TEST_F()
1609 ASSERT_NO_FATAL_FAILURE(CGU.reanalyzeFunction(*FnF)); in TEST_F()
1625 Function *FnF = M->getFunction("f"); in TEST_F() local
1626 Function *FnewF = Function::Create(FnF->getFunctionType(), in TEST_F()
1627 FnF->getLinkage(), "newF", *M); in TEST_F()
1630 while (FnF->getEntryBlock().size() > 1) in TEST_F()
1631 FnF->getEntryBlock().front().moveBefore(RI); in TEST_F()
1632 ASSERT_NE(FnF, nullptr); in TEST_F()
1636 ConstantExpr::getBitCast(FnF, Type::getInt8PtrTy(FnF->getContext())); in TEST_F()
1641 ASSERT_NO_FATAL_FAILURE(CGU.replaceFunctionWith(*FnF, *FnewF)); in TEST_F()
1642 ASSERT_TRUE(FnF->isDeclaration()); in TEST_F()
1643 ASSERT_EQ(FnF->getNumUses(), 0U); in TEST_F()
1659 Function *FnF = M->getFunction("f"); in TEST_F() local
1665 ASSERT_NO_FATAL_FAILURE(CGU.removeFunction(*FnF)); in TEST_F()