- Feb 28, 2007
-
-
Reid Spencer authored
llvm-svn: 34703
-
Reid Spencer authored
llvm-svn: 34702
-
- Feb 27, 2007
-
-
Reid Spencer authored
llvm-svn: 34681
-
Reid Spencer authored
Implement review feedback: 1. Use new APInt::RoundDoubleToAPInt interface to specify the bit width so that we don't have to truncate or extend in constant folding. 2. Fix a pasteo in SDiv that prevented a check for overflow. 3. Fix the shift operators: undef happens when the shift amount is equal to the bitwidth. llvm-svn: 34677
-
Devang Patel authored
llvm-svn: 34669
-
Reid Spencer authored
llvm-svn: 34664
-
Reid Spencer authored
widths > 64 bits. llvm-svn: 34663
-
Reid Spencer authored
Implement constant folding via APInt instead of uint64_t. llvm-svn: 34660
-
Chris Lattner authored
lib/Analysis/ConstantFolding. llvm-svn: 34653
-
Reid Spencer authored
Implement the first step towards arbitrary precision integer support in LLVM. The APInt class provides arbitrary precision arithmetic and value representation. This patch changes ConstantInt to use APInt as its value representation without supporting bit widths > 64 yet. That change will come after ConstantFolding handles bit widths > 64 bits. llvm-svn: 34647
-
- Feb 26, 2007
-
-
Chris Lattner authored
llvm-svn: 34627
-
Chris Lattner authored
llvm-svn: 34626
-
- Feb 25, 2007
-
-
Chris Lattner authored
exprs hanging off a global, even if the global is not otherwise dead. This requires some tricky iterator gymnastics. This implements Transforms/GlobalOpt/constantexpr-dangle.ll by deleting a constantexpr that made it appear that the address of the function was taken. llvm-svn: 34608
-
Chris Lattner authored
llvm-svn: 34606
-
- Feb 24, 2007
-
-
Chris Lattner authored
llvm-svn: 34548
-
Chris Lattner authored
solve a crash in -instcombine -debug that was hit while investigating PR1217 llvm-svn: 34544
-
- Feb 20, 2007
-
-
Evan Cheng authored
llvm-svn: 34457
-
Chris Lattner authored
and is more memory efficient. llvm-svn: 34446
-
Chris Lattner authored
heavy-weight ValueMap class. This reduces mem usage bc reading kc++ by 29K, even though it only creates 2955 constant ints! llvm-svn: 34445
-
Chris Lattner authored
llvm-svn: 34443
-
Chris Lattner authored
llvm-svn: 34441
-
Chris Lattner authored
llvm-svn: 34440
-
Chris Lattner authored
llvm-svn: 34436
-
- Feb 19, 2007
-
-
Chris Lattner authored
llvm-svn: 34425
-
Chris Lattner authored
llvm-svn: 34424
-
Evan Cheng authored
llvm-svn: 34423
-
Reid Spencer authored
llvm-svn: 34422
-
Chris Lattner authored
llvm-svn: 34419
-
- Feb 18, 2007
-
-
Chris Lattner authored
compile-time regression in LLC. llvm-svn: 34385
-
- Feb 17, 2007
-
-
Devang Patel authored
llvm-svn: 34364
-
- Feb 16, 2007
-
-
Andrew Lenharth authored
llvm-svn: 34339
-
Chris Lattner authored
llvm-svn: 34334
-
- Feb 15, 2007
-
-
Chris Lattner authored
causes it to require no allocations and no symtab lookups in the common case. This speeds up instcombine 9.2% on 447.dealII. llvm-svn: 34324
-
Chris Lattner authored
which allocates a string. This speeds up instcombine on 447.dealII by 5%. llvm-svn: 34318
-
Chris Lattner authored
llvm-svn: 34310
-
Reid Spencer authored
Change use of "packed" term to "vector" in comments, strings, variable names, etc. llvm-svn: 34300
-
Reid Spencer authored
Change a comment: Packed Type -> Vector Type llvm-svn: 34299
-
Reid Spencer authored
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
-
- Feb 14, 2007
-
-
Chris Lattner authored
llvm-svn: 34258
-
- Feb 13, 2007
-
-
Chris Lattner authored
This speeds up bcreading by 1.5%. llvm-svn: 34233
-