| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 45424
|
|
|
|
| |
llvm-svn: 45423
|
|
|
|
| |
llvm-svn: 45421
|
|
|
|
| |
llvm-svn: 45414
|
|
|
|
| |
llvm-svn: 45085
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
attributes. While there, I noticed that not all
attribute methods returned a pointer-to-constant,
so I fixed that.
llvm-svn: 44457
|
|
|
|
|
|
| |
use them.
llvm-svn: 44403
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
commands and into the common code.
llvm-svn: 42752
|
|
|
|
| |
llvm-svn: 42439
|
|
|
|
| |
llvm-svn: 41774
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use APFloat in UpgradeParser and AsmParser.
Change all references to ConstantFP to use the
APFloat interface rather than double. Remove
the ConstantFP double interfaces.
Use APFloat functions for constant folding arithmetic
and comparisons.
(There are still way too many places APFloat is
just a wrapper around host float/double, but we're
getting there.)
llvm-svn: 41747
|
|
|
|
| |
llvm-svn: 41706
|
|
|
|
|
|
| |
GLIBCXX_DEBUG issues.
llvm-svn: 41697
|
|
|
|
| |
llvm-svn: 41506
|
|
|
|
| |
llvm-svn: 41106
|
|
|
|
| |
llvm-svn: 40899
|
|
|
|
| |
llvm-svn: 40808
|
|
|
|
|
|
|
|
| |
LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future.
This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported.
llvm-svn: 40807
|
|
|
|
| |
llvm-svn: 40663
|
|
|
|
|
|
|
|
| |
indexing an empty std::vector.
Updates to all clients.
llvm-svn: 40660
|
|
|
|
| |
llvm-svn: 37801
|
|
|
|
| |
llvm-svn: 37207
|
|
|
|
|
|
| |
keeps llvm-upgrade a simple "source to source" tool.
llvm-svn: 36848
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 36106
|
|
|
|
|
|
|
| |
Functions without names deserve to be created too. This fixes:
test/CodeGen/Generic/vector-constantexpr.ll
llvm-svn: 36105
|
|
|
|
|
|
|
| |
When upgrading global vars, look for conflicts with functions as well. This
fixes test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
llvm-svn: 36103
|
|
|
|
| |
llvm-svn: 36096
|
|
|
|
|
|
|
|
|
| |
Rewrite the upgrade of GEP indices to be a little less obtuse. This fixes
test/Assembler/2002-08-19-BytecodeReader.llx
test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
test/Assembler/2004-01-11-getelementptrfolding.llx
llvm-svn: 36095
|
|
|
|
| |
llvm-svn: 35897
|
|
|
|
|
|
| |
as the key for a map insertion.
llvm-svn: 35896
|
|
|
|
|
|
|
| |
Put the parameter attributes in their own ParamAttr name space. Adjust the
rest of llvm as a result.
llvm-svn: 35877
|
|
|
|
| |
llvm-svn: 35813
|
|
|
|
|
|
| |
Adapt handling of parameter attributes to use ParamAttrsList class.
llvm-svn: 35812
|
|
|
|
| |
llvm-svn: 35736
|
|
|
|
|
|
|
|
| |
For the short CALL/INVOKE syntax, the signedness of the result type is two
extractions away from the type argument because its a POINTER to function
type, not a function type.
llvm-svn: 35735
|
|
|
|
| |
llvm-svn: 35579
|
|
|
|
| |
llvm-svn: 35578
|
|
|
|
| |
llvm-svn: 35571
|
|
|
|
| |
llvm-svn: 35570
|
|
|
|
|
|
| |
rules for overloaded intrinsic functions.
llvm-svn: 35565
|
|
|
|
| |
llvm-svn: 35264
|
|
|
|
| |
llvm-svn: 35237
|
|
|
|
|
|
|
| |
Okay, really fix it this time. Make sure the CurFun.Linkage is set early
and consolidate some duplicate code.
llvm-svn: 35236
|
|
|
|
| |
llvm-svn: 35235
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make Signedness information pervasive throughout all types and values.
There is no easy way to get around this. Because the GEP instruction can
index through an arbitrarily complex value structure, it is necessary to
keep track of signedness information throughout that structure. This change
makes Signedness a full class, capable of representing Signedness in
arbitrarily shaped types. The class is then used throughout llvm-upgrade to
track signedness and differentiate between globals, locals, and functions
based on their signedness.
For PR1243:
This patch also removes bogus warnings about renaming internal globals. It
now only emits such warnings when renaming non-internal globals because
they may affect linkage.
llvm-svn: 35234
|
|
|
|
| |
llvm-svn: 35116
|
|
|
|
| |
llvm-svn: 35115
|