1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/include/llvm
Nathan James 5b06ff50e1 [ASTMatchers] Enhanced support for matchers taking Regex arguments
Added new Macros `AST(_POLYMORPHIC)_MATCHER_REGEX(_OVERLOAD)` that define a matchers that take a regular expression string and optionally regular expression flags. This lets users match against nodes while ignoring the case without having to manually use `[Aa]` or `[A-Fa-f]` in their regex. The other point this addresses is in the current state, matchers that use regular expressions have to compile them for each node they try to match on, Now the regular expression is compiled once when you define the matcher and used for every node that it tries to match against. If there is an error while compiling the regular expression an error will be logged to stderr showing the bad regex string and the reason it couldn't be compiled. The old behaviour of this was down to the Matcher implementation and some would assert, whereas others just would never match. Support for this has been added to the documentation script as well. Support for this has been added to dynamic matchers ensuring functionality is the same between the 2 use cases.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82706
2020-07-02 14:52:25 +01:00
..
ADT Add front/back accessors to indexed_accessor_range. 2020-06-29 22:41:15 -07:00
Analysis [CallGraph] Add support for callback call sites 2020-07-01 13:44:11 -07:00
AsmParser Fix -Wdocumentation warning. NFC. 2020-05-16 15:00:56 +01:00
BinaryFormat [WebAssembly] Adding 64-bit versions of __stack_pointer and other globals 2020-06-25 15:52:44 -07:00
Bitcode Remove references to the 4.0 release as a major breaking (NFC) 2020-06-25 23:49:07 +00:00
Bitstream Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
CodeGen This patch adds basic debug info support with basic block sections. 2020-07-01 23:53:00 -07:00
Config [CMake] Delete HAVE_SCHED_GETAFFINITY and HAVE_CPU_COUNT 2020-04-19 08:50:23 -07:00
DebugInfo [PDB] Defer public serialization until PDB writing 2020-06-30 11:28:04 -07:00
Demangle Give microsoftDemangle() an outparam for how many input bytes were consumed. 2020-05-20 16:17:31 -04:00
DWARFLinker DWARFLinkerDeclContext.h - fix implicit FileSystem.h dependency. NFC. 2020-06-23 12:11:51 +01:00
ExecutionEngine CompileOnDemandLayer.h - remove unused Twine.h include. NFC. 2020-06-27 10:03:34 +01:00
Frontend [flang][openmp] Use common Directive and Clause enum from llvm/Frontend 2020-07-01 20:58:11 -04:00
FuzzMutate FuzzerCLI.h - reduce StringRef.h include to forward declaration. NFC. 2020-05-12 13:03:50 +01:00
IR [PowerPC]Implement Vector Shift Double Bit Immediate Builtins 2020-07-01 20:34:53 -05:00
IRReader Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
LineEditor
Linker
LTO [LTO] Use StringRef instead of C-style strings in setCodeGenDebugOptions 2020-06-22 11:22:18 +01:00
MC [ms] [llvm-ml] Use default RIP-relative addressing for x64 MASM. 2020-07-01 12:41:07 -04:00
MCA [MCA] Fixed a bug where loads and stores were sometimes incorrectly marked as depedent. Fixes PR45793. 2020-05-05 10:25:36 +01:00
Object Error.h - GenericBinaryError - pass Twine arg by reference not value. 2020-06-27 10:12:20 +01:00
ObjectYAML [yaml2obj] - Support reading a content as an array of bytes using the new 'ContentArray' key. 2020-06-30 12:13:23 +03:00
Option Start adding support for generating CC1 command lines from CompilerInvocation 2020-06-24 18:05:05 +01:00
Passes [NewPM] Separate out alias analysis passes in opt 2020-06-25 08:53:57 -07:00
ProfileData Revert "[PGO] Extend the value profile buckets for mem op sizes." 2020-06-25 11:13:49 -07:00
Remarks RemarkStringTable.h - reduce StringRef/Remark includes to forward declarations. NFC 2020-05-08 12:30:49 +01:00
Support [ASTMatchers] Enhanced support for matchers taking Regex arguments 2020-07-02 14:52:25 +01:00
TableGen [TableGen] Delete unused Record::resolveReferencesTo() after D44478. NFC 2020-04-26 01:21:41 -07:00
Target Change the INLINEASM_BR MachineInstr to be a non-terminating instruction. 2020-07-01 12:51:50 -04:00
Testing/Support [clangd] Support multiple cursors in selectionRange. 2020-03-25 17:59:09 +01:00
TextAPI [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
ToolDrivers
Transforms LoopVectorize.h - reduce AliasAnalysis.h include to forward declaration. NFC. 2020-06-26 10:49:00 +01:00
WindowsManifest
WindowsResource
XRay [XRay] Change Sled.Function to PC-relative for sled version 2 and make llvm-xray support sled version 2 addresses 2020-04-24 14:41:56 -07:00
CMakeLists.txt Revert "Fix missing build dependency on omp_gen." 2020-06-30 09:37:45 +01:00
InitializePasses.h [StackSafety] Pass summary into codegen 2020-06-10 21:02:54 -07:00
LinkAllIR.h
LinkAllPasses.h Revert "Added a new IRCanonicalizer pass." 2020-05-23 13:51:43 +02:00
module.extern.modulemap
module.install.modulemap
module.modulemap Add DIAError.h to list of headers excluded from the LLVM_DebugInfo_PDB module 2020-06-01 21:01:05 +01:00
module.modulemap.build
Pass.h Improve LegacyPassManager API to correctly report modified status 2020-06-26 14:21:02 +02:00
PassAnalysisSupport.h [NFCi] Fixing build failures on Windows due to std::tie used w/o proper include. 2020-06-26 16:30:25 -07:00
PassInfo.h
PassRegistry.h
PassSupport.h [Pass] Ensure we don't include PassSupport.h or PassAnalysisSupport.h directly 2020-04-26 12:58:20 +01:00