- Sep 15, 2009
-
-
Chris Lattner authored
and PIC codegen. Patch by Venkatraman Govindaraju! llvm-svn: 81877
-
Ted Kremenek authored
with binary operators. The result of a binary operator may be undefined even if its operands are well-defined. llvm-svn: 81874
-
Fariborz Jahanian authored
function for delete of a class expression and issue good diagnostic when result is ambiguous. llvm-svn: 81870
-
Douglas Gregor authored
ordering, along with another test case for partial ordering of partial specializations. llvm-svn: 81869
-
Anders Carlsson authored
llvm-svn: 81868
-
Anders Carlsson authored
llvm-svn: 81867
-
Douglas Gregor authored
(C++ [temp.class.order]). llvm-svn: 81866
-
Fariborz Jahanian authored
llvm-svn: 81865
-
Dan Gohman authored
not folded in the constant folder because the constant folder doesn't simplify ConstantExpr operands. llvm-svn: 81864
-
Anders Carlsson authored
llvm-svn: 81863
-
Dan Gohman authored
llvm-svn: 81862
-
Dan Gohman authored
instead of cloning and RAUWing it. - Make AbstractTypeUser a friend of Value so that it can offer its subclasses a way to update a Value's type in place. This is better than a universally visible setType method on Value, and it's sufficient for the immediate need. - Eliminate the constant "convert" functions. This eliminates a lot of logic duplication, and fixes a complicated bug where a constant can't actually be cloned during the type refinement process because some of the types that its folder needs are half-destroyed, being in the middle of refinement themselves. - Move the getValType functions from being static overloaded functions in Constants.cpp to be members of class template specializations in ConstantsContext.h. This means that the code ends up getting instantiated twice, however it also makes it possible to eliminate all "convert" functions, so it's not a big net code size increase. And if desired, the duplicate instantiations could be eliminated with some reorganization. llvm-svn: 81861
-
Dan Gohman authored
llvm-svn: 81860
-
Dan Gohman authored
llvm-svn: 81859
-
Dan Gohman authored
llvm-svn: 81858
-
Dan Gohman authored
llvm-svn: 81857
-
Dan Gohman authored
llvm-svn: 81856
-
Anders Carlsson authored
llvm-svn: 81852
-
Nick Lewycky authored
llvm-svn: 81851
-
Evan Cheng authored
llvm-svn: 81850
-
Evan Cheng authored
Another try at early partial coalescing. Identity phi source copies (their sources are defined by phi join def) are coalesced. And the phi join copy is backward copy propagated into the other copies. Still miscompiling some tests. :-( llvm-svn: 81849
-
Chris Lattner authored
llvm-svn: 81848
-
Anders Carlsson authored
When performing an user defined conversion sequence, perform the initial standard conversion sequence. This lets us remove a workaround in SemaCompleteConstructorCall. llvm-svn: 81847
-
Nick Lewycky authored
While I'm there, change code that does: SomeTy == Type::getFooType(Context) into: SomeTy->getTypeID() == FooTyID to decrease the amount of useless type creation which may involve locking, etc. llvm-svn: 81846
-
Chris Lattner authored
an unpacked one. llvm-svn: 81845
-
Anders Carlsson authored
llvm-svn: 81844
-
Chris Lattner authored
argpromote to avoid invalidating an iterator. This fixes PR4977. All clang tests now pass with expensive checking (on my system at least). llvm-svn: 81843
-
Anders Carlsson authored
llvm-svn: 81842
-
Anders Carlsson authored
llvm-svn: 81841
-
Chris Lattner authored
llvm-svn: 81840
-
Anders Carlsson authored
llvm-svn: 81839
-
Chris Lattner authored
are in the SCC for each execution of a CGSCC pass. llvm-svn: 81838
-
Anders Carlsson authored
llvm-svn: 81837
-
Chris Lattner authored
llvm-svn: 81836
-
Anders Carlsson authored
llvm-svn: 81835
-
Chris Lattner authored
llvm-svn: 81834
-
Chris Lattner authored
llvm-svn: 81833
-
Ted Kremenek authored
__builtin_offsetof in the static analyzer that __builtin_offsetof is not guaranteed to return an integer constant. We will need to shore this up later, but now at least we have correct support for when this *is* an integer constant. llvm-svn: 81830
-
Ted Kremenek authored
llvm-svn: 81827
-
Mikhail Glushenkov authored
GetProcessId was introduced only in XP. As a bonus, this change makes Program objects copyable, since Program is now basically a PID. llvm-svn: 81826
-