llvm-project/llvm/test/Transforms/Util
Francis Visoiu Mistrih 365b78396a [Remarks] Emit variable info in auto-init remarks
This enhances the auto-init remark with information about the variable
that is auto-initialized.

This is based of debug info if available, or alloca names (mostly for
development purposes).

```
auto-init.c:4:7: remark: Call to memset inserted by -ftrivial-auto-var-init. Memory operation size: 4096 bytes.Variables: var (4096 bytes). [-Rpass-missed=annotation-remarks]
  int var[1024];
      ^
```

This allows to see things like partial initialization of a variable that
the optimizer won't be able to completely remove.

Differential Revision: https://reviews.llvm.org/D97734
2021-03-04 12:51:22 -08:00
..
Debugify
PredicateInfo [PredicateInfo] Handle logical and/or 2021-01-20 21:03:07 +01:00
PR37334-break-crit-edges-require-dt.ll [test] Completely pin PR37334-break-crit-edges-require-dt.ll to legacy PM 2020-11-09 12:49:03 -08:00
add-TLI-mappings.ll Initial support for vectorization using Libmvec (GLIBC vector math library) 2020-10-22 16:01:39 -04:00
annotation-remarks.ll Add !annotation metadata and remarks pass. 2020-11-13 13:24:10 +00:00
annotation2metadata.ll Add pass to add !annotate metadata from @llvm.global.annotations. 2020-11-16 14:57:11 +00:00
assume-builder-counter.ll
assume-builder.ll
assume-simplify.ll
call-promotion-utils-ptrcast-attribute.ll
call-promotion-utils-ptrcast.ll
cg-updater-dead-function-callees.ll
clone-dicompileunit.ll
combine-alias-scope-metadata.ll
dbg-call-bitcast.ll
dbg-user-of-aext.ll
flattencfg.ll [test][NewPM] Pin -flattencfg test to legacy PM 2020-11-09 12:43:12 -08:00
libcalls-fast-math-inf-loop.ll
libcalls-opt-remarks.ll
libcalls-shrinkwrap-double.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
libcalls-shrinkwrap-float.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
libcalls-shrinkwrap-long-double.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
lowerinvoke-funclet.ll
lowerswitch.ll
pr49185.ll Remove redundent types in pr49185.ll 2021-02-19 04:44:27 +08:00
simplify-dbg-declare-load.ll
store-first-op.ll
strip-gc-relocates.ll Port StripGCRelocates pass to NPM 2020-10-07 14:41:29 -07:00
strip-nonlinetable-debuginfo-containingtypes.ll
strip-nonlinetable-debuginfo-cus.ll [NPM] Port strip nonlinetable debuginfo pass to the new pass manager 2020-10-07 14:35:36 -07:00
strip-nonlinetable-debuginfo-labels.ll
strip-nonlinetable-debuginfo-localvars.ll
strip-nonlinetable-debuginfo-loops.ll
strip-nonlinetable-debuginfo-subroutinetypes.ll
trivial-auto-var-init-call.ll [Remarks] Emit variable info in auto-init remarks 2021-03-04 12:51:22 -08:00
trivial-auto-var-init-store.ll [Remarks] Emit variable info in auto-init remarks 2021-03-04 12:51:22 -08:00
trivial-auto-var-init-unknown.ll [Remarks] Provide more information about auto-init calls 2021-02-25 15:14:09 -08:00