llvm-project/llvm/lib/Target/XCore
Eli Friedman a2caa3b614 Remove GlobalValue::getAlignment().
This function is deceptive at best: it doesn't return what you'd expect.
If you have an arbitrary GlobalValue and you want to determine the
alignment of that pointer, Value::getPointerAlignment() returns the
correct value.  If you want the actual declared alignment of a function
or variable, GlobalObject::getAlignment() returns that.

This patch switches all the users of GlobalValue::getAlignment to an
appropriate alternative.

Differential Revision: https://reviews.llvm.org/D80368
2020-06-23 19:13:42 -07:00
..
Disassembler CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
MCTargetDesc [MC] Change MCCFIInstruction::createDefCfa to cfiDefCfa which does not negate Offset 2020-05-22 15:47:26 -07:00
TargetInfo CMake: Make most target symbols hidden by default 2020-01-14 19:46:52 -08:00
CMakeLists.txt
LLVMBuild.txt
README.txt
XCore.h [XCore] Remove unused forward declarations. NFC. 2020-04-23 16:30:45 +01:00
XCore.td
XCoreAsmPrinter.cpp [MC] De-capitalize MCStreamer::Emit{Bundle,Addrsig}* etc 2020-02-15 09:11:48 -08:00
XCoreCallingConv.td
XCoreFrameLowering.cpp [MC] Change MCCFIInstruction::createDefCfaOffset to cfiDefCfaOffset which does not negate Offset 2020-05-22 17:07:11 -07:00
XCoreFrameLowering.h ArrayRef'ize restoreCalleeSavedRegisters. NFCI. 2020-02-29 09:50:23 +01:00
XCoreFrameToArgsOffsetElim.cpp
XCoreISelDAGToDAG.cpp [Alignment][NFC] Use Align version of getMachineMemOperand 2020-03-30 15:46:27 +00:00
XCoreISelLowering.cpp Remove GlobalValue::getAlignment(). 2020-06-23 19:13:42 -07:00
XCoreISelLowering.h [XCore] Remove unused forward declarations. NFC. 2020-04-23 16:30:45 +01:00
XCoreInstrFormats.td
XCoreInstrInfo.cpp [CodeGen] Use Align in MachineConstantPool. 2020-05-12 10:06:40 -07:00
XCoreInstrInfo.h [NFC] unsigned->Register in storeRegTo/loadRegFromStack 2020-02-03 14:22:16 +01:00
XCoreInstrInfo.td [XCore] Add instruction pattern for bitrev 2020-02-21 09:28:49 +08:00
XCoreLowerThreadLocal.cpp [IR] Split out target specific intrinsic enums into separate headers 2019-12-11 18:02:14 -08:00
XCoreMCInstLower.cpp
XCoreMCInstLower.h [XCore] Remove unused forward declarations. NFC. 2020-04-23 16:30:45 +01:00
XCoreMachineFunctionInfo.cpp
XCoreMachineFunctionInfo.h
XCoreRegisterInfo.cpp [TargetRegisterInfo] Default trackLivenessAfterRegAlloc() to true 2020-01-19 14:20:37 -08:00
XCoreRegisterInfo.h [XCore] Remove unused forward declarations. NFC. 2020-04-23 16:30:45 +01:00
XCoreRegisterInfo.td [XCore][NFC] Remove trailing space 2020-02-18 10:32:58 +08:00
XCoreSelectionDAGInfo.cpp
XCoreSelectionDAGInfo.h [XCore] Remove unused forward declarations. NFC. 2020-04-23 16:30:45 +01:00
XCoreSubtarget.cpp
XCoreSubtarget.h
XCoreTargetMachine.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
XCoreTargetMachine.h
XCoreTargetObjectFile.cpp [Target] Use Align in TargetLoweringObjectFile::getSectionForConstant. 2020-05-21 15:23:29 -07:00
XCoreTargetObjectFile.h [Target] Use Align in TargetLoweringObjectFile::getSectionForConstant. 2020-05-21 15:23:29 -07:00
XCoreTargetStreamer.h
XCoreTargetTransformInfo.h

README.txt

To-do
-----

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