- Apr 14, 2010
-
-
Chris Lattner authored
llvm-svn: 101215
-
Nick Lewycky authored
llvm-svn: 101214
-
Nick Lewycky authored
it can check whether the visible direct callers are passing in parameters to dead arguments and replace those with undef. This reinstates r94322 with bugs fixed. llvm-svn: 101213
-
Chris Lattner authored
llvm-svn: 101212
-
Douglas Gregor authored
receiver is a mis-typed class name. Previously, we would give a non-specific typo-correction diagnostic from the expression-parsing code, but there was no fix-it because it was too late to recover. Now, we give a nice diagnostic honk.m:6:4: error: unknown receiver 'Hnk'; did you mean 'Honk'? [Hnk method]; ^~~ Honk honk.m:1:1: note: 'Honk' declared here @interface Honk ^ which includes a fix-it. We still need to recover better from mis-typing "super". llvm-svn: 101211
-
Dan Gohman authored
llvm-svn: 101210
-
Douglas Gregor authored
super message sends in Objective-C. No actual functionality change here, but it provides a hook so that Sema can typo-correct the receiver in some cases. llvm-svn: 101207
-
Dan Gohman authored
llvm-svn: 101206
-
Johnny Chen authored
involing getBFCInvMask() where lsb <= msb does not hold true, the disassembler just returns false, instead of assert, to indicate disassembly error. llvm-svn: 101205
-
John McCall authored
are invalid. Prevents a crash-on-invalid during template instantiation. I... really don't understand how this wasn't already present. llvm-svn: 101203
-
Devang Patel authored
llvm-svn: 101202
-
Johnny Chen authored
instruction encoding is encountered, we just return a NULL ARMBasicMCBuilder instance and the client just returns false to indicate disassembly error. llvm-svn: 101201
-
John McCall authored
ActOnClassTemplateSpecialization and being very confused. Fixes PR6514 (for non-templated-scope friends). llvm-svn: 101198
-
Fariborz Jahanian authored
blocks. Fixes PR6468. llvm-svn: 101196
-
Ted Kremenek authored
measurements of '-fsyntax-only' on combine.c (403.gcc) shows no real performance change, but now the vector isn't leaked. llvm-svn: 101195
-
Ted Kremenek authored
using the allocator associated with an ASTContext. This is largely copy-and-paste from SmallVector, and should be refactored one day. llvm-svn: 101194
-
Ted Kremenek authored
llvm-svn: 101193
-
Daniel Dunbar authored
IRgen: Move EmitLoadOfBitfieldLValue to use new CGBitfieldInfo::AccessInfo decomposition, instead of computing the access policy itself. - This lets the method focus slightly more on emitting clean IR to honor the policy which has been selected. On 403.gcc's combine.c, x86_64, -O0, this reduces the number of lines in the .ll file (~= # of instructions) by 2.5%. - No intended functionality change -- at -O3 this should produce equivalent if not identical output. On 403.gcc's combine.c, x86_64, -O3, this isn't quite true and some of the changes are regressions, but I'm not going to worry about that until we move to a new access policy. - There is still some room for improvement in the generated IR, in particular we can usually fold the sign-extension of the bit-field into one of the component access. See the FIXME. llvm-svn: 101192
-
Daniel Dunbar authored
llvm-svn: 101191
-
Devang Patel authored
This test relies on iSel lowering dbg_declare intrinsic when CodeGen::OptLevel is None. On PPC side, CodeGen::OptLevel stays to default when -O0 is used on the command line. llvm-svn: 101190
-
Douglas Gregor authored
bit (we're not trying to build a shared library yet) and generating the X86GenEDInfo.inc and ARMGenEDInfo.inc files as necessary. llvm-svn: 101188
-
John McCall authored
code the first time. Fixes PR6827. llvm-svn: 101184
-
Evan Cheng authored
llvm-svn: 101183
-
Evan Cheng authored
llvm-svn: 101182
-
Bob Wilson authored
such that the entire second half is in memory. Radar 7855014. llvm-svn: 101181
-
- Apr 13, 2010
-
-
Sean Callanan authored
NULL. llvm-svn: 101180
-
Sean Callanan authored
code. It used to #include the enhanced disassembly information for the targets it supported straight out of lib/Target/{X86,ARM,...} but now it uses a new interface provided by MCDisassembler, and (so far) implemented by X86 and ARM. Also removed hacky #define-controlled initialization of targets in edis. If clients only want edis to initialize a limited set of targets, they can set --enable-targets on the configure command line. llvm-svn: 101179
-
Daniel Dunbar authored
IRgen: Enhance CGBitFieldInfo with enough information to fully describe the "policy" with which a bit-field should be accessed. - For now, these policies are computed to match the current IRgen strategy, although the new information isn't being used yet (except in -fdump-record-layouts). - Design comments appreciated. llvm-svn: 101178
-
Ted Kremenek authored
llvm-svn: 101177
-
Daniel Dunbar authored
llvm-svn: 101176
-
John McCall authored
llvm-svn: 101173
-
Johnny Chen authored
instead of 7, because we are only looking for even rotate amount. llvm-svn: 101172
-
Devang Patel authored
llvm-svn: 101171
-
Evan Cheng authored
llvm-svn: 101170
-
Fariborz Jahanian authored
for non-fragile abi on darwin. llvm-svn: 101168
-
Evan Cheng authored
Expand postra machine licm's capability a little more. If an instruction's register operands are all loop invariants, then it's safe to hoist it. llvm-svn: 101167
-
Jakob Stoklund Olesen authored
Sometimes it is desirable to sink instructions along a critical edge: x = ... if (a && b) ... else use(x); The 'a && b' condition creates a critical edge to the else block, but we still want to sink the computation of x into the block. The else block is dominated by the parent block, so we are not pushing instructions into new code paths. llvm-svn: 101165
-
Fariborz Jahanian authored
on objc classes for Darwin. Radar 7839485. llvm-svn: 101164
-
Evan Cheng authored
llvm-svn: 101163
-
Evan Cheng authored
Re-apply 101075 and fix it properly. Just reuse the debug info of the branch instruction being optimized. There is no need to --I which can deref off start of the BB. llvm-svn: 101162
-