llvm-6502/lib/Target/MBlaze
Evan Cheng 8688a58c53 Teach SDISel to combine fsin / fcos into a fsincos node if the following
conditions are met:
1. They share the same operand and are in the same BB.
2. Both outputs are used.
3. The target has a native instruction that maps to ISD::FSINCOS node or
   the target provides a sincos library call.

Implemented the generic optimization in sdisel and enabled it for
Mac OSX. Also added an additional optimization for x86_64 Mac OSX by
using an alternative entry point __sincos_stret which returns the two
results in xmm0 / xmm1.

rdar://13087969
PR13204


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173755 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-29 02:32:37 +00:00
..
AsmParser Last in the series of removing unnecessary '0' arguments for 2013-01-09 03:52:05 +00:00
Disassembler Remove edis - the enhanced disassembler. Fixes PR14654. 2012-12-19 19:55:47 +00:00
InstPrinter [CMake] Remove dependencies to intrinsics_gen I introduced in r169724. 2012-12-11 05:53:54 +00:00
MCTargetDesc Renamed MCInstFragment to MCRelaxableFragment and added some comments. 2013-01-08 00:22:56 +00:00
TargetInfo Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
CMakeLists.txt Remove edis - the enhanced disassembler. Fixes PR14654. 2012-12-19 19:55:47 +00:00
LLVMBuild.txt
Makefile Remove edis - the enhanced disassembler. Fixes PR14654. 2012-12-19 19:55:47 +00:00
MBlaze.h
MBlaze.td
MBlazeAsmPrinter.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
MBlazeCallingConv.td
MBlazeDelaySlotFiller.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MBlazeFrameLowering.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
MBlazeFrameLowering.h
MBlazeInstrFormats.td
MBlazeInstrFPU.td
MBlazeInstrFSL.td
MBlazeInstrInfo.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MBlazeInstrInfo.h
MBlazeInstrInfo.td
MBlazeIntrinsicInfo.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
MBlazeIntrinsicInfo.h
MBlazeIntrinsics.td
MBlazeISelDAGToDAG.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
MBlazeISelLowering.cpp Teach SDISel to combine fsin / fcos into a fsincos node if the following 2013-01-29 02:32:37 +00:00
MBlazeISelLowering.h Sort includes for all of the .h files under the 'lib' tree. These were 2012-12-04 07:12:27 +00:00
MBlazeMachineFunction.cpp
MBlazeMachineFunction.h Sort includes for all of the .h files under the 'lib' tree. These were 2012-12-04 07:12:27 +00:00
MBlazeMCInstLower.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
MBlazeMCInstLower.h
MBlazeRegisterInfo.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
MBlazeRegisterInfo.h
MBlazeRegisterInfo.td
MBlazeRelocations.h
MBlazeSchedule3.td
MBlazeSchedule5.td
MBlazeSchedule.td
MBlazeSelectionDAGInfo.cpp
MBlazeSelectionDAGInfo.h
MBlazeSubtarget.cpp
MBlazeSubtarget.h Sort includes for all of the .h files under the 'lib' tree. These were 2012-12-04 07:12:27 +00:00
MBlazeTargetMachine.cpp Switch TargetTransformInfo from an immutable analysis pass that requires 2013-01-07 01:37:14 +00:00
MBlazeTargetMachine.h Switch TargetTransformInfo from an immutable analysis pass that requires 2013-01-07 01:37:14 +00:00
MBlazeTargetObjectFile.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
MBlazeTargetObjectFile.h
TODO