summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Function.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For PR411:Reid Spencer2007-01-061-2/+2
| | | | | | | | | Take an incremental step towards type plane elimination. This change separates types from values in the symbol tables by finally making use of the TypeSymbolTable class. This yields more natural interfaces for dealing with types and unclutters the SymbolTable class. llvm-svn: 32956
* For PR950:Reid Spencer2006-12-311-1/+1
| | | | | | Change signed integer type names to unsigned equivalents. llvm-svn: 32780
* For PR950:Reid Spencer2006-11-271-2/+2
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* Remove unused variable.Reid Spencer2006-11-021-1/+1
| | | | llvm-svn: 31376
* Implement Intrinsic::getNameChris Lattner2006-03-251-0/+11
| | | | llvm-svn: 27108
* Use the function name matcher autogenerated from the .td file.Chris Lattner2006-03-091-76/+3
| | | | llvm-svn: 26664
* remove dbg_declare, it's not used yet.Chris Lattner2006-03-091-1/+0
| | | | llvm-svn: 26659
* remove the read/write port/io intrinsics.Chris Lattner2006-03-031-6/+0
| | | | llvm-svn: 26479
* Split memcpy/memset/memmove intrinsics into i32/i64 versions, resolvingChris Lattner2006-03-021-3/+6
| | | | | | | | | | | PR709, and paving the way for future progress. Significantly refactor autoupgrading code, to handle the more complex case (where we upgrade one argument in a function), and fix some bugs in it. Testcase here: llvm/test/Regression/Bytecode/memcpy.ll llvm-svn: 26474
* For PR411:Reid Spencer2006-01-161-42/+56
| | | | | | | | | | | | | | | | This patch is an incremental step towards supporting a flat symbol table. It de-overloads the intrinsic functions by providing type-specific intrinsics and arranging for automatically upgrading from the old overloaded name to the new non-overloaded name. Specifically: llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64 llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64 llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64 llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64 llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64 New code should not use the overloaded intrinsic names. Warnings will be emitted if they are used. llvm-svn: 25366
* add a missing break that Reid noticed.Chris Lattner2006-01-151-0/+1
| | | | llvm-svn: 25328
* Add bswap intrinsics as documented in the Language ReferenceNate Begeman2006-01-141-0/+5
| | | | llvm-svn: 25309
* Add recognition and verification of new llvm.stacksave/llvm.stackrestore ↵Chris Lattner2006-01-131-4/+6
| | | | | | intrinsics llvm-svn: 25266
* continued readcyclecounter supportAndrew Lenharth2005-11-111-3/+4
| | | | llvm-svn: 24300
* add support for explicit calling conventionsChris Lattner2005-05-061-0/+1
| | | | llvm-svn: 21746
* Implement count leading zeros (ctlz), count trailing zeros (cttz), and countAndrew Lenharth2005-05-031-0/+5
| | | | | | | | | population (ctpop). Generic lowering is implemented, however only promotion is implemented for SelectionDAG at the moment. More coming soon. llvm-svn: 21676
* Add llvm.sqrt intrinsic, patch contributed by Morten OfstadChris Lattner2005-04-301-0/+1
| | | | llvm-svn: 21627
* Remove trailing whitespaceMisha Brukman2005-04-211-8/+8
| | | | llvm-svn: 21427
* First step in adding pcmarker intrinsic. Second step (soon) is adding ↵Andrew Lenharth2005-03-281-0/+1
| | | | | | backend support. llvm-svn: 20900
* remove all of the various setName implementations, consolidating them intoChris Lattner2005-03-051-17/+0
| | | | | | Value::setName, which is no longer virtual. llvm-svn: 20464
* Remove the 2nd argument to Value::setNameChris Lattner2005-03-051-7/+3
| | | | llvm-svn: 20458
* recognize llvm.prefetch. Patch contributed by Justin Wick!Chris Lattner2005-02-281-0/+3
| | | | llvm-svn: 20377
* Improve conformance with the Misha spelling benchmark suiteChris Lattner2005-01-301-2/+2
| | | | llvm-svn: 19930
* Adjust to ilist changes.Chris Lattner2005-01-291-2/+2
| | | | llvm-svn: 19923
* Adjust to changes in User class.Chris Lattner2005-01-291-1/+1
| | | | llvm-svn: 19892
* Add convenience method.Chris Lattner2005-01-071-0/+4
| | | | llvm-svn: 19321
* Add a new methodChris Lattner2004-12-051-0/+41
| | | | llvm-svn: 18531
* The Alpha (tm) intrinsics have never been used anywhereMisha Brukman2004-10-291-31/+0
| | | | llvm-svn: 17340
* Minor tweaksChris Lattner2004-10-121-5/+5
| | | | llvm-svn: 16929
* Implement a new methodChris Lattner2004-10-121-3/+27
| | | | llvm-svn: 16927
* Implement remove/eraseFromParent methodsChris Lattner2004-10-111-0/+8
| | | | llvm-svn: 16922
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Fix #includes of i*.h files => Instructions.h as per PR403Misha Brukman2004-07-291-1/+1
| | | | llvm-svn: 15327
* bug 122:Reid Spencer2004-07-171-72/+3
| | | | | | - Move GlobalValue and GlobalVariable implementations to Globals.cpp llvm-svn: 14929
* Fix a really nasty logic error that VC noticed.Chris Lattner2004-07-121-2/+2
| | | | | | Reid, this might matter to you :) llvm-svn: 14774
* Implement new methodChris Lattner2004-07-121-0/+36
| | | | llvm-svn: 14767
* isnan is deadChris Lattner2004-06-151-1/+0
| | | | llvm-svn: 14191
* Add the isunordered intrinsic.Alkis Evlogimenos2004-06-121-0/+1
| | | | llvm-svn: 14159
* I misled Alkis: LLVM should have isnan, not isunordered.Chris Lattner2004-06-111-1/+1
| | | | | | | | isunordered(X, Y) === isnan(X) | isnan(Y) Remove isunordered, add isnan. llvm-svn: 14132
* Add the isunordered intrinsic.Alkis Evlogimenos2004-06-111-0/+3
| | | | llvm-svn: 14127
* Recognize and verify the new GC intrinsics.Chris Lattner2004-05-231-0/+5
| | | | llvm-svn: 13687
* Finish adding the llvm.readio and llvm.writeio intrinsics.John Criswell2004-04-141-0/+2
| | | | | | Sorry these didn't get in yesterday. llvm-svn: 12942
* Added the llvm.readport and llvm.writeport intrinsics.John Criswell2004-04-081-0/+3
| | | | | | | | The Verifier ensures that their parameters are of integral types and have the correct sign, but it does not enforce any size restrictions because such restrictions are platform dependent. llvm-svn: 12781
* Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* toChris Lattner2004-03-131-3/+3
| | | | | | Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file. llvm-svn: 12356
* Add llvm.memset/frameaddress/returnaddress intrinsics.Chris Lattner2004-02-141-0/+7
| | | | llvm-svn: 11431
* Add support for the llvm.memmove intrinsicChris Lattner2004-02-121-0/+1
| | | | | | Patch graciously contributed by Reid Spencer! llvm-svn: 11355
* Implement the llvm.memcpy intrinsicChris Lattner2004-02-121-0/+3
| | | | llvm-svn: 11349
* Hrm, another minor cleanup, which I missed beforeChris Lattner2004-01-101-1/+1
| | | | llvm-svn: 10753
* Minor cleanupChris Lattner2004-01-101-1/+1
| | | | llvm-svn: 10752
* Add support for new intrinsicChris Lattner2004-01-061-0/+1
| | | | llvm-svn: 10701
OpenPOWER on IntegriCloud