- Sep 05, 2012
-
-
Logan Chien authored
llvm-svn: 163193
-
Craig Topper authored
Convert vextracti128/vextractf128 intrinsics to extract_subvector at DAG build time. Similar was previously done for vinserti128/vinsertf128. Add patterns for folding these extract_subvectors with stores. llvm-svn: 163192
-
Marshall Clow authored
llvm-svn: 163191
-
Richard Smith authored
llvm-svn: 163190
-
rdar://problem/12100588Greg Clayton authored
Don't crash when we can't resolve our stub to a symbol. llvm-svn: 163189
-
Chad Rosier authored
llvm-svn: 163188
-
Chad Rosier authored
llvm-svn: 163187
-
Chad Rosier authored
llvm-svn: 163186
-
Chad Rosier authored
Reader/Writer. llvm-svn: 163185
-
Chad Rosier authored
llvm-svn: 163184
-
Greg Clayton authored
llvm-svn: 163183
-
Chad Rosier authored
llvm-svn: 163182
-
Chad Rosier authored
llvm-svn: 163181
-
Dan Gohman authored
pointers-to-strong-pointers may be in play. These can lead to retains and releases happening in unstructured ways, foiling the optimizer. This fixes rdar://12150909. llvm-svn: 163180
-
Jakub Staszak authored
llvm-svn: 163179
-
Chad Rosier authored
llvm-svn: 163178
-
Jakob Stoklund Olesen authored
Implicit uses can be dynamically tied to defs. This will soon be used for predicated instructions on ARM. llvm-svn: 163177
-
Ted Kremenek authored
llvm-svn: 163176
-
Chad Rosier authored
class. llvm-svn: 163175
-
Chad Rosier authored
implementation does not co-exist well with how the sideeffect and alignstack attributes are handled. The reverts r161641. llvm-svn: 163174
-
Chad Rosier authored
implementation does not co-exist well with how the sideeffect and alignstack attributes are handled. llvm-svn: 163173
-
David Blaikie authored
Relies on matching lit change in r163171. llvm-svn: 163172
-
David Blaikie authored
This doesn't seem ideal, perhaps we could just keep the llvm_site_cfg and have other config (clang and clang-tools-extra) derive their site_cfg from that. Suggestions/complaints/ideas welcome. llvm-svn: 163171
-
Enrico Granata authored
llvm-svn: 163170
-
Jakub Staszak authored
Doesn't set MadeChange to TRUE if BypassSlowDivision doesn't change anything. llvm-svn: 163165
-
Jakub Staszak authored
Also a few minor changes: - use pre-inc instead of post-inc - use isa instead of dyn_cast - 80 col - trailing spaces llvm-svn: 163164
-
Greg Clayton authored
Modified patch from Matt Kopec that fixes a process launch issue on linux where we wouldn't acquire the process run lock. llvm-svn: 163163
-
-
Chad Rosier authored
llvm-svn: 163161
-
Jakub Staszak authored
llvm-svn: 163160
-
Jordan Rose authored
SimpleSValBuilder processes a couple trivial identities, including 'x - x' and 'x ^ x' (both 0). However, the former could appear with arguments of floating-point type, and we weren't checking for that. This started triggering an assert with r163069, which checks that a constant value is actually going to be used as an integer or pointer. llvm-svn: 163159
-
Enrico Granata authored
llvm-svn: 163157
-
Enrico Granata authored
llvm-svn: 163156
-
rdar://problem/11485744Enrico Granata authored
<rdar://problem/11485744> Implement important data formatters in C++. Have the Objective-C language runtime plugin expose class descriptors objects akin to the objc_runtime.py Pythonic implementation. Rewrite the data formatters for some core Cocoa classes in C++ instead of Python. llvm-svn: 163155
-
Jakob Stoklund Olesen authored
llvm-svn: 163154
-
Jakob Stoklund Olesen authored
The MachineOperand::TiedTo field was maintained, but not used. This patch enables it in isRegTiedToDefOperand() and isRegTiedToUseOperand() which are the actual functions use by the register allocator. llvm-svn: 163153
-
Jakob Stoklund Olesen authored
llvm-svn: 163152
-
Jakob Stoklund Olesen authored
After much agonizing, use a full 4 bits of precious MachineOperand space to encode this. This uses existing padding, and doesn't grow MachineOperand beyond its current 32 bytes. This allows tied defs among the first 15 operands on a normal instruction, just like the current MCInstrDesc constraint encoding. Inline assembly needs to be able to tie more than the first 15 operands, and gets special treatment. Tied uses can appear beyond 15 operands, as long as they are tied to a def that's in range. llvm-svn: 163151
-
Preston Gurd authored
- CodeGenPrepare pass for identifying div/rem ops - Backend specifies the type mapping using addBypassSlowDivType - Enabled only for Intel Atom with O2 32-bit -> 8-bit - Replace IDIV with instructions which test its value and use DIVB if the value is positive and less than 256. - In the case when the quotient and remainder of a divide are used a DIV and a REM instruction will be present in the IR. In the non-Atom case they are both lowered to IDIVs and CSE removes the redundant IDIV instruction, using the quotient and remainder from the first IDIV. However, due to this optimization CSE is not able to eliminate redundant IDIV instructions because they are located in different basic blocks. This is overcome by calculating both the quotient (DIV) and remainder (REM) in each basic block that is inserted by the optimization and reusing the result values when a subsequent DIV or REM instruction uses the same operands. - Test cases check for the presents of the optimization when calculating either the quotient, remainder, or both. Patch by Tyler Nowicki! llvm-svn: 163150
-
Joao Matos authored
llvm-svn: 163149
-