|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 112659 | 
| | 
| 
| 
| | llvm-svn: 112631 | 
| | 
| 
| 
| 
| 
| 
| 
| | info to emit debug info.
Fixes Radar 8367011.
llvm-svn: 112623 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | protectors, to be near the stack protectors on the stack. Accomplish this by
tagging the stack object with a predicate that indicates that it would trigger
this. In the prolog-epilog inserter, assign these objects to the stack after the
stack protector but before the other objects.
llvm-svn: 109481 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | since it doesn't work for front-ends which don't emit column information
(which includes llvm-gcc in its present configuration), and doesn't
work for clang for K&R style variables where the variables are declared
in a different order from the parameter list.
Instead, make a separate pass through the instructions to collect the
llvm.dbg.declare instructions in order. This ensures that the debug
information for variables is emitted in this order.
llvm-svn: 108538 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | - Check getBytesToPopOnReturn().
 - Eschew ST0 and ST1 for return values.
 - Fix the PIC base register initialization so that it doesn't ever
   fail to end up the top of the entry block.
llvm-svn: 108039 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | U    utils/TableGen/FastISelEmitter.cpp
--- Reverse-merging r107943 into '.':
U    test/CodeGen/X86/fast-isel.ll
U    test/CodeGen/X86/fast-isel-loads.ll
U    include/llvm/Target/TargetLowering.h
U    include/llvm/Support/PassNameParser.h
U    include/llvm/CodeGen/FunctionLoweringInfo.h
U    include/llvm/CodeGen/CallingConvLower.h
U    include/llvm/CodeGen/FastISel.h
U    include/llvm/CodeGen/SelectionDAGISel.h
U    lib/CodeGen/LLVMTargetMachine.cpp
U    lib/CodeGen/CallingConvLower.cpp
U    lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
U    lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
U    lib/CodeGen/SelectionDAG/FastISel.cpp
U    lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
U    lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
U    lib/CodeGen/SelectionDAG/InstrEmitter.cpp
U    lib/CodeGen/SelectionDAG/TargetLowering.cpp
U    lib/Target/XCore/XCoreISelLowering.cpp
U    lib/Target/XCore/XCoreISelLowering.h
U    lib/Target/X86/X86ISelLowering.cpp
U    lib/Target/X86/X86FastISel.cpp
U    lib/Target/X86/X86ISelLowering.h
llvm-svn: 107987 | 
| | 
| 
| 
| | llvm-svn: 107980 | 
| | 
| 
| 
| 
| 
| | a DBG_VALUE after a terminator, or emitting any instructions before an EH_LABEL.
llvm-svn: 107943 | 
| | 
| 
| 
| 
| 
| | Debug info intrinsics win for now.
llvm-svn: 107850 | 
| | 
| 
| 
| 
| 
| | a separate DCE pass over MachineInstrs.
llvm-svn: 107804 | 
| | 
| 
| 
| 
| 
| | allow target-specific fast-isel code to make use of it directly.
llvm-svn: 107787 | 
| | 
| 
| 
| | llvm-svn: 107451 | 
| | 
| 
| 
| 
| 
| 
| | from a Value to a Type, because it doesn't actually care about
the Value.
llvm-svn: 107383 | 
| | 
| 
| 
| | llvm-svn: 107282 | 
| | 
| 
| 
| | llvm-svn: 106828 | 
| | 
| 
| 
| | llvm-svn: 106827 | 
| | 
| 
| 
| 
| 
| 
| | shouldn't have a TargetLoweringInfo member. And FunctionLoweringInfo::set
doesn't needs its EnableFastISel argument.
llvm-svn: 105101 | 
| | 
| 
| 
| 
| 
| 
| | handles argument lowering anyway, so there's no need for special
casing here.
llvm-svn: 102828 | 
| | 
| 
| 
| 
| 
| | instructions for function arguments early and insert them after instruction selection is done.
llvm-svn: 102554 | 
| | 
| 
| 
| 
| 
| | SelectionDAG directory and into a new Analysis.cpp file.
llvm-svn: 101975 | 
| | 
| 
| 
| | llvm-svn: 101902 | 
| | 
| 
| 
| | llvm-svn: 101901 | 
| | 
| 
| 
| | llvm-svn: 101900 | 
| | 
| 
| 
| 
| 
| | SelectionDAG-specific.
llvm-svn: 101801 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | const_casts, and it reinforces the design of the Target classes being
immutable.
SelectionDAGISel::IsLegalToFold is now a static member function, because
PIC16 uses it in an unconventional way. There is more room for API
cleanup here.
And PIC16's AsmPrinter no longer uses TargetLowering.
llvm-svn: 101635 | 
| | 
| 
| 
| 
| 
| 
| | Probably the best way to know that all getOperand() calls have been handled
is to replace that API instead of updating.
llvm-svn: 101579 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | with a fix for self-hosting
rotate CallInst operands, i.e. move callee to the back
of the operand array
the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faster callgraph-construction,
smaller compiler binary
llvm-svn: 101465 | 
| | 
| 
| 
| | llvm-svn: 101434 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | with a fix
rotate CallInst operands, i.e. move callee to the back
of the operand array
the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faster callgraph-construction,
smaller compiler binary
llvm-svn: 101397 | 
| | 
| 
| 
| | llvm-svn: 101368 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | of the operand array
the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faster callgraph-construction,
smaller compiler binary
llvm-svn: 101364 | 
| | 
| 
| 
| | llvm-svn: 101342 | 
| | 
| 
| 
| | llvm-svn: 101334 | 
| | 
| 
| 
| 
| 
| | a bunch of stuff to support it.
llvm-svn: 101273 | 
| | 
| 
| 
| 
| 
| 
| | SelectionDAGBuilder. FunctionLoweringInfo isn't an ideal place for
them to live, but it's better than SelectionDAGBuilder for now.
llvm-svn: 101267 | 
| | 
| 
| 
| 
| 
| | drop the redundant #ifndef NDEBUG.
llvm-svn: 101261 | 
| | 
| 
| 
| 
| 
| | SelectionDAGISel::runOnMachineFunction into FunctionLowering.
llvm-svn: 101252 | 
| | 
| 
| 
| | llvm-svn: 101251 | 
| | 
| 
| 
| | llvm-svn: 99697 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | into TargetOpcodes.h.  #include the new TargetOpcodes.h
into MachineInstr.  Add new inline accessors (like isPHI())
to MachineInstr, and start using them throughout the 
codebase.
llvm-svn: 95687 | 
| | 
| 
| 
| | llvm-svn: 94105 | 
| | 
| 
| 
| 
| 
| | dereference the type pointer.
llvm-svn: 92726 | 
| | 
| 
| 
| | llvm-svn: 89683 | 
| | 
| 
| 
| 
| 
| | FunctionLoweringInfo.cpp.
llvm-svn: 89674 | 
|  | of SelectionDAGBuild.h/cpp into its own files, to help separate
general lowering logic from SelectionDAG-specific lowering logic.
llvm-svn: 89667 |