llvm/unittests
Craig Topper 68149f546e [APInt] Move isMask and isShiftedMask out of APIntOps and into the APInt class. Implement them without memory allocation for multiword
This moves the isMask and isShiftedMask functions to be class methods. They now use the MathExtras.h function for single word size and leading/trailing zeros/ones or countPopulation for the multiword size. The previous implementation made multiple temorary memory allocations to do the bitwise arithmetic operations to match the MathExtras.h implementation.

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




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299362 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-03 16:34:59 +00:00
..
ADT [APInt] Move isMask and isShiftedMask out of APIntOps and into the APInt class. Implement them without memory allocation for multiword 2017-04-03 16:34:59 +00:00
Analysis Fix signed/unsigned comparison warnings 2017-03-11 13:02:31 +00:00
AsmParser
Bitcode
CodeGen Recommit: [globalisel] Change LLT constructor string into an LLT-based object that knows how to generate it. 2017-03-07 23:20:35 +00:00
DebugInfo Fix llvm-symbolizer to navigate both DW_AT_abstract_origin and DW_AT_specification in a single chain 2017-03-13 21:46:37 +00:00
ExecutionEngine Rename AttributeSet to AttributeList 2017-03-21 16:57:19 +00:00
IR [IR] Add AllowContract to FastMathFlags 2017-03-28 20:11:52 +00:00
LineEditor
Linker
MC
MI Fix subreg value numbers in handleMoveUp 2017-03-11 00:14:52 +00:00
Object
ObjectYAML
Option
ProfileData Fix signed/unsigned comparison warning 2017-03-11 19:38:22 +00:00
Support Make naming in Host.h in line with coding standards. 2017-03-31 13:06:40 +00:00
Target
Transforms Rename AttributeSet to AttributeList 2017-03-21 16:57:19 +00:00
XRay
CMakeLists.txt