| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Use lightweight DebugInfo objects directly. | Devang Patel | 2009-01-15 | 1 | -82/+65 | |
| | | | | | llvm-svn: 62276 | |||||
| * | Move a few containers out of ScheduleDAGInstrs::BuildSchedGraph | Dan Gohman | 2009-01-15 | 12 | -108/+103 | |
| | | | | | | | | | | | | and into the ScheduleDAGInstrs class, so that they don't get destructed and re-constructed for each block. This fixes a compile-time hot spot in the post-pass scheduler. To help facilitate this, tidy and do some minor reorganization in the scheduler constructor functions. llvm-svn: 62275 | |||||
| * | Use variable's context to identify respective DbgScope. | Devang Patel | 2009-01-15 | 1 | -11/+25 | |
| | | | | | | | Use light weight DebugInfo object directly. llvm-svn: 62269 | |||||
| * | Make getWidenVectorType const; this file was missed in the | Dan Gohman | 2009-01-15 | 1 | -1/+1 | |
| | | | | | | | previous commit. llvm-svn: 62266 | |||||
| * | More consts on TargetLowering references. | Dan Gohman | 2009-01-15 | 4 | -10/+9 | |
| | | | | | llvm-svn: 62262 | |||||
| * | Use const with TargetLowering references in a few more places. | Dan Gohman | 2009-01-15 | 2 | -5/+7 | |
| | | | | | llvm-svn: 62260 | |||||
| * | minor refactoring: use a more specific API | Gabor Greif | 2009-01-15 | 1 | -2/+3 | |
| | | | | | llvm-svn: 62256 | |||||
| * | Do not construct debug scope if RootScope *is* null. | Devang Patel | 2009-01-14 | 1 | -1/+1 | |
| | | | | | llvm-svn: 62209 | |||||
| * | Removoe MachineModuleInfo methods (and related DebugInfoDesc class ↵ | Devang Patel | 2009-01-13 | 3 | -2453/+10 | |
| | | | | | | | 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 | 2 | -0/+2 | |
| | | | | | | | between AsmPrinter and CodeGen. llvm-svn: 62191 | |||||
| * | Undo previous checkin. | Devang Patel | 2009-01-13 | 2 | -9/+2 | |
| | | | | | llvm-svn: 62190 | |||||
| * | Use DwarfWriter to record dbg variables. | Devang Patel | 2009-01-13 | 2 | -4/+11 | |
| | | | | | llvm-svn: 62185 | |||||
| * | Use dwarf writer to decide whether the module has debug info or not. | Devang Patel | 2009-01-13 | 2 | -2/+9 | |
| | | | | | llvm-svn: 62184 | |||||
| * | Use assertions to check for conditions that should never happen. | Dan Gohman | 2009-01-13 | 1 | -12/+6 | |
| | | | | | llvm-svn: 62178 | |||||
| * | The list-td and list-tdrr schedulers don't yet support physreg | Dan Gohman | 2009-01-13 | 2 | -2/+10 | |
| | | | | | | | | | | | | scheduling dependencies. Add assertion checks to help catch this. It appears the Mips target defaults to list-td, and it has a regression test that uses a physreg dependence. Such code was liable to be miscompiled, and now evokes an assertion failure. llvm-svn: 62177 | |||||
| * | Avoid referring to edge D after the Succs or Preds arrays have | Dan Gohman | 2009-01-13 | 1 | -3/+3 | |
| | | | | | | | | been modified, to avoid trouble in the (unlikely) scenario that D is a reference to an element in one of those arrays. llvm-svn: 62173 | |||||
| * | When replacing uses and the same node is reached | Duncan Sands | 2009-01-13 | 1 | -16/+9 | |
| | | | | | | | | | via two paths, process it once not twice, d'oh! Analysis, testcase and original patch thanks to Mon Ping Wang. llvm-svn: 62169 | |||||
| * | Fix some typos. Also, the WidenedVectors map | Duncan Sands | 2009-01-13 | 2 | -9/+20 | |
| | | | | | | | was not being cleaned by ExpungeNode. llvm-svn: 62167 | |||||
| * | Correct a comment - this is not a sign extension. | Duncan Sands | 2009-01-13 | 1 | -1/+1 | |
| | | | | | llvm-svn: 62166 | |||||
| * | Un-tabify. | Evan Cheng | 2009-01-13 | 1 | -1/+1 | |
| | | | | | llvm-svn: 62151 | |||||
| * | FIX llvm-gcc bootstrap on x86_64 linux. If a virtual register is copied to a ↵ | Evan Cheng | 2009-01-13 | 1 | -0/+13 | |
| | | | | | | | physical register, it's not necessarily defined by a copy. We have to watch out it doesn't clobber any sub-register that might be live during its live interval. If the live interval crosses a basic block, then it's not safe to check with the less conservative check (by scanning uses and defs) because it's possible a sub-register might be live out of the block. llvm-svn: 62144 | |||||
| * | Use DebugInfo interface to lower dbg_* intrinsics. | Devang Patel | 2009-01-13 | 6 | -56/+69 | |
| | | | | | llvm-svn: 62127 | |||||
| * | Start using DebugInfo API to emit debug info. | Devang Patel | 2009-01-13 | 1 | -11/+10 | |
| | | | | | llvm-svn: 62125 | |||||
| * | Emit debug info, only if at least one compile unit is seen. | Devang Patel | 2009-01-12 | 1 | -2/+8 | |
| | | | | | llvm-svn: 62118 | |||||
| * | If multiple compile units are seen then emit them independently. In other ↵ | Devang Patel | 2009-01-12 | 1 | -65/+74 | |
| | | | | | | | | | words, do not force all DIEs into first, whatever it is, compile unit. Note, multiple compile unit support is not well tested (it did not work correctly until now anyway.) llvm-svn: 62116 | |||||
| * | Avoid cast<>, use light weith wrapper directly. | Devang Patel | 2009-01-12 | 1 | -3/+3 | |
| | | | | | llvm-svn: 62115 | |||||
| * | Use SrcLineInfo from DwarfWriter. The MachineModuleInfo copy will disappear ↵ | Devang Patel | 2009-01-12 | 1 | -12/+9 | |
| | | | | | | | soon. llvm-svn: 62114 | |||||
| * | Rename getABITypeSize to getTypePaddedSize, as | Duncan Sands | 2009-01-12 | 10 | -32/+33 | |
| | | | | | | | suggested by Chris. llvm-svn: 62099 | |||||
| * | Add DwarfWriter interface to mainipulate source location info. | Devang Patel | 2009-01-12 | 1 | -45/+91 | |
| | | | | | | | ( May be this info should be directly handled by the dwarf writer ? ) llvm-svn: 62096 | |||||
| * | Clear debug info at the end of function processing. | Devang Patel | 2009-01-12 | 1 | -1/+12 | |
| | | | | | llvm-svn: 62092 | |||||
| * | There is no need to maintain separate labelid list in the dwarf writer. It ↵ | Devang Patel | 2009-01-12 | 1 | -36/+5 | |
| | | | | | | | is not a good idea. llvm-svn: 62090 | |||||
| * | Fix PR3241: Currently EmitCopyFromReg emits a copy from the physical ↵ | Evan Cheng | 2009-01-12 | 5 | -65/+87 | |
| | | | | | | | | | register to a virtual register unless it requires an expensive cross class copy. That means we are only treating "expensive to copy" register dependency as physical register dependency. Also future proof the scheduler to handle "normal" physical register dependencies. The code is not exercised yet. llvm-svn: 62074 | |||||
| * | More two-address fixes. This gets lua working with join-creation enabled. | Owen Anderson | 2009-01-12 | 1 | -6/+10 | |
| | | | | | llvm-svn: 62073 | |||||
| * | CheckForPhysRegDependency should not return copy cost. It's not used. No ↵ | Evan Cheng | 2009-01-11 | 1 | -9/+4 | |
| | | | | | | | functionality change. llvm-svn: 62036 | |||||
| * | Reduce initial small vector sizes. | Devang Patel | 2009-01-10 | 1 | -6/+6 | |
| | | | | | llvm-svn: 62023 | |||||
| * | Fix thinko. Create parent scope if parent descriptor is *not* null. | Devang Patel | 2009-01-10 | 1 | -2/+2 | |
| | | | | | llvm-svn: 62022 | |||||
| * | Duplicated node may produce a non-physical register def. | Evan Cheng | 2009-01-09 | 1 | -3/+5 | |
| | | | | | llvm-svn: 62015 | |||||
| * | Minor debug output tweak. | Evan Cheng | 2009-01-09 | 1 | -2/+2 | |
| | | | | | llvm-svn: 62005 | |||||
| * | Request DwarfWriter. This will be used to handle dbg_* intrinsics. | Devang Patel | 2009-01-09 | 2 | -2/+7 | |
| | | | | | llvm-svn: 61999 | |||||
| * | Removed trailing whitespace from Makefiles. | Misha Brukman | 2009-01-09 | 3 | -6/+6 | |
| | | | | | llvm-svn: 61991 | |||||
| * | Convert DwarfWriter into a pass. | Devang Patel | 2009-01-08 | 1 | -12/+13 | |
| | | | | | | | Now Users request DwarfWriter through getAnalysisUsage() instead of creating an instance of DwarfWriter object directly. llvm-svn: 61955 | |||||
| * | Delete unnecessary parens around return values. | Dan Gohman | 2009-01-08 | 2 | -2/+2 | |
| | | | | | llvm-svn: 61950 | |||||
| * | Add DebugInfo based APIs to record source line info. | Devang Patel | 2009-01-08 | 1 | -4/+43 | |
| | | | | | llvm-svn: 61928 | |||||
| * | * Moved author attribution to CREDITS.TXT | Misha Brukman | 2009-01-08 | 1 | -4/+1 | |
| | | | | | | | * Removed trailing whitespace llvm-svn: 61927 | |||||
| * | * Alphabetized #includes | Misha Brukman | 2009-01-08 | 1 | -56/+56 | |
| | | | | | | | * Removed trailing whitespace llvm-svn: 61926 | |||||
| * | Add APIs to record regions and variables. | Devang Patel | 2009-01-08 | 1 | -0/+27 | |
| | | | | | | | Again, shamelessly copied from MMI. llvm-svn: 61912 | |||||
| * | Add APIs to manage scope using DebugInfo interface. | Devang Patel | 2009-01-08 | 1 | -0/+297 | |
| | | | | | | | This is a shameless copy of similar APIs from MachineModuleInfo. The copy from MMI will be deleted in near future. llvm-svn: 61908 | |||||
| * | Remove redundant 'else's. No functionality change. | Dan Gohman | 2009-01-07 | 1 | -7/+6 | |
| | | | | | llvm-svn: 61891 | |||||
| * | The coalescer does not coalesce a virtual register to a physical register if ↵ | Evan Cheng | 2009-01-07 | 2 | -20/+84 | |
| | | | | | | | | | | | | | | | any of the physical register's sub-register live intervals overlaps with the virtual register. This is overly conservative. It prevents a extract_subreg from being coalesced away: v1024 = EDI // not killed = = EDI One possible solution is for the coalescer to examine the sub-register live intervals in the same manner as the physical register. Another possibility is to examine defs and uses (when needed) of sub-registers. Both solutions are too expensive. For now, look for "short virtual intervals" and scan instructions to look for conflict instead. This is a small win on x86-64. e.g. It shaves 403.gcc by ~80 instructions. llvm-svn: 61847 | |||||
| * | Fix a bug in ComputeLinearIndex computation handling multi-level | Dan Gohman | 2009-01-06 | 1 | -1/+3 | |
| | | | | | | | | | aggregate types. Don't increment the current index after reaching the end of a struct, as it will already be pointing at one-past-the end. This fixes PR3288. llvm-svn: 61828 | |||||

