1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Other
Arthur Eubanks d577e2748f [NewPM] Print pre-transformation IR name in --print-after-all
Sometimes a transformation can change the name of some IR (e.g. an SCC
with functions added/removed). This can be confusing when debug logging
doesn't match the post-transformation name. The specific example I came
across was that --print-after-all said the inliner was working on an SCC
that only contained one function, but calls in multiple functions were
getting inlined. After all inlining, the current SCC only contained one
function.

Piggyback off of the existing logic to handle invalidated IR +
--print-module-scope. Simply always store the IR description and use
that.

Reviewed By: jamieschmeiser

Differential Revision: https://reviews.llvm.org/D106290
2021-07-20 10:20:10 -07:00
..
ChangePrinters [NewPM] Cleanup IR printing instrumentation 2021-04-15 09:50:55 -07:00
Inputs
X86 Recommit "[LTO] Use lto::backend for code generation." 2021-02-15 10:05:42 +00:00
2002-01-31-CallGraph.ll
2002-02-24-InlineBrokePHINodes.ll
2004-08-16-PackedConstantInlineStore.ll
2004-08-16-PackedGlobalConstant.ll
2004-08-16-PackedSelect.ll
2004-08-16-PackedSimple.ll
2004-08-20-PackedControlFlow.ll
2006-02-05-PassManager.ll
2007-06-05-PassID.ll
2007-06-28-PassManager.ll
2007-09-10-PassManager.ll
2008-02-14-PassManager.ll
2008-06-04-FieldSizeInPacked.ll
2008-10-06-RemoveDeadPass.ll
2008-10-15-MissingSpace.ll
2009-03-31-CallGraph.ll
2009-06-05-no-implicit-float.ll
2009-09-14-function-elements.ll
2010-05-06-Printer.ll Remove "Rewrite Symbols" from codegen pipeline 2021-05-31 08:32:36 -07:00
attribute-comment.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
available-externally-lto.ll
bb-badref.ll
bcanalyzer-block-info.txt
bcanalyzer-dump-option.txt
can-execute.txt
cfg_deopt_unreach.ll
cfg-printer-branch-weights-percent.ll
cfg-printer-branch-weights.ll
cfg-printer-filter.ll Use -cfg-func-name value as filter for -view-cfg, etc. 2021-06-16 23:54:51 +02:00
cgscc-devirt-iteration.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
cgscc-disconnected-invalidation.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
cgscc-iterate-function-mutation.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
cgscc-libcall-update.ll Revert "[BuildLibCalls/SimplifyLibCalls] Fix attributes on created CallInst instructions." 2021-06-24 19:24:34 -07:00
cgscc-observe-devirt.ll [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
change-printer.ll [NewPM] Cleanup IR printing instrumentation 2021-04-15 09:50:55 -07:00
cleanup-lcssa.ll
codegenprepare-and-debug.ll
constant-fold-gep-address-spaces.ll
constant-fold-gep.ll Reland [SCEV] Improve modelling for (null) pointer constants 2021-03-13 16:05:34 +03:00
copy-metadata-of-declaration.ll
cspgo-O2-pipeline.ll
debug-pass-manager.ll [NewPM][opt] Add -debug-pass-manager=quiet to not print analysis info 2021-07-19 15:08:26 -07:00
debug-pass-npm.ll [opt] Error if -debug-pass is specified alongside the new PM 2021-03-02 15:59:28 -08:00
debugcounter-dce.ll
debugcounter-earlycse.ll
debugcounter-newgvn.ll
debugcounter-predicateinfo.ll Revert of D49126 [PredicateInfo] Use custom mangling to support ssa_copy with unnamed types. 2021-03-20 11:37:09 +01:00
devirt-invalidated.ll [NewPM] Bail out of devirtualization wrapper if the current SCC is invalidated 2021-07-19 15:07:30 -07:00
devirtualization-undef.ll
extract-alias.ll
extract-linkonce.ll
extract-weak-odr.ll
extract.ll
FileCheck-space.txt
force-opaque-ptrs-typed-dis.ll [OpaquePtr] Split force-opaque-pointers test (NFC) 2021-06-25 11:16:35 +02:00
force-opaque-ptrs.ll [OpaquePtr] Support opaque pointers in intrinsic type check 2021-07-01 18:26:41 +02:00
heat-colors-graphs.ll
heat-colors-multigraph.ll
invalid-commandline-option.ll
invariant.group.ll Remove a -O2 usage from a CSE specific test file 2021-04-13 10:29:36 -07:00
lint.ll [test] Properly match parameter/argument ABI attributes 2021-05-31 09:12:18 -07:00
lit-globbing.ll
lit-quoting.txt [lit] Remove unnecessary testcases from lit-quoting.txt that fail on macOS 2021-04-14 15:09:42 +03:00
lit-unicode.txt
llvm-nm-without-aliases.ll
loop-deletion-printer.ll [NewPM] Print pre-transformation IR name in --print-after-all 2021-07-20 10:20:10 -07:00
loop-pass-ordering.ll
loop-pass-printer.ll [NewPM] Cleanup IR printing instrumentation 2021-04-15 09:50:55 -07:00
loop-pm-invalidation.ll [NewPM] Hide pass manager debug logging behind -debug-pass-manager-verbose 2021-05-07 21:51:47 -07:00
loopnest-callback.ll Making Instrumentation aware of LoopNest Pass 2021-05-24 20:25:52 -07:00
machine-size-remarks.ll
module-pass-printer.ll [NewPM] Cleanup IR printing instrumentation 2021-04-15 09:50:55 -07:00
new-pass-manager-verify-each.ll
new-pass-manager.ll [NewPM] Hide pass manager debug logging behind -debug-pass-manager-verbose 2021-05-07 21:51:47 -07:00
new-pm-cspgo.ll
new-pm-defaults.ll [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
new-pm-lto-defaults.ll [test] Fix new-pm-lto-defaults.ll to work on all platforms 2021-05-13 18:12:55 -07:00
new-pm-O0-defaults.ll [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
new-pm-O0-ep-callbacks.ll
new-pm-pgo-O0.ll
new-pm-pgo-preinline.ll [NewPM] Hide pass manager debug logging behind -debug-pass-manager-verbose 2021-05-07 21:51:47 -07:00
new-pm-pgo.ll [PassManager][PhaseOrdering] lower expects before running simplifyCFG 2021-04-12 15:07:53 -04:00
new-pm-pr42726-cgscc.ll [NewPM][opt] Run the "default" AA pipeline by default 2021-01-21 21:08:54 -08:00
new-pm-pseudo-probe.ll
new-pm-thinlto-defaults.ll [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
new-pm-thinlto-postlink-pgo-defaults.ll [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
new-pm-thinlto-postlink-samplepgo-defaults.ll [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
new-pm-thinlto-prelink-pgo-defaults.ll [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
new-pm-thinlto-prelink-samplepgo-defaults.ll [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
new-pm-time-trace.ll
opt-bisect-helper.py
opt-bisect-legacy-pass-manager.ll [FileCheck] Default --allow-unused-prefixes to false 2021-02-08 13:37:04 -08:00
opt-bisect-new-pass-manager.ll [NewPM] Mark BitcodeWriter as required. 2021-05-21 16:14:09 -07:00
opt-hot-cold-split.ll
opt-LTO-pipeline.ll [VectorCombine] Simplify to scalar store if only one element updated 2021-05-08 18:14:51 +08:00
opt-npm.ll
opt-O0-pipeline-enable-matrix.ll Move EntryExitInstrumentation pass location 2021-03-01 10:08:10 -08:00
opt-O0-pipeline.ll Move EntryExitInstrumentation pass location 2021-03-01 10:08:10 -08:00
opt-O2-pipeline.ll [DSE] Remove stores in the same loop iteration 2021-06-20 17:03:30 +01:00
opt-O3-pipeline-enable-matrix.ll [DSE] Remove stores in the same loop iteration 2021-06-20 17:03:30 +01:00
opt-O3-pipeline.ll [DSE] Remove stores in the same loop iteration 2021-06-20 17:03:30 +01:00
opt-old-new-pm-passes.ll
opt-Os-pipeline.ll [DSE] Remove stores in the same loop iteration 2021-06-20 17:03:30 +01:00
opt-override-denormal-fp-math-f32.ll
opt-override-denormal-fp-math-mixed.ll
opt-override-denormal-fp-math.ll
opt-override-frame-pointer.ll
opt-override-mcpu-mattr.ll
opt-pipeline-vector-passes.ll [NewPM] Add ExtraVectorizerPasses support 2021-01-26 22:59:10 +01:00
opt-twice.ll
optimization-remarks-auto.ll [InlineCost] Make cost-benefit decision explicit 2021-03-24 16:10:58 -07:00
optimization-remarks-inline.ll
optimization-remarks-invalidation.ll
optimization-remarks-lazy-bfi.ll
optimize-inrange-gep.ll
optimize-options.ll
pass-pipeline-parsing.ll [NewPM] Add options to PrintPassInstrumentation 2021-05-18 20:59:35 -07:00
pass-pipelines.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
pipefail.txt
pm-pgo-preinline.ll
pr32085.ll
pr49950.ll Make dependency between certain analysis passes transitive (reapply) 2021-05-05 15:17:55 +02:00
print-before-after.ll [NewPM] Rename 'unswitch' to 'simple-loop-unswitch' in PassRegistry 2021-07-09 09:47:33 +02:00
print-cfg-sccs.ll
print-changed-deleted.ll [NewPM] Fix -print-changed when a -filter-print-funcs function is removed 2021-04-12 11:55:17 -07:00
print-debug-counter.ll
print-module-scope.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
print-passes.ll [NewPM][SimpleLoopUnswitch] Add option to not trivially unswitch 2021-07-13 16:09:42 -07:00
print-slotindexes.ll
printer.ll
ResponseFile.ll
scalable-vector-array.ll
scalable-vector-struct-intrinsic.ll
scalable-vectors-core-ir.ll
scc-deleted-printer.ll [NewPM] Print pre-transformation IR name in --print-after-all 2021-07-20 10:20:10 -07:00
scc-pass-printer.ll [NewPM] Cleanup IR printing instrumentation 2021-04-15 09:50:55 -07:00
size-remarks.ll
spir_cc.ll
statistic.ll
time-passes.ll
unroll-sroa.ll
writing-to-stdout.ll