Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.229 -> 1.230
---
Log message:
add a Constant::getAllOnesValue helper function, which works on integers
AND vectors.
---
Diffs of the changes: (+5 -0)
Constants.cpp |5 +
1 files changed, 5 insertions(+)
Index: llvm/li
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.228 -> 1.229
Type.cpp updated: 1.187 -> 1.188
---
Log message:
Minor comment cleanups.
---
Diffs of the changes: (+6 -6)
Constants.cpp | 10 +-
Type.cpp |2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.227 -> 1.228
---
Log message:
Allow ConstantInt::get(Ty, uint64_t) to interpret the 64-bit values as a
negative number. This is needed to fix test/Assembler/2007-03-19-NegValue.ll
---
Diffs of the changes: (+2 -2)
Constants.cpp
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.226 -> 1.227
---
Log message:
Added ContainsRelocations() to check if a constant might only be resolvable at
load time.
---
Diffs of the changes: (+11 -0)
Constants.cpp | 11 +++
1 files changed, 11 insertions(+)
In
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.225 -> 1.226
---
Log message:
Drop the ConstantInt(const Type&, const APInt&) constructor. It is
redundant and more verbose than the ConstantInt(const APInt&) constructor.
---
Diffs of the changes: (+9 -14)
Constants.cpp | 23
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.224 -> 1.225
---
Log message:
Implement a convenience method to construct a ConstantInt directly from an
APInt. The implied type is the integer type that corresponds to the bit
width of the APInt.
---
Diffs of the changes: (+4 -0
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.223 -> 1.224
---
Log message:
Remove some redundancy.
---
Diffs of the changes: (+1 -4)
Constants.cpp |5 +
1 files changed, 1 insertion(+), 4 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/
On Tue, 2007-02-27 at 14:20 -0800, Chris Lattner wrote:
> On Feb 27, 2007, at 12:51 PM, Reid Spencer wrote:
> > Can't we just change this part of ConstantInt:
.. snip ..
> >
> > into:
.. snip ..
> Yes we could. I would like to do that, but we should do (compile
> time) timings to see if it i
On Feb 27, 2007, at 12:51 PM, Reid Spencer wrote:
> Can't we just change this part of ConstantInt:
>
> /// getTrue/getFalse - Return the singleton true/false values.
> static inline ConstantInt *getTrue() {
> if (TheTrueVal) return TheTrueVal;
> return CreateTrueFalseVals(true);
> }
>
On Feb 27, 2007, at 11:34 AM, Reid Spencer wrote:
> On Tue, 2007-02-27 at 09:10 -0800, Chris Lattner wrote:
>>> Index: llvm/lib/VMCore/Constants.cpp
>>> diff -u llvm/lib/VMCore/Constants.cpp:1.222 llvm/lib/VMCore/
>>> Constants.cpp:1.223
>>> --- llvm/lib/VMCore/Constants.cpp:1.222 Mon Feb 26
Chris,
Can't we just change this part of ConstantInt:
/// getTrue/getFalse - Return the singleton true/false values.
static inline ConstantInt *getTrue() {
if (TheTrueVal) return TheTrueVal;
return CreateTrueFalseVals(true);
}
static inline ConstantInt *getFalse() {
if (TheFals
On Tue, 2007-02-27 at 09:10 -0800, Chris Lattner wrote:
> > Index: llvm/lib/VMCore/Constants.cpp
> > diff -u llvm/lib/VMCore/Constants.cpp:1.222 llvm/lib/VMCore/
> > Constants.cpp:1.223
> > --- llvm/lib/VMCore/Constants.cpp:1.222 Mon Feb 26 21:05:06 2007
> > +++ llvm/lib/VMCore/Constants.cpp
> Index: llvm/lib/VMCore/Constants.cpp
> diff -u llvm/lib/VMCore/Constants.cpp:1.222 llvm/lib/VMCore/
> Constants.cpp:1.223
> --- llvm/lib/VMCore/Constants.cpp:1.222 Mon Feb 26 21:05:06 2007
> +++ llvm/lib/VMCore/Constants.cpp Tue Feb 27 01:57:53 2007
> @@ -118,7 +118,7 @@
> if (ITy
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.222 -> 1.223
---
Log message:
Correct the implelmentation of ConstantInt::getAllOnesValue() for bit
widths > 64 bits.
---
Diffs of the changes: (+1 -1)
Constants.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
I
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.220 -> 1.221
---
Log message:
For PR1205: http://llvm.org/PR1205 :
Implement the first step towards arbitrary precision integer support in
LLVM. The APInt class provides arbitrary precision arithmetic and value
representation. This
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.219 -> 1.220
---
Log message:
This cast broke lots of tests.
---
Diffs of the changes: (+1 -1)
Constants.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCor
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.218 -> 1.219
---
Log message:
switch ConstantFP's from ValueMap to DenseMap, which is much faster to query
and is more memory efficient.
---
Diffs of the changes: (+59 -51)
Constants.cpp | 110 +++-
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.217 -> 1.218
---
Log message:
cleanup ConstantInt to use a single DenseMap for uniquing instead of the
heavy-weight ValueMap class. This reduces mem usage bc reading kc++ by 29K,
even though it only creates 2955 constant ints!
-
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.216 -> 1.217
---
Log message:
Make ConstantInt::getTrue/getFalse be llvm_shutdown safe.
---
Diffs of the changes: (+24 -5)
Constants.cpp | 29 -
1 files changed, 24 insertions(+), 5 deletions(-)
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.215 -> 1.216
---
Log message:
Clean up the internals of the ConstantInt machinery
---
Diffs of the changes: (+6 -9)
Constants.cpp | 15 ++-
1 files changed, 6 insertions(+), 9 deletions(-)
Index: llvm/lib/VMCore
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.214 -> 1.215
---
Log message:
simplify some code that was not llvm_shutdown safe
---
Diffs of the changes: (+5 -36)
Constants.cpp | 41 +
1 files changed, 5 insertions(+), 36 deletions(
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.213 -> 1.214
---
Log message:
llvm-gcc issue fixed, revert reversal :)
---
Diffs of the changes: (+15 -20)
Constants.cpp | 35 +++
1 files changed, 15 insertions(+), 20 deletions(-)
Index: ll
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.212 -> 1.213
---
Log message:
Temporarily reverting the patch. It's breaking llvm-gcc build.
---
Diffs of the changes: (+20 -15)
Constants.cpp | 35 ---
1 files changed, 20 insertions(+), 15 del
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.211 -> 1.212
---
Log message:
remove dead methods
---
Diffs of the changes: (+15 -20)
Constants.cpp | 35 +++
1 files changed, 15 insertions(+), 20 deletions(-)
Index: llvm/lib/VMCore/Constan
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.208 -> 1.209
---
Log message:
A value of 64 or fewer bits is valid if the ConstantInt has more then 64 bits.
---
Diffs of the changes: (+2 -4)
Constants.cpp |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
Inde
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.204 -> 1.205
---
Log message:
Clean up comments and assert messages that still refer to the old type names.
---
Diffs of the changes: (+12 -12)
Constants.cpp | 24
1 files changed, 12 insertions(+), 1
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.203 -> 1.204
---
Log message:
Whoops, fix typo in last commit.
---
Diffs of the changes: (+6 -6)
Constants.cpp | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.202 -> 1.203
Instructions.cpp updated: 1.64 -> 1.65
---
Log message:
For PR970: http://llvm.org/PR970 :
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!
---
Diffs of the changes: (+31
On Mon, 15 Jan 2007, Reid Spencer wrote:
>> Constant *ConstantExpr::getTrunc(Constant *C, const Type *Ty) {
>> - assert(C->getType()->isInteger() && "Trunc operand must be integer");
>> + assert(C->getType()->isIntegral() && "Trunc operand must be integer");
>
> This makes no sense. How can you
On Sun, 2007-01-14 at 18:46 -0600, Chris Lattner wrote:
>
> Changes in directory llvm/lib/VMCore:
>
> Constants.cpp updated: 1.199 -> 1.200
> ---
> Log message:
>
> don't discriminate against i1
Not quite right, see below.
>
>
> ---
> Diffs of the changes: (+9 -9)
>
> Constants.cpp | 18
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.199 -> 1.200
---
Log message:
don't discriminate against i1
---
Diffs of the changes: (+9 -9)
Constants.cpp | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.198 -> 1.199
---
Log message:
Allow isAllOnesValue testing on packed constants
---
Diffs of the changes: (+16 -0)
Constants.cpp | 16
1 files changed, 16 insertions(+)
Index: llvm/lib/VMCore/Constants.cpp
di
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.193 -> 1.194
---
Log message:
Add a new ConstantPacked::getAllOnesValue method
---
Diffs of the changes: (+12 -0)
Constants.cpp | 12
1 files changed, 12 insertions(+)
Index: llvm/lib/VMCore/Constants.cpp
diff
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.191 -> 1.192
---
Log message:
Fix some comments.
---
Diffs of the changes: (+2 -2)
Constants.cpp |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Const
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.189 -> 1.190
---
Log message:
Make ConstantInt not care about sign any more. To ensure the AsmParser can
still check the validity of signed values an overload to isValueValidForType
was added to allow passing in an int64_t to check.
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.188 -> 1.189
---
Log message:
Remove the two-argument (inferred cast) form of ConstantExpr::getCast now
that its last uses have been removed.
---
Diffs of the changes: (+0 -7)
Constants.cpp |7 ---
1 files changed, 7 de
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.187 -> 1.188
---
Log message:
Partial unbreak of VC++ (stream stuff has no easy fix).
---
Diffs of the changes: (+1 -0)
Constants.cpp |1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.185 -> 1.186
---
Log message:
Don't create usless casts for same-bith-width floating point casts.
---
Diffs of the changes: (+3 -2)
Constants.cpp |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.184 -> 1.185
---
Log message:
Implement getIntegerCast and getFPCast for ConstantExpr. These are similar
to the createIntegerCast and createFPCast for CastInst instructions.
---
Diffs of the changes: (+23 -0)
Constants.cpp |
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.182 -> 1.183
Instructions.cpp updated: 1.53 -> 1.54
---
Log message:
Provide a getOpcode() method on CmpInst to ensure the opcode is returned
as the right type. Use this to shorten some code.
---
Diffs of the changes: (+2 -4)
C
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.181 -> 1.182
---
Log message:
For PR950: http://llvm.org/PR950 :
Remove the getMaxValue and getMinValue functions from ConstantIntegral.
They don't make sense for a signless type. Also, for isMaxValue and
isMinValue, have the calle
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.180 -> 1.181
---
Log message:
Bail on the getInferredCast idea. Remove the function and convert
remaining uses to more specific casts.
---
Diffs of the changes: (+8 -8)
Constants.cpp | 16
1 files changed, 8
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.179 -> 1.180
---
Log message:
Implement getPointerCast.
---
Diffs of the changes: (+10 -0)
Constants.cpp | 10 ++
1 files changed, 10 insertions(+)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Consta
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.178 -> 1.179
---
Log message:
Separate getCompare from get and getCompareTy from getTy.
---
Diffs of the changes: (+17 -16)
Constants.cpp | 33 +
1 files changed, 17 insertions(+), 16 deletions
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.177 -> 1.178
Instructions.cpp updated: 1.50 -> 1.51
---
Log message:
Implement new cast creation functions for both instructions and constant
expressions. These will get used to reduce clutter as we replace various
calls to createIn
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.176 -> 1.177
---
Log message:
Reduce the size of the ExprMapKeyType class.
---
Diffs of the changes: (+3 -3)
Constants.cpp |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
d
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.175 -> 1.176
---
Log message:
For PR950: http://llvm.org/PR950 : Fix constant expressions to properly support
ICmp and FCmp type expressions.
---
Diffs of the changes: (+127 -59)
Constants.cpp | 186 +++
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.173 -> 1.174
---
Log message:
Implement creation of ICmp and FCmp constant expressions.
---
Diffs of the changes: (+57 -26)
Constants.cpp | 83 +++---
1 files changed, 57 in
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.172 -> 1.173
---
Log message:
add a new ConstantIntegral::get method. Simplify the implementation of
ConstantInt::get
---
Diffs of the changes: (+6 -3)
Constants.cpp |9 ++---
1 files changed, 6 insertions(+), 3 deleti
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.170 -> 1.171
Dominators.cpp updated: 1.77 -> 1.78
SymbolTable.cpp updated: 1.62 -> 1.63
Type.cpp updated: 1.149 -> 1.150
Value.cpp updated: 1.58 -> 1.59
ValueSymbolTable.cpp updated: 1.2 -> 1.3
---
Log message:
Removed iostream #inc
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.167 -> 1.168
---
Log message:
Speed up isCString()
---
Diffs of the changes: (+14 -4)
Constants.cpp | 18 ++
1 files changed, 14 insertions(+), 4 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.166 -> 1.167
---
Log message:
Add isCString() - returns true if a ConstantArray is a CString.
---
Diffs of the changes: (+13 -0)
Constants.cpp | 13 +
1 files changed, 13 insertions(+)
Index: llvm/lib/VMCore/Cons
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.163 -> 1.164
---
Log message:
add a method to determine whether evaluation of a constant can trap.
---
Diffs of the changes: (+27 -0)
Constants.cpp | 27 +++
1 files changed, 27 insertions(+)
Index:
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.162 -> 1.163
---
Log message:
Eliminate ConstantBool::True and ConstantBool::False. Instead, provide
ConstantBool::getTrue() and ConstantBool::getFalse().
---
Diffs of the changes: (+18 -8)
Constants.cpp | 26 +++
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.161 -> 1.162
---
Log message:
remove reference to dead method
---
Diffs of the changes: (+0 -1)
Constants.cpp |1 -
1 files changed, 1 deletion(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.160 -> 1.161
---
Log message:
Use the new ManagedStatic class to explicitly manage static variables,
eliminating static ctors/dtors
---
Diffs of the changes: (+47 -71)
Constants.cpp | 118 +++--
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.157 -> 1.158
---
Log message:
Reduce the size of Constants.o by 25% by generalizing specific instantiations of
std::map.
---
Diffs of the changes: (+31 -30)
Constants.cpp | 61 +
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.156 -> 1.157
---
Log message:
Add a new helper, simplify ConstantExpr::getWithOperandReplaced at Gabor's
request :)
---
Diffs of the changes: (+57 -22)
Constants.cpp | 79 +-
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.155 -> 1.156
---
Log message:
Add a new method for bugpoint to use
---
Diffs of the changes: (+51 -0)
Constants.cpp | 51 +++
1 files changed, 51 insertions(+)
Index: llvm/lib
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.153 -> 1.154
---
Log message:
Add a missing assertion that would have helped out Reid
---
Diffs of the changes: (+2 -0)
Constants.cpp |2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/VMCore/Constants.cpp
diff -u ll
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.152 -> 1.153
---
Log message:
Provide a simpler interface for getting a ConstantArray from a character
string. Instead of specifying the length, just specify whether the user
wants a terminating null or not. The default is "true" to
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.151 -> 1.152
---
Log message:
Adjust the interface to ConstantArray::get. The previous
implementation always added a null byte to the end of the string. It turns
out that this is not always wanted. By adding a length parameter we p
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.150 -> 1.151
---
Log message:
Patches to make the LLVM sources more -pedantic clean. Patch provided
by Anton Korobeynikov! This is a step towards closing PR786:
http://llvm.cs.uiuc.edu/PR786 .
---
Diffs of the changes: (+1 -1)
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.149 -> 1.150
---
Log message:
Add constant replacement for insertelement/vectorshuffle constant exprs
---
Diffs of the changes: (+16 -0)
Constants.cpp | 16
1 files changed, 16 insertions(+)
Index: llvm/lib
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.147 -> 1.148
---
Log message:
Doh!
---
Diffs of the changes: (+2 -2)
Constants.cpp |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.147
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.146 -> 1.147
---
Log message:
Added a parameter to control whether Constant::getStringValue() would chop
off the result string at the first null terminator.
---
Diffs of the changes: (+8 -4)
Constants.cpp | 12
1
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.145 -> 1.146
---
Log message:
Get rid of the multiple copies of getStringValue. Now a Constant:: method.
---
Diffs of the changes: (+40 -0)
Constants.cpp | 40
1 files changed, 40 ins
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.142 -> 1.143
Instruction.cpp updated: 1.48 -> 1.49
Instructions.cpp updated: 1.29 -> 1.30
Verifier.cpp updated: 1.136 -> 1.137
---
Log message:
Added support for the extractelement operation.
---
Diffs of the changes: (+73 -0)
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.141 -> 1.142
---
Log message:
Fix an assertion to allow constant folding of packed values
---
Diffs of the changes: (+4 -3)
Constants.cpp |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
Index: llvm/lib/VMCore
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.140 -> 1.141
---
Log message:
Revert previous patch. Additional tests fail.
---
Diffs of the changes: (+0 -3)
Constants.cpp |3 ---
1 files changed, 3 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMC
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.139 -> 1.140
---
Log message:
Fix PR409: http://llvm.cs.uiuc.edu/PR409 :
Implement the suggested check to ensure that out-of-range float constants
don't get accepted by LLVM accidentally. Adjust the supporting test cases
as well.
71 matches
Mail list logo