summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* rename indbr -> indirectbr to appease the residents of #llvm.Chris Lattner2009-10-2821-91/+93
| | | | llvm-svn: 85351
* IR support for the new BlockAddress constant kind. This isChris Lattner2009-10-284-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 canBob Wilson2009-10-276-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 avoidJeffrey Yasskin2009-10-272-17/+17
| | | | | | colliding with llvm/ADT/ValueMap.h:ValueMap<>. llvm-svn: 85344
* Add new note.Bill Wendling2009-10-271-0/+35
| | | | llvm-svn: 85341
* Fixed a bug in the coalescer where intervals were occasionally merged ↵Lang Hames2009-10-272-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 Grosbach2009-10-271-2/+2
| | | | llvm-svn: 85335
* Move and clarify note.Bill Wendling2009-10-272-31/+33
| | | | llvm-svn: 85334
* Infrastructure for dynamic stack realignment on ARM. For now, this is off byJim Grosbach2009-10-272-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 Wendling2009-10-271-3/+5
| | | | llvm-svn: 85332
* Modify note.Bill Wendling2009-10-271-0/+8
| | | | llvm-svn: 85331
* Revert the API changes from r85295 to make it easier for people to buildJeffrey Yasskin2009-10-273-7/+12
| | | | | | against both 2.6 and HEAD. The default is still changed to eager jitting. llvm-svn: 85330
* Add a note.Bill Wendling2009-10-271-0/+23
| | | | llvm-svn: 85329
* Factor out redundancy from clone() implementations.Devang Patel2009-10-278-402/+222
| | | | llvm-svn: 85327
* Update the MachineBasicBlock CFG for an indirect branch.Dan Gohman2009-10-271-0/+4
| | | | llvm-svn: 85325
* Add CodeGen support for indirect branches.Dan Gohman2009-10-271-2/+3
| | | | llvm-svn: 85323
* typoChris Lattner2009-10-271-1/+1
| | | | llvm-svn: 85322
* you can't take the address of the entry block of a function.Chris Lattner2009-10-271-2/+2
| | | | llvm-svn: 85321
* improvements from gabor.Chris Lattner2009-10-271-2/+2
| | | | llvm-svn: 85320
* make the build build.Chris Lattner2009-10-271-1/+1
| | | | llvm-svn: 85319
* Add new APFloat methods that return sign, exp, and mantissa of ieee float ↵Evan Cheng2009-10-272-12/+69
| | | | | | and double values. llvm-svn: 85318
* Random updates to passes for indbr, I need blockaddress before I can do much ↵Chris Lattner2009-10-273-2/+10
| | | | | | more. llvm-svn: 85316
* cppbackend support for indbrChris Lattner2009-10-271-3/+14
| | | | llvm-svn: 85312
* CBE support for indbr.Chris Lattner2009-10-271-0/+7
| | | | llvm-svn: 85311
* fix things pointed out by Dan!Chris Lattner2009-10-271-4/+9
| | | | llvm-svn: 85310
* document the forthcoming blockaddress constant.Chris Lattner2009-10-271-1/+26
| | | | llvm-svn: 85306
* Similar to r85280, do not clear the "S" bit for RSBri and RSBrs.Johnny Chen2009-10-271-2/+0
| | | | llvm-svn: 85299
* Do not held on to DenseMap slot accross map insertion. The insertion may ↵Devang Patel2009-10-272-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 betweenJohnny Chen2009-10-271-2/+6
| | | | | | BL_pred and BLr9_pred. llvm-svn: 85297
* don't use stdioChris Lattner2009-10-271-1/+1
| | | | llvm-svn: 85296
* Change the JIT to compile eagerly by default as agreed inJeffrey Yasskin2009-10-278-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 RafaelChris Lattner2009-10-271-1/+1
| | | | llvm-svn: 85294
* Add radar number.Dale Johannesen2009-10-271-0/+1
| | | | llvm-svn: 85290
* Testcase for llvm-gcc patch 85284.Dale Johannesen2009-10-271-0/+42
| | | | llvm-svn: 85287
* Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez2009-10-2718-28/+26
| | | | llvm-svn: 85286
* CMake: Install .inc files too.Oscar Fuentes2009-10-271-0/+2
| | | | llvm-svn: 85285
* Rather than excluding quite some things, and still installingOscar Fuentes2009-10-271-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 Cheng2009-10-2711-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 Wilson2009-10-271-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 passChris Lattner2009-10-2717-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 Chen2009-10-271-5/+8
| | | | | | for the r/rr fragment of the multiclass AI_unary_rrot/AI_bin_rrot. llvm-svn: 85271
* Add missing testcase.Rafael Espindola2009-10-271-0/+14
| | | | llvm-svn: 85266
* change of mind :)Chris Lattner2009-10-271-0/+0
| | | | llvm-svn: 85258
* Remove unnecessary gotos to fall-thru successors.Sanjiv Gupta2009-10-272-1/+26
| | | | llvm-svn: 85257
* rename test.Chris Lattner2009-10-271-0/+0
| | | | llvm-svn: 85256
* Test commit. Added '.' to the comment line.Johnny Chen2009-10-271-1/+1
| | | | llvm-svn: 85255
* Type.h doesn't need to #include LLVMContext.hChris Lattner2009-10-279-2/+9
| | | | llvm-svn: 85254
* pseudosourcevalue is also still using getGlobalContext(), so it isn'tChris Lattner2009-10-272-0/+2
| | | | | | thread safe either. llvm-svn: 85253
* apparently the X86 JIT isn't fully contextized, it is still using ↵Chris Lattner2009-10-271-0/+1
| | | | | | getGlobalContext() :( llvm-svn: 85252
* Fix reversed logic spotted by Owen Anderson.Nick Lewycky2009-10-271-2/+2
| | | | llvm-svn: 85251
OpenPOWER on IntegriCloud