- Jun 13, 2014
-
-
Tom Stellard authored
llvm-svn: 210865
-
Greg Clayton authored
(lldb) file /bin/ls (lldb) b malloc (lldb) run (lldb) process save-core /tmp/ls.core Each ObjectFile plug-in now has the option to save core files by registering a new static callback. llvm-svn: 210864
-
Juergen Ributzka authored
Add branch weights to branch instructions, so that the following passes can optimize based on it (i.e. basic block ordering). llvm-svn: 210863
-
Eric Christopher authored
llvm-svn: 210862
-
Eric Christopher authored
so we can use initializer lists for the ARMSubtarget and then use this to initialize a moved DataLayout on the subtarget from the TargetMachine. llvm-svn: 210861
-
Alexey Samsonov authored
Previous algorithm for constructing [Address ranges]->[Compile Units] mapping was wrong. It somewhat relied on the assumption that address ranges for different compile units may not overlap. It is not so. For example, two compile units may contain the definition of the same linkonce_odr function. These definitions will be merged at link-time, resulting in equivalent .debug_ranges entries for both these units Instead of sorting and merging original address ranges (from .debug_ranges and .debug_aranges), implement a different approach: save endpoints of all ranges, and then use a sweep-line approach to construct the desired mapping. If we find that certain address maps to several compilation units, we just pick any of them. llvm-svn: 210860
-
Eric Christopher authored
DAG has access to the subtarget and TargetSelectionDAGInfo only needs a DataLayout. llvm-svn: 210859
-
Juergen Ributzka authored
This commit adds MachineMemOperands to load and store instructions. This allows the peephole optimizer to fold load instructions. Unfortunatelly the peephole optimizer currently doesn't run at -O0. llvm-svn: 210858
-
David Fang authored
This reverts commit 0bd40d6c3da6719fecf77038673d453ff1eab25b. llvm-svn: 210857
-
Reid Kleckner authored
Summary: 'sizeof' is a UnaryExprOrTypeTrait, and it can contain either a type or an expression. This change threads a RecoveryTSI parameter through the layers between TransformUnaryExprOrTypeTrait the point at which we look up the type. If lookup finds a single type result after instantiation, we now build TypeSourceInfo for it just like a normal transformation would. This fixes the last error in the hello world ATL app that I've been working with, and it now links and runs with clang. Please try it and file bugs! Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4108 llvm-svn: 210855
-
Eric Christopher authored
subtarget. llvm-svn: 210854
-
Eric Christopher authored
since that's all it needs. llvm-svn: 210853
-
Eric Christopher authored
llvm-svn: 210852
-
Eli Bendersky authored
llvm-svn: 210851
-
Reid Kleckner authored
Previously we would do the access check from the context of MarkVTableUsed. Also update this test to C++11, since that is typically used with the MS C++ ABI. Fixes PR20005. llvm-svn: 210850
-
Eric Christopher authored
llvm-svn: 210849
-
Eric Christopher authored
Also remove an extra local subtarget in the initialization functions. llvm-svn: 210848
-
Rafael Espindola authored
llvm-svn: 210847
-
Andrew Trick authored
WenHan Gu pointed out this bug that results in an assert not being effective in some cases. llvm-svn: 210846
-
Eric Christopher authored
Needed to migrate a few functions around to avoid circular header dependencies. llvm-svn: 210845
-
Eric Christopher authored
the subtarget. Also remove unnecessary argument to the constructor at the same time, we already have access via the subtarget. llvm-svn: 210844
-
Rafael Espindola authored
llvm-svn: 210843
-
Richard Smith authored
llvm-svn: 210842
-
Richard Smith authored
llvm-svn: 210841
-
Rafael Espindola authored
llvm-svn: 210840
-
Eric Christopher authored
llvm-svn: 210839
-
Rafael Espindola authored
llvm-svn: 210838
-
Rafael Espindola authored
llvm-svn: 210837
-
Eric Christopher authored
replace with the current subtarget. llvm-svn: 210836
-
Rafael Espindola authored
This should make sure that most new uses use the std prefix. llvm-svn: 210835
-
Reid Kleckner authored
llvm-svn: 210834
-
Bob Wilson authored
llvm-svn: 210833
-
Rafael Espindola authored
llvm-svn: 210832
-
Rafael Espindola authored
llvm-svn: 210831
-
Matt Arsenault authored
Hopefully this forces cmake to re-run. llvm-svn: 210830
-
Juergen Ributzka authored
llvm-svn: 210829
-
Duncan P. N. Exon Smith authored
Enable value forwarding for loads from `calloc()` without an intervening store. This change extends GVN to handle the following case: %1 = tail call noalias i8* @calloc(i64 1, i64 4) %2 = bitcast i8* %1 to i32* ; This load is trivially constant zero %3 = load i32* %2, align 4 This is analogous to the handling for `malloc()` in the same places. `malloc()` returns `undef`; `calloc()` returns a zero value. Note that it is correct to return zero even for out of bounds GEPs since the result of such a GEP would be undefined. Patch by Philip Reames! llvm-svn: 210828 -
Matt Arsenault authored
Delete all unused ones, and add new AMDGPU named intrinsics for the ones that are. Handle the old AMDIL names for comptability (although remove their GCCBuiltin names) and add tests since there weren't any for these before. llvm-svn: 210827
-
Nico Weber authored
1. Having "get started", "get involved", and "hacking" makes it hard to find how to send patches, so add a link from "get involved" to "hacking". 2. Remove an almost 5 year old note on the test running meachanism changing soon. 3. Let "hacking" link to the LLVM developer policy. llvm-svn: 210826
-
Jeroen Ketema authored
Tested with llvm 3.4 and trunk. llvm-svn: 210825
-