Commits

Show all
Author Commit Message Labels Comments Date
Evan Cheng
Update llvm.dbg.func.start.
Tags
2 tags
Evan Cheng
Remove the nasty LABEL hack with a much less evil one. Now llvm.dbg.func.start implies a stoppoint is set. SelectionDAGISel records a new source line but does not create a ISD::LABEL node for this special stoppoint. Asm printer will magically print this label. This ensures nothing is emitted before.
Evan Cheng
Rename RecordLabel to RecordSourceLine because that's what it is doing.
Anton Korobeynikov
Add convenient std::string helpers to StringMap. Patch by Mikhail Glushenkov!
Evan Cheng
Revert 46556 and 46585. Dan please fix the PseudoSourceValue problem and re-commit.
Dale Johannesen
Chris' change to print an approximation to long doubles exposed a bug in APFloat's long double->double conversion of NaNs. Broke several things in the ieee part of gcc testsuite.
Anton Korobeynikov
Reapply the patch with fix.
Chris Lattner
revert anton's recent stringmap patch, which breaks clang.
Anton Korobeynikov
Make StringMap to be more STL'ish. Patch by Mikhail Glushenkov!
Anton Korobeynikov
Whitespace cleanup
Evan Cheng
Add a comment for a nasty short term hack.
Evan Cheng
Add an extra operand to LABEL nodes which distinguishes between debug, EH, or misc labels. This fixes the EH breakage. However I am not convinced this is *the* solution.
Christopher Lamb
Allow ComplexExpressions in InstrInfo.td files to be slightly more... complex! ComplexExpressions can now have attributes which affect how TableGen interprets the pattern when generating matchin code. The first (and currently, only) attribute causes the immediate parent node of the ComplexPattern operand to be passed into the matching code rather than the node at the root of the entire DAG containing the pattern.
Christopher Lamb
Add more thorough error checking for NULL register classes.
Evan Cheng
Add x86 specific getFrameIndexOffset(). This fixes local variable debugging info.
Evan Cheng
MRegisterInfo::getLocation() is a really bad idea. Its function is to calculate the offset from frame pointer to a stack slot and then storing the delta in a MachineLocation object. The name is bad (it implies a getter), and MRegisterInfo doesn't need to know about MachineLocation. Replace getLocation() with getFrameIndexOffset() which returns the delta from frame pointer to stack slot. Dwarf writer can then use the information for whatever it wants.
Evan Cheng
Makes the same change in ppc backend: avoid inserting prologue before debug labels.
Dan Gohman
Avoid unnecessarily casting away const, fixing a FIXME.
Dan Gohman
Avoid unnecessarily casting away const.
Dan Gohman
Fix a typo in a comment.
Dan Gohman
Rename ISD::FLT_ROUNDS to ISD::FLT_ROUNDS_ to avoid conflicting with the real FLT_ROUNDS (defined in <float.h>).
Evan Cheng
Also avoid adding callee save code before debug labels.
Dan Gohman
Create a new class, MemOperand, for describing memory references in the backend. Introduce a new SDNode type, MemOperandSDNode, for holding a MemOperand in the SelectionDAG IR, and add a MemOperand list to MachineInstr, and code to manage them. Remove the offset field from SrcValueSDNode; uses of SrcValueSDNode that were using it are all all using MemOperandSDNode now. Also, begin updating some getLoad and getStore calls to use the PseudoSourceValue objects. Most of this was written by Florian Brander, some reorganization and updating to TOT by me.
Evan Cheng
Fixed a bug in MergeValueInAsValue() pointed out by David Greene. Replace val# with previous liverange's.
Evan Cheng
Treat the label for the first @llvm.dbg.stoppoint the same way as the dbg_func_start label. Make sure nothing else is inserted before them. Note this solution might be somewhat fragile since ISD::LABEL may be used for other purposes. If that ends up to be an issue, we may need to introduce a different node for debug labels.
Dale Johannesen
Adjust loop per review feedback.
Evan Cheng
A semi-gross fix for a debug info issue. When inserting the "function start" label (i.e. first label in the entry block) take care to insert it at the beginning of the block.
Devang Patel
Supply appropriate arch info to darwin assembler.
Dale Johannesen
Accept getelementptr starting at GV with all 0 indices as a legitimate way of representing global variable GV in debug info.
Devang Patel
Always put version numbers at the end because they are optional.
  1. Prev
  2. Next