HomeSort by: relevance | last modified time | path
    Searched refs:M68k (Results 1 - 25 of 25) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
M68kInstrInfo.h 1 //===-- M68kInstrInfo.h - M68k Instruction Information ------*- C++ -*-===//
10 /// This file contains the M68k implementation of the TargetInstrInfo class.
17 #include "M68k.h"
32 namespace M68k {
58 static inline M68k::CondCode GetOppositeBranchCondition(M68k::CondCode CC) {
62 case M68k::COND_T:
63 return M68k::COND_F;
64 case M68k::COND_F:
65 return M68k::COND_T
    [all...]
M68kExpandPseudo.cpp 16 #include "M68k.h"
31 #define DEBUG_TYPE "M68k-expand-pseudos"
60 return "M68k pseudo instruction expansion pass";
84 case M68k::MOVXd16d8:
86 case M68k::MOVXd32d8:
88 case M68k::MOVXd32d16:
91 case M68k::MOVSXd16d8:
93 case M68k::MOVSXd32d8:
95 case M68k::MOVSXd32d16:
98 case M68k::MOVZXd16d8
    [all...]
M68kCallingConv.h 1 //===-- M68kCallingConv.h - M68k Custom CC Routines ---------*- C++ -*-===//
10 /// This file contains the custom routines for the M68k Calling Convention
44 static const MCPhysReg DataRegList[] = {M68k::D0, M68k::D1, M68k::A0,
45 M68k::A1};
49 M68k::A0,
50 M68k::A1,
51 M68k::D0,
52 M68k::D1
    [all...]
M68kInstrInfo.cpp 1 //===-- M68kInstrInfo.cpp - M68k Instruction Information ----*- C++ -*-===//
10 /// This file contains the M68k declaration of the TargetInstrInfo class.
34 #define DEBUG_TYPE "M68k-instr-info"
43 : M68kGenInstrInfo(M68k::ADJCALLSTACKDOWN, M68k::ADJCALLSTACKUP, 0,
44 M68k::RET),
47 static M68k::CondCode getCondFromBranchOpc(unsigned BrOpc) {
50 return M68k::COND_INVALID;
51 case M68k::Beq8:
52 return M68k::COND_EQ
    [all...]
M68kRegisterInfo.cpp 14 #define DEBUG_TYPE "m68k-reg-info"
18 #include "M68k.h"
38 "m68k-use-base-pointer", cl::Hidden, cl::init(true),
45 // FIXME x26 not sure it this the correct value, it expects RA, but M68k
47 : M68kGenRegisterInfo(M68k::A0, 0, 0, M68k::PC), Subtarget(ST) {
48 StackPtr = M68k::SP;
49 FramePtr = M68k::A6;
50 GlobalBasePtr = M68k::A5;
51 BasePtr = M68k::A4
    [all...]
M68kMCInstLower.cpp 1 //===-- M68kMCInstLower.cpp - M68k MachineInstr to MCInst ---*- C++ -*-===//
10 /// This file contains code to lower M68k MachineInstrs to their
32 #define DEBUG_TYPE "m68k-mc-inst-lower"
158 if (Opcode == M68k::TAILJMPj || Opcode == M68k::TAILJMPq) {
161 case M68k::TAILJMPj:
162 Opcode = M68k::JMP32j;
164 case M68k::TAILJMPq:
165 Opcode = M68k::BRA8;
M68kISelLowering.cpp 1 //===-- M68kISelLowering.cpp - M68k DAG Lowering Impl ------*- C++ -*--===//
10 /// This file defines the interfaces that M68k uses to lower LLVM code into a
42 #define DEBUG_TYPE "M68k-isel"
58 addRegisterClass(MVT::i8, &M68k::DR8RegClass);
59 addRegisterClass(MVT::i16, &M68k::XR16RegClass);
60 addRegisterClass(MVT::i32, &M68k::XR32RegClass);
164 // M68k SETcc producess either 0x00 or 0xFF
282 if ((Opcode == M68k::LEA32p || Opcode == M68k::LEA32f) &&
487 report_fatal_error("M68k interrupts may not be called directly")
    [all...]
M68kFrameLowering.cpp 1 //===-- M68kFrameLowering.cpp - M68k Frame Information ------*- C++ -*-===//
10 /// This file contains the M68k implementation of TargetFrameLowering class.
153 case M68k::RET: {
202 unsigned AndOp = M68k::AND32di;
203 unsigned MovOp = M68k::MOV32rr;
206 // or any other logical instructions in M68k do not support ARs so we need
208 unsigned Tmp = M68k::D0;
352 if (IsSub && !isRegLiveIn(MBB, M68k::D0))
353 Reg = M68k::D0;
358 unsigned Opc = M68k::MOV32ri
    [all...]
M68kAsmPrinter.cpp 1 //===----- M68kAsmPrinter.cpp - M68k LLVM Assembly Printer -----*- C++ -*-===//
11 /// of machine-dependent LLVM code to GAS-format M68k assembly language.
19 #include "M68k.h"
28 #define DEBUG_TYPE "m68k-asm-printer"
89 case M68k::TAILJMPj:
90 case M68k::TAILJMPq:
M68kCollapseMOVEMPass.cpp 17 #include "M68k.h"
32 #define DEBUG_TYPE "M68k-collapse-movem"
188 BuildMI(MBB, End, DL, TII->get(M68k::MOVM32mp))
193 BuildMI(MBB, End, DL, TII->get(M68k::MOVM32pm))
261 case M68k::MOVM32jm:
267 case M68k::MOVM32pm:
273 case M68k::MOVM32mj:
279 case M68k::MOVM32mp:
298 StringRef getPassName() const override { return "M68k MOVEM collapser pass"; }
M68kInstrBuilder.h 1 //===-- M68kInstrBuilder.h - Functions to build M68k insts --*- C++ -*-===//
11 /// MachineInstrBuilder.h file to handle M68k'isms in a clean way.
14 /// entire memory references in a single, typed, function call. M68k memory
39 namespace M68k {
91 } // end namespace M68k
M68kSubtarget.h 1 //===-- M68kSubtarget.h - Define Subtarget for the M68k -----*- C++ -*-===//
10 /// This file declares the M68k specific subclass of TargetSubtargetInfo.
45 // These define which ISA is supported. Since each Motorola M68k ISA is
102 assert(R < M68k::NUM_TARGET_REGS && "Register out of range");
M68kSubtarget.cpp 1 //===-- M68kSubtarget.cpp - M68k Subtarget Information ------*- C++ -*-===//
10 /// This file implements the M68k specific subclass of TargetSubtargetInfo.
16 #include "M68k.h"
30 #define DEBUG_TYPE "m68k-subtarget"
38 /// Select the M68k CPU for the given triple and cpu name.
51 UserReservedRegister(M68k::NUM_TARGET_REGS), TM(TM), TSInfo(),
111 // don't really know how this must be done for M68k atm... will try to dig
M68kISelLowering.h 1 //===-- M68kISelLowering.h - M68k DAG Lowering Interface ----*- C++ -*-===//
10 /// This file defines the interfaces that M68k uses to lower LLVM code into a
18 #include "M68k.h"
30 /// M68k Specific DAG nodes
40 /// M68k compare and logical compare instructions. Subtracts the source
45 /// M68k bit-test instructions.
48 /// M68k Select
51 /// M68k SetCC. Operand 0 is condition code, and operand 1 is the CCR
59 /// M68k conditional moves. Operand 0 and operand 1 are the two values
65 /// M68k conditional branches. Operand 0 is the chain operand, operand
    [all...]
M68kISelDAGToDAG.cpp 1 //===- M68kISelDAGToDAG.cpp - M68k Dag to Dag Inst Selector -*- C++ -*-===//
10 /// This file defines an instruction selector for the M68K target.
14 #include "M68k.h"
41 #define DEBUG_TYPE "m68k-isel"
138 return RegNode->getReg() == M68k::PC;
180 return "M68k DAG->DAG Pattern Instruction Selection";
319 /// This pass converts a legalized DAG into a M68k-specific DAG,
573 AM.setBaseReg(CurDAG->getRegister(M68k::PC, MVT::i32));
  /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/MCTargetDesc/
M68kBaseInfo.h 1 //===-- M68kBaseInfo.h - Top level definitions for M68k MC --*- C++ -*-----===//
11 /// for the M68k target useful for the compiler back-end and the MC
33 namespace M68k {
49 } // namespace M68k
178 case M68k::WA0:
179 case M68k::WA1:
180 case M68k::WA2:
181 case M68k::WA3:
182 case M68k::WA4:
183 case M68k::WA5
    [all...]
M68kMCCodeEmitter.h 1 //===-- M68kMCCodeEmitter.h - M68k Code Emitter ----------------*- C++ -*--===//
21 namespace M68k {
25 } // namespace M68k
M68kAsmBackend.cpp 1 //===-- M68kAsmBackend.cpp - M68k Assembler Backend ---------*- C++ -*-===//
10 /// This file contains definitions for M68k assembler backend.
102 case M68k::BRA8:
103 return M68k::BRA16;
104 case M68k::Bcc8:
105 return M68k::Bcc16;
106 case M68k::Bls8:
107 return M68k::Bls16;
108 case M68k::Blt8:
109 return M68k::Blt16
    [all...]
M68kMCTargetDesc.cpp 1 //===-- M68kMCTargetDesc.cpp - M68k Target Descriptions -----*- C++ -*-===//
10 /// This file provides M68k target specific descriptions.
55 InitM68kMCRegisterInfo(X, llvm::M68k::A0, 0, 0, llvm::M68k::PC);
84 nullptr, MRI.getDwarfRegNum(llvm::M68k::SP, true), -StackGrowth);
89 nullptr, MRI.getDwarfRegNum(M68k::PC, true), StackGrowth);
M68kInstPrinter.cpp 1 //===-- M68kInstPrinter.cpp - Convert M68k MCInst to asm ----*- C++ -*-===//
10 /// This file contains definitions for an M68k MCInst printer.
174 printDisp(MI, opNum + M68k::MemDisp, O);
176 printOperand(MI, opNum + M68k::MemBase, O);
183 printDisp(MI, opNum + M68k::MemDisp, O);
185 printOperand(MI, opNum + M68k::MemBase, O);
187 printOperand(MI, opNum + M68k::MemIndex, O);
208 printDisp(MI, opNum + M68k::PCRelDisp, O);
215 printDisp(MI, opNum + M68k::PCRelDisp, O);
217 printOperand(MI, opNum + M68k::PCRelIndex, O)
    [all...]
M68kMCCodeEmitter.cpp 1 //===-- M68kMCCodeEmitter.cpp - Convert M68k code emitter ---*- C++ -*-===//
10 /// This file contains defintions for M68k code emitter.
33 #define DEBUG_TYPE "m68k-mccodeemitter"
50 return M68k::getMCInstrBeads(MI.getOpcode());
137 auto MIOpIdx = M68k::getLogicalOperandIdx(MI.getOpcode(), Op);
145 MCO = MI.getOperand(MIOpIdx + M68k::PCRelIndex);
147 MCO = MI.getOperand(MIOpIdx + (Alt ? M68k::MemIndex : M68k::MemBase));
198 auto MIOpIdx = M68k::getLogicalOperandIdx(MI.getOpcode(), Op);
247 MCO = MI.getOperand(MIOpIdx + M68k::PCRelDisp)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/AsmParser/
M68kAsmParser.cpp 1 //===---- M68kAsmParser.cpp - Parse M68k assembly to MCInst instructions --===//
21 #define DEBUG_TYPE "m68k-asm-parser"
26 "m68k-register-prefix-optional", cl::Hidden,
31 /// Parses M68k assembly from a stream.
116 /// An parsed M68k assembly operand.
314 M68k::AR32RegClass.contains(MemOp.OuterReg);
323 M68k::AR32RegClass.contains(MemOp.OuterReg);
334 M68k::AR32RegClass.contains(MemOp.OuterReg);
345 M68k::AR32RegClass.contains(MemOp.OuterReg);
354 M68k::AR32RegClass.contains(MemOp.OuterReg)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/Disassembler/
M68kDisassembler.cpp 1 //===- M68kDisassembler.cpp - Disassembler for M68k -------------*- C++ -*-===//
9 // This file is part of the M68k Disassembler.
13 #include "M68k.h"
28 #define DEBUG_TYPE "m68k-disassembler"
112 /// A disassembler class for M68k.
139 M68k::A0, M68k::A1, M68k::A2, M68k::A3, M68k::A4, M68k::A5
    [all...]
  /src/external/apache2/llvm/lib/libclangBasic/
Makefile 58 M68k.cpp \
  /src/external/apache2/llvm/lib/libclangDriver/
Makefile 53 M68k.cpp \

Completed in 71 milliseconds