Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename indbr -> indirectbr to appease the residents of #llvm. | Chris Lattner | 2009-10-28 | 21 | -91/+93 |
| | | | | llvm-svn: 85351 | ||||
* | IR support for the new BlockAddress constant kind. This is | Chris Lattner | 2009-10-28 | 4 | -6/+115 |
| | | | | | | | untested and there is no way to use it, next up: doing battle with asmparser. llvm-svn: 85349 | ||||
* | Record CodeGen optimization level in the BranchFolding pass so that we can | Bob Wilson | 2009-10-27 | 6 | -19/+29 |
| | | | | | | | | | | | | | | | | use it to control tail merging when there is a tradeoff between performance and code size. When there is only 1 instruction in the common tail, we have been merging. That can be good for code size but is a definite loss for performance. Now we will avoid tail merging in that case when the optimization level is "Aggressive", i.e., "-O3". Radar 7338114. Since the IfConversion pass invokes BranchFolding, it too needs to know the optimization level. Note that I removed the RegisterPass instantiation for IfConversion because it required a default constructor. If someone wants to keep that for some reason, we can add a default constructor with a hard-wired optimization level. llvm-svn: 85346 | ||||
* | Rename lib/VMCore/ConstantsContext.h:ValueMap<> to ConstantUniqueMap<> to avoid | Jeffrey Yasskin | 2009-10-27 | 2 | -17/+17 |
| | | | | | | colliding with llvm/ADT/ValueMap.h:ValueMap<>. llvm-svn: 85344 | ||||
* | Add new note. | Bill Wendling | 2009-10-27 | 1 | -0/+35 |
| | | | | llvm-svn: 85341 | ||||
* | Fixed a bug in the coalescer where intervals were occasionally merged ↵ | Lang Hames | 2009-10-27 | 2 | -2/+22 |
| | | | | | | despite a real interference. This fixes rdar://problem/7157961. llvm-svn: 85338 | ||||
* | Enable virtual register based frame index scavenging by default for ARM & T2. | Jim Grosbach | 2009-10-27 | 1 | -2/+2 |
| | | | | llvm-svn: 85335 | ||||
* | Move and clarify note. | Bill Wendling | 2009-10-27 | 2 | -31/+33 |
| | | | | llvm-svn: 85334 | ||||
* | Infrastructure for dynamic stack realignment on ARM. For now, this is off by | Jim Grosbach | 2009-10-27 | 2 | -2/+76 |
| | | | | | | | default behind a command line option. This will enable better performance for vectors on NEON enabled processors. llvm-svn: 85333 | ||||
* | Note corrected. | Bill Wendling | 2009-10-27 | 1 | -3/+5 |
| | | | | llvm-svn: 85332 | ||||
* | Modify note. | Bill Wendling | 2009-10-27 | 1 | -0/+8 |
| | | | | llvm-svn: 85331 | ||||
* | Revert the API changes from r85295 to make it easier for people to build | Jeffrey Yasskin | 2009-10-27 | 3 | -7/+12 |
| | | | | | | against both 2.6 and HEAD. The default is still changed to eager jitting. llvm-svn: 85330 | ||||
* | Add a note. | Bill Wendling | 2009-10-27 | 1 | -0/+23 |
| | | | | llvm-svn: 85329 | ||||
* | Factor out redundancy from clone() implementations. | Devang Patel | 2009-10-27 | 8 | -402/+222 |
| | | | | llvm-svn: 85327 | ||||
* | Update the MachineBasicBlock CFG for an indirect branch. | Dan Gohman | 2009-10-27 | 1 | -0/+4 |
| | | | | llvm-svn: 85325 | ||||
* | Add CodeGen support for indirect branches. | Dan Gohman | 2009-10-27 | 1 | -2/+3 |
| | | | | llvm-svn: 85323 | ||||
* | typo | Chris Lattner | 2009-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 85322 | ||||
* | you can't take the address of the entry block of a function. | Chris Lattner | 2009-10-27 | 1 | -2/+2 |
| | | | | llvm-svn: 85321 | ||||
* | improvements from gabor. | Chris Lattner | 2009-10-27 | 1 | -2/+2 |
| | | | | llvm-svn: 85320 | ||||
* | make the build build. | Chris Lattner | 2009-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 85319 | ||||
* | Add new APFloat methods that return sign, exp, and mantissa of ieee float ↵ | Evan Cheng | 2009-10-27 | 2 | -12/+69 |
| | | | | | | and double values. llvm-svn: 85318 | ||||
* | Random updates to passes for indbr, I need blockaddress before I can do much ↵ | Chris Lattner | 2009-10-27 | 3 | -2/+10 |
| | | | | | | more. llvm-svn: 85316 | ||||
* | cppbackend support for indbr | Chris Lattner | 2009-10-27 | 1 | -3/+14 |
| | | | | llvm-svn: 85312 | ||||
* | CBE support for indbr. | Chris Lattner | 2009-10-27 | 1 | -0/+7 |
| | | | | llvm-svn: 85311 | ||||
* | fix things pointed out by Dan! | Chris Lattner | 2009-10-27 | 1 | -4/+9 |
| | | | | llvm-svn: 85310 | ||||
* | document the forthcoming blockaddress constant. | Chris Lattner | 2009-10-27 | 1 | -1/+26 |
| | | | | llvm-svn: 85306 | ||||
* | Similar to r85280, do not clear the "S" bit for RSBri and RSBrs. | Johnny Chen | 2009-10-27 | 1 | -2/+0 |
| | | | | llvm-svn: 85299 | ||||
* | Do not held on to DenseMap slot accross map insertion. The insertion may ↵ | Devang Patel | 2009-10-27 | 2 | -22/+26 |
| | | | | | | | | cause the map to grow rending the slot invalid. Use this opportunity to use ValueMap instead of DenseMap. llvm-svn: 85298 | ||||
* | Set condition code bits of BL and BLr9 to 0b1110 (ALways) to distinguish between | Johnny Chen | 2009-10-27 | 1 | -2/+6 |
| | | | | | | BL_pred and BLr9_pred. llvm-svn: 85297 | ||||
* | don't use stdio | Chris Lattner | 2009-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 85296 | ||||
* | Change the JIT to compile eagerly by default as agreed in | Jeffrey Yasskin | 2009-10-27 | 8 | -61/+61 |
| | | | | | | | http://llvm.org/PR5184, and beef up the comments to describe what both options do and the risks of lazy compilation in the presence of threads. llvm-svn: 85295 | ||||
* | fix pasto pointed out by Rafael | Chris Lattner | 2009-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 85294 | ||||
* | Add radar number. | Dale Johannesen | 2009-10-27 | 1 | -0/+1 |
| | | | | llvm-svn: 85290 | ||||
* | Testcase for llvm-gcc patch 85284. | Dale Johannesen | 2009-10-27 | 1 | -0/+42 |
| | | | | llvm-svn: 85287 | ||||
* | Rename MallocFreeHelper as MemoryBuiltins | Victor Hernandez | 2009-10-27 | 18 | -28/+26 |
| | | | | llvm-svn: 85286 | ||||
* | CMake: Install .inc files too. | Oscar Fuentes | 2009-10-27 | 1 | -0/+2 |
| | | | | llvm-svn: 85285 | ||||
* | Rather than excluding quite some things, and still installing | Oscar Fuentes | 2009-10-27 | 1 | -7/+14 |
| | | | | | | | | | CMakeLists.txt, Makefiles, ... it's better to whitelist what we really want to install. Patch by Ingmar Vanhassel! llvm-svn: 85282 | ||||
* | Do away with addLegalFPImmediate. Add a target hook isFPImmLegal which ↵ | Evan Cheng | 2009-10-27 | 11 | -37/+70 |
| | | | | | | returns true if the fp immediate can be natively codegened by target. llvm-svn: 85281 | ||||
* | Do not clear the "S" bit for RSCri and RSCrs. They inherit from the "sI" | Bob Wilson | 2009-10-27 | 1 | -2/+0 |
| | | | | | | instruction format that already takes care of setting this. llvm-svn: 85280 | ||||
* | add enough support for indirect branch for the feature test to pass | Chris Lattner | 2009-10-27 | 17 | -102/+483 |
| | | | | | | | (assembler,asmprinter, bc reader+writer) and document it. Codegen currently aborts on it. llvm-svn: 85274 | ||||
* | Explicitly specify 0b00, i.e, zero rotation, as the rotate filed (Inst{11-10}) | Johnny Chen | 2009-10-27 | 1 | -5/+8 |
| | | | | | | for the r/rr fragment of the multiclass AI_unary_rrot/AI_bin_rrot. llvm-svn: 85271 | ||||
* | Add missing testcase. | Rafael Espindola | 2009-10-27 | 1 | -0/+14 |
| | | | | llvm-svn: 85266 | ||||
* | change of mind :) | Chris Lattner | 2009-10-27 | 1 | -0/+0 |
| | | | | llvm-svn: 85258 | ||||
* | Remove unnecessary gotos to fall-thru successors. | Sanjiv Gupta | 2009-10-27 | 2 | -1/+26 |
| | | | | llvm-svn: 85257 | ||||
* | rename test. | Chris Lattner | 2009-10-27 | 1 | -0/+0 |
| | | | | llvm-svn: 85256 | ||||
* | Test commit. Added '.' to the comment line. | Johnny Chen | 2009-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 85255 | ||||
* | Type.h doesn't need to #include LLVMContext.h | Chris Lattner | 2009-10-27 | 9 | -2/+9 |
| | | | | llvm-svn: 85254 | ||||
* | pseudosourcevalue is also still using getGlobalContext(), so it isn't | Chris Lattner | 2009-10-27 | 2 | -0/+2 |
| | | | | | | thread safe either. llvm-svn: 85253 | ||||
* | apparently the X86 JIT isn't fully contextized, it is still using ↵ | Chris Lattner | 2009-10-27 | 1 | -0/+1 |
| | | | | | | getGlobalContext() :( llvm-svn: 85252 | ||||
* | Fix reversed logic spotted by Owen Anderson. | Nick Lewycky | 2009-10-27 | 1 | -2/+2 |
| | | | | llvm-svn: 85251 |