| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
call, don't discard them.
llvm-svn: 45884
|
| |
|
|
| |
llvm-svn: 45418
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 44933
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
methods are new to Function:
bool hasCollector() const;
const std::string &getCollector() const;
void setCollector(const std::string &);
void clearCollector();
The assembly representation is as such:
define void @f() gc "shadow-stack" { ...
The implementation uses an on-the-side table to map Functions to
collector names, such that there is no overhead. A StringPool is
further used to unique collector names, which are extremely
likely to be unique per process.
llvm-svn: 44769
|
| |
|
|
| |
llvm-svn: 44545
|
| |
|
|
|
|
| |
Thanks goes to PyPy folks for generating broken stuff :)
llvm-svn: 44538
|
| |
|
|
|
|
|
|
| |
attributes. While there, I noticed that not all
attribute methods returned a pointer-to-constant,
so I fixed that.
llvm-svn: 44457
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
and the 'pure' parameter attribute to 'readonly'.
Names suggested by DannyB.
llvm-svn: 44273
|
| |
|
|
|
|
|
| |
drops a dependency on flex and lets us make future progress more
easily. Yay for 2 fewer .cvs files to make silly conflicts with.
llvm-svn: 44213
|
| |
|
|
| |
llvm-svn: 44181
|
| |
|
|
| |
llvm-svn: 44109
|
| |
|
|
| |
llvm-svn: 43744
|
| |
|
|
|
|
|
| |
parameters. Rename ValueRefList to ParamList
in AsmParser, since its only use is for parameters.
llvm-svn: 43734
|
| |
|
|
|
|
|
| |
Next round of x87 long double stuff.
Getting close now, basically works.
llvm-svn: 41875
|
| |
|
|
|
|
|
|
|
| |
access to bits). Use them in place of float and
double interfaces where appropriate.
First bits of x86 long double constants handling
(untested, probably does not work).
llvm-svn: 41858
|
| |
|
|
| |
llvm-svn: 41815
|
| |
|
|
| |
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
|
| |
|
|
|
|
| |
GLIBCXX_DEBUG issues.
llvm-svn: 41697
|
| |
|
|
| |
llvm-svn: 41506
|
| |
|
|
| |
llvm-svn: 40874
|
| |
|
|
|
|
|
|
| |
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: 40774
|
| |
|
|
|
|
|
|
| |
indexing an empty std::vector.
Updates to all clients.
llvm-svn: 40660
|
| |
|
|
|
|
| |
permitted on function results. So, revert the last patch to make it illegal.
llvm-svn: 40632
|
| |
|
|
|
|
|
|
| |
function result to be passed in a register. This implements the GCC regparm
function attribute for llvm by translation to the InReg parameter attribute
and fixes test/CFrontend/2002-07-30-SubregSetAssertion.c
llvm-svn: 40619
|
| |
|
|
|
|
|
|
| |
Make the AsmParser auto-upgrade the old zext and sext
keywords for parameter attributes and handle the
end-of-line ambiguity.
llvm-svn: 40610
|
| |
|
|
|
|
| |
still under discussion.
llvm-svn: 40549
|
| |
|
|
|
|
|
|
| |
Change the keywords for the zext and sext parameter attributes to be
zeroext and signext so they don't conflict with the keywords for the
instructions of the same name. This gets around the ambiguity.
llvm-svn: 40069
|
| |
|
|
| |
llvm-svn: 37940
|
| |
|
|
|
|
|
| |
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.
llvm-svn: 37432
|
| |
|
|
|
|
| |
and strings.
llvm-svn: 37291
|
| |
|
|
|
|
| |
with global names which can already be @"..."
llvm-svn: 37257
|
| |
|
|
| |
llvm-svn: 36739
|
| |
|
|
|
|
| |
should be taught to deal with protected symbols.
llvm-svn: 36565
|
| |
|
|
| |
llvm-svn: 36542
|
| |
|
|
| |
llvm-svn: 36539
|
| |
|
|
|
|
| |
bitcasts of them.
llvm-svn: 36537
|
| |
|
|
|
|
|
|
| |
Fix PR1358 and test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll, by
creating forward decl globals with linkage extern_weak to defeat implicit
constant folding.
llvm-svn: 36469
|
| |
|
|
| |
llvm-svn: 36454
|
| |
|
|
| |
llvm-svn: 36443
|
| |
|
|
|
|
| |
will follow.
llvm-svn: 36435
|
| |
|
|
|
|
| |
volatile/align to LLVM.
llvm-svn: 36349
|
| |
|
|
|
|
|
|
| |
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: 36309
|
| |
|
|
| |
llvm-svn: 36301
|
| |
|
|
|
|
| |
used because we *do* want to allow nulls in names.
llvm-svn: 36178
|