- Nov 18, 2007
-
-
Chris Lattner authored
llvm-svn: 44218
-
Chris Lattner authored
call x86_fastcallcc void @func( i32* %X, i64 0 ) not: callx86_fastcallcc void @func( i32* %X, i64 0 ) This fixes Codegen/X86/fast-cc-merge-stack-adj.ll llvm-svn: 44217
-
Chris Lattner authored
llvm-svn: 44216
-
Chris Lattner authored
llvm-svn: 44215
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 44212
-
Chris Lattner authored
llvm-svn: 44211
-
Chris Lattner authored
one dependency on flex and gets rid of two ".cvs" files. llvm-svn: 44210
-
- Nov 17, 2007
-
-
Steve Naroff authored
Now that we are passing back "free standing decls", make sure -ast-dump works like -ast-print. Also added a cast to be safe... llvm-svn: 44209
-
Steve Naroff authored
Make sure Sema::ParsedFreeStandingDeclSpec() returns a decl representing the type. Adding basic printing to StmtPrinter::PrintRawDecl(). llvm-svn: 44208
-
Nate Begeman authored
llvm-svn: 44204
-
Ted Kremenek authored
http://llvm.org/viewvc/llvm-project?rev=44199&view=rev This patch completely broke serialization due to an invariant I assumed but did not hold. The assumed invariant was that all pointer IDs emitted by a call to BatchEmitOwnedPtrs would be consecutive. This is only the case if there has been no forward references to an owned pointer (and hence already registered with the Serializer object). llvm-svn: 44203
-
Dale Johannesen authored
fix an occasional nonrepeatable bootstrap failure we've been seeing on Darwin. llvm-svn: 44202
-
Dale Johannesen authored
PR 1804. llvm-svn: 44201
-
Ted Kremenek authored
Deserialize::ReadDiffPtrID to read and emit bools instead of unsigned integers. This should result in a nice space optimization once we have "auto-abbreviation" generation in place. llvm-svn: 44200
-
Ted Kremenek authored
SerializedPtrID, followed by the *differences* in IDs. The big idea is that most IDs will be just be 1 off from the previous (either that or NULL, which we encode as a difference if 0), so this will greatly reduce the encoding space for extra IDs to just 1 bit per pointer. So far this optimization reduces serialization of Carbon.h by only 1%, but we aren't using any abbreviations now in the Bitcode file to properly take advantage of this optimization. llvm-svn: 44199
-
Evan Cheng authored
When a live interval is being spilled, rather than creating short, non-spillable intervals for every def / use, split the interval at BB boundaries. That is, for every BB where the live interval is defined or used, create a new interval that covers all the defs and uses in the BB. This is designed to eliminate one common problem: multiple reloads of the same value in a single basic block. Note, it does *not* decrease the number of spills since no copies are inserted so the split intervals are *connected* through spill and reloads (or rematerialization). The newly created intervals can be spilled again, in that case, since it does not span multiple basic blocks, it's spilled in the usual manner. However, it can reuse the same stack slot as the previously split interval. This is currently controlled by -split-intervals-at-bb. llvm-svn: 44198
-
Evan Cheng authored
llvm-svn: 44197
-
Evan Cheng authored
llvm-svn: 44196
-
Dale Johannesen authored
orthogonal to the main problem there) llvm-svn: 44194
-
- Nov 16, 2007
-
-
Tanya Lattner authored
llvm-svn: 44193
-
Ted Kremenek authored
own the decl they reference if it is a FunctionDecl. Note that his ownership property is still considered a hack, and should be fixed. llvm-svn: 44192
-
Ted Kremenek authored
query for the number of parameters for FunctionDecls that had type FunctionTypeNoProto. llvm-svn: 44191
-
Chris Lattner authored
This fixes a bug reported by Seo Sanghyeon. This was meant to be committed yesterday, but the commit failed. doh. llvm-svn: 44190
-
Anton Korobeynikov authored
llvm-svn: 44189
-
Chris Lattner authored
llvm-svn: 44188
-
Chris Lattner authored
llvm-svn: 44187
-
Anton Korobeynikov authored
llvm-svn: 44183
-
Anton Korobeynikov authored
Codegen bits and llvm-gcc support will follow. llvm-svn: 44182
-
- Nov 15, 2007
-
-
Nate Begeman authored
llvm-svn: 44181
-
Chris Lattner authored
llvm-svn: 44180
-
Chris Lattner authored
llvm-svn: 44179
-
Chris Lattner authored
llvm-svn: 44178
-
Anton Korobeynikov authored
llvm-svn: 44177
-
Ted Kremenek authored
Some FunctionDecls do not appear at the top-level or are owned by a DeclStmt. In calls to implicitly defined functions, a FunctionDecl is created, but only the DeclRefExprs reference them. Since an implicitly defined function may be called multiple times, there is no clear ownership model for such objects. Temporary solution: when serializing out DeclRefExprs, emit an ownership bit for the Decl. This bit is determined by querying the serializer to see if the Decl has already been serialized. If it hasn't, emit the Decl as an owned pointer. I repeat: this is a hack. This should be fixed. llvm-svn: 44176
-
Ted Kremenek authored
Added missing deserialization case in Stmt::Create() switch statement. llvm-svn: 44175
-
Daniel Berlin authored
llvm-svn: 44174
-
Steve Naroff authored
No need to forward declare definition of objc_super... llvm-svn: 44173
-
Steve Naroff authored
Finish up variadic methods/messages. llvm-svn: 44172
-
Steve Naroff authored
Implement support for variadic methods (work in progress). llvm-svn: 44171
-