1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib
Nikita Popov 8c54b2d6f0 [IR] Optimize adding attribute to AttributeList (NFC)
When adding an enum attribute to an AttributeList, avoid going
through an AttrBuilder and instead directly add the attribute to
the correct set. Going through AttrBuilder is expensive, because
it requires all string attributes to be reconstructed.

This can be further improved by inserting the attribute at the
right position and using the AttributeSetNode::getSorted() API.

This recovers the small compile-time regression from D94633.
2021-01-22 11:30:21 +01:00
..
Analysis [NewPM][opt] Run the "default" AA pipeline by default 2021-01-21 21:08:54 -08:00
AsmParser [X86] Add x86_amx type for intel AMX. 2020-12-30 13:52:13 +08:00
BinaryFormat [Debuginfo][DW_OP_implicit_pointer] (1/7) Support for DW_OP_LLVM_implicit_pointer 2021-01-15 14:45:04 +05:30
Bitcode [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Bitstream [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
CodeGen [TargetLowering] Use getBoolConstant instead of assuming zero or one for boolean contents. 2021-01-22 00:26:14 -08:00
DebugInfo [llvm] Use isDigit (NFC) 2021-01-21 19:59:50 -08:00
Demangle [llvm] Remove redundant return and continue statements (NFC) 2021-01-14 20:30:34 -08:00
DWARFLinker [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
ExecutionEngine [JITLink][ELF/x86-64] Add support for weak and hidden symbols. 2021-01-22 20:51:11 +11:00
Extensions
FileCheck [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Frontend [llvm] Don't include StringSwitch.h where unnecessary (NFC) 2021-01-21 19:59:48 -08:00
Fuzzer
FuzzMutate
InterfaceStub [llvm-elfabi] Add flag to preserve timestamp when output is the same 2020-12-29 20:27:06 -08:00
IR [IR] Optimize adding attribute to AttributeList (NFC) 2021-01-22 11:30:21 +01:00
IRReader
LineEditor
Linker
LTO [lld-macho] Run ObjCContractPass during LTO 2021-01-20 14:21:32 -05:00
MC [llvm] Don't include StringSwitch.h where unnecessary (NFC) 2021-01-21 19:59:48 -08:00
MCA [llvm] Use llvm::find (NFC) 2021-01-19 20:19:14 -08:00
Object [WebAssembly] Test that invalid symbol/relocation types generate errors 2021-01-21 13:58:28 -08:00
ObjectYAML [llvm] Don't include StringSwitch.h where unnecessary (NFC) 2021-01-21 19:59:48 -08:00
Option [llvm] Simplify string comparisons (NFC) 2021-01-11 18:48:09 -08:00
Passes [LoopRotate] Add PrepareForLTO stage, avoid rotating with inline cands. 2021-01-19 10:15:29 +00:00
ProfileData [llvm] Use isDigit (NFC) 2021-01-21 19:59:50 -08:00
Remarks
Support [llvm] Use isDigit (NFC) 2021-01-21 19:59:50 -08:00
TableGen Revert "[TableGen] Improve algorithm for inheriting class template args and fields" 2021-01-20 09:47:13 -05:00
Target [AMDGPU] Implement mir parseCustomPseudoSourceValue 2021-01-22 11:24:08 +01:00
Testing
TextAPI [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
ToolDrivers
Transforms [SVE] Add support for scalable vectorization of loops with selects and cmps 2021-01-22 09:48:13 +00:00
WindowsManifest
XRay
CMakeLists.txt