/llvm-project/flang/test/Fir/ |
H A D | basic-program.fir | 2 // RUN: tco %s --mlir-pass-statistics --mlir-pass-statistics-display=pipeline 2>&1 | FileCheck %s --check-prefix=PASSES 7 // Also check the passes in the default pipeline. 17 // PASSES: Pass statistics report 19 // PASSES: Canonicalizer 20 // PASSES-NEXT: Pipeline Collection : ['fir.global', 'func.func', 'omp.declare_reduction', 'omp.private'] 21 // PASSES-NEXT: 'fir.global' Pipeline 22 // PASSES-NEXT: SimplifyHLFIRIntrinsics 23 // PASSES-NEXT: InlineElementals 24 // PASSES-NEXT: 'func.func' Pipeline 25 // PASSES [all...] |
/llvm-project/mlir/docs/ |
H A D | Passes.md | 1 # Passes chapter 3 This document describes the available MLIR passes and their contracts. 7 ## General Transformation Passes 11 ## Bufferization Passes 15 ## Conversion Passes 19 ## 'acc' Dialect Passes 23 ## 'affine' Dialect Passes 27 ## 'amdgpu' Dialect Passes 31 ## 'arith' Dialect Passes 35 ## 'arm\_sme' Dialect Passes [all …]
|
/llvm-project/llvm/test/Other/ChangePrinters/ |
H A D | print-changed-diff.ll | 6 ; RUN: opt -S -print-changed=diff -passes=instsimplify 2>&1 -o /dev/null < %s | FileCheck %s --chec… 8 ; Check that only the passes that change the IR are printed and that the 10 ; RUN: opt -S -print-changed=diff -passes=instsimplify -filter-print-funcs=f 2>&1 -o /dev/null < %… 14 ; RUN: opt -S -print-changed=diff -passes=instsimplify -print-module-scope 2>&1 -o /dev/null < %s |… 17 ; RUN: opt -S -print-changed=diff -passes=instsimplify -filter-print-funcs="f,g" 2>&1 -o /dev/null … 19 ; Check that the reporting of IRs respects -filter-passes 20 …f -passes="instsimplify,no-op-function" -filter-passes="no-op-function" 2>&1 -o /dev/null < %s | F… 22 ; Check that the reporting of IRs respects -filter-passes with multiple passes 23 …passes="instsimplify,no-op-function" -filter-passes="no-op-function,instsimplify" 2>&1 -o /dev/nul… 25 ; Check that the reporting of IRs respects both -filter-passes and -filter-print-funcs [all …]
|
/llvm-project/mlir/include/mlir/ |
H A D | InitAllPasses.h | 10 // passes to the system. 17 #include "mlir/Conversion/Passes.h" 18 #include "mlir/Dialect/AMDGPU/Transforms/Passes.h" 19 #include "mlir/Dialect/Affine/Passes.h" 20 #include "mlir/Dialect/Arith/Transforms/Passes.h" 21 #include "mlir/Dialect/ArmSME/Transforms/Passes.h" 22 #include "mlir/Dialect/ArmSVE/Transforms/Passes.h" 23 #include "mlir/Dialect/Async/Passes.h" 24 #include "mlir/Dialect/Bufferization/Pipelines/Passes.h" 25 #include "mlir/Dialect/Bufferization/Transforms/Passes [all...] |
/llvm-project/llvm/test/Other/ |
H A D | change-printer.ll | 6 ; RUN: opt -S -print-changed -passes=instsimplify 2>&1 -o /dev/null < %s | FileCheck %s --check-pre… 9 ; RUN: opt -S -print-changed= -passes=instsimplify 2>&1 -o /dev/null < %s | FileCheck %s --check-pr… 11 ; Check that only the passes that change the IR are printed and that the 13 ; RUN: opt -S -print-changed -passes=instsimplify -filter-print-funcs=f 2>&1 -o /dev/null < %s | F… 16 ; RUN: opt -S -print-changed -passes=instsimplify -print-module-scope 2>&1 -o /dev/null < %s | File… 19 ; RUN: opt -S -print-changed -passes=instsimplify -filter-print-funcs=f -print-module-scope 2>&1 -o… 22 ; RUN: opt -S -print-changed -passes=instsimplify -filter-print-funcs="f,g" 2>&1 -o /dev/null < %s … 24 ; Check that the reporting of IRs respects -filter-passes 25 …nged -passes="instsimplify,no-op-function" -filter-passes="no-op-function" 2>&1 -o /dev/null < %s … 27 ; Check that the reporting of IRs respects -filter-passes with multiple passes [all …]
|
H A D | pass-pipeline-parsing.ll | 2 ; RUN: -passes=no-op-module,no-op-module %s 2>&1 \ 8 ; RUN: -passes='module(no-op-module,no-op-module)' %s 2>&1 \ 14 ; RUN: -passes=no-op-function,no-op-function %s 2>&1 \ 20 ; RUN: -passes='function(no-op-function,no-op-function)' %s 2>&1 \ 26 ; RUN: -passes='no-op-module,function(no-op-function,no-op-function),no-op-module' %s 2>&1 \ 34 ; RUN: -aa-pipeline= -passes='require<aa>' %s 2>&1 \ 40 ; RUN: -aa-pipeline=basic-aa -passes='require<aa>' %s 2>&1 \ 47 ; RUN: -aa-pipeline=basic-aa,tbaa -passes='require<aa>' %s 2>&1 \ 54 ; RUN: -aa-pipeline=default -passes='require<aa>' %s 2>&1 \ 60 ; RUN: not opt -passes [all...] |
H A D | new-pm-print-pipeline.ll | 1 ;; Test that the -print-pipeline-passes option correctly prints some explicitly specified pipelines. 3 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='function(adce),function(adce)' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-0 6 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='module(rpo-function-attrs,require<globals-aa>,function(float2int,lower-constant-intrinsics,loop(loop-rotate)),invalidate<globals-aa>)' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-1 10 ; RUN: opt -o /dev/null -disable-verify -print-pipeline-passes -passes='function(mem2reg)' < %s -disable-pipeline-verification | FileCheck %s --match-full-lines --check-prefixes=CHECK-3 13 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes -passes='function(loop-mssa(indvars))' < %s | FileCheck %s --match-full-lines --check-prefixes=CHECK-4 16 ; RUN: opt -disable-output -disable-verify -print-pipeline-passes [all...] |
H A D | new-pm-O0-ep-callbacks.ll | 1 ; RUN: opt -disable-output -debug-pass-manager -passes-ep-late-loop-optimizations=no-op-loop -passes='default<O0>' 2>&1 < %s | FileCheck %s 2 ; RUN: opt -disable-output -debug-pass-manager -passes-ep-loop-optimizer-end=no-op-loop -passes='default<O0>' 2>&1 < %s | FileCheck %s 3 ; RUN: opt -disable-output -debug-pass-manager -passes-ep-scalar-optimizer-late=no-op-function -passes='default<O0>' 2>&1 < %s | FileCheck %s 4 ; RUN: opt -disable-output -debug-pass-manager -passes-ep-cgscc-optimizer-late=no-op-cgscc -passes='default<O0>' 2>&1 < %s | FileCheck %s 5 ; RUN: opt -disable-output -debug-pass-manager -passes-ep-vectorizer-start=no-op-function -passes [all...] |
H A D | dump-before-after.ll | 5 ; RUN: opt %s -disable-output -passes='no-op-module' -ir-dump-directory %t/logs -print-after=no-op-… 27 ; but they are not necessarily continuous. That is passes which are run 31 ; RUN: opt %s -disable-output -passes='no-op-module,no-op-module,no-op-module' -ir-dump-directory %… 32 ; RUN: ls %t/logs | FileCheck %s --check-prefix=MULTIPLE-PASSES 34 ; MULTIPLE-PASSES-DAG: 0-[[MODULE_NAME_HASH:[a-z0-9]+]]-module-NoOpModulePass-after.ll 35 ; MULTIPLE-PASSES-DAG: 0-[[MODULE_NAME_HASH]]-module-NoOpModulePass-before.ll 36 ; MULTIPLE-PASSES-DAG: 1-[[MODULE_NAME_HASH]]-module-NoOpModulePass-after.ll 37 ; MULTIPLE-PASSES-DAG: 1-[[MODULE_NAME_HASH]]-module-NoOpModulePass-before.ll 38 ; MULTIPLE-PASSES-DAG: 2-[[MODULE_NAME_HASH]]-module-NoOpModulePass-after.ll 39 ; MULTIPLE-PASSES-DAG: 2-[[MODULE_NAME_HASH]]-module-NoOpModulePass-before.ll [all …]
|
H A D | time-passes.ll | 1 ; RUN: opt < %s -disable-output -passes='default<O2>' -time-passes 2>&1 | FileCheck %s --check-pref… 3 ; For new pass manager, check that -time-passes-per-run emit one report for each pass run. 4 ; RUN: opt < %s -disable-output -passes='coro-cleanup,function(instcombine,instcombine,loop-mssa(li… 5 ; RUN: opt < %s -disable-output -passes='instcombine,loop-mssa(licm),instcombine,loop-mssa(licm)' -… 7 ; For new pass manager, check that -time-passes emit one report for each pass. 8 ; RUN: opt < %s -disable-output -passes='coro-cleanup,function(instcombine,instcombine,loop-mssa(li… 9 ; RUN: opt < %s -disable-output -passes='instcombine,loop-mssa(licm),instcombine,loop-mssa(licm)' -… 12 ; RUN: opt < %s -disable-output -passes='default<O2>' -time-passes -info-output-file='-' 2>/dev/nul… 14 ; RUN: rm -f %t; opt < %s -disable-output -passes='default<O2>' -time-passes -info-output-file=%t
|
H A D | print-before-after.ll | 1 ; RUN: opt < %s -disable-output -passes='no-op-module' -print-before=bleh 2>&1 | FileCheck %s --che… 2 ; RUN: opt < %s -disable-output -passes='no-op-module' -print-after=bleh 2>&1 | FileCheck %s --chec… 3 ; RUN: opt < %s -disable-output -passes='no-op-module' -print-before=no-op-function 2>&1 | FileChec… 4 ; RUN: opt < %s -disable-output -passes='no-op-module' -print-after=no-op-function 2>&1 | FileCheck… 5 ; RUN: opt < %s -disable-output -passes='no-op-module,no-op-function' -print-before=no-op-module 2>… 6 ; RUN: opt < %s -disable-output -passes='no-op-module,no-op-function' -print-after=no-op-module 2>&… 7 ; RUN: opt < %s -disable-output -passes='no-op-function' -print-before=no-op-function 2>&1 | FileCh… 8 ; RUN: opt < %s -disable-output -passes='no-op-function' -print-after=no-op-function 2>&1 | FileChe… 9 ; RUN: opt < %s -disable-output -passes='no-op-module,no-op-function' -print-before=no-op-function … 10 ; RUN: opt < %s -disable-output -passes='no-op-module,no-op-function' -print-after=no-op-function -… [all …]
|
/llvm-project/llvm/test/Other/ChangeTesters/ |
H A D | exec-on-ir-change.ll | 4 ; RUN: opt -S -exec-on-ir-change=cat -passes=instsimplify 2>&1 -o /dev/null < %s | FileCheck %s --c… 6 ; Check that only the passes that change the IR are printed and that the 8 ; RUN: opt -S -exec-on-ir-change=cat -passes=instsimplify -filter-print-funcs=f 2>&1 -o /dev/null … 11 ; RUN: opt -S -exec-on-ir-change=cat -passes=instsimplify -print-module-scope 2>&1 -o /dev/null < %… 14 ; RUN: opt -S -exec-on-ir-change=cat -passes=instsimplify -filter-print-funcs=f -print-module-scope… 17 ; RUN: opt -S -exec-on-ir-change=cat -passes=instsimplify -filter-print-funcs="f,g" 2>&1 -o /dev/nu… 19 ; Check that the reporting of IRs respects -filter-passes 20 …=cat -passes="instsimplify,no-op-function" -filter-passes="no-op-function" 2>&1 -o /dev/null < %s … 22 ; Check that the reporting of IRs respects -filter-passes with multiple passes 23 …passes="instsimplify,no-op-function" -filter-passes="no-op-function,instsimplify" 2>&1 -o /dev/nul… [all …]
|
/llvm-project/llvm/test/Other/ChangePrinters/DotCfg/ |
H A D | print-changed-dot-cfg.ll | 7 ; RUN: opt -disable-verify -S -print-changed=dot-cfg -passes=instsimplify -dot-cfg-dir=%t < %s -o /… 8 ; RUN: ls %t/*.pdf %t/passes.html | count 5 9 ; RUN: FileCheck %s -input-file=%t/passes.html --check-prefix=CHECK-DOT-CFG-SIMPLE 11 ; Check that only the passes that change the IR are printed and that the 14 ; RUN: opt -disable-verify -S -print-changed=dot-cfg -passes=instsimplify -filter-print-funcs=f -d… 15 ; RUN: ls %t/*.pdf %t/passes.html | count 3 16 ; RUN: FileCheck %s -input-file=%t/passes.html --check-prefix=CHECK-DOT-CFG-FUNC-FILTER 21 ; RUN: opt -disable-verify -S -print-changed=dot-cfg -passes=instsimplify -print-module-scope -dot-… 22 ; RUN: ls %t/*.pdf %t/passes.html | count 5 23 ; RUN: FileCheck %s -input-file=%t/passes.html --check-prefix=CHECK-DOT-CFG-PRINT-MOD-SCOPE [all …]
|
/llvm-project/clang/test/CodeGen/ |
H A D | mcount.c | 1 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple i386-unknown-unknown -emit-llvm -o - %s | FileC… 2 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple i386-unknown-unknown -emit-llvm -O2 -o - %s | F… 3 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple powerpc-unknown-gnu-linux -emit-llvm -o - %s | … 4 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple powerpc64-unknown-gnu-linux -emit-llvm -o - %s … 5 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple powerpc64le-unknown-gnu-linux -emit-llvm -o - %… 6 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple i386-netbsd -emit-llvm -o - %s | FileCheck -che… 7 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple x86_64-netbsd -emit-llvm -o - %s | FileCheck -c… 8 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple arm-netbsd-eabi -emit-llvm -o - %s | FileCheck … 9 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple aarch64-netbsd -emit-llvm -o - %s | FileCheck -… 10 // RUN: %clang_cc1 -disable-llvm-passes -pg -triple loongarch32 -emit-llvm -o - %s | FileCheck -che… [all …]
|
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetPassConfig.h | 48 /// However, it is convient to directly instantiate target passes with 50 /// force all target passes to implement the pass registry boilerplate, allow 84 /// to the internals of other CodeGen passes. 110 /// Set the StartAfter, StartBefore and StopAfter passes to allow running only 115 /// that passes should not be added until the starting pass is seen. If the 125 bool Initialized = false; // Flagged after all passes are configured. 146 /// Add the actual instruction selection passes. This does not include 147 /// preparation passes on IR. 210 /// pipeline. When passes are added to the standard pipeline at the 240 /// High level function that adds all passes necessar [all...] |
/llvm-project/clang/test/Frontend/ |
H A D | gnu-mcount.c | 3 // RUN: %clang -Xclang -disable-llvm-passes -target armv7-unknown-none-eabi -pg -S -emit-llvm -o - … 4 // RUN: %clang -Xclang -disable-llvm-passes -target armv7-unknown-none-eabi -pg -meabi gnu -S -emit… 5 // RUN: %clang -Xclang -disable-llvm-passes --target=aarch64-unknown-none-gnu -pg -S -emit-llvm -o … 6 // RUN: %clang -Xclang -disable-llvm-passes -target armv7-unknown-linux-gnueabi -pg -S -emit-llvm -… 7 // RUN: %clang -Xclang -disable-llvm-passes -target armv7-unknown-linux-gnueabi -meabi gnu -pg -S -… 8 // RUN: %clang -Xclang -disable-llvm-passes --target=aarch64-unknown-linux -pg -S -emit-llvm -o - %… 9 // RUN: %clang -Xclang -disable-llvm-passes -target armv7-unknown-linux-gnueabihf -pg -S -emit-llvm… 10 // RUN: %clang -Xclang -disable-llvm-passes -target armv7-unknown-linux-gnueabihf -meabi gnu -pg -S… 11 // RUN: %clang -Xclang -disable-llvm-passes -target armv7-unknown-freebsd-gnueabihf -pg -S -emit-ll… 12 // RUN: %clang -Xclang -disable-llvm-passes -target armv7-unknown-freebsd-gnueabihf -meabi gnu -pg … [all …]
|
/llvm-project/clang/test/SemaHLSL/BuiltIns/ |
H A D | half-float-only-errors.hlsl | 1 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_acos 2 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_asin 3 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_atan 4 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_ceil 5 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_cos 6 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_cosh 7 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_exp 8 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_exp2 9 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes -verify -DTEST_FUNC=__builtin_elementwise_floor 10 // RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm-only -disable-llvm-passes [all...] |
/llvm-project/llvm/utils/ |
H A D | reduce_pipeline.py | 6 # pass-manager (NPM). Based around the '-print-pipeline-passes' option. 18 # Step #2: Remove passes from end of the pipeline as long as the pipeline fails 22 # pass at a time. Repeat sweeps until unable to remove any more passes. 25 …t-binary=./build-all-Debug/bin/opt --input=input.ll --output=output.ll --passes=PIPELINE [EXTRA-OP… 37 parser.add_argument("--passes", action="store", dest="passes", required=True) 41 "--dont-expand-passes", 56 lst = pipeline.fromStr(args.passes) 60 # Launch 'opt' once with '-print-pipeline-passes' to expand pipeline before 62 # '-passes=default<O3>'). 68 "-print-pipeline-passes", [all …]
|
/llvm-project/llvm/docs/ |
H A D | NewPassManager.rst | 49 Adding Passes to a Pass Manager 56 can only contain function passes: 116 Generally you want to group CGSCC/function/loop passes together in a pass 141 module, then run both passes on the second function in the module, and so on. 144 of optimization. For example, running all loop passes on a loop may cause a 148 Inserting Passes into Default Pipelines 151 Rather than manually adding passes to a pass manager, the typical way of 156 Sometimes either frontends or backends will want to inject passes into the 158 backends may want to add passes that lower custom intrinsics. For these 159 cases, ``PassBuilder`` exposes callbacks that allow injecting passes into [all …]
|
/llvm-project/llvm/utils/reduce_pipeline_test/ |
H A D | test.py | 18 """Test all passes are removed except those required to crash. Verify 24 "--passes=a,b,c,A(d,B(e,f),g),h,i", 29 self.assertEqual(getFinalPasses(run), '-passes="b,A(d,B(f))"') 32 """Test all passes are removed except those required to crash. The 33 required passes in this case are the first and last in that order 39 "--passes=a,b,c,A(d,B(e,f),g),h,i", 44 self.assertEqual(getFinalPasses(run), '-passes="a,i"') 52 "--passes=EXPAND_a_to_f", 57 self.assertEqual(getFinalPasses(run), '-passes="b,e"') 60 """Test EXPAND_a_to_f and the '--dont-expand-passes' option.""" [all …]
|
/llvm-project/llvm/lib/FuzzMutate/ |
H A D | FuzzerCLI.cpp | 80 Args.push_back("-passes=instcombine"); in handleExecNameEncodedOptimizerOpts() 82 Args.push_back("-passes=early-cse"); in handleExecNameEncodedOptimizerOpts() 84 Args.push_back("-passes=simplifycfg"); in handleExecNameEncodedOptimizerOpts() 86 Args.push_back("-passes=gvn"); in handleExecNameEncodedOptimizerOpts() 88 Args.push_back("-passes=sccp"); in handleExecNameEncodedOptimizerOpts() 90 Args.push_back("-passes=loop-predication"); in handleExecNameEncodedOptimizerOpts() 92 Args.push_back("-passes=guard-widening"); in handleExecNameEncodedOptimizerOpts() 94 Args.push_back("-passes=loop-rotate"); in handleExecNameEncodedOptimizerOpts() 96 Args.push_back("-passes=loop(simple-loop-unswitch)"); in handleExecNameEncodedOptimizerOpts() 98 Args.push_back("-passes=unroll"); in handleExecNameEncodedOptimizerOpts() [all …]
|
/llvm-project/llvm/include/llvm/Passes/ |
H A D | CodeGenPassBuilder.h | 101 // FIXME: Dummy target independent passes definitions that have not yet been 125 #include "llvm/Passes/MachinePassRegistry.def" in CodeGenPassBuilder() 127 /// This class provides access to building LLVM's passes. in CodeGenPassBuilder() 129 /// Its members provide the baseline state available to passes during their in CodeGenPassBuilder() 131 /// all of the built-in passes, and those may reference these members during in CodeGenPassBuilder() 179 // Function object to maintain state while adding codegen IR passes. in operator() 182 // function passes and machine function passes. in operator() 222 // Function object to maintain state while adding codegen machine passes. in operator() 299 /// Target can override this to add GlobalMergePass before all IR passes [all...] |
/llvm-project/llvm/tools/opt/ |
H A D | optdriver.cpp | 40 #include "llvm/Passes/PassPlugin.h" 68 // The OptimizationList is automatically populated with registered Passes by the 71 "Optimizations available (use \"-passes=\" for the new pass manager)")); 85 "passes", 87 "A textual description of the pass pipeline. To have analysis passes " 90 cl::desc("Alias for -passes")); 92 static cl::opt<bool> PrintPasses("print-passes", 93 cl::desc("Print available passes that can be " 94 "specified in -passes=foo and exit")); 157 "Same as -passes 769 DebugifyCustomPassManager Passes; optMain() local [all...] |
/llvm-project/llvm/unittests/Transforms/Utils/ |
H A D | DebugifyTest.cpp | 127 DebugifyCustomPassManager Passes; in TEST() local 128 Passes.setDebugInfoBeforePass(DIBeforePass); in TEST() 129 Passes.add(createDebugifyModulePass(DebugifyMode::OriginalDebugInfo, "", in TEST() 130 &(Passes.getDebugInfoPerPass()))); in TEST() 131 Passes.add(P); in TEST() 132 Passes.add(createCheckDebugifyModulePass(false, "", nullptr, in TEST() 134 &(Passes.getDebugInfoPerPass()))); in TEST() 137 Passes.run(*M); in TEST() 178 DebugifyCustomPassManager Passes; in TEST() local 179 Passes.setDebugInfoBeforePass(DIBeforePass); in TEST() [all …]
|
/llvm-project/llvm/test/DebugInfo/ |
H A D | debugify.ll | 1 ; RUN: opt -passes=debugify -S -o - < %s | FileCheck %s 2 ; RUN: opt -passes=debugify -S -o - < %s | FileCheck %s 4 ; RUN: opt -passes=debugify,debugify -S -o - < %s 2>&1 | \ 6 ; RUN: opt -passes=debugify,debugify -S -o - < %s 2>&1 | \ 9 ; RUN: opt -passes=debugify,check-debugify -S -o - < %s | \ 11 ; RUN: opt -passes=debugify,check-debugify -S -o - < %s | \ 13 ; RUN: opt -enable-debugify -passes=verify -S -o - < %s | \ 16 ; RUN: opt -passes=debugify,strip,check-debugify -S -o - < %s 2>&1 | \ 19 ; RUN: opt -enable-debugify -passes=strip -S -o - < %s 2>&1 | \ 26 ; RUN: opt -passes=debugify,mem2reg,check-debugify < %s | opt -O2 -o /dev/null [all …]
|