- Feb 19, 2011
-
-
Chris Lattner authored
This is reasonable to do since all bt-mem forms do the same thing. llvm-svn: 126047
-
Peter Collingbourne authored
llvm-svn: 126045
-
Chris Lattner authored
constant, including globals. This makes us generate much more "pretty" pattern globals as well because it doesn't break it down to an array of bytes all the time. This enables us to handle stores of relocatable globals. This kicks in about 48 times in 254.gap, giving us stuff like this: @.memset_pattern40 = internal constant [2 x %struct.TypHeader* (%struct.TypHeader*, %struct.TypHeader*)*] [%struct.TypHeader* (%struct.TypHeader*, %struct .TypHeader*)* @IsFalse, %struct.TypHeader* (%struct.TypHeader*, %struct.TypHeader*)* @IsFalse], align 16 ... call void @memset_pattern16(i8* %scevgep5859, i8* bitcast ([2 x %struct.TypHeader* (%struct.TypHeader*, %struct.TypHeader*)*]* @.memset_pattern40 to i8* ), i64 %tmp75) nounwind llvm-svn: 126044
-
Chris Lattner authored
them as splat values. llvm-svn: 126041
-
rdar://9009151Chris Lattner authored
unsplatable values into memset_pattern16 when it is available (recent darwins). This transforms lots of strided loop stores of ints for example, like 5 in vpr: Formed memset: call void @memset_pattern16(i8* %4, i8* getelementptr inbounds ([16 x i8]* @.memset_pattern9, i32 0, i32 0), i64 %tmp25) from store to: {%3,+,4}<%11> at: store i32 3, i32* %scevgep, align 4, !tbaa !4 llvm-svn: 126040
-
Anders Carlsson authored
llvm-svn: 126039
-
Douglas Gregor authored
current instantiation, even though we have a RecordDecl describing them. Fixes PR9255. Amusingly, I've had this patch sitting around for a month or two because it was "obviously" wrong, but hadn't gotten around to writing a test case to submit the fix :) llvm-svn: 126038
-
Anders Carlsson authored
llvm-svn: 126037
-
Douglas Gregor authored
warn about polymorphic classes (which have virtual functions) rather than dynamic classes (which are polymorphic or have virtual bases). llvm-svn: 126036
-
Douglas Gregor authored
correct and is not worth fixing. Fixes PR8396. llvm-svn: 126035
-
Ken Dyck authored
intended. llvm-svn: 126034
-
Douglas Gregor authored
lead to a serious slowdown (4%) on parsing of Cocoa.h. This memory optimization should be revisited later, when we have time to look at the generated code. llvm-svn: 126033
-
Jeffrey Yasskin authored
It would be nice to propagate this into the other functions to replace LLVM_LINK_COMPONENTS and friends, but I don't plan to do that. llvm-svn: 126032
-
Jeffrey Yasskin authored
up add_clang_unittest's calling convention. llvm-svn: 126031
-
Argyrios Kyrtzidis authored
[analyzer] '-analyzer-check-objc-mem' can go through the llvm/clang codebase without crashing; enable it for C++. llvm-svn: 126026
-
Argyrios Kyrtzidis authored
llvm-svn: 126025
-
Jeffrey Yasskin authored
needed or provided by the libraries under test. The next step is to import http://www.itk.org/Wiki/CMakeMacroParseArguments to make the empty string parameter unnecessary. llvm-svn: 126024
-
Daniel Dunbar authored
the special way we model "linker input" arguments. llvm-svn: 126023
-
Argyrios Kyrtzidis authored
llvm-svn: 126021
-
Ted Kremenek authored
llvm-svn: 126020
-
Argyrios Kyrtzidis authored
confident enough that he knows what he is doing. llvm-svn: 126019
-
Eric Christopher authored
llvm-svn: 126018
-
John McCall authored
but it's not reasonable for the diagnostic to figure that out. Pointed out by Benjamin Kramer. Also clarify the logic here. llvm-svn: 126017
-
John McCall authored
without defining them. This should be an error, but I'm paranoid about "uses" that end up not actually requiring a definition. I'll revisit later. Also, teach IR generation to not set internal linkage on variable declarations, just for safety's sake. Doing so produces an invalid module if the variable is not ultimately defined. Also, fix several places in the test suite where we were using internal functions without definitions. llvm-svn: 126016
-
Jim Ingham authored
a Stream, and then added GetOutputData & GetErrorData to get the accumulated data. - Added a StreamTee that will tee output to two provided lldb::StreamSP's. - Made the CommandObjectReturn use this so you can Tee the results immediately to the debuggers output file, as well as saving up the results to return when the command is done executing. - HandleCommands now uses this so that if you have a set of commands that continue the target you will see the commands come out as they are processed. - The Driver now uses this to output the command results as you go, which makes the interface more reactive seeming. llvm-svn: 126015
-
Argyrios Kyrtzidis authored
llvm-svn: 126013
-
Ted Kremenek authored
This yields a minor memory reduction (for larger functions) on Sqlite at the cost of slightly higher memory usage on some functions because of the increased size of GRState (which can be optimized). I expect the real memory savings from this enhancement will come when we aggressively canabilize more of the ExplodedGraph. llvm-svn: 126012
-
Ted Kremenek authored
Add ImmutableMap methods 'manualRetain()', 'manualRelease()', and 'getRootWithoutRetain()' to help more aggressively reclaim memory in the static analyzer. llvm-svn: 126011
-
Johnny Chen authored
which now handles R0-R12, SP, LR, as well as PC. And refactored a lot of calls to ReadRegisterUnsigned() to now funnel through ReadCoreReg(), instead. llvm-svn: 126010
-
Devang Patel authored
Do not emit empty DW_TAG_lexical_block DIEs. In one test case, size of debug info reduced by almost 7%. llvm-svn: 126009
-
Devang Patel authored
llvm-svn: 126008
-
Argyrios Kyrtzidis authored
llvm-svn: 126007
-
Argyrios Kyrtzidis authored
llvm-svn: 126006
-
Jakob Stoklund Olesen authored
llvm-svn: 126005
-
Joerg Sonnenberger authored
llvm-svn: 126004
-
Jakob Stoklund Olesen authored
llvm-svn: 126003
-
Jakob Stoklund Olesen authored
llvm-svn: 126002
-
Jakob Stoklund Olesen authored
llvm-svn: 126001
-
Mikhail Glushenkov authored
Patch by Kaelyn Uhrain! llvm-svn: 126000
-
Chandler Carruth authored
diagnostics, resolving PR9227. Patch originally by Mihai Rusu and Stephen Hines with some minimal style tweaks from me. llvm-svn: 125999
-