llvm-project/polly/lib/CodeGen
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
..
BlockGenerators.cpp [TI removal] Make `getTerminator()` return a generic `Instruction`. 2018-10-15 10:42:50 +00:00
CodeGeneration.cpp [polly] Update uses of DEBUG macro to LLVM_DEBUG. 2018-05-15 13:37:17 +00:00
CodegenCleanup.cpp [polly] Update uses of DEBUG macro to LLVM_DEBUG. 2018-05-15 13:37:17 +00:00
IRBuilder.cpp [CodeGen] Fix potential null pointer dereference. NFC. 2018-07-05 13:44:50 +00:00
IslAst.cpp [IslAst] Fix InParallelFor nesting. 2018-09-27 13:39:37 +00:00
IslExprBuilder.cpp [IslExprBuilder] Do not generate RTC with more than 64 bit 2017-09-23 15:32:07 +00:00
IslNodeBuilder.cpp [CodeGen] Convert IslNodeBuilder::getNumberOfIterations to isl++. NFC. 2018-07-31 23:01:50 +00:00
LoopGenerators.cpp Fix the build after r314375 2017-09-28 12:20:24 +00:00
ManagedMemoryRewrite.cpp [polly] Update uses of DEBUG macro to LLVM_DEBUG. 2018-05-15 13:37:17 +00:00
PPCGCodeGeneration.cpp PPCG codegen 2018-08-01 10:48:38 +00:00
PerfMonitor.cpp [PerfMonitor] Fix rdtscp callsites 2018-09-11 14:17:44 +00:00
RuntimeDebugBuilder.cpp [CodeGen] Print executed statement instances at runtime. 2018-04-25 19:43:49 +00:00
Utils.cpp [PPCGCodeGeneration] Fix runtime check adjustments since they make assumptions about BB layout. 2017-07-14 10:00:25 +00:00