llvm/lib
Craig Topper 21db70eaca [APInt] Use isSubsetOf, intersects, and bit counting methods to reduce temporary APInts
This patch uses various APInt methods to reduce temporary APInt creation.

This should be all of the unrelated cleanups that got buried in D32376(creating a KnownBits struct) as well as some pointed out by Simon during the review of that. Plus a few improvements to use counting instead of masking.

I've left out any places where we do something like (KnownZero & KnownOne) != 0 as I plan to add a helper method to KnownBits to ask that question and didn't want to thrash that code an additional time.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301338 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-25 17:46:30 +00:00
..
Analysis [APInt] Use isSubsetOf, intersects, and bit counting methods to reduce temporary APInts 2017-04-25 17:46:30 +00:00
AsmParser Prefer addAttr(Attribute::AttrKind) over the AttributeList overload 2017-04-19 17:28:52 +00:00
Bitcode Make getSlotAttributes return an AttributeSet instead of a wrapper list 2017-04-24 22:25:02 +00:00
CodeGen Print complete DIExpressions in the assembler output DEBUG_VALUE comments. 2017-04-25 17:22:09 +00:00
DebugInfo [llvm-pdbdump] Re-write the record layout code to be more resilient. 2017-04-24 17:47:24 +00:00
Demangle
ExecutionEngine Revert "[APInt] Fix a few places that use APInt::getRawData to operate within the normal API." 2017-04-23 12:15:30 +00:00
Fuzzer Fixup for r301054: Use an explicit constructor. 2017-04-21 23:28:01 +00:00
IR Make getSlotAttributes return an AttributeSet instead of a wrapper list 2017-04-24 22:25:02 +00:00
IRReader
LibDriver Fix some ArgList uses after API change in r300135. 2017-04-12 23:43:58 +00:00
LineEditor
Linker
LTO Object, LTO: Add target triple to irsymtab and LTO API. 2017-04-14 02:55:06 +00:00
MC [WebAssembly] Fix relocation count in wasm binaries with call_indirect 2017-04-25 17:13:23 +00:00
Object [WebAssembly] Read global index in init expression as LEB 2017-04-25 17:11:56 +00:00
ObjectYAML [WebAssembly] Read global index in init expression as LEB 2017-04-25 17:11:56 +00:00
Option ArgList: cache index ranges containing arguments with each ID 2017-04-12 23:19:51 +00:00
Passes MemorySSA: Move to Analysis, from Transforms/Utils. It's used as 2017-04-11 20:06:36 +00:00
ProfileData [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
Support Revert "Refactor DynamicLibrary so searching for a symbol will have a defined order" 2017-04-24 20:16:01 +00:00
TableGen
Target [SelectionDAG] Added getBuildVector(ArrayRef<SDUse>) helper. 2017-04-25 16:41:28 +00:00
Transforms [APInt] Use isSubsetOf, intersects, and bit counting methods to reduce temporary APInts 2017-04-25 17:46:30 +00:00
XRay [XRay] - Fix spelling error to test commit access. 2017-04-06 03:32:01 +00:00
CMakeLists.txt
LLVMBuild.txt