| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Simplify this code; it can use the regular CFG utlities rather than | Dan Gohman | 2010-07-23 | 1 | -13/+7 | |
| | | | | | | | the BlockTraits abstractions. llvm-svn: 109268 | |||||
| * | Micro-optimize SCEVComplexityCompare. | Dan Gohman | 2010-07-23 | 1 | -34/+44 | |
| | | | | | llvm-svn: 109267 | |||||
| * | Add a const qualifier. | Dan Gohman | 2010-07-23 | 1 | -2/+2 | |
| | | | | | llvm-svn: 109266 | |||||
| * | Use the proper type for shift counts. This fixes a bootstrap error. | Dan Gohman | 2010-07-23 | 1 | -1/+4 | |
| | | | | | llvm-svn: 109265 | |||||
| * | IF directory name is empty then try to extract one using absolute file name. | Devang Patel | 2010-07-23 | 1 | -0/+5 | |
| | | | | | llvm-svn: 109262 | |||||
| * | Add AVX version of CLMUL instructions | Bruno Cardoso Lopes | 2010-07-23 | 3 | -0/+58 | |
| | | | | | llvm-svn: 109248 | |||||
| * | DAGCombine (shl (anyext x, c)) to (anyext (shl x, c)) if the high bits | Dan Gohman | 2010-07-23 | 1 | -1/+21 | |
| | | | | | | | are not demanded. This often allows the anyext to be folded away. llvm-svn: 109242 | |||||
| * | Make SDNode::dump() print a newline at the end. | Dan Gohman | 2010-07-23 | 1 | -0/+1 | |
| | | | | | llvm-svn: 109234 | |||||
| * | fix constness warnings | Gabor Greif | 2010-07-23 | 2 | -2/+4 | |
| | | | | | llvm-svn: 109224 | |||||
| * | do not (implicitly) dereference iterator many times, cache it instead | Gabor Greif | 2010-07-23 | 1 | -2/+3 | |
| | | | | | llvm-svn: 109222 | |||||
| * | Formatting. | Mikhail Glushenkov | 2010-07-23 | 1 | -1/+1 | |
| | | | | | llvm-svn: 109216 | |||||
| * | Get rid of exceptions in llvmc. | Mikhail Glushenkov | 2010-07-23 | 5 | -162/+247 | |
| | | | | | | | llvmc can be now compiled with llvm-gcc on Windows. llvm-svn: 109215 | |||||
| * | Declare CLMUL as a subtarget feature | Bruno Cardoso Lopes | 2010-07-23 | 1 | -0/+2 | |
| | | | | | llvm-svn: 109207 | |||||
| * | Add x86 CLMUL (Carry-less multiplication) cpu feature | Bruno Cardoso Lopes | 2010-07-23 | 3 | -3/+10 | |
| | | | | | llvm-svn: 109206 | |||||
| * | 80-col. | Eric Christopher | 2010-07-23 | 1 | -8/+12 | |
| | | | | | llvm-svn: 109205 | |||||
| * | Add complete assembler support for FMA3 instructions, with descriptions and ↵ | Bruno Cardoso Lopes | 2010-07-23 | 3 | -0/+72 | |
| | | | | | | | encodings taken from the AVX manual llvm-svn: 109204 | |||||
| * | The only supported calling convention for X86-64 uses | Dale Johannesen | 2010-07-23 | 1 | -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 Lopes | 2010-07-23 | 1 | -6/+8 | |
| | | | | | | | with PINSRW, which was totally wrong because of a typo I introduced previously llvm-svn: 109198 | |||||
| * | eliminate the TargetInstrInfo::GetInstSizeInBytes hook. | Chris Lattner | 2010-07-22 | 4 | -5/+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 was | Chris Lattner | 2010-07-22 | 2 | -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 Lopes | 2010-07-22 | 1 | -5/+30 | |
| | | | | | | | 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 Lattner | 2010-07-22 | 4 | -80/+3 | |
| | | | | | llvm-svn: 109167 | |||||
| * | switch a private implementation of GetFunctionSizeInBytes. | Chris Lattner | 2010-07-22 | 1 | -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 | |||||
| * | X86MCInstLower now depends on AsmPrinter being around. | Chris Lattner | 2010-07-22 | 2 | -32/+11 | |
| | | | | | llvm-svn: 109154 | |||||
| * | instead of migrating it to the MC instruction encoder, just | Chris Lattner | 2010-07-22 | 3 | -553/+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 109117 | Devang Patel | 2010-07-22 | 1 | -27/+6 | |
| | | | | | llvm-svn: 109132 | |||||
| * | ARMv4 JIT forgets to set the lr register when making a indirect function ↵ | Xerxes Ranby | 2010-07-22 | 2 | -1/+14 | |
| | | | | | | | call. Fixes PR7608 llvm-svn: 109125 | |||||
| * | keep in 80 cols | Gabor Greif | 2010-07-22 | 2 | -5/+8 | |
| | | | | | llvm-svn: 109122 | |||||
| * | Map MDNode correctly. | Devang Patel | 2010-07-22 | 1 | -6/+27 | |
| | | | | | | | A non function local MDNode can have an operand which is cloned by MapValue(). llvm-svn: 109117 | |||||
| * | use cascading operator-> feature | Gabor Greif | 2010-07-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 109104 | |||||
| * | mass elimination of reliance on automatic iterator dereferencing | Gabor Greif | 2010-07-22 | 12 | -18/+18 | |
| | | | | | llvm-svn: 109103 | |||||
| * | simplify | Gabor Greif | 2010-07-22 | 1 | -3/+2 | |
| | | | | | llvm-svn: 109101 | |||||
| * | do not access arguments via low-level interface, do not multiply dereference ↵ | Gabor Greif | 2010-07-22 | 1 | -17/+19 | |
| | | | | | | | use_iterators llvm-svn: 109100 | |||||
| * | pass dereferenced iterator to dyn_cast | Gabor Greif | 2010-07-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 109099 | |||||
| * | pass dereferenced iterator to dyn_cast | Gabor Greif | 2010-07-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 109098 | |||||
| * | use -> instead of (*). | Gabor Greif | 2010-07-22 | 1 | -2/+2 | |
| | | | | | llvm-svn: 109094 | |||||
| * | cache dereferenced iterator | Gabor Greif | 2010-07-22 | 1 | -3/+4 | |
| | | | | | llvm-svn: 109093 | |||||
| * | undo 80 column trespassing I caused | Gabor Greif | 2010-07-22 | 9 | -27/+39 | |
| | | | | | llvm-svn: 109092 | |||||
| * | Mark an assert-only variable as used. | Chandler Carruth | 2010-07-22 | 1 | -0/+1 | |
| | | | | | llvm-svn: 109091 | |||||
| * | Fix the generated file name for CMake. | Chandler Carruth | 2010-07-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 109090 | |||||
| * | Add new RegionInfo pass. | Tobias Grosser | 2010-07-22 | 3 | -0/+821 | |
| | | | | | | | | | | | 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 Carruth | 2010-07-22 | 2 | -2/+2 | |
| | | | | | | | especially on other platforms. Is there a better way to fix this. llvm-svn: 109084 | |||||
| * | Re-apply r109079 with fix. | Evan Cheng | 2010-07-22 | 1 | -28/+26 | |
| | | | | | llvm-svn: 109083 | |||||
| * | Revert r109079, which broke a lot of CodeGen tests. | Owen Anderson | 2010-07-22 | 1 | -25/+27 | |
| | | | | | llvm-svn: 109082 | |||||
| * | Update CMake files. | Owen Anderson | 2010-07-22 | 1 | -0/+1 | |
| | | | | | llvm-svn: 109081 | |||||
| * | Initial modifications to MCAssembler and TargetMachine for the MCJIT. | Reid Kleckner | 2010-07-22 | 2 | -4/+28 | |
| | | | | | | | Patch by Olivier Meurant! llvm-svn: 109080 | |||||
| * | Initialize RegLimit only when register pressure is being tracked. | Evan Cheng | 2010-07-22 | 1 | -27/+25 | |
| | | | | | llvm-svn: 109079 | |||||
| * | Custom lower the memory barrier instructions and add support | Eric Christopher | 2010-07-22 | 5 | -18/+75 | |
| | | | | | | | | | 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 Cheng | 2010-07-22 | 1 | -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 | |||||
| * | 80-columns. | Eric Christopher | 2010-07-22 | 1 | -9/+12 | |
| | | | | | llvm-svn: 109070 | |||||

