llvm-project/llvm/lib/Target/XCore
Dan Gohman 734c59d501 [MC] Refactor emitELFSize to make usage more consistent. NFC.
Move the cast<MCSymbolELF> inside emitELFSize, so that: 
 - it's done in one place instead of at each call
 - it's more consistent with similar functions like EmitCOFFSafeSEH
 - ambiguity between cast<> and dyn_cast<> is avoided (which also
   eliminates an unnecessary dyn_cast call)

This also makes it easier to experiment with using ".size" directives on
non-ELF targets.

llvm-svn: 288437
2016-12-01 23:39:08 +00:00
..
Disassembler Fix "static initialization order fiasco" for the XCore Target. 2016-10-11 18:22:41 +00:00
InstPrinter
MCTargetDesc Fix "static initialization order fiasco" for the XCore Target. 2016-10-11 18:22:41 +00:00
TargetInfo Fix "static initialization order fiasco" for the XCore Target. 2016-10-11 18:22:41 +00:00
CMakeLists.txt
LLVMBuild.txt
README.txt
XCore.h
XCore.td
XCoreAsmPrinter.cpp [MC] Refactor emitELFSize to make usage more consistent. NFC. 2016-12-01 23:39:08 +00:00
XCoreCallingConv.td
XCoreFrameLowering.cpp Move most EH from MachineModuleInfo to MachineFunction 2016-12-01 19:32:15 +00:00
XCoreFrameLowering.h
XCoreFrameToArgsOffsetElim.cpp Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
XCoreISelDAGToDAG.cpp Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
XCoreISelLowering.cpp MachineFunction: Return reference for getFrameInfo(); NFC 2016-07-28 18:40:00 +00:00
XCoreISelLowering.h CodeGen: Use MachineInstr& in TargetLowering, NFC 2016-06-30 22:52:52 +00:00
XCoreInstrFormats.td
XCoreInstrInfo.cpp Finish renaming remaining analyzeBranch functions 2016-09-14 20:43:16 +00:00
XCoreInstrInfo.h Finish renaming remaining analyzeBranch functions 2016-09-14 20:43:16 +00:00
XCoreInstrInfo.td Target: Remove unused patterns and transforms. NFC. 2016-10-07 00:30:49 +00:00
XCoreLowerThreadLocal.cpp Use arrays or initializer lists to feed ArrayRefs instead of SmallVector where possible. 2016-07-02 11:41:39 +00:00
XCoreMCInstLower.cpp Actually remove the Mangler from the AsmPrinter and clean up the places it was "used" but not used. 2016-09-16 17:07:23 +00:00
XCoreMCInstLower.h Actually remove the Mangler from the AsmPrinter and clean up the places it was "used" but not used. 2016-09-16 17:07:23 +00:00
XCoreMachineFunctionInfo.cpp MachineFunction: Return reference for getFrameInfo(); NFC 2016-07-28 18:40:00 +00:00
XCoreMachineFunctionInfo.h
XCoreRegisterInfo.cpp MachineFunction: Return reference for getFrameInfo(); NFC 2016-07-28 18:40:00 +00:00
XCoreRegisterInfo.h
XCoreRegisterInfo.td
XCoreSelectionDAGInfo.cpp getValueType().getSizeInBits() -> getValueSizeInBits() ; NFCI 2016-09-14 16:05:51 +00:00
XCoreSelectionDAGInfo.h Pass DebugLoc and SDLoc by const ref. 2016-06-12 15:39:02 +00:00
XCoreSubtarget.cpp
XCoreSubtarget.h
XCoreTargetMachine.cpp Fix "static initialization order fiasco" for the XCore Target. 2016-10-11 18:22:41 +00:00
XCoreTargetMachine.h Delete Reloc::Default. 2016-05-18 22:04:49 +00:00
XCoreTargetObjectFile.cpp Target: Change various section classifiers in TargetLoweringObjectFile to take a GlobalObject. 2016-10-24 19:23:39 +00:00
XCoreTargetObjectFile.h Target: Change various section classifiers in TargetLoweringObjectFile to take a GlobalObject. 2016-10-24 19:23:39 +00:00
XCoreTargetStreamer.h
XCoreTargetTransformInfo.h Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00

README.txt

To-do
-----

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