llvm-project/llvm/lib/Target/M68k
Chris Lattner 735f46715d [APInt] Normalize naming on keep constructors / predicate methods.
This renames the primary methods for creating a zero value to `getZero`
instead of `getNullValue` and renames predicates like `isAllOnesValue`
to simply `isAllOnes`.  This achieves two things:

1) This starts standardizing predicates across the LLVM codebase,
   following (in this case) ConstantInt.  The word "Value" doesn't
   convey anything of merit, and is missing in some of the other things.

2) Calling an integer "null" doesn't make any sense.  The original sin
   here is mine and I've regretted it for years.  This moves us to calling
   it "zero" instead, which is correct!

APInt is widely used and I don't think anyone is keen to take massive source
breakage on anything so core, at least not all in one go.  As such, this
doesn't actually delete any entrypoints, it "soft deprecates" them with a
comment.

Included in this patch are changes to a bunch of the codebase, but there are
more.  We should normalize SelectionDAG and other APIs as well, which would
make the API change more mechanical.

Differential Revision: https://reviews.llvm.org/D109483
2021-09-09 09:50:24 -07:00
..
AsmParser [M68k][NFC] Rename M68kOperand::Kind to KindTy 2021-08-25 22:24:43 +01:00
Disassembler [M68k][Disassembler][NFC] Decorate dump methods with LLVM_DUMP_METHOD 2021-04-22 12:02:07 -07:00
GlSel [M68k][GloballSel] RegBankSelect implementation 2021-08-10 15:24:43 -07:00
MCTargetDesc [MC] Use local MCSubtargetInfo in writeNops 2021-09-07 15:46:19 +01:00
TargetInfo [M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro 2021-04-05 09:24:30 -07:00
CMakeLists.txt [M68k][GloballSel] Adding initial GlobalISel infrastructure 2021-06-16 10:48:38 -06:00
M68k.h [M68k][GloballSel] Adding initial GlobalISel infrastructure 2021-06-16 10:48:38 -06:00
M68k.td [M68k][GloballSel] Adding initial GlobalISel infrastructure 2021-06-16 10:48:38 -06:00
M68kAsmPrinter.cpp [M68k] Support for inline asm operands w/ simple constraints 2021-05-20 14:00:09 -07:00
M68kAsmPrinter.h [M68k] Support for inline asm operands w/ simple constraints 2021-05-20 14:00:09 -07:00
M68kCallingConv.h [M68k] Do not pass llvm::Function& to M68kCCState 2021-08-16 15:33:08 -07:00
M68kCallingConv.td
M68kCollapseMOVEMPass.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kExpandPseudo.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kFrameLowering.cpp [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kFrameLowering.h [CodeGen][NFC] Remove unused virtual function 2021-06-02 13:11:12 -07:00
M68kISelDAGToDAG.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kISelLowering.cpp [APInt] Normalize naming on keep constructors / predicate methods. 2021-09-09 09:50:24 -07:00
M68kISelLowering.h [M68k][GloballSel] Lower outgoing return values in IRTranslator 2021-07-05 11:39:09 -07:00
M68kInstrArithmetic.td [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kInstrBits.td [M68k] Introduce DReg bead 2021-03-19 11:44:53 +00:00
M68kInstrBuilder.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kInstrCompiler.td [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kInstrControl.td [M68k] Use fixed asm string for MxPseudo instructions 2021-03-17 13:31:27 -07:00
M68kInstrData.td [M68k] Use fixed asm string for MxPseudo instructions 2021-03-17 13:31:27 -07:00
M68kInstrFormats.td [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kInstrInfo.cpp [NFC] Edit the comment in M68kInstrInfo::ExpandMOVSZX_RM 2021-07-13 15:10:24 +09:00
M68kInstrInfo.h [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests 2021-08-07 17:19:12 -07:00
M68kInstrInfo.td [M68k][AsmParser] Support parsing register masks & fix printing them 2021-08-24 10:40:02 +01:00
M68kInstrShiftRotate.td [M68k] Introduce DReg bead 2021-03-19 11:44:53 +00:00
M68kMCInstLower.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMCInstLower.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMachineFunction.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kMachineFunction.h [M68k] fix -Wdefaulted-function-deleted and -Woverloaded-virtual 2021-04-30 11:23:31 -07:00
M68kRegisterInfo.cpp [NFCI] Move DEBUG_TYPE definition below #includes 2021-05-30 17:31:01 +08:00
M68kRegisterInfo.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kRegisterInfo.td [M68k] Convert register Aliases to AltNames 2021-03-19 11:44:53 +00:00
M68kSchedule.td
M68kSubtarget.cpp [M68k] Fix incorrect #include-ed file in M68kSubtarget 2021-06-22 23:02:21 -07:00
M68kSubtarget.h [M68k][GloballSel] Adding initial GlobalISel infrastructure 2021-06-16 10:48:38 -06:00
M68kTargetMachine.cpp [M68k] Update pointer data layout 2021-08-27 11:47:27 +01:00
M68kTargetMachine.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kTargetObjectFile.cpp [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00
M68kTargetObjectFile.h [M68k](5/8) Target-specific lowering 2021-03-08 12:30:57 -08:00