[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/GenericValue.h

Chris Lattner clattner at apple.com
Sat Mar 3 13:07:25 PST 2007


On Mar 2, 2007, at 11:37 PM, Reid Spencer wrote:
> Changes in directory llvm/include/llvm/ExecutionEngine:
> GenericValue.h updated: 1.9 -> 1.10
> ---
> Log message:
>
> Add APIntVal as a possible GenericeValue.

Shouldn't APInt eliminate all of the other, smaller, integers?

-Chris

> ---
> Diffs of the changes:  (+3 -0)
>
>  GenericValue.h |    3 +++
>  1 files changed, 3 insertions(+)
>
>
> Index: llvm/include/llvm/ExecutionEngine/GenericValue.h
> diff -u llvm/include/llvm/ExecutionEngine/GenericValue.h:1.9 llvm/ 
> include/llvm/ExecutionEngine/GenericValue.h:1.10
> --- llvm/include/llvm/ExecutionEngine/GenericValue.h:1.9	Thu Jan 11  
> 12:21:28 2007
> +++ llvm/include/llvm/ExecutionEngine/GenericValue.h	Sat Mar  3  
> 01:36:44 2007
> @@ -20,6 +20,8 @@
>  namespace llvm {
>
>  typedef uintptr_t PointerTy;
> +class APInt;
> +class Type;
>
>  union GenericValue {
>    bool            Int1Val;
> @@ -27,6 +29,7 @@
>    unsigned short  Int16Val;
>    unsigned int    Int32Val;
>    uint64_t        Int64Val;
> +  APInt          *APIntVal;
>    double          DoubleVal;
>    float           FloatVal;
>    struct { unsigned int first; unsigned int second; } UIntPairVal;
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list