| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Function attributes have index ~0, not 0 | Kenneth Uildriks | 2010-02-16 | 1 | -2/+2 |
| | | | | | llvm-svn: 96370 | ||||
| * | simplify this code. In the new world order there is no | Chris Lattner | 2010-02-16 | 1 | -27/+24 |
| | | | | | | | need to scan the entire subtree of the pattern anymore. llvm-svn: 96369 | ||||
| * | convert the new matcher to check intermediate nodes for a single | Chris Lattner | 2010-02-16 | 5 | -47/+32 |
| | | | | | | | | | | use and only call IsProfitableToFold/IsLegalToFold on the load being folded, like the old dagiselemitter does. This substantially simplifies the code and improves opportunities for sharing. llvm-svn: 96368 | ||||
| * | change dag isel emitter to only call 'IsProfitableToFold' on nodes | Chris Lattner | 2010-02-16 | 1 | -3/+13 |
| | | | | | | | | | with chains. On interior nodes that lead up to them, we just directly check that there is a single use. This generates slightly more efficient code. llvm-svn: 96366 | ||||
| * | Fix pr6111: Avoid using the LR register for the target address of an indirect | Bob Wilson | 2010-02-16 | 3 | -4/+27 |
| | | | | | | | | | branch in ARM v4 code, since it gets clobbered by the return address before it is used. Instead of adding a new register class containing all the GPRs except LR, just use the existing tGPR class. llvm-svn: 96360 | ||||
| * | Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some | Duncan Sands | 2010-02-16 | 10 | -34/+38 |
| | | | | | | | methods to try to have the type predicates be more logically positioned. llvm-svn: 96349 | ||||
| * | There are two ways of checking for a given type, for example isa<PointerType>(T) | Duncan Sands | 2010-02-16 | 70 | -581/+585 |
| | | | | | | | | and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344 | ||||
| * | Minor warning fixes (semicolons, newline at EOF). | Benjamin Kramer | 2010-02-16 | 2 | -3/+3 |
| | | | | | llvm-svn: 96343 | ||||
| * | mark all the generated node predicates 'const'. | Chris Lattner | 2010-02-16 | 2 | -3/+3 |
| | | | | | llvm-svn: 96337 | ||||
| * | generate code for node and pattern predicates. Note that this won't | Chris Lattner | 2010-02-16 | 4 | -26/+93 |
| | | | | | | | | build if enabled, it will fail with constness issues. I'll resolve these next. llvm-svn: 96336 | ||||
| * | refactor some code into a local class. | Chris Lattner | 2010-02-16 | 1 | -14/+22 |
| | | | | | llvm-svn: 96334 | ||||
| * | remove now dead code and fixme. | Chris Lattner | 2010-02-16 | 2 | -4/+0 |
| | | | | | llvm-svn: 96333 | ||||
| * | remove dead code. This is never generated for any targets in mainline. | Chris Lattner | 2010-02-16 | 1 | -15/+0 |
| | | | | | llvm-svn: 96332 | ||||
| * | add support for the new isel matcher to generate | Chris Lattner | 2010-02-16 | 7 | -12/+123 |
| | | | | | | | (isprofitable|islegal)tofold checks. llvm-svn: 96331 | ||||
| * | make pcrel immediate values relative to the start of the field, | Chris Lattner | 2010-02-16 | 2 | -8/+18 |
| | | | | | | | not the end of the field, fixing rdar://7651978 llvm-svn: 96330 | ||||
| * | Fix a typo in an LLVMOpcode enum. LLVMTrunk -> LLVMTrunc. | Erick Tryzelaar | 2010-02-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 96324 | ||||
| * | Fix some ocaml documentation | Erick Tryzelaar | 2010-02-16 | 2 | -5/+5 |
| | | | | | llvm-svn: 96323 | ||||
| * | The code section for an ISR has a specific address. | Sanjiv Gupta | 2010-02-16 | 4 | -4/+23 |
| | | | | | | | Currently, whether a function is ISR or not is encoded in the section attribute for that function. llvm-svn: 96322 | ||||
| * | Handle DBG_VALUE mixed with labels when doing PHI | Dale Johannesen | 2010-02-16 | 1 | -1/+18 |
| | | | | | | | | elimination. Before a DBG_VALUE could affect codegen. The solution here is imperfect and not final. llvm-svn: 96318 | ||||
| * | Drop support for the InReg attribute on the ppc backend. This was used by | Rafael Espindola | 2010-02-16 | 1 | -16/+1 |
| | | | | | | | | llvm-gcc but has been replaced with pad argument which don't need any special backend support. llvm-svn: 96312 | ||||
| * | Split the main for-each-use loop again, this time for GenerateTruncates, | Dan Gohman | 2010-02-16 | 2 | -1/+63 |
| | | | | | | | | as it also peeks at which registers are being used by other uses. This makes LSR less sensitive to use-list order. llvm-svn: 96308 | ||||
| * | Reapply 96294; now that I've gotten around to looking | Dale Johannesen | 2010-02-16 | 1 | -4/+26 |
| | | | | | | | | at older buildbot messages, I see the failure predates this patch. llvm-svn: 96307 | ||||
| * | Apply patch from http://llvm.org/bugs/attachment.cgi?id=4136 now that PR5004 is | Bill Wendling | 2010-02-16 | 1 | -1/+5 |
| | | | | | | | finished. llvm-svn: 96304 | ||||
| * | Something broke. Hard to believe it was this patch | Dale Johannesen | 2010-02-16 | 1 | -26/+4 |
| | | | | | | | | but it's harder to believe it's the other candidate, so reverting. Temporarily I hope. llvm-svn: 96303 | ||||
| * | When reusing an existing PHI node in a loop, be even more | Dan Gohman | 2010-02-16 | 1 | -11/+39 |
| | | | | | | | strict about the requirements. llvm-svn: 96301 | ||||
| * | Put repeated empty pattern into the AQI instruction class. | Bob Wilson | 2010-02-15 | 1 | -49/+19 |
| | | | | | | | | We could almost use a multiclass for the signed/unsigned instructions, but there are only 6 of them so I guess it's not worth it. llvm-svn: 96297 | ||||
| * | Fix a memory leak. Patch by Nicolas Geoffray. | Evan Cheng | 2010-02-15 | 1 | -0/+1 |
| | | | | | llvm-svn: 96295 | ||||
| * | More handling of DBG_VALUE. | Dale Johannesen | 2010-02-15 | 1 | -4/+26 |
| | | | | | llvm-svn: 96294 | ||||
| * | Add missed entry to cmake build list file | Anton Korobeynikov | 2010-02-15 | 1 | -0/+1 |
| | | | | | llvm-svn: 96292 | ||||
| * | Use ttype encoding consistently | Anton Korobeynikov | 2010-02-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 96290 | ||||
| * | Fix a silly darwin-only typo introduced during merge. | Anton Korobeynikov | 2010-02-15 | 1 | -7/+6 |
| | | | | | llvm-svn: 96289 | ||||
| * | Move TLOF implementations to libCodegen to resolve layering violation. | Anton Korobeynikov | 2010-02-15 | 18 | -1025/+1091 |
| | | | | | llvm-svn: 96288 | ||||
| * | It turns out that we emitted completely wrong common EH frame since the ↵ | Anton Korobeynikov | 2010-02-15 | 1 | -7/+9 |
| | | | | | | | early beginning! The "z" CIE augmentation mark indicates that there is an extra word containing the size of augmentation section. However, even for frames w/o any augmentation data we emitted size uleb! (this is the case of "unwinding through C code"). Thus frame moves information was emitterd completely wrong. llvm-svn: 96287 | ||||
| * | Add suffix for stubs, so we won't have name clashes with private symbols. | Anton Korobeynikov | 2010-02-15 | 1 | -0/+1 |
| | | | | | llvm-svn: 96286 | ||||
| * | Preliminary patch to improve dwarf EH generation - Hooks to return ↵ | Anton Korobeynikov | 2010-02-15 | 20 | -297/+470 |
| | | | | | | | Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there llvm-svn: 96285 | ||||
| * | Teach the verifier to check the condition on a branch and ensure that it has | Nick Lewycky | 2010-02-15 | 2 | -0/+53 |
| | | | | | | | 'i1' type. llvm-svn: 96282 | ||||
| * | Fix PR6300. | Jakob Stoklund Olesen | 2010-02-15 | 2 | -3/+82 |
| | | | | | | | | A virtual register can be used before it is defined in the same MBB if the MBB is part of a loop. Teach the implicit-def pass about this case. llvm-svn: 96279 | ||||
| * | Last week we were generating code with duplicate induction variables in this | Bob Wilson | 2010-02-15 | 1 | -0/+4 |
| | | | | | | | | test, but the problem seems to have gone away today. Add a check to make sure it doesn't come back. llvm-svn: 96277 | ||||
| * | Fix crash in VerifyType when checking Contexts. Because there may not be a | Nick Lewycky | 2010-02-15 | 1 | -8/+14 |
| | | | | | | | | Module (we were called with verifyFunction and an unowned Function) we can't rely on Mod->getContext(). llvm-svn: 96275 | ||||
| * | Don't try to materialize a function that isn't materializable anyways. This | Nick Lewycky | 2010-02-15 | 1 | -3/+5 |
| | | | | | | | fixes a crash using FPM on a Function that isn't owned by a Module. llvm-svn: 96273 | ||||
| * | A function with no Module owner isn't materializable. This fixes F->dump() for | Nick Lewycky | 2010-02-15 | 1 | -2/+2 |
| | | | | | | | functions not embedded within modules. llvm-svn: 96272 | ||||
| * | remove empty file. | Chris Lattner | 2010-02-15 | 1 | -0/+0 |
| | | | | | llvm-svn: 96271 | ||||
| * | Simplify. | Daniel Dunbar | 2010-02-15 | 1 | -23/+4 |
| | | | | | llvm-svn: 96269 | ||||
| * | Remove c++ style comments from c header. | Bill Wendling | 2010-02-15 | 1 | -8/+8 |
| | | | | | llvm-svn: 96266 | ||||
| * | revert r96241. It breaks two regression tests, isn't documented, | Chris Lattner | 2010-02-15 | 2 | -154/+8 |
| | | | | | | | and the testcase needs improvement. llvm-svn: 96265 | ||||
| * | Renumber Instruction enums in llvm-c. | Bill Wendling | 2010-02-15 | 1 | -50/+62 |
| | | | | | llvm-svn: 96264 | ||||
| * | fix PR6305 by handling BlockAddress in a helper function | Chris Lattner | 2010-02-15 | 3 | -3/+29 |
| | | | | | | | called by jump threading. llvm-svn: 96263 | ||||
| * | Split SelectionDAGISel::IsLegalAndProfitableToFold to | Evan Cheng | 2010-02-15 | 8 | -39/+63 |
| | | | | | | | | | IsLegalToFold and IsProfitableToFold. The generic version of the later simply checks whether the folding candidate has a single use. This allows the target isel routines more flexibility in deciding whether folding makes sense. The specific case we are interested in is folding constant pool loads with multiple uses. llvm-svn: 96255 | ||||
| * | comment fix. | Chris Lattner | 2010-02-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 96248 | ||||
| * | Add support for emitting non-temporal stores for DAGs marked | David Greene | 2010-02-15 | 2 | -8/+154 |
| | | | | | | | non-temporal. llvm-svn: 96241 | ||||

