summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Get rid of exceptions in llvmc.Mikhail Glushenkov2010-07-2313-255/+358
| | | | | | llvmc can be now compiled with llvm-gcc on Windows. llvm-svn: 109215
* give StringMap a new ctor which allows you to initialize itChris Lattner2010-07-231-0/+4
| | | | | | | | | with an existing allocator. The interesting use case of this is that it allows "StringMap<whatever, BumpPtrAllocator&>" for when you want to allocate out of a preexisting bump pointer allocator owned by someone else. llvm-svn: 109213
* modernize stringset interfaceChris Lattner2010-07-231-4/+3
| | | | llvm-svn: 109212
* Declare CLMUL as a subtarget featureBruno Cardoso Lopes2010-07-231-0/+2
| | | | llvm-svn: 109207
* Add x86 CLMUL (Carry-less multiplication) cpu featureBruno Cardoso Lopes2010-07-233-3/+10
| | | | llvm-svn: 109206
* 80-col.Eric Christopher2010-07-231-8/+12
| | | | llvm-svn: 109205
* Add complete assembler support for FMA3 instructions, with descriptions and ↵Bruno Cardoso Lopes2010-07-235-0/+1420
| | | | | | encodings taken from the AVX manual llvm-svn: 109204
* The only supported calling convention for X86-64 usesDale Johannesen2010-07-231-1/+14
| | | | | | | | | | | | | | | SSE, so we can't return floating point values if this is disabled. Detect this error for clang. With SSE1 only, f64 is a problem; it can be done, but neither llvm-gcc nor clang has ever generated correct code for it. Since nobody noticed this I think it's OK to treat it as an error for now. This also handles SSE-sized vectors of floating point. 8207686, 8204109. llvm-svn: 109201
* Fix some AVX instructions which didnt had HasAVX prefix. And also a problem ↵Bruno Cardoso Lopes2010-07-231-6/+8
| | | | | | with PINSRW, which was totally wrong because of a typo I introduced previously llvm-svn: 109198
* Add an explicit -sdk option to xcrun command.Bob Wilson2010-07-221-1/+1
| | | | llvm-svn: 109196
* Warnings patrol.Eric Christopher2010-07-222-6/+6
| | | | llvm-svn: 109174
* missed a use of SizeRequired.Chris Lattner2010-07-221-2/+0
| | | | llvm-svn: 109172
* eliminate the TargetInstrInfo::GetInstSizeInBytes hook. Chris Lattner2010-07-225-12/+5
| | | | | | | | ARM/PPC/MSP430-specific code (which are the only targets that implement the hook) can directly reference their target-specific instrinfo classes. llvm-svn: 109171
* 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
OpenPOWER on IntegriCloud