1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test
Arthur Eubanks 75d5f2cf7a Reland [docs][NewPM] Add docs for writing NPM passes
As to not conflict with the legacy PM example passes under
llvm/lib/Transforms/Hello, this is under HelloNew. This makes the
CMakeLists.txt and general directory structure less confusing for people
following the example.

Much of the doc structure was taken from WritinAnLLVMPass.rst.

This adds a HelloWorld pass which simply prints out each function name.

More will follow after this, e.g. passes over different units of IR, analyses.
https://llvm.org/docs/WritingAnLLVMPass.html contains a lot more.

Relanded with missing "Support" dependency in LLVMBuild.txt.

Reviewed By: ychen, asbirlea

Differential Revision: https://reviews.llvm.org/D86979
2020-09-14 16:06:19 -07:00
..
Analysis [MemorySSA] Make sure PerformedPhiTrans is updated for each visited def. 2020-09-14 16:11:56 +01:00
Assembler [ConstantFold] Make areGlobalsPotentiallyEqual less aggressive. 2020-09-11 17:23:08 -07:00
Bindings
Bitcode
BugPoint
CodeGen [GISel]: Add combine for G_FABS to G_FABS 2020-09-14 15:56:24 -07:00
DebugInfo [LiveDebugValues][NFC] Add additional tests 2020-09-11 15:34:37 +01:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [MemProf] Rename HeapProfiler to MemProfiler for consistency 2020-09-14 13:14:57 -07:00
Integer
JitListener
Linker
LTO [ThinLTO] Make -lto-embed-bitcode an enum 2020-09-11 13:24:54 -07:00
MachineVerifier
MC [PowerPC] Implement Thread Local Storage Support for Local Exec 2020-09-14 14:16:28 -05:00
Object
ObjectYAML [obj2yaml][test] Test generating and dumping a broken debug_ranges section. 2020-09-09 08:48:39 +08:00
Other [DSE] Switch to MemorySSA-backed DSE by default. 2020-09-10 22:24:32 +01:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen AMDGPU/GlobalISel/Emitter Recognize additional 'same operand checks' 2020-09-14 12:10:59 +02:00
ThinLTO/X86
tools [ms] [llvm-ml] Add basic support for SEH, including PROC FRAME 2020-09-14 14:32:55 -04:00
Transforms Reland [docs][NewPM] Add docs for writing NPM passes 2020-09-14 16:06:19 -07:00
Unit
Verifier Reland [AssumeBundles] Use operand bundles to encode alignment assumptions 2020-09-12 15:36:06 +02:00
YAMLParser
.clang-format
CMakeLists.txt [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00
lit.cfg.py [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00
lit.site.cfg.py.in [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00
TestRunner.sh