Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | strength reduce MMI::MappedLabel to MMI::isLabelDeleted, | Chris Lattner | 2010-03-09 | 1 | -7/+5 | |
| | | | | | | | and add a FIXME about how we are eventually going to zap this lookup table once mc world domination is complete. llvm-svn: 98031 | |||||
* | Fix an uninitialized value. Radar 7609421. | Bob Wilson | 2010-02-06 | 1 | -0/+1 | |
| | | | | llvm-svn: 95488 | |||||
* | Update of 94055 to track the IR level call site information via an intrinsic. | Jim Grosbach | 2010-01-28 | 1 | -0/+1 | |
| | | | | | | | This allows code gen and the exception table writer to cooperate to make sure landing pads are associated with the correct invoke locations. llvm-svn: 94726 | |||||
* | back this out for now. Growing Function is not good. | Jim Grosbach | 2010-01-21 | 1 | -1/+0 | |
| | | | | llvm-svn: 94097 | |||||
* | Make sure that landing pad entries in the EH call site table are in the proper | Jim Grosbach | 2010-01-21 | 1 | -0/+1 | |
| | | | | | | order for SjLj style exception handling. llvm-svn: 94055 | |||||
* | Remove DebugLabelFolder pass. It is not used by dwarf writer anymore. | Devang Patel | 2009-11-24 | 1 | -72/+0 | |
| | | | | llvm-svn: 89790 | |||||
* | "Attach debug info with llvm instructions" mode was enabled a month ago. Now ↵ | Devang Patel | 2009-11-12 | 1 | -2/+0 | |
| | | | | | | make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes. llvm-svn: 87014 | |||||
* | Clear variable debug info map at the end of the function. | Devang Patel | 2009-10-08 | 1 | -0/+3 | |
| | | | | llvm-svn: 83571 | |||||
* | Simplify. | Devang Patel | 2009-09-30 | 1 | -6/+0 | |
| | | | | llvm-svn: 83123 | |||||
* | the pointer MMI keeps will start out with object-file format specific stuff | Chris Lattner | 2009-09-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 82012 | |||||
* | add hooks to hang target-specific goop off MachineModuleInfo, | Chris Lattner | 2009-09-15 | 1 | -7/+7 | |
| | | | | | | | move MachineFunctionInfo virtual method out of line to give it a home. llvm-svn: 81940 | |||||
* | Rework getPersonalityIndex slightly - 0 is now a valid and not-NULL | Eric Christopher | 2009-08-26 | 1 | -3/+3 | |
| | | | | | | personality function. llvm-svn: 80153 | |||||
* | If we're emitting additional CIEs due to personality functions | Eric Christopher | 2009-08-26 | 1 | -2/+7 | |
| | | | | | | | don't emit the default one. Explicitly check for the NULL CIE later. llvm-svn: 80146 | |||||
* | Nuke trailing whitespace. | Eric Christopher | 2009-08-26 | 1 | -14/+13 | |
| | | | | llvm-svn: 80145 | |||||
* | remove some uses of llvm/Support/Streams.h | Chris Lattner | 2009-08-23 | 1 | -1/+0 | |
| | | | | llvm-svn: 79842 | |||||
* | Use setPreservesAll and setPreservesCFG in CodeGen passes. | Dan Gohman | 2009-07-31 | 1 | -0/+1 | |
| | | | | llvm-svn: 77754 | |||||
* | implement a new magic global "llvm.compiler.used" which is like llvm.used, but | Chris Lattner | 2009-07-20 | 1 | -1/+2 | |
| | | | | | | doesn't cause ".no_dead_strip" to be emitted on darwin. llvm-svn: 76399 | |||||
* | use stripPointerCasts to simplify some code. | Chris Lattner | 2009-07-20 | 1 | -6/+4 | |
| | | | | llvm-svn: 76397 | |||||
* | llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. | Torok Edwin | 2009-07-14 | 1 | -1/+1 | |
| | | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640 | |||||
* | assert(0) -> LLVM_UNREACHABLE. | Torok Edwin | 2009-07-11 | 1 | -1/+2 | |
| | | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379 | |||||
* | DebugLabelFolder ruthlessly deletes redundant labels. However, sometimes the ↵ | Devang Patel | 2009-04-10 | 1 | -1/+1 | |
| | | | | | | redundant labels is referenced by debug info somewhere else. This patch provies a way so that dwarf writer can mark labels as used. llvm-svn: 68813 | |||||
* | Remove dead code. | Devang Patel | 2009-02-03 | 1 | -1/+0 | |
| | | | | llvm-svn: 63653 | |||||
* | Rename getAnalysisToUpdate to getAnalysisIfAvailable. | Duncan Sands | 2009-01-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 63198 | |||||
* | Removoe MachineModuleInfo methods (and related DebugInfoDesc class ↵ | Devang Patel | 2009-01-13 | 1 | -1711/+0 | |
| | | | | | | hierarchy) that were used to handle debug info. llvm-svn: 62199 | |||||
* | Keep "has debug info" big in MachineModuleInfo to avoid circular dependency ↵ | Devang Patel | 2009-01-13 | 1 | -0/+1 | |
| | | | | | | between AsmPrinter and CodeGen. llvm-svn: 62191 | |||||
* | Fix a couple of Dwarf bugs. | Evan Cheng | 2008-12-10 | 1 | -3/+6 | |
| | | | | | | | - Emit DW_AT_byte_size for struct and union of size zero. - Emit DW_AT_declaration for forward type declaration. llvm-svn: 60812 | |||||
* | Fix an over aggressive assumption that struct decls will have a pointer to | Chris Lattner | 2008-11-10 | 1 | -1/+1 | |
| | | | | | | | an array that is empty. Instead of requiring this array, allow a null pointer. This shrinks all forward references of structs. llvm-svn: 58959 | |||||
* | Move the include of MachineLocation.h into MachineModuleInfo.h | Dan Gohman | 2008-10-16 | 1 | -1/+0 | |
| | | | | | | | | because it declares a std::vector<MachineMove>, and strict concept checking requires the definition of MachineMove to be available. llvm-svn: 57617 | |||||
* | Instead of setPreservesAll, just mark them preseving machine loop info and ↵ | Evan Cheng | 2008-09-22 | 1 | -1/+3 | |
| | | | | | | machine dominators. llvm-svn: 56475 | |||||
* | Mark several codegen passes as preserving all analysis. | Evan Cheng | 2008-09-22 | 1 | -0/+5 | |
| | | | | llvm-svn: 56469 | |||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -2/+2 | |
| | | | | llvm-svn: 55779 | |||||
* | Make the DICountVisitor not a visitor. This keeps us from calling virtual | Bill Wendling | 2008-07-09 | 1 | -33/+154 | |
| | | | | | | functions and junk. llvm-svn: 53279 | |||||
* | Use the canonical way to get an empty structure. | Bill Wendling | 2008-07-07 | 1 | -3/+2 | |
| | | | | llvm-svn: 53206 | |||||
* | Use StringMap for greater justice! | Bill Wendling | 2008-07-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 53202 | |||||
* | Don't return std::vector by value, but pass it in by reference to be filled. | Bill Wendling | 2008-07-03 | 1 | -12/+10 | |
| | | | | llvm-svn: 53123 | |||||
* | Revert my previous check-in that split up MachineModuleInfo. It turns out to | Bill Wendling | 2008-07-03 | 1 | -61/+818 | |
| | | | | | | slow the compiler down at -O0 some 30% or more. Ooops. llvm-svn: 53120 | |||||
* | Use the canonical form for getting an empty structure. | Bill Wendling | 2008-07-02 | 1 | -10/+5 | |
| | | | | llvm-svn: 53003 | |||||
* | Sorry. I couldn't sleep at night knowing I put these ugly casts into the ↵ | Bill Wendling | 2008-07-02 | 1 | -2/+1 | |
| | | | | | | source tree. llvm-svn: 53001 | |||||
* | - Update comments. | Bill Wendling | 2008-07-01 | 1 | -2/+4 | |
| | | | | | | - Don't use GlobalVariable::LinkageTypes when unsigned works. llvm-svn: 52987 | |||||
* | - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an ↵ | Evan Cheng | 2008-06-30 | 1 | -1/+4 | |
| | | | | | | | | empty string for ConstantAggregateZero case which surprises selectiondag. - Correctly handle memcpy from constant string which is zero-initialized. llvm-svn: 52891 | |||||
* | Revert (52748 and friends): | Anton Korobeynikov | 2008-06-29 | 1 | -4/+1 | |
| | | | | | | | | | | | | Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings. This unbreaks llvm-gcc bootstrap. llvm-svn: 52884 | |||||
* | Reduce number of times .size() is called on a vector. Rename some variables to | Bill Wendling | 2008-06-27 | 1 | -16/+22 | |
| | | | | | | match normal naming scheme. llvm-svn: 52820 | |||||
* | Cruft left from patch revert...sorry. :-( | Bill Wendling | 2008-06-27 | 1 | -3/+6 | |
| | | | | llvm-svn: 52808 | |||||
* | Reverting broken patch r52803. | Bill Wendling | 2008-06-27 | 1 | -33/+20 | |
| | | | | llvm-svn: 52806 | |||||
* | - Remove a use of std::vector. | Bill Wendling | 2008-06-27 | 1 | -12/+24 | |
| | | | | | | | - Make sure that we're not recalculating the size of a vector that never changes. llvm-svn: 52803 | |||||
* | Refactor the DebugInfoDesc stuff out of the MachineModuleInfo file. Clean up | Bill Wendling | 2008-06-27 | 1 | -791/+32 | |
| | | | | | | some uses of std::vector, where it's return std::vector by value. Yuck! llvm-svn: 52800 | |||||
* | Don't create a whole new string just to copy the elements into it. | Owen Anderson | 2008-06-26 | 1 | -5/+3 | |
| | | | | llvm-svn: 52785 | |||||
* | Move GetConstantStringInfo to lib/Analysis. Remove | Eric Christopher | 2008-06-26 | 1 | -1/+6 | |
| | | | | | | | | | string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings. llvm-svn: 52748 | |||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -3/+5 | |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | |||||
* | Recommitting EH patch; this should answer most of the | Dale Johannesen | 2008-04-02 | 1 | -6/+0 | |
| | | | | | | | | | | | | | | | review feedback. -enable-eh is still accepted but doesn't do anything. EH intrinsics use Dwarf EH if the target supports that, and are handled by LowerInvoke otherwise. The separation of the EH table and frame move data is, I think, logically figured out, but either one still causes full EH info to be generated (not sure how to split the metadata correctly). MachineModuleInfo::needsFrameInfo is no longer used and is removed. llvm-svn: 49064 |