| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fixed encoding bits typo of ldrexd/strexd. | Johnny Chen | 2009-12-14 | 1 | -2/+2 | |
| | | | | | llvm-svn: 91327 | |||||
| * | Thumb2 atomic operations | Jim Grosbach | 2009-12-14 | 1 | -44/+83 | |
| | | | | | llvm-svn: 91321 | |||||
| * | Move several function bodies which are rarely inlined out of line. | Dan Gohman | 2009-12-14 | 1 | -0/+67 | |
| | | | | | llvm-svn: 91319 | |||||
| * | fix an obvious bug found by clang++ and collapse a redundant if. | Chris Lattner | 2009-12-14 | 1 | -7/+6 | |
| | | | | | | | | | | | | Here's the diagnostic from clang: /Volumes/Data/dgregor/Projects/llvm/lib/Target/CppBackend/CPPBackend.cpp:989:23: warning: 'gv' is always NULL in this context printConstant(gv); ^ 1 diagnostic generated. llvm-svn: 91318 | |||||
| * | Micro-optimize these functions in the case where they are not inlined. | Dan Gohman | 2009-12-14 | 1 | -2/+1 | |
| | | | | | llvm-svn: 91316 | |||||
| * | correct selection requirements for thumb2 vs. arm versions of the barrier ↵ | Jim Grosbach | 2009-12-14 | 2 | -4/+6 | |
| | | | | | | | intrinsics llvm-svn: 91313 | |||||
| * | add Thumb2 atomic and memory barrier instruction definitions | Jim Grosbach | 2009-12-14 | 1 | -0/+60 | |
| | | | | | llvm-svn: 91310 | |||||
| * | whitespace | Jim Grosbach | 2009-12-14 | 1 | -1/+0 | |
| | | | | | llvm-svn: 91307 | |||||
| * | ARM memory barrier instructions are not predicable | Jim Grosbach | 2009-12-14 | 2 | -3/+20 | |
| | | | | | llvm-svn: 91305 | |||||
| * | Clear the Processed set when it is no longer used, and clear the | Dan Gohman | 2009-12-14 | 1 | -1/+2 | |
| | | | | | | | IVUses list in releaseMemory(). llvm-svn: 91296 | |||||
| * | Fix a thinko; isNotAlreadyContainedIn had a built-in negative, so the | Dan Gohman | 2009-12-14 | 2 | -2/+2 | |
| | | | | | | | condition was inverted when the code was converted to contains(). llvm-svn: 91295 | |||||
| * | Remove unnecessary #includes. | Dan Gohman | 2009-12-14 | 1 | -2/+0 | |
| | | | | | llvm-svn: 91293 | |||||
| * | Instead of having a ScalarEvolution pointer member in BasedUser, just pass | Dan Gohman | 2009-12-14 | 1 | -12/+13 | |
| | | | | | | | the ScalarEvolution pointer into the functions which need it. llvm-svn: 91289 | |||||
| * | Don't bother cleaning up if there's nothing to clean up. | Dan Gohman | 2009-12-14 | 1 | -6/+6 | |
| | | | | | llvm-svn: 91288 | |||||
| * | Delete an unused variable. | Dan Gohman | 2009-12-14 | 1 | -10/+1 | |
| | | | | | llvm-svn: 91287 | |||||
| * | Drop Loop::isNotAlreadyContainedIn in favor of Loop::contains. The | Dan Gohman | 2009-12-14 | 1 | -1/+1 | |
| | | | | | | | former was just exposing a LoopInfoBase implementation detail. llvm-svn: 91286 | |||||
| * | add ldrexd/strexd instructions | Jim Grosbach | 2009-12-14 | 1 | -2/+11 | |
| | | | | | llvm-svn: 91284 | |||||
| * | LSR itself doesn't need LoopInfo. | Dan Gohman | 2009-12-14 | 1 | -6/+2 | |
| | | | | | llvm-svn: 91283 | |||||
| * | LSR itself doesn't need DominatorTree. | Dan Gohman | 2009-12-14 | 1 | -6/+2 | |
| | | | | | llvm-svn: 91282 | |||||
| * | Remove the code in LSR that manually hoists expansions out of loops; | Dan Gohman | 2009-12-14 | 1 | -29/+9 | |
| | | | | | | | SCEVExpander does this automatically. llvm-svn: 91281 | |||||
| * | Minor code cleanups. | Dan Gohman | 2009-12-14 | 1 | -4/+2 | |
| | | | | | llvm-svn: 91280 | |||||
| * | Use DW_AT_specification to point to DIE describing function declaration. | Devang Patel | 2009-12-14 | 2 | -63/+32 | |
| | | | | | llvm-svn: 91278 | |||||
| * | Add "generic" fallback. | Torok Edwin | 2009-12-14 | 1 | -0/+1 | |
| | | | | | | | | gcc warned that the function may not have a return value, indeed for non-intel and non-amd X86 CPUs it is right (VIA, etc.). llvm-svn: 91276 | |||||
| * | Added CalcSpillWeights to CMakeLists. | Lang Hames | 2009-12-14 | 1 | -0/+1 | |
| | | | | | llvm-svn: 91275 | |||||
| * | Whitespace changes, comment clarification. No functional changes. | Bill Wendling | 2009-12-14 | 2 | -18/+29 | |
| | | | | | llvm-svn: 91274 | |||||
| * | Moved spill weight calculation out of SimpleRegisterCoalescing and into its ↵ | Lang Hames | 2009-12-14 | 6 | -114/+160 | |
| | | | | | | | own pass: CalculateSpillWeights. llvm-svn: 91273 | |||||
| * | revert r91184, because it causes a crash on a .bc file I just | Chris Lattner | 2009-12-14 | 1 | -366/+390 | |
| | | | | | | | sent to Bob. llvm-svn: 91268 | |||||
| * | atomic binary operations up to 32-bits wide. | Jim Grosbach | 2009-12-14 | 1 | -5/+63 | |
| | | | | | llvm-svn: 91260 | |||||
| * | Reinstate r91208 to fix available_externally linkage for globals, with | Jeffrey Yasskin | 2009-12-13 | 1 | -1/+1 | |
| | | | | | | | | nlewycky's fix to add -rdynamic so the JIT can look symbols up in Linux builds of the JITTests binary. llvm-svn: 91250 | |||||
| * | Using _MSC_VER there was wrong, better just use the already existing ifdefs for | Torok Edwin | 2009-12-13 | 1 | -5/+4 | |
| | | | | | | | | x86 CPU detection for the X86 getHostCPUName too, and create a simple getHostCPUName that returns "generic" for all else. llvm-svn: 91240 | |||||
| * | Don't leave pointers uninitialized in the default constructor. GCC complains | Chandler Carruth | 2009-12-13 | 1 | -1/+1 | |
| | | | | | | | about the potential use of these uninitialized members under certain conditions. llvm-svn: 91239 | |||||
| * | Fix weird typo which leads to unallocated memory access for nodes with 4 ↵ | Anton Korobeynikov | 2009-12-13 | 1 | -1/+1 | |
| | | | | | | | results. llvm-svn: 91233 | |||||
| * | Do not allow uninitialize access during debug printing | Anton Korobeynikov | 2009-12-13 | 1 | -2/+2 | |
| | | | | | llvm-svn: 91232 | |||||
| * | More info on this transformation. | Eli Friedman | 2009-12-12 | 1 | -2/+15 | |
| | | | | | llvm-svn: 91230 | |||||
| * | Remove some stuff that's already implemented. Also, remove the note about | Eli Friedman | 2009-12-12 | 1 | -51/+0 | |
| | | | | | | | merging x >u 5 and x <s 20 because it's impossible to implement. llvm-svn: 91228 | |||||
| * | Disable r91104 for x86. It causes partial register stall which pessimize ↵ | Evan Cheng | 2009-12-12 | 1 | -12/+12 | |
| | | | | | | | code in 32-bit. llvm-svn: 91223 | |||||
| * | Implement variable-width shifts. | Anton Korobeynikov | 2009-12-12 | 3 | -7/+170 | |
| | | | | | | | No testcase yet - it seems we're exposing generic codegen bugs. llvm-svn: 91221 | |||||
| * | Add comment about potential partial register stall. | Evan Cheng | 2009-12-12 | 1 | -0/+5 | |
| | | | | | llvm-svn: 91220 | |||||
| * | Fix an obvious bug. No test case since LEA16r is not being used. | Evan Cheng | 2009-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91219 | |||||
| * | Enable CPU detection when using MS VS 2k8 too. | Torok Edwin | 2009-12-12 | 1 | -1/+1 | |
| | | | | | | | | MSVS2k8 doesn't define __i386__, hence all the CPU detection code was disabled. Enable it by looking for _MSC_VER. llvm-svn: 91217 | |||||
| * | Revert r91208. Something on Linux prevents the JIT from looking up a symbol | Jeffrey Yasskin | 2009-12-12 | 1 | -1/+1 | |
| | | | | | | | defined in the test, and I don't have time tonight to figure it out. llvm-svn: 91209 | |||||
| * | Fix available_externally linkage for globals. It's probably still not | Jeffrey Yasskin | 2009-12-12 | 1 | -1/+1 | |
| | | | | | | | supported by emitGlobals, but I don't have a test case for that. llvm-svn: 91208 | |||||
| * | Framework for atomic binary operations. The emitter for the pseudo instructions | Jim Grosbach | 2009-12-12 | 3 | -19/+150 | |
| | | | | | | | | just issues an error for the moment. The front end won't yet generate these intrinsics for ARM, so this is behind the scenes until complete. llvm-svn: 91200 | |||||
| * | Revise scalar replacement to be more flexible about handle bitcasts and GEPs. | Bob Wilson | 2009-12-11 | 1 | -390/+366 | |
| | | | | | | | | | | | | | | | | While scanning through the uses of an alloca, keep track of the current offset relative to the start of the alloca, and check memory references to see if the offset & size correspond to a component within the alloca. This has the nice benefit of unifying much of the code from isSafeUseOfAllocation, isSafeElementUse, and isSafeUseOfBitCastedAllocation. The code to rewrite the uses of a promoted alloca, after it is determined to be safe, is reorganized in the same way. Also, when rewriting GEP instructions, mark them as "in-bounds" since all the indices are known to be safe. llvm-svn: 91184 | |||||
| * | Delete an unnecessary line. The VTSDNode on a SIGN_EXTEND_REG is never | Dan Gohman | 2009-12-11 | 1 | -1/+0 | |
| | | | | | | | a vector type. llvm-svn: 91181 | |||||
| * | Lower setcc branchless, if this is profitable. | Anton Korobeynikov | 2009-12-11 | 2 | -2/+86 | |
| | | | | | | | Based on the patch by Brian Lucas! llvm-svn: 91175 | |||||
| * | Don't try to move a MBB into the fall-through position if it's a landing pad or | Bill Wendling | 2009-12-11 | 2 | -29/+26 | |
| | | | | | | | | | | | | | | | branches only to a landing pad. Without this check, the compiler would go into an infinite loop because the branch to a landing pad is an "abnormal" edge which wasn't being taken into account. This is the meat of that fix: if (!PrevBB.canFallThrough() && !MBB->BranchesToLandingPad(MBB)) { The other stuff is simplification of the "branches to a landing pad" code. llvm-svn: 91161 | |||||
| * | Construct CompileUnits lazily. | Devang Patel | 2009-12-11 | 2 | -10/+12 | |
| | | | | | llvm-svn: 91159 | |||||
| * | Implement vector widening, splitting, and scalarizing for SIGN_EXTEND_INREG. | Dan Gohman | 2009-12-11 | 8 | -32/+85 | |
| | | | | | llvm-svn: 91158 | |||||
| * | memory barrier instructions by definition have side effects. This prevents ↵ | Jim Grosbach | 2009-12-11 | 1 | -1/+1 | |
| | | | | | | | the post-RA scheduler from moving them around. llvm-svn: 91150 | |||||

