llvm-project/llvm/lib
Arthur Eubanks c2590de30d [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.

Reviewed By: ychen, asbirlea

Differential Revision: https://reviews.llvm.org/D86979
2020-09-14 13:26:03 -07:00
..
Analysis [InstSimplify] add folds for fmin/fmax with 'nnan' 2020-09-14 11:46:11 -04:00
AsmParser [DebugInfo][flang]Added support for representing Fortran assumed length strings 2020-08-22 10:13:40 +05:30
BinaryFormat [DebugInfo] Allow GNU macro extension to be read 2020-08-11 13:30:52 +02:00
Bitcode [NFC][ThinLTO] Let llvm::EmbedBitcodeInModule handle serialization. 2020-09-10 10:25:00 -07:00
Bitstream [Bitstream] Use alignTo to make code more readable. NFC 2020-09-01 11:06:45 -07:00
CodeGen [FastISel] Bail out of selectGetElementPtr for vector GEPs. 2020-09-14 12:53:06 -07:00
DWARFLinker [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
DebugInfo llvm-symbolizer: Add optional "start file" to match "start line" 2020-09-08 15:40:58 -07:00
Demangle [NFC] Use std::free instead of ::free 2020-07-20 16:19:08 -04:00
ExecutionEngine [JITLink] Improve formatting for Edge, Block and Symbol debugging output. 2020-09-13 15:44:07 -07:00
Extensions Remove unused variable(s) 2020-09-08 16:58:01 -07:00
FileCheck Reland [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library 2020-09-01 14:59:28 +02:00
Frontend [OpenMP][OMPBuilder] Adding support for `omp single` 2020-08-16 01:15:16 -04:00
FuzzMutate [NewPM][LSR] Rename strength-reduce -> loop-reduce 2020-07-02 11:15:29 -07:00
Fuzzer
IR Reland [AssumeBundles] Use operand bundles to encode alignment assumptions 2020-09-12 15:36:06 +02:00
IRReader Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
InterfaceStub Remove unnecessary HEADER_DIRS in lib/InterfaceStub/CMakeLists.txt 2020-08-14 11:22:50 -07:00
LTO [ThinLTO] Make -lto-embed-bitcode an enum 2020-09-11 13:24:54 -07:00
LineEditor
Linker [ThinLTO] Fix a metadata lost issue with DICompileUnit import. 2020-09-02 14:40:41 -07:00
MC [ms] [llvm-ml] Add basic support for SEH, including PROC FRAME 2020-09-14 14:32:55 -04:00
MCA [APInt] New member function setBitVal 2020-09-02 21:40:31 +01:00
Object [ELF] Add a new e_machine value EM_CSKY and add some CSKY relocation types 2020-09-07 10:42:28 +08:00
ObjectYAML [DWARFYAML] Make the debug_ranges section optional. 2020-09-08 19:55:47 +08:00
Option [NFC] Fix the signature and definition of findByPrefix 2020-09-11 12:38:28 +01:00
Passes [docs][NewPM] Add docs for writing NPM passes 2020-09-14 13:26:03 -07:00
ProfileData [llvm-cov gcov] Refactor counting and reporting 2020-09-13 23:00:59 -07:00
Remarks BitstreamRemarkParser.h - remove unnecessary includes. NFCI. 2020-08-06 13:17:53 +01:00
Support Add raw_fd_stream that supports reading/seeking/writing 2020-09-12 07:34:19 +00:00
TableGen TableGen: change a couple of member names to clarify their use. 2020-09-12 12:21:36 -04:00
Target [PowerPC] Implement Thread Local Storage Support for Local Exec 2020-09-14 14:16:28 -05:00
Testing [cmake] Make gtest include directories a part of the library interface 2020-08-27 15:35:57 +02:00
TextAPI [TextAPI] update DriverKit string value 2020-08-15 06:44:30 -07:00
ToolDrivers [llvm-lib] Support adding short import library objects with llvm-lib 2020-07-24 22:15:08 +03:00
Transforms [docs][NewPM] Add docs for writing NPM passes 2020-09-14 13:26:03 -07:00
WindowsManifest [CMake] Simplify CMake handling for libxml2 2020-09-09 21:44:44 -07:00
XRay [xray] Add llvm-xray extract support for 32 bit ARM 2020-05-28 18:41:11 -04:00
CMakeLists.txt Reland [FileCheck] Move FileCheck implementation out of LLVMSupport into its own library 2020-09-01 14:59:28 +02:00
LLVMBuild.txt [elfabi] Move llvm-elfabi related code to InterfaceStub library 2020-08-13 11:51:44 -07:00