- Jan 17, 2008
-
-
Nate Begeman authored
llvm-svn: 46136
-
Nate Begeman authored
llvm-svn: 46135
-
Ted Kremenek authored
llvm-svn: 46134
-
Ted Kremenek authored
llvm-svn: 46133
-
Nate Begeman authored
__builtin_overload takes 2 or more arguments: 0) a non-zero constant-expr for the number of arguments the overloaded functions will take 1) the arguments to pass to the matching overloaded function 2) a list of functions to match. The return type of __builtin_overload is inferred from the function whose args match the types of the arguments passed to the builtin. For example: float a; float sinf(float); int sini(int); float b = __builtin_overload(1, a, sini, sinf); Says that we are overloading functions that take one argument, and trying to pass an argument of the same type as 'a'. sini() does not match since it takes and argument of type int. sinf does match, so at codegen time this will turn into float b = sinf(a); llvm-svn: 46132
-
Fariborz Jahanian authored
size in accordance with how rewriter synthesizes method name. llvm-svn: 46131
-
Ted Kremenek authored
and not just the key value when comparing trees. To do this we added data_type and data_type_ref to the ImutContainerInfo trait classes. For values stored in the tree that do not have separate key and data components, data_type is simply a typedef of bool, and isDataEqual() always evaluates to true. This allows us to support both ImmutableSet and ImmutableMap using the same underlying logic. llvm-svn: 46130
-
Ted Kremenek authored
Refactored the use of this method into both the Sema module and Analysis module, which were using their own static functions that did the same thing. llvm-svn: 46129
-
Chris Lattner authored
llvm-svn: 46128
-
Evan Cheng authored
llvm-svn: 46127
-
Chris Lattner authored
llvm-svn: 46126
-
Chris Lattner authored
and switch various codegen pieces and the X86 backend over to using it. * Add some comments to SelectionDAGNodes.h * Introduce a second argument to FP_ROUND, which indicates whether the FP_ROUND changes the value of its input. If not it is safe to xform things like fp_extend(fp_round(x)) -> x. llvm-svn: 46125
-
Chris Lattner authored
llvm-svn: 46124
-
Tanya Lattner authored
llvm-svn: 46120
-
Tanya Lattner authored
Regenerate configure with 2.60. llvm-svn: 46119
-
Evan Cheng authored
llvm-svn: 46113
-
Devang Patel authored
llvm-svn: 46112
-
Evan Cheng authored
and the spill is its kill. However, if the local allocator has determined the register has not been modified (possible when its value was reloaded), it would not issue a restore. In that case, mark the last use of the virtual register as kill. llvm-svn: 46111
-
Fariborz Jahanian authored
when creating its type. llvm-svn: 46109
-
Chris Lattner authored
promoted functions. This is important for varargs calls in particular. Thanks to duncan for providing a great testcase. llvm-svn: 46108
-
Seo Sanghyeon authored
llvm-svn: 46107
-
Ted Kremenek authored
state. llvm-svn: 46106
-
Steve Naroff authored
Declarator::clear(): Null out variable after it's been deleted. This avoids a double free (which is good:-) Bug submitted by Eli. llvm-svn: 46105
-
Evan Cheng authored
llvm-svn: 46104
-
Steve Naroff authored
Simplify comment. llvm-svn: 46103
-
Steve Naroff authored
Type::isArithmeticType(): disallow incomplete enum decls. Bug submitted by Eli. llvm-svn: 46102
-
Ted Kremenek authored
map. This will allow us to quickly prune them from maps without searching the entire map. llvm-svn: 46101
-
Ted Kremenek authored
to sort sub-expressions before Block-level expressions. llvm-svn: 46100
-
Evan Cheng authored
It's not safe to use the two value CombineTo variant to combine away a dead load. e.g. v1, chain2 = load chain1, loc v2, chain3 = load chain2, loc v3 = add v2, c Now we replace use of v1 with undef, use of chain2 with chain1. ReplaceAllUsesWith() will iterate through uses of the first load and update operands: v1, chain2 = load chain1, loc v2, chain3 = load chain1, loc v3 = add v2, c Now the second load is the same as the first load, SelectionDAG cse will ensure the use of second load is replaced with the first load. v1, chain2 = load chain1, loc v3 = add v1, c Then v1 is replaced with undef and bad things happen. llvm-svn: 46099
-
- Jan 16, 2008
-
-
Duncan Sands authored
it should work, but I have no machine to test it on. Committed because it will at least cause no harm, and maybe someone can test it for me! llvm-svn: 46098
-
Ted Kremenek authored
values are determined when evaluating the parent expression. llvm-svn: 46096
-
Ted Kremenek authored
constant propagation. llvm-svn: 46095
-
Ted Kremenek authored
handle the case where the number of nodes was 0. Fixed bug in GREngineImpl where we did not proceed to the next statement when processing a PostStmt location. llvm-svn: 46093
-
Ted Kremenek authored
llvm-svn: 46092
-
Ted Kremenek authored
llvm-svn: 46091
-
Chris Lattner authored
llvm-svn: 46090
-
Dale Johannesen authored
associated function is so marked. llvm-svn: 46088
-
Ted Kremenek authored
llvm-svn: 46087
-
Ted Kremenek authored
llvm-svn: 46086
-
Ted Kremenek authored
that were "not a constant." llvm-svn: 46085
-