1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/include/llvm/Transforms
Hideto Ueno 76778c133a [Attributor] Deduce dereferenceable based on accessed bytes map
Summary:
This patch introduces the deduction based on load/store instructions whose pointer operand is a non-inbounds GEP instruction.
For example if we have,
```
void f(int *u){
 u[0] = 0;
 u[1] = 1;
 u[2] = 2;
}
```
then u must be dereferenceable(12).

This patch is inspired by D64258

Reviewers: jdoerfert, spatel, hfinkel, RKSimon, sstefan1, xbolva00, dtemirbulatov

Reviewed By: jdoerfert

Subscribers: jfb, lebedev.ri, xbolva00, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70714
2019-11-29 06:55:58 +00:00
..
AggressiveInstCombine Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InstCombine Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Instrumentation Insert module constructors in a module pass 2019-10-11 08:47:03 +00:00
IPO [Attributor] Deduce dereferenceable based on accessed bytes map 2019-11-29 06:55:58 +00:00
Scalar [JumpThreading] Refactor ThreadEdge 2019-11-21 12:38:22 -08:00
Utils [InstCombine] Optimize some memccpy calls to memcpy/null 2019-11-26 10:54:47 +01:00
Vectorize Temporarily Revert "[SLP] allow forming 2-way reduction patterns" and update testcases. 2019-11-20 16:00:53 -08:00
CFGuard.h Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00
Coroutines.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Instrumentation.h Reland the "[NewPM] Port Sancov" patch from rL365838. No functional 2019-07-25 20:53:15 +00:00
IPO.h [BlockExtractor] Expose a constructor for the group extraction 2019-04-29 16:14:02 +00:00
ObjCARC.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Scalar.h [LegacyPassManager] Delete BasicBlockPass/Manager. 2019-10-30 11:40:16 -07:00
Utils.h [SVFS] Inject TLI Mappings in VFABI attribute. 2019-11-15 18:42:56 +00:00
Vectorize.h [LegacyPassManager] Delete BasicBlockPass/Manager. 2019-10-30 11:40:16 -07:00