llvm-6502/lib/Target/XCore
Alp Toker 2559070422 Introduce a string_ostream string builder facilty
string_ostream is a safe and efficient string builder that combines opaque
stack storage with a built-in ostream interface.

small_string_ostream<bytes> additionally permits an explicit stack storage size
other than the default 128 bytes to be provided. Beyond that, storage is
transferred to the heap.

This convenient class can be used in most places an
std::string+raw_string_ostream pair or SmallString<>+raw_svector_ostream pair
would previously have been used, in order to guarantee consistent access
without byte truncation.

The patch also converts much of LLVM to use the new facility. These changes
include several probable bug fixes for truncated output, a programming error
that's no longer possible with the new interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211749 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-26 00:00:48 +00:00
..
Disassembler [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
InstPrinter [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
MCTargetDesc Remove the UseCFI option from createAsmStreamer. 2014-05-07 13:00:43 +00:00
TargetInfo
CMakeLists.txt
LLVMBuild.txt
Makefile
README.txt
XCore.h
XCore.td
XCoreAsmPrinter.cpp Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
XCoreCallingConv.td
XCoreFrameLowering.cpp None of these targets actually define their own CFI_INSTRUCTION 2014-04-29 00:16:46 +00:00
XCoreFrameLowering.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreFrameToArgsOffsetElim.cpp [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreInstrFormats.td
XCoreInstrInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
XCoreInstrInfo.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreInstrInfo.td [XCore] Fix call of absolute address. 2014-03-04 16:50:30 +00:00
XCoreISelDAGToDAG.cpp [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreISelLowering.cpp SelectionDAG: Don't use MVT::Other to determine legality of ISD::SELECT_CC 2014-06-10 16:01:29 +00:00
XCoreISelLowering.h SelectionDAG: Expand SELECT_CC to SELECT + SETCC 2014-06-10 16:01:22 +00:00
XCoreLowerThreadLocal.cpp [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreMachineFunctionInfo.cpp
XCoreMachineFunctionInfo.h Replace PROLOG_LABEL with a new CFI_INSTRUCTION. 2014-03-07 06:08:31 +00:00
XCoreMCInstLower.cpp
XCoreMCInstLower.h
XCoreRegisterInfo.cpp [cleanup] Lift using directives, DEBUG_TYPE definitions, and even some 2014-04-22 02:03:14 +00:00
XCoreRegisterInfo.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreRegisterInfo.td
XCoreSelectionDAGInfo.cpp Have TargetSelectionDAGInfo take a DataLayout initializer rather than 2014-06-06 19:04:48 +00:00
XCoreSelectionDAGInfo.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreSubtarget.cpp [cleanup] Lift using directives, DEBUG_TYPE definitions, and even some 2014-04-22 02:03:14 +00:00
XCoreSubtarget.h
XCoreTargetMachine.cpp [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreTargetMachine.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreTargetObjectFile.cpp
XCoreTargetObjectFile.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition 2014-04-29 07:57:00 +00:00
XCoreTargetStreamer.h
XCoreTargetTransformInfo.cpp Fix typo. 2014-05-22 01:21:44 +00:00

To-do
-----

* Instruction encodings
* Tailcalls
* Investigate loop alignment
* Add builtins