1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/bugpoint
Chandler Carruth cdfd07538f [TI removal] Make getTerminator() return a generic Instruction.
This removes the primary remaining API producing `TerminatorInst` which
will reduce the rate at which code is introduced trying to use it and
generally make it much easier to remove the remaining APIs across the
codebase.

Also clean up some of the stragglers that the previous mechanical update
of variables missed.

Users of LLVM and out-of-tree code generally will need to update any
explicit variable types to handle this. Replacing `TerminatorInst` with
`Instruction` (or `auto`) almost always works. Most of these edits were
made in prior commits using the perl one-liner:
```
perl -i -ple 's/TerminatorInst(\b.* = .*getTerminator\(\))/Instruction\1/g'
```

This also my break some rare use cases where people overload for both
`Instruction` and `TerminatorInst`, but these should be easily fixed by
removing the `TerminatorInst` overload.

llvm-svn: 344504
2018-10-15 10:42:50 +00:00
..
BugDriver.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
BugDriver.h [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
bugpoint.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
CMakeLists.txt Link to AggressiveInstCombine in a few places. Unbreaks build for me. 2018-04-24 08:40:37 +00:00
CrashDebugger.cpp [TI removal] Make getTerminator() return a generic Instruction. 2018-10-15 10:42:50 +00:00
ExecutionDriver.cpp [bugpoint] Revert r318459 2018-09-18 18:39:27 +00:00
ExtractFunction.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
FindBugs.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
ListReducer.h
LLVMBuild.txt
Miscompilation.cpp [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
OptimizerDriver.cpp Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
ToolRunner.cpp Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
ToolRunner.h