- Nov 12, 2008
-
-
Daniel Dunbar authored
- EmitStmt is no longer required to finish with a current insertion point defined (i.e. it does not need to make dummy blocks). Instead, it can clear the insertion point in the builder which indicates that the current insertion point is unreachable. - CodeGenFunction provides HaveInsertPoint and EnsureInsertPoint which respectively test if there is an insert point and ensure an insertion point exists (by making a dummy block). - Clearly mark functions in CodeGenFunction which can be called with no insertion point defined. Currently this is a limited set, and EmitStmt simply EnsureInsertPoint()s before emitting subsequent IR. Remove EmitDummyBlock, which is no longer needed. Clients who haven't already cleared the insertion point (typically via EmitBranch) can do so by hand. Remove isDummyBlock, which has effectively been renamed to HaveInsertPoint. The main thrust of this change is that we no longer have create dummy blocks just to destroy them a short time later in EmitBlock in the common case that there is no unreachable code following something like a goto. Additionally, this means that we are not using the hokey condition in isDummyBlock that a block without a name is a dummy block. Guess how well that works when we never emit block names! llvm-svn: 59089
-
- Nov 11, 2008
-
-
Evan Cheng authored
llvm-svn: 59088
-
Evan Cheng authored
llvm-svn: 59087
-
Owen Anderson authored
This lets several failing tests get farther along, but doesn't completely fix any of them. llvm-svn: 59086
-
Daniel Dunbar authored
invariants. llvm-svn: 59085
-
Evan Cheng authored
llvm-svn: 59084
-
Dan Gohman authored
before creating the SUnit for the operation that it was unfolded from. This allows each SUnit to have all of its predecessor SUnits available at the time it is created. I don't know yet if this will be absolutely required, but it is a little tidier to do it this way. llvm-svn: 59083
-
Dan Gohman authored
TargetLoweringInfo variables for the scheduler. llvm-svn: 59082
-
Daniel Dunbar authored
llvm-svn: 59081
-
Anton Korobeynikov authored
Patch by Ilya Okonsky! llvm-svn: 59080
-
Oscar Fuentes authored
llvm-svn: 59079
-
Oscar Fuentes authored
llvm-svn: 59077
-
Ted Kremenek authored
- Added support for ObjCForCollectionStmt - Fixed bug where expression values would be always set to uninitialized when loops were involved llvm-svn: 59076
-
Ted Kremenek authored
llvm-svn: 59075
-
Evan Cheng authored
llvm-svn: 59074
-
Ted Kremenek authored
llvm-svn: 59073
-
Chris Lattner authored
llvm-svn: 59072
-
Devang Patel authored
Remove incomplete lto-bugpoint tool. If there is an interest then we can resurrect this tool later on and finish implementation. llvm-svn: 59071
-
Chris Lattner authored
llvm-svn: 59070
-
Chris Lattner authored
llvm-svn: 59069
-
Devang Patel authored
llvm-svn: 59068
-
Chris Lattner authored
llvm-svn: 59067
-
Chris Lattner authored
Document written by Mason Woo (http://www.woo.com)! llvm-svn: 59066
-
Devang Patel authored
llvm-svn: 59064
-
Devang Patel authored
llvm-svn: 59063
-
Chris Lattner authored
llvm-svn: 59061
-
Chris Lattner authored
install directory" Patch by Lukasz Janyst! llvm-svn: 59059
-
Sebastian Redl authored
Introduce a single AST node SizeOfAlignOfExpr for all sizeof and alignof expressions, both of values and types. llvm-svn: 59057
-
Dan Gohman authored
argument instead of taking the SelectionDAG's TargetMachine. This is needed for some upcoming scheduler changes. llvm-svn: 59055
-
Ted Kremenek authored
llvm-svn: 59053
-
Evan Cheng authored
llvm-svn: 59052
-
Oscar Fuentes authored
library is added or changed. llvm-svn: 59051
-
Oscar Fuentes authored
llvm-svn: 59050
-
Ted Kremenek authored
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_7_section_2.html#//apple_ref/doc/uid/TP30001163-CH18-SW3 Need to modify GRExprEngine, LiveVariables, and UninitializedValues to understand this construct. llvm-svn: 59049
-
Oscar Fuentes authored
build on OS X. Fix by Jjgod Jiang! llvm-svn: 59048
-
Anton Korobeynikov authored
llvm-svn: 59047
-
Anton Korobeynikov authored
llvm-svn: 59046
-
Dan Gohman authored
to be sign-extended when it is promoted to 64 bits for intermediate offset calculations. The offset calculations are done as uint64_t so that overflow conditions are well defined. This fixes a problem which is currently hidden by the x86 AsmPrinter but which was exposed by r58917 (which is temporarily reverted). See PR3027 for details. llvm-svn: 59044
-
Dan Gohman authored
llvm-svn: 59043
-
Sebastian Redl authored
llvm-svn: 59042
-