aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
Commit message (Collapse)AuthorAgeFilesLines
...
* Move these ctors out of lineChris Lattner2006-04-141-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27713 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't print out the install command for Intrinsics.gen unless VERBOSE mode.Reid Spencer2006-04-141-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27696 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't emit useless warning messages.Reid Spencer2006-04-121-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27617 91177308-0d34-0410-b5e6-96231b3b80d8
* Add constant replacement for insertelement/vectorshuffle constant exprsChris Lattner2006-04-081-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27532 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the isValidOperands helper instead of duplicating checking codeChris Lattner2006-04-081-16/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27524 91177308-0d34-0410-b5e6-96231b3b80d8
* Add methods to check insertelement/extractelement instructions for validity,Chris Lattner2006-04-081-6/+37
| | | | | | | check validity when instructions are created. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27523 91177308-0d34-0410-b5e6-96231b3b80d8
* Add shufflevector support, todo, implement better constant folding.Chris Lattner2006-04-088-8/+137
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27510 91177308-0d34-0410-b5e6-96231b3b80d8
* Constant fold extractelement(zero, x) -> zeroChris Lattner2006-04-071-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27479 91177308-0d34-0410-b5e6-96231b3b80d8
* Move this to lib/Analysis.Andrew Lenharth2006-04-061-332/+0
| | | | | | | This reduces Core size, yay. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27468 91177308-0d34-0410-b5e6-96231b3b80d8
* vector casts never reinterpret bitsChris Lattner2006-04-021-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27354 91177308-0d34-0410-b5e6-96231b3b80d8
* Constant fold casts from things like <4 x int> -> <4 x uint>, likewise int<->fp.Chris Lattner2006-04-021-0/+108
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27336 91177308-0d34-0410-b5e6-96231b3b80d8
* constant fold extractelement with undef operands.Chris Lattner2006-03-311-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27301 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build breakage.Jeff Cohen2006-03-311-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27292 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new method to verify intrinsic function prototypes.Chris Lattner2006-03-311-2/+60
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27282 91177308-0d34-0410-b5e6-96231b3b80d8
* Bullet proof against undefined args produced by upgrading ols-style debug info.Jim Laskey2006-03-261-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27155 91177308-0d34-0410-b5e6-96231b3b80d8
* Update dependencies to reflect split of the Intrinsics.td fileChris Lattner2006-03-261-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27144 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach BinaryOperator::createNot to work with packed integer typesChris Lattner2006-03-251-2/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27124 91177308-0d34-0410-b5e6-96231b3b80d8
* Cast instruction not inserted into basic block.Jim Laskey2006-03-251-41/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27122 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement Intrinsic::getNameChris Lattner2006-03-251-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27108 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix indent.Jim Laskey2006-03-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27065 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up some commentary.Jim Laskey2006-03-241-1/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27064 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some more bulletproofing to auto upgrade of llvm.dbg intrinsics.Jim Laskey2006-03-231-13/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26996 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify handling of llvm.dbg intrinsic operands to one spot.Jim Laskey2006-03-231-0/+55
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26987 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the argument types of llvm.dbg intrinsics.Jim Laskey2006-03-231-23/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26985 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix use of LEVEL.Reid Spencer2006-03-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26822 91177308-0d34-0410-b5e6-96231b3b80d8
* Two fixes:Reid Spencer2006-03-171-1/+5
| | | | | | | | 1. Allow building of Intrinsics.gen to work for srcdir != objdir 2. Add a rule for installation of Intrinsics.gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26819 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugfix, unbreaking CodeGen/PowerPC/cttz.llChris Lattner2006-03-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26764 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an et-forest memory leak. Patch by Daniel Berlin.Chris Lattner2006-03-141-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26763 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Handle removal of all arguments for a morphed intrinsic.Jim Laskey2006-03-141-1/+4
| | | | | | | 2. Remove the declaration of llvm.dbg.declare. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26745 91177308-0d34-0410-b5e6-96231b3b80d8
* Bring makefile back into compliance with standard by usingReid Spencer2006-03-131-1/+1
| | | | | | | $(Echo) instead of @echo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26730 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle the removal of the debug chain.Jim Laskey2006-03-131-47/+99
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26729 91177308-0d34-0410-b5e6-96231b3b80d8
* Doh!Evan Cheng2006-03-111-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26705 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a parameter to control whether Constant::getStringValue() would chopEvan Cheng2006-03-101-4/+8
| | | | | | | off the result string at the first null terminator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26704 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the autogenerated intrinsic verifierChris Lattner2006-03-091-266/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26667 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the function name matcher autogenerated from the .td file.Chris Lattner2006-03-091-76/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26664 91177308-0d34-0410-b5e6-96231b3b80d8
* This rule also depends on tblgenChris Lattner2006-03-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26662 91177308-0d34-0410-b5e6-96231b3b80d8
* remove dbg_declare, it's not used yet.Chris Lattner2006-03-092-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26659 91177308-0d34-0410-b5e6-96231b3b80d8
* silly case insensitive file systems...Chris Lattner2006-03-091-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26658 91177308-0d34-0410-b5e6-96231b3b80d8
* Build intrinsics.gen from intrinsics.tdChris Lattner2006-03-091-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26657 91177308-0d34-0410-b5e6-96231b3b80d8
* autoupgrade memcpy/memmove/memset with signed counts.Chris Lattner2006-03-091-4/+12
| | | | | | | CVS: ---------------------------------------------------------------------- git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26654 91177308-0d34-0410-b5e6-96231b3b80d8
* add a new helper method.Chris Lattner2006-03-081-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26618 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the multiple copies of getStringValue. Now a Constant:: method.Jim Laskey2006-03-081-0/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26616 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak autouprade of llvm.sqrt, simplify some code.Chris Lattner2006-03-031-38/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26506 91177308-0d34-0410-b5e6-96231b3b80d8
* remove the read/write port/io intrinsics.Chris Lattner2006-03-032-51/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26479 91177308-0d34-0410-b5e6-96231b3b80d8
* Split memcpy/memset/memmove intrinsics into i32/i64 versions, resolvingChris Lattner2006-03-023-139/+128
| | | | | | | | | | | | 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26474 91177308-0d34-0410-b5e6-96231b3b80d8
* Back out my last check-in. Wrong place to fix it.Evan Cheng2006-03-011-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26462 91177308-0d34-0410-b5e6-96231b3b80d8
* AsmWriter should not print LLVM constant in comment. Assembler won't likeEvan Cheng2006-03-011-4/+0
| | | | | | | multi-line comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26461 91177308-0d34-0410-b5e6-96231b3b80d8
* Pretty print large struct constants.Jim Laskey2006-02-271-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26400 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverting. Didn't realize some developers were embedding constants in theirJim Laskey2006-02-261-9/+1
| | | | | | | target assembler code gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26383 91177308-0d34-0410-b5e6-96231b3b80d8
* Format large struct constants for readability.Jim Laskey2006-02-251-4/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26379 91177308-0d34-0410-b5e6-96231b3b80d8