[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-06-05 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.128 -> 1.129 --- Log message: Fix a user-reported error building with GCC 3.4.4 on Cygwin. --- Diffs of the changes: (+1 -1) Function.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/Functio

Re: [llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-06-04 Thread Chris Lattner
> Commit first round work of PR1373: http://llvm.org/PR1373 . > "noalias" is now fully supported in > VMCore, BitCode, and Assembly. Documentation and test case > paramattrs.ll > updated also. Cool. Please also make the verifier assert that this attribute is only applied to pointers as well

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-06-04 Thread Zhou Sheng
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.127 -> 1.128 --- Log message: Commit first round work of PR1373: http://llvm.org/PR1373 . "noalias" is now fully supported in VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll updated also. --- Diffs of the

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-24 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.126 -> 1.127 --- Log message: simplify some code --- Diffs of the changes: (+2 -5) Function.cpp |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) Index: llvm/lib/VMCore/Function.cpp diff -u llvm/lib/VMCore/Funct

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp

2007-04-22 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.125 -> 1.126 Instructions.cpp updated: 1.88 -> 1.89 --- Log message: For PR1136: http://llvm.org/PR1136 : Add reference counting to ParamAttrsList and make use of it in Function, CallInst and InvokeInst classes. --- Diffs of the ch

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-16 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.123 -> 1.124 --- Log message: merge several fields in GlobalValue to use the same word, move CallingConv field into SubclassData in Value. This shrinks GlobalVAlue from 48->40 bytes, Function from 88->76, and GlobalVariable from 76-

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-16 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.120 -> 1.121 --- Log message: Don't return 0 if the len == 5, let the assert handle that case. Thanks, Chris. --- Diffs of the changes: (+1 -1) Function.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm

Re: [llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-16 Thread Chris Lattner
> -unsigned Function::getIntrinsicID() const { > +unsigned Function::getIntrinsicID(bool noAssert) const { >const ValueName *ValName = this->getValueName(); >unsigned Len = ValName->getKeyLength(); >const char *Name = ValName->getKeyData(); > > - if (Len < 5 || Name[4] != '.' || Name[

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-16 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.119 -> 1.120 --- Log message: Fix test/CodeGen/Generic/vector-constantexpr.ll --- Diffs of the changes: (+2 -0) Function.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/VMCore/Function.cpp diff -u llvm/lib/VMCo

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-15 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.118 -> 1.119 --- Log message: For PR1328: http://llvm.org/PR1328 : Don't assert everytime an intrinsic name isn't recognized. Instead, make the assert optional when callin getIntrinsicID(). This allows the assembler to handle invalid

Re: [llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp Type.cpp

2007-04-09 Thread Chris Lattner
On Apr 9, 2007, at 10:22 AM, Reid Spencer wrote: > On Mon, 2007-04-09 at 10:14 -0700, Chris Lattner wrote: >> The function and callinst dtors need to delete their attributes. > > No one is setting these yet so there's no leaks. I understand. > The next patch will > unique the attributes in whic

Re: [llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp Type.cpp

2007-04-09 Thread Reid Spencer
On Mon, 2007-04-09 at 10:14 -0700, Chris Lattner wrote: > The function and callinst dtors need to delete their attributes. No one is setting these yet so there's no leaks. The next patch will unique the attributes in which case they should *not* be deleted. Use of ParamAttrsList in Function and C

Re: [llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp Type.cpp

2007-04-09 Thread Chris Lattner
The function and callinst dtors need to delete their attributes. -Chris On Apr 9, 2007, at 8:01 AM, Reid Spencer wrote: > > > Changes in directory llvm/lib/VMCore: > > Function.cpp updated: 1.116 -> 1.117 > Instructions.cpp updated: 1.81 -> 1.82 > Type.cpp updated: 1.179 -> 1.180 > --- > Log me

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp Type.cpp

2007-04-09 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.116 -> 1.117 Instructions.cpp updated: 1.81 -> 1.82 Type.cpp updated: 1.179 -> 1.180 --- Log message: For PR1146: http://llvm.org/PR1146 : * Add ParamAttrList pointers to Function and CallInst. * Move the implementation of ParamAttr

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.115 -> 1.116 --- Log message: For PR1146: http://llvm.org/PR1146 : Parameter attributes can now be defaulted for intrinsics. --- Diffs of the changes: (+2 -2) Function.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletio

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-03-31 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.114 -> 1.115 --- Log message: For PR1297: http://llvm.org/PR1297 : Implement "actual" argument types for the Intrinsic member functions. This involves changing the getName, getType, and getDeclaration methods to have optional paramet

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.113 -> 1.114 --- Log message: Implement Function::getIntrinsicID without it needing to call Value::getName, which allocates a string. This speeds up instcombine on 447.dealII by 5%. --- Diffs of the changes: (+6 -3) Function.cp

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-02-07 Thread Jim Laskey
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.111 -> 1.112 --- Log message: Automatically generating intrinsic declarations from Dan Gohman. Modified to construct FunctionType in separate function, and, have getDeclaration return a Function instead of a Constant. --- Diffs of

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-01-26 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.109 -> 1.110 --- Log message: For PR645: http://llvm.org/PR645 : Remove the Function::renameLocalSymbols function as it is no longer needed. --- Diffs of the changes: (+0 -39) Function.cpp | 39

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2006-11-02 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.105 -> 1.106 --- Log message: Remove unused variable. --- Diffs of the changes: (+1 -1) Function.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/Function.cpp diff -u llvm/lib/VMCore/Functio

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2006-03-24 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.104 -> 1.105 --- Log message: Implement Intrinsic::getName --- Diffs of the changes: (+11 -0) Function.cpp | 11 +++ 1 files changed, 11 insertions(+) Index: llvm/lib/VMCore/Function.cpp diff -u llvm/lib/VMCore/Funct

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2006-03-09 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.103 -> 1.104 --- Log message: Use the function name matcher autogenerated from the .td file. --- Diffs of the changes: (+3 -76) Function.cpp | 79 ++- 1 files changed, 3

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Verifier.cpp

2006-03-09 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.102 -> 1.103 Verifier.cpp updated: 1.148 -> 1.149 --- Log message: remove dbg_declare, it's not used yet. --- Diffs of the changes: (+0 -2) Function.cpp |1 - Verifier.cpp |1 - 2 files changed, 2 deletions(-) Index: l

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Verifier.cpp

2006-03-02 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.101 -> 1.102 Verifier.cpp updated: 1.147 -> 1.148 --- Log message: remove the read/write port/io intrinsics. --- Diffs of the changes: (+0 -51) Function.cpp |6 -- Verifier.cpp | 45

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Verifier.cpp

2006-01-16 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.99 -> 1.100 Verifier.cpp updated: 1.142 -> 1.143 --- Log message: For PR411: http://llvm.cs.uiuc.edu/PR411 : This patch is an incremental step towards supporting a flat symbol table. It de-overloads the intrinsic functions by providi

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2006-01-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.98 -> 1.99 --- Log message: add a missing break that Reid noticed. --- Diffs of the changes: (+1 -0) Function.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/VMCore/Function.cpp diff -u llvm/lib/VMCore/Function.c

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Verifier.cpp

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.97 -> 1.98 Verifier.cpp updated: 1.139 -> 1.140 --- Log message: Add bswap intrinsics as documented in the Language Reference --- Diffs of the changes: (+35 -0) Function.cpp |5 + Verifier.cpp | 30

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Verifier.cpp

2006-01-12 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.96 -> 1.97 Verifier.cpp updated: 1.138 -> 1.139 --- Log message: Add recognition and verification of new llvm.stacksave/llvm.stackrestore intrinsics --- Diffs of the changes: (+18 -4) Function.cpp | 10 ++ Verifier.cp

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Verifier.cpp

2005-11-11 Thread Andrew Lenharth
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.95 -> 1.96 Verifier.cpp updated: 1.134 -> 1.135 --- Log message: continued readcyclecounter support --- Diffs of the changes: (+12 -3) Function.cpp |7 --- Verifier.cpp |8 2 files changed, 12 insertions(+),