Gabor Greif
d61f20217a
API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. Legacy interfaces will be in place for some time. (Merge from use-diet branch.)
...
llvm-svn: 51200
2008-05-16 19:29:10 +00:00
Gabor Greif
6c6b8a57f3
API changes for class Use size reduction, wave 1.
...
Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.
llvm-svn: 49277
2008-04-06 20:25:17 +00:00
Chris Lattner
0deb8df600
Fix an incorrect comment, PR2147.
...
llvm-svn: 48323
2008-03-13 03:29:42 +00:00
Chris Lattner
c11dd606b0
remove attributions from examples.
...
llvm-svn: 45420
2007-12-29 20:37:57 +00:00
Chris Lattner
742b745b0c
rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()
...
Add an APSInt::toString() method.
llvm-svn: 41309
2007-08-23 05:15:32 +00:00
Reid Spencer
e0da78fcd0
Adjust for changes in GenericValue type.
...
llvm-svn: 34969
2007-03-06 17:24:31 +00:00
Chris Lattner
1990df521b
add some casts to support a change in the getOrInsertFunction interface
...
llvm-svn: 32984
2007-01-07 07:40:09 +00:00
Reid Spencer
0e73246942
For PR950:
...
Convert signed integer types to signless.
llvm-svn: 32786
2006-12-31 05:50:28 +00:00
Reid Spencer
4428c3483b
For PR950:
...
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751
2006-12-23 06:05:41 +00:00
Reid Spencer
d414793dbc
For PR950:
...
This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.
llvm-svn: 31063
2006-10-20 07:07:24 +00:00
Jeff Cohen
184eecfc0e
Minor corrections.
...
llvm-svn: 27042
2006-03-24 03:11:31 +00:00
Jeff Cohen
a38c737e85
When a function takes a variable number of pointer arguments, with a zero
...
pointer marking the end of the list, the zero *must* be cast to the pointer
type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.
The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.
llvm-svn: 23888
2005-10-23 04:37:20 +00:00
Chris Lattner
0080700e0c
Don't forget these are calls
...
llvm-svn: 21730
2005-05-06 06:21:59 +00:00
Chris Lattner
a667732618
These are legal for tail calls
...
llvm-svn: 21723
2005-05-06 05:59:50 +00:00
Misha Brukman
4e5314bf66
Remove trailing whitespace at the end of lines
...
llvm-svn: 21380
2005-04-20 16:42:34 +00:00
Alkis Evlogimenos
6c5f82ae70
Stop using abegin.
...
llvm-svn: 20609
2005-03-15 07:12:30 +00:00
Misha Brukman
2c024cf4a0
Clean up code layout, delete extra blank line, say fibonacci' instead of
foo'
...
llvm-svn: 17478
2004-11-05 04:11:40 +00:00
Chris Lattner
20cee8ccee
Fix typeo
...
llvm-svn: 17466
2004-11-04 05:00:18 +00:00
Chris Lattner
0a677495c3
Cleanup this example, simplifying it and making it conform to LLVM coding
...
standards
llvm-svn: 17459
2004-11-03 21:43:03 +00:00
Reid Spencer
2739d0d3f1
Correct the file header to reflect the new "examples" home for the file.
...
llvm-svn: 16295
2004-09-11 20:30:11 +00:00
Reid Spencer
8a934d5632
Moved the "SmallExamples" out of the /projects directory and into a new
...
/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.
llvm-svn: 16002
2004-08-23 19:28:39 +00:00