Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BlockExtractor: Don’t delete functions directly | Volkan Keles | 2018-03-12 | 1 | -0/+14 |
| | | | | | | | Blocks may have function calls, so don’t erase functions directly to avoid erasing a function that has a user. llvm-svn: 327340 | ||||
* | [llvm-extract] Support extracting basic blocks | Volkan Keles | 2018-01-23 | 3 | -0/+86 |
| | | | | | | | | | | | | | | | | Summary: Currently, there is no way to extract a basic block from a function easily. This patch extends llvm-extract to extract the specified basic block(s). Reviewers: loladiro, rafael, bogner Reviewed By: bogner Subscribers: hintonda, mgorny, qcolombet, llvm-commits Differential Revision: https://reviews.llvm.org/D41638 llvm-svn: 323266 | ||||
* | [llvm-extract] Add option for recursive extraction | Keno Fischer | 2017-04-06 | 1 | -0/+32 |
Summary: Particularly, with --delete, this can be very useful for testing new optimizations on some hotspots, without having to run it on the whole application. E.g. as such: ``` llvm-extract app.bc --recursive --rfunc .*hotspot.* > hotspot.bc llvm-extract app.bc --recursive --delete --rfunc .*hotspot.* > residual.bc llc -filetype=obj residual.bc > residual.o llc -filetype=obj hotspot.bc > hotspot.o cc -o app residual.o hotspot.o ``` Reviewed By: davide Differential Revision: https://reviews.llvm.org/D31722 llvm-svn: 299706 |