- Dec 17, 2007
-
-
Christopher Lamb authored
Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082
-
- Dec 16, 2007
-
-
Duncan Sands authored
calls. Remove special casing of inline asm from the inliner. There is a potential problem: the verifier rejects invokes of inline asm (not sure why). If an asm call is not marked "nounwind" in some .ll, and instcombine is not run, but the inliner is run, then an illegal module will be created. This is bad but I'm not sure what the best approach is. I'm tempted to remove the check in the verifier... llvm-svn: 45073
-
- Dec 11, 2007
-
-
Christopher Lamb authored
regions of memory that have a target specific relationship, as described in the Embedded C Technical Report. This also implements the 2007-12-11-AddressSpaces test, which demonstrates how address space attributes can be used in LLVM IR. In addition, this patch changes the bitcode signature for stores (in a backwards compatible manner), such that the pointer type, rather than the pointee type, is encoded. This permits type information in the pointer (e.g. address space) to be preserved for stores. LangRef updates are forthcoming. llvm-svn: 44858
-
- Dec 10, 2007
-
-
Gordon Henriksen authored
_sabre_: it has a major problem: by the time ~Value is run, all of the "parts" of the derived classes have been destroyed _sabre_: the vtable lives to fight another day llvm-svn: 44760
-
- Dec 09, 2007
-
-
Gordon Henriksen authored
llvm-svn: 44747
-
- Dec 03, 2007
-
-
Duncan Sands authored
throw exceptions", just mark intrinsics with the nounwind attribute. Likewise, mark intrinsics as readnone/readonly and get rid of special aliasing logic (which didn't use anything more than this anyway). llvm-svn: 44544
-
- Nov 29, 2007
-
-
Duncan Sands authored
llvm-svn: 44433
-
- Nov 28, 2007
-
-
Duncan Sands authored
use them. llvm-svn: 44403
-
- Nov 27, 2007
-
-
Duncan Sands authored
the function type, instead they belong to functions and function calls. This is an updated and slightly corrected version of Reid Spencer's original patch. The only known problem is that auto-upgrading of bitcode files doesn't seem to work properly (see test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully a bitcode guru (who might that be? :) ) will fix it. llvm-svn: 44359
-
- Nov 17, 2007
-
-
Nate Begeman authored
llvm-svn: 44204
-
- Oct 18, 2007
-
-
Chris Lattner authored
llvm-svn: 43129
-
- Sep 04, 2007
-
-
David Greene authored
Update GEP constructors to use an iterator interface to fix GLIBCXX_DEBUG issues. llvm-svn: 41697
-
- Aug 27, 2007
-
-
David Greene authored
Update InvokeInst to work like CallInst llvm-svn: 41506
-
- Aug 24, 2007
-
-
Chris Lattner authored
This eliminates a conditional on that path, and ensures ICmpInst/FCmpInst both have an out-of-line virtual method to home the class. llvm-svn: 41371
-
- Aug 01, 2007
-
-
David Greene authored
New CallInst interface to address GLIBCXX_DEBUG errors caused by indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
-
- Jul 18, 2007
-
-
Dan Gohman authored
end of a BasicBlock and have an alignment parameter. llvm-svn: 40016
-
- Jun 15, 2007
-
-
Chris Lattner authored
llvm-svn: 37585
-
- May 11, 2007
-
-
Dan Gohman authored
llvm-svn: 36995
-
- Apr 27, 2007
-
-
Chris Lattner authored
llvm-svn: 36515
-
- Apr 22, 2007
-
-
Christopher Lamb authored
llvm-svn: 36349
-
Reid Spencer authored
Add reference counting to ParamAttrsList and make use of it in Function, CallInst and InvokeInst classes. llvm-svn: 36346
-
Reid Spencer authored
Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface. llvm-svn: 36327
-
- Apr 21, 2007
-
-
Reid Spencer authored
llvm-svn: 36309
-
Christopher Lamb authored
add support for alignment attributes on load/store instructions llvm-svn: 36301
-
- Apr 14, 2007
-
-
Chris Lattner authored
Writing it twice in the same day was too much for me. llvm-svn: 35978
-
- Apr 11, 2007
-
-
Reid Spencer authored
not retain that name. Not noticed because AsmParser always sets name after construction. However, llvm2cpp noticed. llvm-svn: 35903
-
- Apr 09, 2007
-
-
Reid Spencer authored
* Add ParamAttrs to InvokeInst class too. * Make sure all initializes of ParamAttrs in CallInst and InvokeInst are 0 * Destruct the ParamAttrs in Call/Invoke destructors to avoid memory leaks. This will change when ParamAttrsList is uniquified but needs to be correct until then. llvm-svn: 35824
-
Reid Spencer authored
* Add ParamAttrList pointers to Function and CallInst. * Move the implementation of ParamAttrList from Type.cpp to Function.cpp llvm-svn: 35818
-
- Mar 22, 2007
-
-
Dan Gohman authored
llvm-svn: 35265
-
- Mar 01, 2007
-
-
Reid Spencer authored
functional change with this patch. llvm-svn: 34806
-
- Feb 28, 2007
-
-
Reid Spencer authored
from a predicate and an APInt. This is removed from ConstantRange class so that ConstantRange doesn't have to depend on lib/VMCore. llvm-svn: 34760
-
- Feb 24, 2007
-
-
Chris Lattner authored
solve a crash in -instcombine -debug that was hit while investigating PR1217 llvm-svn: 34544
-
- Feb 15, 2007
-
-
Reid Spencer authored
Change use of "packed" term to "vector" in comments, strings, variable names, etc. llvm-svn: 34300
-
Reid Spencer authored
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
-
- Feb 13, 2007
-
-
Chris Lattner authored
This speeds up bcreading by 1.5%. llvm-svn: 34233
-
Chris Lattner authored
llvm-svn: 34228
-
Chris Lattner authored
llvm-svn: 34214
-
Chris Lattner authored
llvm-svn: 34213
-
- Feb 02, 2007
-
-
Reid Spencer authored
This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
-
- Feb 01, 2007
-
-
Chris Lattner authored
llvm-svn: 33747
-