Chris Lattner
49e58cfe42
the lengths of the strings are known, just use memcmp
...
llvm-svn: 34321
2007-02-15 19:26:16 +00:00
Evan Cheng
4d1fd55a9f
BitVector::reference operator=(const reference& rhs) is unnecessary thanks to autoconvert to bool.
...
llvm-svn: 34320
2007-02-15 19:21:44 +00:00
Evan Cheng
410bee3478
Remove unnecessary checks.
...
llvm-svn: 34319
2007-02-15 19:18:12 +00:00
Chris Lattner
1e92e06779
Implement Function::getIntrinsicID without it needing to call Value::getName,
...
which allocates a string. This speeds up instcombine on 447.dealII by 5%.
llvm-svn: 34318
2007-02-15 19:17:16 +00:00
Evan Cheng
62615e233d
operator== returns false when two bitvectors have different sizes.
...
llvm-svn: 34317
2007-02-15 19:16:21 +00:00
Evan Cheng
106db04124
Merges two resize() variants.
...
llvm-svn: 34316
2007-02-15 19:12:39 +00:00
Evan Cheng
5f96248376
Clear no longer deleting the bits to avoid mallocs.
...
llvm-svn: 34315
2007-02-15 19:10:34 +00:00
Evan Cheng
b959dc3746
BitVector::count() bugs.
...
llvm-svn: 34314
2007-02-15 19:09:36 +00:00
Evan Cheng
6194cdc7b8
Eliminate a redundent ctor; eliminate one more potential new [0].
...
llvm-svn: 34313
2007-02-15 19:05:25 +00:00
Evan Cheng
06efb34da5
1 -> 1L since BitWord has type unsigned long.
...
llvm-svn: 34312
2007-02-15 19:03:23 +00:00
Evan Cheng
86f9f761ef
Eliminate new[0], just set Bits to NULL.
...
llvm-svn: 34311
2007-02-15 18:59:15 +00:00
Chris Lattner
fd27ed9733
Add a new Value::getNameStr method, which is preferred over getName.
...
llvm-svn: 34310
2007-02-15 18:53:54 +00:00
Evan Cheng
5f1aacd1bd
Inverted the condition by accident.
...
llvm-svn: 34309
2007-02-15 18:48:41 +00:00
Reid Spencer
40aa2fdac6
For PR1202:
...
Make sure we found an existing Alignment before overwriting it.
llvm-svn: 34308
2007-02-15 18:34:36 +00:00
Chris Lattner
68dcec6fea
fix indentation
...
llvm-svn: 34307
2007-02-15 18:19:15 +00:00
Chris Lattner
21ebae3394
Apply B Scott Michel's patch for PR1184, which improves diagnostics in an
...
abort case.
llvm-svn: 34306
2007-02-15 18:17:56 +00:00
Evan Cheng
3dd60a52fd
Bug fixes: assignment operator forgot to copy over size; copy ctor forgot to clear unused top bits.
...
llvm-svn: 34305
2007-02-15 08:15:58 +00:00
Zhou Sheng
cfa2ac0592
Fix some buges:
...
1. Make getMinValue() returns the right value.
2. Fix the ByteSwap() crash problem.
3. Make Postfix increment work correctly.
4. Fix some bugs in LogBase2, Hi/LoBits and UDiv.
llvm-svn: 34304
2007-02-15 06:36:31 +00:00
Evan Cheng
14edd1989b
Use BitVector instead of vector<bool> which can be extremely slow.
...
llvm-svn: 34302
2007-02-15 05:59:24 +00:00
Evan Cheng
ee7c774b8e
Add a BitVector class.
...
llvm-svn: 34301
2007-02-15 05:56:11 +00:00
Reid Spencer
09575bac2e
For PR1195:
...
Change use of "packed" term to "vector" in comments, strings, variable
names, etc.
llvm-svn: 34300
2007-02-15 03:39:18 +00:00
Reid Spencer
d4a0b7bb7b
For PR1195:
...
Change a comment: Packed Type -> Vector Type
llvm-svn: 34299
2007-02-15 03:11:50 +00:00
Reid Spencer
537ee02f89
Change an assert that mentions Packed Type -> Vector Type.
...
llvm-svn: 34298
2007-02-15 03:11:20 +00:00
Reid Spencer
ebe725b466
For PR1195:
...
Packed -> Vector.
llvm-svn: 34297
2007-02-15 03:08:48 +00:00
Reid Spencer
404a3259f9
For PR1195:
...
Packed -> Vector
llvm-svn: 34296
2007-02-15 03:07:05 +00:00
Evan Cheng
cba7633cb5
isPhysRegUsed should be const.
...
llvm-svn: 34295
2007-02-15 02:55:51 +00:00
Evan Cheng
12ac070433
Should pass isKill and isDead to addRegOperand() as well.
...
llvm-svn: 34294
2007-02-15 02:52:40 +00:00
Reid Spencer
d84d35ba70
For PR1195:
...
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
2007-02-15 02:26:10 +00:00
Reid Spencer
dad84a7c02
Fixed packed structure breakage from earlier TargetData patch; applied
...
Chris Lattner's code style suggestions.
Patch by Scott Michel!
llvm-svn: 34292
2007-02-15 02:11:06 +00:00
Reid Spencer
98e745adf6
Fix validation errors.
...
llvm-svn: 34291
2007-02-15 01:11:54 +00:00
Chris Lattner
682918f99b
update to new t-d strings.
...
llvm-svn: 34290
2007-02-15 00:54:16 +00:00
Reid Spencer
77c01f4065
Fix a typo.
...
llvm-svn: 34289
2007-02-14 22:58:39 +00:00
Reid Spencer
05cc0994cc
Add feedback from Vikram Adve.
...
llvm-svn: 34288
2007-02-14 22:55:40 +00:00
Reid Spencer
1e7306d43d
Synchronize TOC headings with actual headings.
...
llvm-svn: 34285
2007-02-14 17:24:04 +00:00
Reid Spencer
e63f6bc4dc
Fix the table of contents to match the document body.
...
llvm-svn: 34284
2007-02-14 17:20:59 +00:00
Reid Spencer
535fb50839
Fix a grammaro.
...
llvm-svn: 34283
2007-02-14 16:21:54 +00:00
Reid Spencer
3361037c0d
A few changes:
...
1. Fix typos
2. Move Terminology to the end
3. Simplify language in a few spots.
4. Add a policy that larger increments require a larger testing effort.
llvm-svn: 34282
2007-02-14 16:21:10 +00:00
Reid Spencer
de63616820
Drop a policy.
...
llvm-svn: 34281
2007-02-14 08:23:08 +00:00
Reid Spencer
4deff34514
Some more minor tweaks.
...
llvm-svn: 34280
2007-02-14 08:19:16 +00:00
Reid Spencer
74d6bb6eed
Fix word usage.
...
llvm-svn: 34279
2007-02-14 08:13:38 +00:00
Reid Spencer
6041efc206
Add a missing .
...
llvm-svn: 34278
2007-02-14 08:09:40 +00:00
Reid Spencer
c4a1f8b9cf
Incorporate Chris Lattner's second round of feedback.
...
llvm-svn: 34277
2007-02-14 07:57:48 +00:00
Chris Lattner
61c20afe80
fix validation bug
...
llvm-svn: 34276
2007-02-14 07:42:59 +00:00
Chris Lattner
3009bcc3bc
now that llvm-gcc3 is gone, life is significantly simpler and less scary
...
llvm-svn: 34275
2007-02-14 07:42:12 +00:00
Chris Lattner
d521f3c90e
remove an obsolete question
...
llvm-svn: 34274
2007-02-14 07:40:16 +00:00
Chris Lattner
a673023852
remove obsolete path
...
llvm-svn: 34273
2007-02-14 07:39:35 +00:00
Chris Lattner
ab1812f806
fix a warning
...
llvm-svn: 34272
2007-02-14 07:34:56 +00:00
Chris Lattner
cba64669b0
remove obsolete warning
...
llvm-svn: 34271
2007-02-14 07:34:22 +00:00
Chris Lattner
24b7135482
There is no circular dependency between llvm and llvm-gcc anymore. stop
...
scaring users.
llvm-svn: 34270
2007-02-14 07:33:00 +00:00
Reid Spencer
56e5655bc8
Incorporate Chris' first round of comments.
...
llvm-svn: 34269
2007-02-14 07:22:19 +00:00