| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
bit-field LValues to just store the base address of object containing the bit-field.
llvm-svn: 100745
|
| |
|
|
| |
llvm-svn: 100513
|
| |
|
|
| |
llvm-svn: 100511
|
| |
|
|
|
|
|
|
|
| |
- Unfortunately, this requires some horrible code in CGObjCMac which always
allocats a CGBitFieldInfo because we don't currently build a proper layout
for Objective-C classes. It needs to be cleaned up, but I don't want the
bit-field cleanups to be blocked on that.
llvm-svn: 100474
|
| |
|
|
| |
llvm-svn: 100433
|
| |
|
|
|
|
|
|
| |
of CodeGenTypes, to per-record CGRecordLayout structures.
- I did a cursory check that this was perf neutral, FWIW.
llvm-svn: 99978
|
| |
|
|
|
|
|
| |
null checks, and make sure we elide null checks when accessing base class
members.
llvm-svn: 99963
|
| |
|
|
| |
llvm-svn: 99944
|
| |
|
|
|
|
|
|
|
| |
Clang's support for weakref is now better than llvm-gcc's :-)
We don't introduce a new symbol and we correctly mark undefined references weak only if there is no
definition or regular undefined references in the same file.
llvm-svn: 97733
|
| |
|
|
|
|
| |
converted "not-for-memory". Dunno a better name.
llvm-svn: 96374
|
| |
|
|
| |
llvm-svn: 96373
|
| |
|
|
|
|
|
|
|
| |
on the alloca.
The fact that codegen makes this class of bug so wonderfully easy to make is
embarrassing.
llvm-svn: 96204
|
| |
|
|
|
|
| |
complete function type of the member functions (using PredefinedExpr::ComputeName.
llvm-svn: 95887
|
| |
|
|
|
|
|
|
|
|
| |
particular type, and flood fill. - CreateMemTemp sets the alignment on the alloca correctly, which fixes a great many places in IRgen where we were doing the wrong thing.
- This fixes many many more places than the test case, but my feeling is we need to audit alignment systematically so I'm not inclined to try hard to test the individual fixes in this patch. If this bothers you, patches welcome!
PR6240.
llvm-svn: 95648
|
| |
|
|
|
|
| |
element type always matched the converted LLVM type for ExprType.
llvm-svn: 95596
|
| |
|
|
|
|
|
|
|
|
|
|
| |
follows (as conservatively as possible) gcc's current behavior: attributes
written on return types that don't apply there are applied to the function
instead, etc. Only parse CC attributes as type attributes, not as decl attributes;
don't accepet noreturn as a decl attribute on ValueDecls, either (it still
needs to apply to other decls, like blocks). Consistently consume CC/noreturn
information throughout codegen; enforce this by removing their default values
in CodeGenTypes::getFunctionInfo().
llvm-svn: 95436
|
| |
|
|
| |
llvm-svn: 95430
|
| |
|
|
| |
llvm-svn: 95423
|
| |
|
|
| |
llvm-svn: 95416
|
| |
|
|
|
|
| |
conceptually correct. Review appreciated (Chris, Eli, Anders).
llvm-svn: 95401
|
| |
|
|
|
|
|
| |
getting the calling convention from the target function, which may or may not
exist. Fixes PR5280.
llvm-svn: 95399
|
| |
|
|
|
|
|
|
| |
need to deal with aggregates specially; this is consistent with the rest of IRgen.
Also, simplify EmitParmDecl and don't worry about using Decl::getNameAsString.
llvm-svn: 95393
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
With this fix, and the other fixes committed today a make check-all with a clang-built LLVM now gives:
Expected Passes : 6933
Expected Failures : 46
Unsupported Tests : 40
Unexpected Failures: 27
which means that we pass 99.96% of all tests :) The resulting 27 tests are all LLVMC tests and seem to be because of differences in the clang and gcc drivers.
llvm-svn: 95313
|
| |
|
|
|
|
| |
conditional operator as an lvalue.
llvm-svn: 95311
|
| |
|
|
|
|
| |
for the reference binding bug that is preventing self-hosting.
llvm-svn: 95223
|
| |
|
|
|
|
| |
CGExprConstant. Fixes PR5674.
llvm-svn: 95063
|
| |
|
|
|
|
| |
references.
llvm-svn: 94964
|
| |
|
|
|
|
| |
initializing fields (and reference type fields in particular).
llvm-svn: 94799
|
| |
|
|
|
|
| |
union or not from the FieldDecl (through its DeclContext).
llvm-svn: 94798
|
| |
|
|
| |
llvm-svn: 94791
|
| |
|
|
| |
llvm-svn: 94563
|
| |
|
|
|
|
|
|
|
|
| |
"ASTContext::getTypeSize() / 8". Replace [u]int64_t variables with CharUnits
ones as appropriate.
Also rename RawType, fromRaw(), and getRaw() in CharUnits to QuantityType,
fromQuantity(), and getQuantity() for clarity.
llvm-svn: 93153
|
| |
|
|
| |
llvm-svn: 93076
|
| |
|
|
|
|
| |
lvalue to poke, no functionality change.
llvm-svn: 93075
|
| |
|
|
| |
llvm-svn: 92491
|
| |
|
|
| |
llvm-svn: 92153
|
| |
|
|
|
|
| |
LLVM-Code-Symbols test.
llvm-svn: 92152
|
| |
|
|
| |
llvm-svn: 92145
|
| |
|
|
|
|
| |
halfway towards fixing PR5824.
llvm-svn: 92142
|
| |
|
|
| |
llvm-svn: 92138
|
| |
|
|
|
|
| |
the other overload better.
llvm-svn: 92136
|
| |
|
|
| |
llvm-svn: 92057
|
| |
|
|
|
|
| |
error_unsupported on test10 and crashed on test11.
llvm-svn: 92056
|
| |
|
|
| |
llvm-svn: 91733
|
| |
|
|
| |
llvm-svn: 91498
|
| |
|
|
|
|
|
|
|
| |
non-existing 'isa' field of a non-existing struct type
all related to legacy type definition for 'id' which we have
dropped in clang in favor of a built-in type.
(fixes radar 7470820).
llvm-svn: 91455
|
| |
|
|
| |
llvm-svn: 91450
|
| |
|
|
| |
llvm-svn: 91386
|
| |
|
|
|
|
| |
-fcatch-undefined-behavior if we aren't optimizing. WIP.
llvm-svn: 91382
|
| |
|
|
|
|
| |
instead of abort to improve codesize and codegen.
llvm-svn: 91374
|