| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 59061
|
|
|
|
|
|
| |
expressions, both of values and types.
llvm-svn: 59057
|
|
|
|
|
|
|
| |
- Emits an unconditional branch, with extra logic to avoid generating
spurious branches out of dummy blocks.
llvm-svn: 59037
|
|
|
|
|
|
|
|
| |
the size of the -O0 output on some cases. For example, on expr.c from
176.gcc, it shrinks the .ll file from 43164 to 42835 lines, and removed
references to two external symbols.
llvm-svn: 59034
|
|
|
|
|
|
|
| |
condition is a constant. This shrinks -O0 codegen by quite a bit
on some cases.
llvm-svn: 59033
|
|
|
|
| |
llvm-svn: 59032
|
|
|
|
|
|
|
| |
"dummy" blocks (blocks just used to make sure we have a place to dump
code to).
llvm-svn: 59022
|
|
|
|
|
|
| |
- Was confusing and only used in one small part of the code.
llvm-svn: 59020
|
|
|
|
|
|
| |
- No functionality change.
llvm-svn: 59017
|
|
|
|
|
|
| |
speeds up the compiler by ~8% at -emit-llvm -O0.
llvm-svn: 58977
|
|
|
|
|
|
|
|
|
| |
1. emit proper debug info for forward decls of structs.
2. emit DW_TAG_member nodes around members of a field like llvm-gcc does.
This slows down debug info generation, but is required for correctness.
llvm-svn: 58973
|
|
|
|
|
|
|
| |
using MachineModuleInfo. This runs at about the same speed as the old
code, but fixes a bunch of bugs and is simpler and shorter.
llvm-svn: 58971
|
|
|
|
| |
llvm-svn: 58940
|
|
|
|
| |
llvm-svn: 58892
|
|
|
|
|
|
| |
generate the type of a member.
llvm-svn: 58889
|
|
|
|
| |
llvm-svn: 58704
|
|
|
|
|
|
| |
'super'. Remove ObjCThis from PredefinedExpr
llvm-svn: 58698
|
|
|
|
|
|
| |
now).
llvm-svn: 58681
|
|
|
|
| |
llvm-svn: 58680
|
|
|
|
| |
llvm-svn: 58602
|
|
|
|
|
|
| |
- No functionality change.
llvm-svn: 58546
|
|
|
|
|
|
|
|
|
|
| |
etc more generic. For some targets, long may not be equal to pointer size. For
example: PIC16 has int as i16, ptr as i16 but long as i32.
Also fixed a few build warnings in assert() functions in CFRefCount.cpp,
CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp.
llvm-svn: 58501
|
|
|
|
|
|
| |
type.
llvm-svn: 58497
|
|
|
|
|
|
|
| |
recursive types.
- Style will be clean up in further patches.
llvm-svn: 58490
|
|
|
|
|
|
| |
- No functionality change.
llvm-svn: 58488
|
|
|
|
|
|
|
|
|
|
| |
- That is, the metadata for a protocol is only emitted if that
protocol is actually used in the translation unit. This is
important because Objective-C headers frequently contain a large
number of protocol definitions, only a few of which will be used in
any given file.
llvm-svn: 58400
|
|
|
|
|
|
|
|
|
|
|
| |
va_list, not the value. Patch fixes an assert on
x86-64 and a wrong-code bug on x86. I'm not completely sure,
but I think it's a regression from r58306.
Does anyone run regression tests regularly on x86-64? The crash should
have been picked up there.
llvm-svn: 58366
|
|
|
|
|
|
| |
in the driver (this means we no longer run the verifier per function, however).
llvm-svn: 58307
|
|
|
|
| |
llvm-svn: 58304
|
|
|
|
|
|
|
|
| |
t.c:1:13: error: cannot codegen this designators yet
int a[10] = {2, 4, [8]=9, 10};
^~~~~~~~~~~~~~~~~
llvm-svn: 58220
|
|
|
|
|
|
| |
must be under the `tools' subdirectory of the LLVM *source* tree.
llvm-svn: 58180
|
|
|
|
|
|
| |
CGDebugInfo::getOrCreateCompileUnit.
llvm-svn: 58081
|
|
|
|
|
|
|
|
|
| |
FileIDs. This seems better conceptually and lets the SourceManager
handle details of mapping the location to a file ID.
- In practice, fixes an assert because this code wasn't using
getPhysicalLoc.
llvm-svn: 58055
|
|
|
|
| |
llvm-svn: 57924
|
|
|
|
| |
llvm-svn: 57909
|
|
|
|
|
|
| |
for Obj-C methods.
llvm-svn: 57769
|
|
|
|
| |
llvm-svn: 57745
|
|
|
|
| |
llvm-svn: 57743
|
|
|
|
|
|
|
| |
- Shouldn't assume predefined expr is a function printing one.
- Uses CGM functionality to cache function names per module.
llvm-svn: 57737
|
|
|
|
|
|
|
| |
(first) global holding the string.
- No functionality change.
llvm-svn: 57736
|
|
|
|
|
|
| |
assert.
llvm-svn: 57721
|
|
|
|
| |
llvm-svn: 57716
|
|
|
|
|
|
|
| |
- Encode unions and bit-fields correctly.
- Accept option to name record fields (used for NeXT runtime).
llvm-svn: 57685
|
|
|
|
|
|
|
|
|
| |
simplifies clients.
Also, add assert that RegionStack is empty when the CGDebugInfo is
destroyed.
llvm-svn: 57684
|
|
|
|
|
|
| |
floating point. This is only correct for x86-32 at the moment.
llvm-svn: 57667
|
|
|
|
|
|
|
|
|
|
| |
structure.
- I'm not sure yet about the behavior, but this at least prevents the
crash.
Add some asserts on RegionStack usage.
llvm-svn: 57661
|
|
|
|
| |
llvm-svn: 57563
|
|
|
|
|
|
|
| |
Instead of using two sets of Decl kinds (Struct/Union/Class and CXXStruct/CXXUnion/CXXClass), use one 'Record' and one 'CXXRecord' Decl kind and make tag kind a property of TagDecl.
Cleans up the code a bit and better reflects that Decl class structure.
llvm-svn: 57541
|
|
|
|
|
|
|
|
| |
- Currently still lives in CGCall.cpp but is intended to be the
target specific place for hooking ABI information.
- Select ABIInfo to use based on Target's prefix and pointer width.
llvm-svn: 57445
|
|
|
|
| |
llvm-svn: 57392
|