| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
its associated call site.
llvm-svn: 51204
|
|
|
|
|
|
| |
Legacy interfaces will be in place for some time. (Merge from use-diet branch.)
llvm-svn: 51200
|
|
|
|
|
|
|
|
| |
test/Verifier/2002-11-05-GetelementptrPointers.ll, which was incorrect.
Instead, fix getIndexedType to not follow pointer types, as
PointerType is a subclass of CompositeType.
llvm-svn: 51171
|
|
|
|
|
|
| |
moving toward making structs and arrays first-class types.
llvm-svn: 51157
|
|
|
|
|
|
| |
makefile targets to find these better.
llvm-svn: 51143
|
|
|
|
|
|
|
|
|
|
|
| |
Do not rely on std::swap<Use>, provide a (faster) member function instead.
This change is primarily necessitated by MSVC++'s incompatibility with
declaring std::swap<Use> to be a friend of Use.
Also contains some minor tweaks to Use inline functions,
to undo pointless changes that sneaked in with the last merge.
llvm-svn: 51078
|
|
|
|
|
|
| |
a FIXME.
llvm-svn: 51023
|
|
|
|
| |
llvm-svn: 50994
|
|
|
|
|
|
|
|
| |
bitcode reader/writer is assuming i1
This was breaking a bunch of tests
llvm-svn: 50992
|
|
|
|
|
|
| |
for details. CodeGen support coming in a follow up patch
llvm-svn: 50985
|
|
|
|
| |
llvm-svn: 50974
|
|
|
|
| |
llvm-svn: 50943
|
|
|
|
| |
llvm-svn: 50137
|
|
|
|
|
|
|
|
| |
Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.
llvm-svn: 49277
|
|
|
|
|
|
|
| |
field to store the alignment value instead of haing a
separate field.
llvm-svn: 48727
|
|
|
|
| |
llvm-svn: 48326
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. There is now a "PAListPtr" class, which is a smart pointer around
the underlying uniqued parameter attribute list object, and manages
its refcount. It is now impossible to mess up the refcount.
2. PAListPtr is now the main interface to the underlying object, and
the underlying object is now completely opaque.
3. Implementation details like SmallVector and FoldingSet are now no
longer part of the interface.
4. You can create a PAListPtr with an arbitrary sequence of
ParamAttrsWithIndex's, no need to make a SmallVector of a specific
size (you can just use an array or scalar or vector if you wish).
5. All the client code that had to check for a null pointer before
dereferencing the pointer is simplified to just access the
PAListPtr directly.
6. The interfaces for adding attrs to a list and removing them is a
bit simpler.
Phase #2 will rename some stuff (e.g. PAListPtr) and do other less
invasive changes.
llvm-svn: 48289
|
|
|
|
| |
llvm-svn: 47857
|
|
|
|
| |
llvm-svn: 47813
|
|
|
|
| |
llvm-svn: 47653
|
|
|
|
| |
llvm-svn: 47633
|
|
|
|
| |
llvm-svn: 47619
|
|
|
|
| |
llvm-svn: 47616
|
|
|
|
|
|
| |
Simplify getReturnValue()
llvm-svn: 47614
|
|
|
|
| |
llvm-svn: 47611
|
|
|
|
| |
llvm-svn: 47607
|
|
|
|
| |
llvm-svn: 47577
|
|
|
|
|
|
| |
operands instead of one aggregate operand.
llvm-svn: 47508
|
|
|
|
|
|
|
| |
stuff into ParamAttrsList.h. Per feedback from
ParamAttrs changes.
llvm-svn: 47504
|
|
|
|
|
|
| |
the way through. It is now used for codegen.
llvm-svn: 47484
|
|
|
|
| |
llvm-svn: 47396
|
|
|
|
| |
llvm-svn: 47392
|
|
|
|
| |
llvm-svn: 47390
|
|
|
|
|
|
| |
annoying warnings.
llvm-svn: 47367
|
|
|
|
| |
llvm-svn: 47348
|
|
|
|
|
|
|
| |
for adding alignment info, not there yet). Clean up
interfaces to reference ParameterAttributes consistently.
llvm-svn: 47342
|
|
|
|
|
|
|
|
| |
requested by Chris. While there, do the same
for an existing function committed by someone
called "lattner" :)
llvm-svn: 47273
|
|
|
|
| |
llvm-svn: 46431
|
|
|
|
|
|
| |
check the callee also if it is known.
llvm-svn: 46206
|
|
|
|
| |
llvm-svn: 45974
|
|
|
|
| |
llvm-svn: 45950
|
|
|
|
| |
llvm-svn: 45913
|
|
|
|
|
|
|
|
|
|
|
| |
a direct call with cast parameters and cast return
value (if any), instcombine was prepared to cast any
non-void return value into any other, whether castable
or not. Add a new predicate for testing whether casting
is valid, and check it both for the return value and
(as a cleanup) for the parameters.
llvm-svn: 45657
|
|
|
|
|
|
|
| |
own file. Don't #include ParameterAttributes.h into any major
public header files: just move methods out of line as appropriate.
llvm-svn: 45517
|
|
|
|
| |
llvm-svn: 45512
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
|
|
|
| |
calls 'nounwind'. It is important for correct C++
exception handling that nounwind markings do not get
lost, so this transformation is actually needed for
correctness.
llvm-svn: 45218
|
|
|
|
|
|
| |
doesNotThrow.
llvm-svn: 45160
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|