1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib
Craig Topper f1ec36c63e [APInt] Add rvalue reference support to and, or, xor operations to allow their memory allocation to be reused when possible
This extends an earlier change that did similar for add and sub operations.

With this first patch we lose the fastpath for the single word case as operator&= and friends don't support it. This can be added there if we think that's important.

I had to change some functions in the APInt class since the operator overloads were moved out of the class and can't be used inside the class now. The getBitsSet change collides with another outstanding patch to implement it with setBits. But I didn't want to make this patch dependent on that series.

I've also removed the Or, And, Xor functions which were rarely or never used. I already commited two changes to remove the only uses of Or that existed.

Differential Revision: https://reviews.llvm.org/D30612

llvm-svn: 297121
2017-03-07 05:36:19 +00:00
..
Analysis [SLP] Revert r296863 due to miscompiles. 2017-03-06 23:54:51 +00:00
AsmParser Change debug-info-for-profiling from a TargetOption to a function attribute. 2017-02-01 22:45:09 +00:00
Bitcode Move symbols from the global namespace into (anonymous) namespaces. NFC. 2017-02-11 11:06:55 +00:00
CodeGen GlobalISel: restrict G_EXTRACT instruction to just one operand. 2017-03-06 23:50:28 +00:00
DebugInfo [DWARFv5] Update definitions to match published spec. 2017-03-06 22:20:03 +00:00
Demangle Add support for demangling C++11 thread_local variables. 2017-01-31 15:56:36 +00:00
ExecutionEngine [Orc] Rename ObjectLinkingLayer -> RTDyldObjectLinkingLayer. 2017-02-20 05:45:14 +00:00
Fuzzer Un-XFAIL Fuzzer/test/dump_coverage.test. This now passes on Darwin (after r297094). 2017-03-07 01:01:38 +00:00
IR Verifier: Change Assert to AssertDI. 2017-03-06 21:05:14 +00:00
IRReader Timer: Track name and description. 2016-11-18 19:43:18 +00:00
LibDriver LibDriver: Allow resource files to be archive members. 2016-12-15 19:37:46 +00:00
LineEditor
Linker IRMover: Merge flags LinkModuleInlineAsm and IsPerformingImport. 2017-02-03 17:01:14 +00:00
LTO LTO: Hash the set of imported symbols for each module. 2017-03-03 20:25:30 +00:00
MC Silence a warning "hiding virtual function". 2017-03-06 15:50:59 +00:00
Object Actually add error handling to unpacking the dyld compact bind and 2017-02-28 21:47:07 +00:00
ObjectYAML [ObjectYAML] Support for DW_FORM_implicit_const DWARF5 form 2017-03-06 23:22:49 +00:00
Option Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Passes Add call branch annotation for ICP promoted direct call in SamplePGO mode. 2017-02-23 22:15:18 +00:00
ProfileData [PGO] Text format profile reader needs to clear the value profile 2017-03-03 21:56:34 +00:00
Support [APInt] Add rvalue reference support to and, or, xor operations to allow their memory allocation to be reused when possible 2017-03-07 05:36:19 +00:00
TableGen Use print() instead of dump() in code 2017-01-28 02:47:46 +00:00
Target Revert "AMDGPU: Set MCAsmInfo::PointerSize" 2017-03-07 04:44:33 +00:00
Transforms [SLP] Revert r296863 due to miscompiles. 2017-03-06 23:54:51 +00:00
XRay [XRAY] [x86_64] Adding a Flight Data filetype reader to the llvm-xray Trace implementation. 2017-02-17 01:47:16 +00:00
CMakeLists.txt [XRay] Define the library for XRay trace logs 2017-01-11 06:39:09 +00:00
LLVMBuild.txt