Lines Matching +full:batch +full:- +full:reduce
1 //===- ReduceFunctions.cpp - Specialized Delta Pass -----------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // to reduce functions (and any instruction that calls it) in the provided
13 //===----------------------------------------------------------------------===//
29 // Record all out-of-chunk functions. in extractFunctionsFromModule()
33 // reduce. Additionally, intrinsics may have additional operand in extractFunctionsFromModule()
44 // Then, drop body of each of them. We want to batch this and do nothing else in extractFunctionsFromModule()
47 F->dropAllReferences(); in extractFunctionsFromModule()
52 F->replaceAllUsesWith(getDefaultValue(F->getType())); in extractFunctionsFromModule()
54 cast<Function>(F)->eraseFromParent(); in extractFunctionsFromModule()