llvm-6502/lib/CodeGen/SelectionDAG
Ken Dyck bceddbdc91 Introduce EVT::getHalfSizedIntegerVT() for use in ExpandUnalignedStore() in
LegalizeDAG.cpp. Unlike the code it replaces, which simply decrements the simple
type by one, getHalfSizedIntegerVT() searches for the smallest simple integer
type that is at least half the size of the type it is called on. This approach
has the advantage that it will continue working if a new value type (such as
i24) is added to MVT.

Also, in preparation for new value types, remove the assertions that
non-power-of-2 8-bit-mutiple types are Extended when legalizing extload and
truncstore operations.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91614 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-17 20:09:43 +00:00
..
CallingConvLower.cpp Add code to check at SelectionDAGISel::LowerArguments time to see if return values can be lowered to registers. Coming soon, code to perform sret-demotion if return values cannot be lowered to registers 2009-11-07 02:11:54 +00:00
CMakeLists.txt Rename SelectionDAGLowering to SelectionDAGBuilder, and rename 2009-11-23 18:04:58 +00:00
DAGCombiner.cpp Revert this dag combine change: 2009-12-17 00:40:05 +00:00
FastISel.cpp Make TargetSelectInstruction protected and called from FastISel.cpp 2009-12-05 01:27:58 +00:00
FunctionLoweringInfo.cpp Move CopyCatchInfo into FunctionLoweringInfo.cpp too, for consistency. 2009-11-23 18:12:11 +00:00
FunctionLoweringInfo.h Move CopyCatchInfo into FunctionLoweringInfo.cpp too, for consistency. 2009-11-23 18:12:11 +00:00
InstrEmitter.cpp Target-independent support for TargetFlags on BlockAddress operands, 2009-11-20 23:18:13 +00:00
InstrEmitter.h Fix a typo in a comment. 2009-11-16 20:35:59 +00:00
LegalizeDAG.cpp Introduce EVT::getHalfSizedIntegerVT() for use in ExpandUnalignedStore() in 2009-12-17 20:09:43 +00:00
LegalizeFloatTypes.cpp Add contexts to some of the MVT APIs. No functionality change yet, just the infrastructure work needed to get the contexts to where they need to be first. 2009-08-12 00:36:31 +00:00
LegalizeIntegerTypes.cpp Truncate the arguments of llvm.frameaddress / llvm.returnaddress intrinsics from i32 to platform's largest native type 2009-12-07 02:28:26 +00:00
LegalizeTypes.cpp Added support to allow clients to custom widen. For X86, custom widen vectors for 2009-11-30 02:42:02 +00:00
LegalizeTypes.h Implement vector widening, splitting, and scalarizing for SIGN_EXTEND_INREG. 2009-12-11 21:31:27 +00:00
LegalizeTypesGeneric.cpp -Revert parts of 84326 and 84411. Distinquishing between fixed and non-fixed 2009-10-18 18:16:27 +00:00
LegalizeVectorOps.cpp Implement vector widening, splitting, and scalarizing for SIGN_EXTEND_INREG. 2009-12-11 21:31:27 +00:00
LegalizeVectorTypes.cpp Implement vector widening, splitting, and scalarizing for SIGN_EXTEND_INREG. 2009-12-11 21:31:27 +00:00
Makefile remove dead makefile flags. 2009-06-24 05:29:56 +00:00
ScheduleDAGFast.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
ScheduleDAGList.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
ScheduleDAGRRList.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
ScheduleDAGSDNodes.cpp Reapply r91392, it was only unmasking the bug, and since TOT is still broken having it reverted does no good. 2009-12-16 20:10:05 +00:00
ScheduleDAGSDNodes.h Initial target-independent CodeGen support for BlockAddresses. 2009-10-30 01:27:03 +00:00
SelectionDAG.cpp Reapply r91392, it was only unmasking the bug, and since TOT is still broken having it reverted does no good. 2009-12-16 20:10:05 +00:00
SelectionDAGBuilder.cpp Fix a comment grammaro. 2009-12-17 05:07:36 +00:00
SelectionDAGBuilder.h Rename SelectionDAGLowering to SelectionDAGBuilder, and rename 2009-11-23 18:04:58 +00:00
SelectionDAGISel.cpp Fix this to properly clear the FastISel debug location. Thanks to 2009-12-14 23:08:09 +00:00
SelectionDAGPrinter.cpp Add edge source labels to SelectionDAG graphs, now that the graph printing 2009-12-01 19:20:00 +00:00
TargetLowering.cpp Implement vector widening, splitting, and scalarizing for SIGN_EXTEND_INREG. 2009-12-11 21:31:27 +00:00