llvm-project/llvm/lib/Transforms/Coroutines
Chandler Carruth e303c87e19 [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
..
CMakeLists.txt Remove trailing space in build file. 2018-04-07 03:30:28 +00:00
CoroCleanup.cpp
CoroEarly.cpp [coroutines] Add support for llvm.coro.noop intrinsics 2018-04-02 16:55:12 +00:00
CoroElide.cpp [IR] Sink `isExceptional` predicate to `Instruction`, rename it to 2018-08-26 08:56:42 +00:00
CoroFrame.cpp [TI removal] Make `getTerminator()` return a generic `Instruction`. 2018-10-15 10:42:50 +00:00
CoroInstr.h Remove `inline` keyword from inline `classof` methods 2017-06-29 19:35:17 +00:00
CoroInternal.h [coroutines] Respect alloca alignment requirements when building coroutine frame 2018-04-03 20:54:20 +00:00
CoroSplit.cpp [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
Coroutines.cpp [LLVM-C] Add coroutine passes 2018-08-19 23:39:57 +00:00
LLVMBuild.txt