- Nov 05, 2009
-
-
Chris Lattner authored
llvm-svn: 86119
-
Mike Stump authored
llvm-svn: 86118
-
Mike Stump authored
llvm-svn: 86117
-
Mike Stump authored
llvm-svn: 86116
-
Mike Stump authored
llvm-svn: 86115
-
Mon P Wang authored
llvm-svn: 86114
-
Daniel Dunbar authored
invariants (diagnostics with source informations must occur between {Begin,End}SourceFile). llvm-svn: 86113
-
Daniel Dunbar authored
llvm-svn: 86112
-
Daniel Dunbar authored
llvm-svn: 86111
-
Ted Kremenek authored
AnalysisManager: Don't rely on PathDiagnosicClients flushing their diagnostics when they are destroyed. llvm-svn: 86110
-
Daniel Dunbar authored
of coverage of this from the analyzer. If this bothers you, I can add it back in a mode where non-source diagnostics go to stderr and only source diagnostics use -html-diags, but I don't think anyone uses this. llvm-svn: 86109
-
Ted Kremenek authored
migrate work in the destructors of PathDiagnosticClients from their destructors to FlushReports(). The destructors now currently call FlushReports(); this will be fixed in a subsequent patch. llvm-svn: 86108
-
Daniel Dunbar authored
This is conceptually correct, but adds a huge hack to HighlightMacros which is in fact doing all sorts of mutation to the Preprocessor. See FIXME. Chris, please review. llvm-svn: 86107
-
Daniel Dunbar authored
a little fuzzy, but conceptually it's just uniquing the identifier. Chris, please review. I debated splitting into const/non-const versions where the const one propogated constness to the resulting IdentifierInfo*. llvm-svn: 86106
-
Daniel Dunbar authored
llvm-svn: 86105
-
Daniel Dunbar authored
llvm-svn: 86104
-
Daniel Dunbar authored
llvm-svn: 86103
-
David Goodwin authored
llvm-svn: 86102
-
David Goodwin authored
Break anti-dependencies using free registers in a round-robin manner to avoid introducing new anti-dependencies. llvm-svn: 86098
-
Lang Hames authored
llvm-svn: 86097
-
Evan Cheng authored
llvm-svn: 86092
-
Devang Patel authored
This fixes PR5393. llvm-svn: 86091
-
Lang Hames authored
This assert was very conservative to begin with (the error condition is well covered by tests elsewhere in the code) so we won't miss much by removing it. llvm-svn: 86088
-
Douglas Gregor authored
still be dependent or invoke an overloaded operator. Previously, we only supported builtin operators. BinaryOperator/CompoundAssignOperator didn't have this issue because we always built a CXXOperatorCallExpr node, even when name lookup didn't find any functions to save until instantiation time. Now, that code builds a BinaryOperator or CompoundAssignOperator rather than a CXXOperatorCallExpr, to save some space. llvm-svn: 86087
-
Bob Wilson authored
llvm-svn: 86086
-
Evan Cheng authored
llvm-svn: 86085
-
Ted Kremenek authored
an "assign expression", representing the expressions where the value binding occurs and the assignment takes place respectively. These are largely syntactic clues for better error reporting. llvm-svn: 86084
-
John McCall authored
Conditional operands are next. Fixes part of rdar://problem/7289584. llvm-svn: 86083
-
Bob Wilson authored
and compile with -mtriple to specify *-apple-darwin targets. llvm-svn: 86081
-
David Goodwin authored
llvm-svn: 86080
-
Douglas Gregor authored
llvm-svn: 86079
-
Victor Hernandez authored
MallocInst-autoupgrade users use non-TargetData-computed allocation sizes. Optimization uses use TargetData to compute the allocation size. Now that malloc calls can have constant sizes, update isArrayMallocHelper() to use TargetData to determine the size of the malloced type and the size of malloced arrays. Extend getMallocType() to support malloc calls that have non-bitcast uses. Update OptimizeGlobalAddressOfMalloc() to optimize malloc calls that have non-bitcast uses. The bitcast use of a malloc call has to be treated specially here because the uses of the bitcast need to be replaced and the bitcast needs to be erased (just like the malloc call) for OptimizeGlobalAddressOfMalloc() to work correctly. Update PerformHeapAllocSRoA() to optimize malloc calls that have non-bitcast uses. The bitcast use of the malloc is not handled specially here because ReplaceUsesOfMallocWithGlobal replaces through the bitcast use. Update OptimizeOnceStoredGlobal() to not care about the malloc calls' bitcast use. Update all globalopt malloc tests to not rely on autoupgraded-MallocInsts, but instead use explicit malloc calls with correct allocation sizes. llvm-svn: 86077
-
Daniel Dunbar authored
llvm-svn: 86076
-
Edward O'Callaghan authored
llvm-svn: 86075
-
Devang Patel authored
While calculating original type size for a derived type, handle type variants encoded as DIDerivedType appropriately. This improves bitfield support. llvm-svn: 86073
-
Daniel Dunbar authored
llvm-svn: 86071
-
Daniel Dunbar authored
llvm-svn: 86070
-
Jim Grosbach authored
llvm-svn: 86068
-
Chris Lattner authored
Hans Wennborg! llvm-svn: 86067
-
Douglas Gregor authored
explicitly-specified template arguments, too! llvm-svn: 86066
-