summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement -Wmissing-field-initializers. Patch by mikem!John McCall2010-03-114-1/+73
| | | | llvm-svn: 98275
* Lower stpcpy_chk when possible.Eric Christopher2010-03-114-6/+45
| | | | llvm-svn: 98274
* Bad bad bug. x86 force indirect tail call address into eax when it's meant ↵Evan Cheng2010-03-112-3/+3
| | | | | | to force it into a call preserved register instead. Change it to ecx for now. llvm-svn: 98270
* Remove dead code. (S|U)MUL_LO is now lowered to LMUL or MACC(S|U)Richard Osborne2010-03-111-23/+0
| | | | llvm-svn: 98269
* Avoid leaking CompileUnits in DwarfDebug.cpp.Jeffrey Yasskin2010-03-112-14/+15
| | | | llvm-svn: 98268
* Use -emit-llvm-only, to avoid leaving a temp around.Daniel Dunbar2010-03-111-1/+1
| | | | llvm-svn: 98267
* MC/Mach-O: Add MCSymbolData::getAddress() utility.Daniel Dunbar2010-03-112-4/+9
| | | | llvm-svn: 98266
* Add tentative support for accessing local variables withFariborz Jahanian2010-03-113-8/+99
| | | | | | | external linkage (static, extern, etc.) in blocks in rewriter. wip. llvm-svn: 98265
* fix PR6433, crash on va_arg of typedef.Chris Lattner2010-03-112-8/+20
| | | | llvm-svn: 98264
* Driver: Free Action objects.Daniel Dunbar2010-03-113-6/+17
| | | | llvm-svn: 98263
* Driver: Free synthesized derived arguments.Daniel Dunbar2010-03-112-8/+15
| | | | llvm-svn: 98262
* Driver: Free jobs in JobList and PipedJob instances.Daniel Dunbar2010-03-112-0/+14
| | | | llvm-svn: 98261
* Fix typo.Eric Christopher2010-03-111-1/+1
| | | | llvm-svn: 98260
* Update checker build.Ted Kremenek2010-03-111-1/+1
| | | | llvm-svn: 98259
* Add dag combine to simplify lmul(x, 0, a, b)Richard Osborne2010-03-112-0/+40
| | | | llvm-svn: 98258
* Use the new vtable layout code for computing virtual base offset offsets.Anders Carlsson2010-03-111-15/+18
| | | | llvm-svn: 98257
* Switch XCore over to using inline jump table entries.Richard Osborne2010-03-112-0/+6
| | | | llvm-svn: 98256
* Add a new jump table encoding to indicate jump tables entriesRichard Osborne2010-03-114-1/+16
| | | | | | are inside the function by the target at the point of use. llvm-svn: 98255
* Correctly mangle address of member in template arguments. Fixes PR6460Rafael Espindola2010-03-112-20/+88
| | | | llvm-svn: 98254
* Fix a self-host problem caused by this over-eager assertion. I'm not sureJohn McCall2010-03-112-2/+6
| | | | | | there's a good equivalent that's actually true, unfortunately. llvm-svn: 98253
* Maintain type source information for functions through templateJohn McCall2010-03-116-95/+193
| | | | | | | | | | | instantiation. Based on a patch by Enea Zaffanella! I found a way to reduce some of the redundancy between TreeTransform's "standard" FunctionProtoType transformation and TemplateInstantiator's override, and I killed off the old SubstFunctionType by adding type source info for the last cases where we were creating FunctionDecls without TSI (at least that get passed through template instantiation). llvm-svn: 98252
* The check for coalescing a virtual register to a physical register, e.g.Evan Cheng2010-03-114-15/+61
| | | | | | | | | cl = EXTRACT_SUBREG reg1024, 1, is overly conservative. It should check for overlaps of vr's live interval with the super registers of the physical register (ECX in this case) and let JoinIntervals() handle checking the coalescing feasibility against the physical register (cl in this case). llvm-svn: 98251
* Update CMake build.Ted Kremenek2010-03-111-0/+1
| | | | llvm-svn: 98250
* Split C++ friend declarations into their own header/implementation file.John McCall2010-03-119-96/+141
| | | | | | | | | I'm expecting this portion of the AST to grow and change, and I'd like to be able to do that with minimal recompilation. If this proves unnecessary when access control is fully-implemented, I'll fold the classes back into DeclCXX.h. llvm-svn: 98249
* Rename getVirtualBaseOffsetIndex to getVirtualBaseOffsetOffset to reflect ↵Anders Carlsson2010-03-115-28/+30
| | | | | | what it actually does. llvm-svn: 98248
* When possible, use the vbase offset offsets from the most derived class ↵Anders Carlsson2010-03-111-3/+10
| | | | | | directly. llvm-svn: 98247
* Add a test.Anders Carlsson2010-03-111-0/+7
| | | | llvm-svn: 98246
* Keep track of, and dump, vbase offset offsets.Anders Carlsson2010-03-111-15/+77
| | | | llvm-svn: 98245
* Have fast-isel understand llvm.objectsize. Update testcase for slightlyEric Christopher2010-03-112-1/+25
| | | | | | different codegen. llvm-svn: 98244
* Make clang bootstrap happier on OSX 10.5 by reducing the number of headersJeffrey Yasskin2010-03-112-39/+67
| | | | | | | | | included when using global symbols to ask the linker for the addresses of various functions. One of the symbols was actually getting declared by a header included in DynamicLibrary.cpp, which conflicted with the "extern void*" declaration in SearchForAddressOfSpecialSymbol(). llvm-svn: 98243
* Fix tests.Anders Carlsson2010-03-111-1/+1
| | | | llvm-svn: 98242
* MC/Mach-O: Implement "absolutizing" semantics of .set, by evaluating the ↵Daniel Dunbar2010-03-113-4/+99
| | | | | | assembly time value of variables. llvm-svn: 98241
* MC/Mach-O: Start passing in the basic MCAsmLayout object.Daniel Dunbar2010-03-112-27/+15
| | | | | | - Also, drop the current location part of AsmLayout, I think I prefer to implement this via explicit symbols. llvm-svn: 98240
* Run the new vtable builder for construction vtables as well now. Note that ↵Anders Carlsson2010-03-111-13/+10
| | | | | | we still don't use the data it generates. llvm-svn: 98239
* More record layout builder cleanup and simplification.Anders Carlsson2010-03-112-38/+24
| | | | llvm-svn: 98238
* Get rid of the PrimaryBase parameter from LayoutVirtualBases.Anders Carlsson2010-03-112-15/+20
| | | | llvm-svn: 98233
* More cleanup towards fixing the real bug.Anders Carlsson2010-03-111-18/+31
| | | | llvm-svn: 98232
* Replace the class offset vectors in RecordLayoutBuilder with maps instead so ↵Anders Carlsson2010-03-114-50/+47
| | | | | | we'll have faster lookup and so we can detect duplicates. llvm-svn: 98231
* More cleanup.Anders Carlsson2010-03-111-18/+15
| | | | llvm-svn: 98230
* More record layout builder cleanup.Anders Carlsson2010-03-112-11/+12
| | | | llvm-svn: 98229
* Do some final lowering in CodeGenPrepare of _chk calls similar toEric Christopher2010-03-111-0/+134
| | | | | | | | that in InstCombineCalls. More call lowering needed. llvm-svn: 98228
* MC: Sketch initial MCAsmLayout class, which encapsulates the current layout ↵Daniel Dunbar2010-03-116-14/+72
| | | | | | of an assembly file. The MCAsmLayout is also available for use by MCExpr::EvaluateAs{Absolute,Relocatable}, to allow target specific hooks and "absolutizing" of symbols. llvm-svn: 98227
* Fix (unused) RegisterAsmBackend template, clang++ isn't happy about this.Daniel Dunbar2010-03-111-2/+3
| | | | llvm-svn: 98226
* Remove dead include.Daniel Dunbar2010-03-111-1/+0
| | | | llvm-svn: 98225
* Fix debug_value handling.Dale Johannesen2010-03-111-2/+6
| | | | llvm-svn: 98224
* Assert that primary bases always have offset 0.Anders Carlsson2010-03-112-0/+15
| | | | llvm-svn: 98223
* MC: Provide MCAssembler with a TargetAsmBackend.Daniel Dunbar2010-03-117-23/+27
| | | | llvm-svn: 98222
* MC: Sketch some TargetAsmBackend hooks we are going to need.Daniel Dunbar2010-03-112-2/+44
| | | | llvm-svn: 98221
* MC: Provide the target triple to AsmBackend constructors.Daniel Dunbar2010-03-113-11/+11
| | | | llvm-svn: 98220
* Add strncpy libcall creator. Use it when it should be used.Eric Christopher2010-03-113-1/+27
| | | | llvm-svn: 98219
OpenPOWER on IntegriCloud