- Feb 01, 2010
-
-
Devang Patel authored
llvm-svn: 95009
-
Devang Patel authored
llvm-svn: 95008
-
Bob Wilson authored
disabled by default. This divides the existing load PRE code into 2 phases: first it checks that it is safe to move the load to each of the predecessors where it is unavailable, and then if it is safe, the code is changed to move the load. Radar 7571861. llvm-svn: 95007
-
Daniel Dunbar authored
llvm-svn: 95006
-
Daniel Dunbar authored
llvm-svn: 95005
-
Daniel Dunbar authored
llvm-svn: 95004
-
Chris Lattner authored
by setting the section of the generated global. This is an optimization done by the code generator, and the code being removed didn't handle the case when the string contained an embedded nul (which the code generator does correctly handle). This is rdar://7589850 llvm-svn: 95003
-
Duncan Sands authored
llvm-svn: 95002
-
Chris Lattner authored
llvm-svn: 95001
-
Duncan Sands authored
into 80 columns to match my artistic preferences. llvm-svn: 95000
-
Sebastian Redl authored
In C++, an initializer on a variable doesn't necessarily mean it's the definition. With that in mind, rename getDefinition to getAnyInitializer (to distinguish it from getInit) and reimplement it in terms of isThisDeclarationADefinition. Update all code to use this new function. llvm-svn: 94999
-
Chris Lattner authored
emmintrin looks ok. llvm-svn: 94998
-
Chris Lattner authored
llvm-svn: 94997
-
Dale Johannesen authored
llvm-svn: 94996
-
Chris Lattner authored
llvm-svn: 94995
-
Ted Kremenek authored
llvm-svn: 94994
-
Chris Lattner authored
evaluateICmpRelation wasn't handling blockaddress. llvm-svn: 94993
-
Ted Kremenek authored
when checking if the format specifier matches the type of the data argument and the length modifier indicates the data type is 'char' or 'short'. llvm-svn: 94992
-
Devang Patel authored
llvm-svn: 94991
-
Mon P Wang authored
type is the same as the element type of the vector. EXTRACT_VECTOR_ELT can be used to extended the width of an integer type. This fixes a bug for Generic/vector-casts.ll on a ppc750. llvm-svn: 94990
-
Dan Gohman authored
llvm-svn: 94989
-
John McCall authored
deduction failed. Right now there's a very vague diagnostic for most cases and a good diagnostic for incomplete deduction. llvm-svn: 94988
-
Dan Gohman authored
cases, and implement target-independent folding rules for alignof and offsetof. Also, reassociate reassociative operators when it leads to more folding. Generalize ScalarEvolution's isOffsetOf to recognize offsetof on arrays. Rename getAllocSizeExpr to getSizeOfExpr, and getFieldOffsetExpr to getOffsetOfExpr, for consistency with analagous ConstantExpr routines. Make the target-dependent folder promote GEP array indices to pointer-sized integers, to make implicit casting explicit and exposed to subsequent folding. And add a bunch of testcases for this new functionality, and a bunch of related existing functionality. llvm-svn: 94987
-
rdar://7590304Chris Lattner authored
of objc message send was getting marked arm_apcscc, but the prototype isn't. This is fine at runtime because objcmsgsend is implemented in assembly. Only turn a mismatched caller and callee into 'unreachable' if the callee is a definition. llvm-svn: 94986
-
rdar://7590304Chris Lattner authored
case, instcombine can't zap the invoke for fear of changing the CFG. However, we have to do something to prevent the next iteration of instcombine from inserting another store -> undef before the invoke thereby getting into infinite iteration between dead store elim and store insertion. Just zap the callee to null, which will prevent the next iteration from doing anything. llvm-svn: 94985
-
Bob Wilson authored
The testcase from pr6198 does not crash for me -- I don't know what's up with that -- so I'm not adding it to the tests. llvm-svn: 94984
-
Dan Gohman authored
llvm-svn: 94982
-
Dan Gohman authored
array types as well as struct types, and which accepts arbitrary Constant indicies. llvm-svn: 94981
-
Bruno Cardoso Lopes authored
llvm-svn: 94977
-
Zhongxing Xu authored
in the analyzer. WIP. llvm-svn: 94976
-
Sean Callanan authored
a buildbot. Removed. llvm-svn: 94975
-
Sean Callanan authored
fleshed out the .exports file. I still have to fix several details of operand parsing, but the basic functionality is there and usable. llvm-svn: 94974
-
Zhongxing Xu authored
llvm-svn: 94973
-
Sam Weinig authored
llvm-svn: 94972
-
John McCall authored
llvm-svn: 94971
-
Evan Cheng authored
llvm-svn: 94970
-
Bruno Cardoso Lopes authored
llvm-svn: 94969
-
- Jan 31, 2010
-
-
Sebastian Redl authored
Add VarDecl::isThisDeclarationADefinition(), which properly encapsulates the logic for when a variable declaration is a (possibly tentativ) definition. Add a few functions building on this, and shift C tentative definition handling over to this new functionality. This shift also kills the Sema::TentativeDefinitions map and instead simply stores all declarations in the renamed list. The correct handling for multiple tentative definitions is instead shifted to the final walk of the list. llvm-svn: 94968
-
Eli Friedman authored
not quite sure what we want to do about the AST representation; comments welcome. llvm-svn: 94967
-
Eli Friedman authored
llvm-svn: 94965
-