- Apr 20, 2011
-
-
Jakob Stoklund Olesen authored
On the x86-64 and thumb2 targets, some registers are more expensive to encode than others in the same register class. Add a CostPerUse field to the TableGen register description, and make it available from TRI->getCostPerUse. This represents the cost of a REX prefix or a 32-bit instruction encoding required by choosing a high register. Teach the greedy register allocator to prefer cheap registers for busy live ranges (as indicated by spill weight). llvm-svn: 129864
-
Greg Clayton authored
types of values. llvm-svn: 129863
-
-
Douglas Gregor authored
alignment, which causes traps further down the line. Fixes <rdar://problem/9109755>, which contains a test case far too large to commit :( llvm-svn: 129861
-
Douglas Gregor authored
out-of-line destructors can result in the addition of redundant destructors to a class. It's not harmful to the AST. Fixes <rdar://problem/9158632>. llvm-svn: 129860
-
Caroline Tice authored
Fix typo (accidental second 'const' qualifier). llvm-svn: 129859
-
-
Ted Kremenek authored
llvm-svn: 129857
-
Fariborz Jahanian authored
llvm-svn: 129856
-
Greg Clayton authored
To do this currently, it must be done in multi-line mode: (lldb) commands regex --help "Help text for command" --syntax "syntax for command" <cmd-name> Any example that would use "f" for "finish" when there are no arguments, and "f <num>" to do a "frame select <num>" would be: (lldb) commands regex f Enter multiple regular expressions in the form s/find/replace/ then terminate with an empty line: s/^$/finish/ s/([0-9]+)/frame select %1/ (lldb) f 11 frame select 12 ... (lldb) f finish ... Also added the string version of the OptionValue as OptionValueString. llvm-svn: 129855
-
Daniel Dunbar authored
llvm-svn: 129853
-
Daniel Dunbar authored
llvm-svn: 129852
-
Justin Holewinski authored
used by Clang. To help Clang integration, the PTX target has been split into two targets: ptx32 and ptx64, depending on the desired pointer size. - Add GCCBuiltin class to all intrinsics - Split PTX target into ptx32 and ptx64 llvm-svn: 129851
-
Rafael Espindola authored
llvm-svn: 129850
-
Douglas Gregor authored
rewriter, from Eric Niebler! llvm-svn: 129849
-
Che-Liang Chiou authored
Patched by Dan Bailey llvm-svn: 129848
-
Che-Liang Chiou authored
Patched by Dan Bailey llvm-svn: 129847
-
Che-Liang Chiou authored
Patched by Dan Bailey llvm-svn: 129846
-
Nick Lewycky authored
llvm is built with unsigned chars where an immediate such as 0xff would be zero extended to 64-bits, turning "cmp $0xff,%eax" into "cmp $0xffffffffffffffff,%eax". llvm-svn: 129845
-
Rafael Espindola authored
llvm-svn: 129844
-
Greg Clayton authored
around the debugger. The class isn't hooked into anything yet, but it will be soon. llvm-svn: 129843
-
Eric Christopher authored
manually and pass all (now) 4 arguments to the mul libcall. Add a new ExpandLibCall for just this (copied gratuitously from type legalization). Fixes rdar://9292577 llvm-svn: 129842
-
Daniel Dunbar authored
llvm-svn: 129841
-
Sean Callanan authored
MCInst operands for ARM. This allows it to be more tolerant of malformed MCInsts or incorrect instruction metadata. llvm-svn: 129840
-
Douglas Gregor authored
during deserialization from a precompiled header, and update all of its callers to note when this problem occurs and recover (more) gracefully. Fixes <rdar://problem/9119249>. llvm-svn: 129839
-
Daniel Dunbar authored
triple component. llvm-svn: 129838
-
Johnny Chen authored
llvm-svn: 129837
-
Daniel Dunbar authored
instead. llvm-svn: 129836
-
Daniel Dunbar authored
llvm-svn: 129835
-
Daniel Dunbar authored
llvm-svn: 129834
-
Daniel Dunbar authored
Triple::OSX once Clang has moved. llvm-svn: 129833
-
Caroline Tice authored
Add the infrastructure to test instruction emulations automatically. The idea is that the instruction to be emulated is actually executed on the hardware to be emulated, with the before and after state of the hardware being captured and 'freeze-dried' into .dat files. The emulation testing code then loads the before & after state from the .dat file, emulates the instruction using the before state, and compares the resulting state to the 'after' state. If they match, the emulation is accurate, otherwise there is a problem. The final format of the .dat files needs a bit more work; the plan is to generalize them a bit and to convert the plain values to key-value pairs. But I wanted to get this first pass committed. This commit adds arm instruction emulation testing to the testsuite, along with many initial .dat files. It also fixes a bug in the llvm disassembler, where 32-bit thumb opcodes were getting their upper & lower 16-bits reversed. There is a new Instruction sub-class, that is intended to be loaded from a .dat file rather than read from an executable. There is also a new EmulationStateARM class, for handling the before & after states. EmulationStates for other architetures can be added later when we emulate their instructions. llvm-svn: 129832
-
Daniel Dunbar authored
were computing the conversion as (ptr != 0 && non-virtual), when it should be (ptr != 0 || is-virtual). - Test to follow in LLVM test-suite. llvm-svn: 129830
-
Chris Lattner authored
llvm-svn: 129829
-
Johnny Chen authored
llvm-svn: 129828
-
Johnny Chen authored
llvm-svn: 129827
-
Greg Clayton authored
places that were dumping values for the settings. Centralized all of the value dumping into a single place. When dumping values that aren't strings we no longer surround the value with single quotes. When dumping values that are strings, surround the string value with double quotes. When dumping array values, assume they are always string values, and don't put quotes around dictionary values. llvm-svn: 129826
-
Johnny Chen authored
llvm-svn: 129825
-
- Apr 19, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129824
-
Daniel Dunbar authored
llvm-svn: 129823
-