- Sep 30, 2010
-
-
Ted Kremenek authored
llvm-svn: 115120
-
Ted Kremenek authored
Change CheckerVisitor so that [Pre,Post]VisitCallExpr only handles CallExprs for simple C functions, not all CallExprs (including CXXMemberCallExpr, etc.). Now the generic handler for all CallExprs is [Pre,Post]VisitGenericCallExpr. Also add [Pre,Post]Visit hooks for CXXMemberCallExpr. Change GRExprEngine::VisitCXXMemberCallExpr() to do pre/post checker visits of the call. llvm-svn: 115119
-
Sebastian Redl authored
llvm-svn: 115118
-
Sebastian Redl authored
In MeasureTokenLength, the FileLoc supplied to the lexer must point to the start of the buffer, or we risk overflow. llvm-svn: 115117
-
Benjamin Kramer authored
llvm-svn: 115116
-
Jim Ingham authored
llvm-svn: 115115
-
Francois Pichet authored
Revert r114320(move file = copy + delete on Win32). r115040 is a better solution for the Win32 ACCESS_DENIED lit error. llvm-svn: 115114
-
Ted Kremenek authored
Fixes: <rdar://problem/7513117> llvm-svn: 115113
-
Chris Lattner authored
llvm-svn: 115112
-
Benjamin Kramer authored
llvm-svn: 115111
-
Tom Care authored
- Use BlockEntrance rather than BlockEdge to bring in line with UnreachableCodeChecker. Fixes an issue where unreached blocks would still be counted as reachable. - Added warnings for all BlockAborted locations. This allows us to see where the analyzer stopped analyzing. llvm-svn: 115110
-
Tom Care authored
Modified the ccc-analyzer script to print the compiler command when log level verbosity is enabled. This is handy for debugging. llvm-svn: 115109
-
Tom Care authored
Change -analyzer-max-nodes to allow 0 as a parameter. This allows the analyzer to completely analyze a worklist regardless of time taken. llvm-svn: 115108
-
Nick Lewycky authored
llvm-svn: 115107
-
Owen Anderson authored
Revert r115099 (adding early jump threading). It's not clear if the benefits are worth the compile time cost. llvm-svn: 115106
-
Eric Christopher authored
for generic call handling. llvm-svn: 115105
-
Devang Patel authored
Radar 8493141. llvm-svn: 115104
-
Devang Patel authored
llvm-svn: 115103
-
Devang Patel authored
llvm-svn: 115102
-
Eric Christopher authored
llvm-svn: 115100
-
Owen Anderson authored
Early CFG simplification can fold conditionals down to selects, which is often a good thing, but it can also hide jump threading opportunities by turning control flow into data flow. Run an early JumpThreading pass (adds approximately an additional 1% to optimization time on SPEC), allowing it to get a shot at these cases first. Fixes <rdar://problem/8447345>. llvm-svn: 115099
-
Evan Cheng authored
pipeline forwarding path. llvm-svn: 115098
-
Benjamin Kramer authored
llvm-svn: 115097
-
Jim Grosbach authored
llvm-svn: 115096
-
Benjamin Kramer authored
llvm-svn: 115095
-
Eric Christopher authored
a context. llvm-svn: 115094
-
- Sep 29, 2010
-
-
Johnny Chen authored
number of locations. This fixed a crasher. llvm-svn: 115092
-
Benjamin Kramer authored
llvm-svn: 115091
-
Devang Patel authored
Radar 8490416. llvm-svn: 115090
-
Devang Patel authored
llvm-svn: 115089
-
Ted Kremenek authored
llvm-svn: 115088
-
Howard Hinnant authored
llvm-svn: 115087
-
Douglas Gregor authored
against a function type, be sure to check the type of the resulting function template specialization against the desired function type after substituting the deduced/defaulted template arguments. Fixes PR8196. llvm-svn: 115086
-
Devang Patel authored
llvm-svn: 115085
-
Devang Patel authored
Generalize DISubprogram element to encode various flags instead of just one boolean for isArtificial. This is a backword compatible change. llvm-svn: 115084
-
Owen Anderson authored
UnreachableBlockElim could incorrectly return false when it had not modified the CFG, but HAD modified some PHI nodes. Fixes PR8174. llvm-svn: 115083
-
Owen Anderson authored
Fix PR8247: JumpThreading can cause a block to become unreachable while still having predecessor, if it is part of a self-loop. Because of this, we cannot use the Simplify* APIs, as they can assert-fail on unreachable code. Since it's not easy to determine if a given threading will cause a block to become unreachable, simply defer simplifying simplification to later InstCombine and/or DCE passes. llvm-svn: 115082
-
Howard Hinnant authored
llvm-svn: 115081
-
Duncan Sands authored
is not everything, but the remaining cases are less trivial. llvm-svn: 115080
-
Devang Patel authored
llvm-svn: 115079
-