summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* remove the dwarf sizing stuff which is now dead, it wasChris Lattner2010-07-222-456/+0
| | | | | | | "yet another" copy of the dwarf EH emission code that was copied, pasted and slightly hacked up. llvm-svn: 109169
* Add remaining AVX instructions (most of them dealing with GR64 destinations. ↵Bruno Cardoso Lopes2010-07-222-5/+62
| | | | | | This complete the assembler support for the general AVX ISA. But we still miss instructions from FMA3 and CLMUL specific feature flags, which are now the next step llvm-svn: 109168
* remove the JIT "NeedsExactSize" feature and supporting logic.Chris Lattner2010-07-226-94/+4
| | | | llvm-svn: 109167
* switch a private implementation of GetFunctionSizeInBytes.Chris Lattner2010-07-221-1/+14
| | | | | | | | | This is probably not the best way to implement "Force LR to be spilled if the Thumb function size is > 2048." do this, it should use the branch shortening infrastructure, but I'm just preserving functionality here. llvm-svn: 109165
* Regenerate.Eric Christopher2010-07-221-1/+5
| | | | llvm-svn: 109164
* Try to work around the relative install-sh path problem.Eric Christopher2010-07-221-0/+7
| | | | | | Patch from Eli. llvm-svn: 109163
* X86MCInstLower now depends on AsmPrinter being around.Chris Lattner2010-07-222-32/+11
| | | | llvm-svn: 109154
* instead of migrating it to the MC instruction encoder, justChris Lattner2010-07-224-578/+100
| | | | | | | | | | | | | | rip out the implementation of X86InstrInfo::GetInstSizeInBytes. The code being ripped out just implemented a copy and hacked up version of the (old) instruction encoder, and is buggy and terrible in other ways. Since "GetInstSizeInBytes" is really only there to support the JIT's "NeedsExactSize" hook (which noone is using), just rip out the code. I will rip out the NeedsExactSize hook next. This resolves rdar://7617809 - switch X86InstrInfo::GetInstSizeInBytes to use X86MCCodeEmitter llvm-svn: 109149
* Speculatively revert 109117Devang Patel2010-07-221-27/+6
| | | | llvm-svn: 109132
* ARMv4 JIT forgets to set the lr register when making a indirect function ↵Xerxes Ranby2010-07-222-1/+14
| | | | | | call. Fixes PR7608 llvm-svn: 109125
* keep in 80 colsGabor Greif2010-07-222-5/+8
| | | | llvm-svn: 109122
* Map MDNode correctly. Devang Patel2010-07-221-6/+27
| | | | | | A non function local MDNode can have an operand which is cloned by MapValue(). llvm-svn: 109117
* add dyn_cast_or_null tests, exclude invalid dyn_cast testGabor Greif2010-07-221-8/+25
| | | | llvm-svn: 109111
* tidy upGabor Greif2010-07-221-13/+9
| | | | llvm-svn: 109110
* add dyn_cast tests and beef up others a bitGabor Greif2010-07-221-5/+34
| | | | llvm-svn: 109109
* fit in 80 columnsGabor Greif2010-07-221-1/+1
| | | | llvm-svn: 109108
* use cascading operator-> featureGabor Greif2010-07-221-1/+1
| | | | llvm-svn: 109104
* mass elimination of reliance on automatic iterator dereferencingGabor Greif2010-07-2212-18/+18
| | | | llvm-svn: 109103
* Increase the max physreg size. Patch by Pekka Jääskeläinen.Duncan Sands2010-07-221-1/+1
| | | | llvm-svn: 109102
* simplifyGabor Greif2010-07-221-3/+2
| | | | llvm-svn: 109101
* do not access arguments via low-level interface, do not multiply dereference ↵Gabor Greif2010-07-221-17/+19
| | | | | | use_iterators llvm-svn: 109100
* pass dereferenced iterator to dyn_castGabor Greif2010-07-221-1/+1
| | | | llvm-svn: 109099
* pass dereferenced iterator to dyn_castGabor Greif2010-07-221-1/+1
| | | | llvm-svn: 109098
* use -> instead of (*).Gabor Greif2010-07-221-2/+2
| | | | llvm-svn: 109094
* cache dereferenced iteratorGabor Greif2010-07-221-3/+4
| | | | llvm-svn: 109093
* undo 80 column trespassing I causedGabor Greif2010-07-229-27/+39
| | | | llvm-svn: 109092
* Mark an assert-only variable as used.Chandler Carruth2010-07-221-0/+1
| | | | llvm-svn: 109091
* Fix the generated file name for CMake.Chandler Carruth2010-07-221-1/+1
| | | | llvm-svn: 109090
* Add new RegionInfo pass.Tobias Grosser2010-07-2232-0/+2707
| | | | | | | | | | The RegionInfo pass detects single entry single exit regions in a function, where a region is defined as any subgraph that is connected to the remaining graph at only two spots. Furthermore an hierarchical region tree is built. Use it by calling "opt -regions analyze" or "opt -view-regions". llvm-svn: 109089
* Attempt to fix linking issues with CMake. Please review other CMake users,Chandler Carruth2010-07-222-2/+2
| | | | | | especially on other platforms. Is there a better way to fix this. llvm-svn: 109084
* Re-apply r109079 with fix.Evan Cheng2010-07-221-28/+26
| | | | llvm-svn: 109083
* Revert r109079, which broke a lot of CodeGen tests.Owen Anderson2010-07-221-25/+27
| | | | llvm-svn: 109082
* Update CMake files.Owen Anderson2010-07-221-0/+1
| | | | llvm-svn: 109081
* Initial modifications to MCAssembler and TargetMachine for the MCJIT.Reid Kleckner2010-07-224-5/+53
| | | | | | Patch by Olivier Meurant! llvm-svn: 109080
* Initialize RegLimit only when register pressure is being tracked.Evan Cheng2010-07-221-27/+25
| | | | llvm-svn: 109079
* Custom lower the memory barrier instructions and add supportEric Christopher2010-07-227-18/+103
| | | | | | | | for lowering without sse2. Add a couple of new testcases. Fixes a few libgomp tests and latent bugs. Remove a few todos. llvm-svn: 109078
* Fix constant island pass's handling of tBR_JTr. The offset of the ↵Evan Cheng2010-07-221-2/+10
| | | | | | | | | | | | | instruction does not have to be 4-byte aligned. Rather, it's the offset + 2 that must be aligned since the instruction expands into: mov pc, r1 .align 2 LJTI0_0_0: .long LBB0_14 This fixes rdar://8213383. No test case since it's not possible to come up with a suitable small one. llvm-svn: 109076
* If 'other' was empty 'overlapsFrom(other, other.begin());' will segfault. ↵Lang Hames2010-07-221-0/+2
| | | | | | This avoids that. llvm-svn: 109075
* lit: Add some example tests for previous commit.Daniel Dunbar2010-07-222-0/+6
| | | | llvm-svn: 109071
* 80-columns.Eric Christopher2010-07-221-9/+12
| | | | llvm-svn: 109070
* Make fast isel win64-aware w.r.t. call-clobbered regsNate Begeman2010-07-221-3/+14
| | | | llvm-svn: 109069
* More register pressure aware scheduling work.Evan Cheng2010-07-213-103/+103
| | | | llvm-svn: 109064
* Add more 256-bit forms for a bunch of regular AVX instructionsBruno Cardoso Lopes2010-07-214-76/+420
| | | | | | | Add 64-bit (GR64) versions of some instructions (which are not described in their SSE forms, but are described in AVX) llvm-svn: 109063
* lit: Add support for 'REQUIRES: feature-one, feature-two, ...' in theDaniel Dunbar2010-07-213-3/+22
| | | | | | | integrated-test formats (sh and tcl style). The particular features which get recognized are up to the test suite itself to define. llvm-svn: 109062
* Make NamedMDNode not be a subclass of Value, and simplify the interfaceDan Gohman2010-07-2119-272/+96
| | | | | | for creating and populating NamedMDNodes. llvm-svn: 109061
* Fixes win64. It was broken by a previous patch where I missed the !isWin64Rafael Espindola2010-07-211-4/+8
| | | | | | and then forced every register to be a vr128 on win64. llvm-svn: 109060
* Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with ↵Owen Anderson2010-07-2112-62/+50
| | | | | | RegisterAnalysisGroup<> for pass registration. llvm-svn: 109058
* For ARM/Darwin, add a dwarf entry indicating whether a function is arm or thumbJim Grosbach2010-07-213-0/+25
| | | | | | rdar://8202967 llvm-svn: 109057
* add some rough support for making mcinst lowering work without anChris Lattner2010-07-211-5/+23
| | | | | | | | asmprinter or mangler around. This is option #B for killing off X86InstrInfo::GetInstSizeInBytes. Option #A (killing "needsexactsize") was sent for consideration to llvmdev. llvm-svn: 109056
* First stab at updating the documentation for INITIALIZE_PASS().Owen Anderson2010-07-211-7/+7
| | | | llvm-svn: 109055
OpenPOWER on IntegriCloud