Lines Matching refs:Function
714 /// Declaration for ObjC runtime function
717 /// Declaration for ObjC runtime function objc_autoreleaseReturnValue.
719 /// Declaration for ObjC runtime function objc_release.
721 /// Declaration for ObjC runtime function objc_retain.
723 /// Declaration for ObjC runtime function objc_retainBlock.
725 /// Declaration for ObjC runtime function objc_autorelease.
729 /// is in fact used in the current function.
750 void OptimizeRetainCall(Function &F, Instruction *Retain);
751 bool OptimizeRetainRVCall(Function &F, Instruction *RetainRV);
752 void OptimizeAutoreleaseRVCall(Function &F, Instruction *AutoreleaseRV,
754 void OptimizeIndividualCalls(Function &F);
772 bool Visit(Function &F,
801 void OptimizeWeakCalls(Function &F);
803 bool OptimizeSequences(Function &F);
805 void OptimizeReturns(Function &F);
809 virtual bool runOnFunction(Function &F);
952 ObjCARCOpt::OptimizeRetainCall(Function &F, Instruction *Retain) {
985 ObjCARCOpt::OptimizeRetainRVCall(Function &F, Instruction *RetainRV) {
1048 ObjCARCOpt::OptimizeAutoreleaseRVCall(Function &F, Instruction *AutoreleaseRV,
1089 void ObjCARCOpt::OptimizeIndividualCalls(Function &F) {
1105 // Delete no-op casts. These function calls have special semantics, but
1217 " to function since it can never be passed stack args: " << *Inst <<
1227 "keyword from function: " << *Inst <<
1258 // are actually present in this function.
1860 ComputePostOrders(Function &F,
1915 for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I) {
1940 // Visit the function both top-down and bottom-up.
1942 ObjCARCOpt::Visit(Function &F,
1951 // function exit point, and we want to ignore selected cycle edges.
2297 void ObjCARCOpt::OptimizeWeakCalls(Function &F) {
2459 bool ObjCARCOpt::OptimizeSequences(Function &F) {
2467 /// This is used during the traversal of the function to track the
2471 // Analyze the CFG of the function, and all instructions.
2494 void ObjCARCOpt::OptimizeReturns(Function &F) {
2500 for (Function::iterator FI = F.begin(), FE = F.end(); FI != FE; ++FI) {
2636 bool ObjCARCOpt::runOnFunction(Function &F) {
2646 DEBUG(dbgs() << "ObjCARCOpt: Visiting Function: " << F.getName() << "\n");