forked from OSchip/llvm-project
bd7303b7f7
IntItem cleanup. IntItemBase, IntItemConstantIntImp and IntItem merged into IntItem. All arithmetic operators was propogated from APInt. Also added comparison operators <,>,<=,>=. Currently you will find set of macros that propogates operators from APInt to IntItem in the beginning of IntegerSubset. Note that THESE MACROS WILL REMOVED after all passes will case-ranges compatible. Also note that these macros much smaller pain that something like this: if (V->getValue().ugt(AnotherV->getValue()) { ... } These changes made IntItem full featured integer object. It allows to make IntegerSubset class generic (move out all ConstantInt references inside and add unit-tests) in next commits. llvm-svn: 157810 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Execution.cpp | ||
ExternalFunctions.cpp | ||
Interpreter.cpp | ||
Interpreter.h | ||
LLVMBuild.txt | ||
Makefile |