- Jan 10, 2010
-
-
Anton Korobeynikov authored
llvm-svn: 93117
-
Benjamin Kramer authored
llvm-svn: 93114
-
Chris Lattner authored
simpler profitability predicate. llvm-svn: 93111
-
Chris Lattner authored
llvm-svn: 93110
-
Chris Lattner authored
elimination of a sign extend to be a win, which simplifies the client of CanEvaluateSExtd, and allows us to eliminate more casts (examples taken from real code). llvm-svn: 93109
-
Victor Hernandez authored
Document PFS argument to ParseValID() and ConvertGlobalOrMetadataValIDToValue(). llvm-svn: 93108
-
Chris Lattner authored
lshr+ashr instead of trunc+sext. We want to avoid type conversions whenever possible, it is easier to codegen expressions without truncates and extensions. llvm-svn: 93107
-
Chris Lattner authored
llvm-svn: 93106
-
Chris Lattner authored
llvm-svn: 93105
-
Zhongxing Xu authored
llvm-svn: 93101
-
Chris Lattner authored
bits known clear in the result and don't care about the # casts eliminated. TD is also dead but keeping it for now. llvm-svn: 93098
-
Chris Lattner authored
1) don't try to optimize a sext or zext that is only used by a trunc, let the trunc get optimized first. This avoids some pointless effort in some common cases since instcombine scans down a block in the first pass. 2) Change the cost model for zext elimination to consider an 'and' cheaper than a zext. This allows us to do it more aggressively, and for the next patch to simplify the code quite a bit. llvm-svn: 93097
-
Chris Lattner authored
more expressions to be promoted and casts eliminated. llvm-svn: 93096
-
Chris Lattner authored
llvm-svn: 93095
-
Chris Lattner authored
nicer than passing around two const char*'s. llvm-svn: 93094
-
Julien Lerouge authored
llvm-svn: 93093
-
Chris Lattner authored
llvm-svn: 93092
-
Chris Lattner authored
llvm-svn: 93091
-
Chris Lattner authored
llvm-svn: 93090
-
Chris Lattner authored
commonIntCastTransforms into the callers, eliminating a switch, and allowing the static predicate methods to be moved down to live next to the corresponding function. No functionality change. llvm-svn: 93089
-
Daniel Dunbar authored
llvm-svn: 93088
-
Daniel Dunbar authored
llvm-svn: 93087
-
Daniel Dunbar authored
-weak_reference_mismatches is not present, it is the default. llvm-svn: 93086
-
Chris Lattner authored
llvm-svn: 93085
-
Chris Lattner authored
llvm-svn: 93084
-
rdar://7520940Chris Lattner authored
import other headers within the same framework with the full framework path, not with a relative include. llvm-svn: 93083
-
Chris Lattner authored
llvm-svn: 93082
-
- Jan 09, 2010
-
-
Ted Kremenek authored
CallExpr/ObjCMessageExpr can be visited in an "lvalue" context if it returns a struct temporary. Currently the analyzer doesn't reason about struct temporary returned by function calls, but we shouldn't crash here either. llvm-svn: 93081
-
Chris Lattner authored
llvm-svn: 93080
-
Chris Lattner authored
"In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." Patch by James Y Knight! llvm-svn: 93079
-
Chris Lattner authored
llvm-svn: 93078
-
Chris Lattner authored
llvm-svn: 93077
-
Chris Lattner authored
llvm-svn: 93076
-
Chris Lattner authored
lvalue to poke, no functionality change. llvm-svn: 93075
-
Chris Lattner authored
llvm-svn: 93074
-
Chris Lattner authored
rdar://7083878 llvm-svn: 93073
-
Chris Lattner authored
llvm-svn: 93072
-
Ted Kremenek authored
llvm-svn: 93071
-
Jeffrey Yasskin authored
jump. People clearly weren't finding the extra requirements in CodeGenerator.html. llvm-svn: 93070
-
Chris Lattner authored
llvm-svn: 93069
-