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

  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
MSP430RegisterInfo.cpp 1 //===-- MSP430RegisterInfo.cpp - MSP430 Register Information --------------===//
9 // This file contains the MSP430 implementation of the TargetRegisterInfo class.
14 #include "MSP430.h"
28 #define DEBUG_TYPE "msp430-reg-info"
35 : MSP430GenRegisterInfo(MSP430::PC) {}
42 MSP430::R4, MSP430::R5, MSP430::R6, MSP430::R7,
43 MSP430::R8, MSP430::R9, MSP430::R10
    [all...]
MSP430FrameLowering.cpp 1 //===-- MSP430FrameLowering.cpp - MSP430 Frame Information ----------------===//
9 // This file contains the MSP430 implementation of TargetFrameLowering class.
66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r))
67 .addReg(MSP430::R4, RegState::Kill);
70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::R4)
71 .addReg(MSP430::SP);
76 I->addLiveIn(MSP430::R4);
82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r))
98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP
    [all...]
MSP430InstrInfo.cpp 1 //===-- MSP430InstrInfo.cpp - MSP430 Instruction Information --------------===//
9 // This file contains the MSP430 implementation of the TargetInstrInfo class.
14 #include "MSP430.h"
33 : MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP),
51 if (RC == &MSP430::GR16RegClass)
52 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr))
55 else if (RC == &MSP430::GR8RegClass)
56 BuildMI(MBB, MI, DL, get(MSP430::MOV8mr))
78 if (RC == &MSP430::GR16RegClass
    [all...]
MSP430ISelDAGToDAG.cpp 1 //===-- MSP430ISelDAGToDAG.cpp - A dag to dag inst selector for MSP430 ----===//
9 // This file defines an instruction selector for the MSP430 target.
13 #include "MSP430.h"
33 #define DEBUG_TYPE "msp430-isel"
88 /// MSP430DAGToDAGISel - MSP430 specific code to select MSP430 machine
99 return "MSP430 DAG->DAG Pattern Instruction Selection";
124 /// MSP430-specific DAG, ready for instruction scheduling.
253 AM.Base.Reg = CurDAG->getRegister(MSP430::SR, MVT::i16);
335 Opcode = MSP430::MOV8rp
    [all...]
MSP430ISelLowering.cpp 1 //===-- MSP430ISelLowering.cpp - MSP430 DAG Lowering Implementation ------===//
14 #include "MSP430.h"
37 #define DEBUG_TYPE "msp430-lower"
40 "msp430-no-legal-immediate", cl::Hidden,
49 addRegisterClass(MVT::i8, &MSP430::GR8RegClass);
50 addRegisterClass(MVT::i16, &MSP430::GR16RegClass);
56 setStackPointerRegisterToSaveRestore(MSP430::SP);
367 // tests/codegen/msp430/shift-amount-threshold-b.ll
375 // MSP430 Inline Assembly Support
402 return std::make_pair(0U, &MSP430::GR8RegClass)
    [all...]
MSP430BranchSelector.cpp 17 #include "MSP430.h"
28 #define DEBUG_TYPE "msp430-branch-select"
31 BranchSelectEnabled("msp430-branch-select", cl::Hidden, cl::init(true),
60 StringRef getPassName() const override { return "MSP430 Branch Selector"; }
124 if (MI->getOpcode() != MSP430::JCC && MI->getOpcode() != MSP430::JMP) {
146 if (MI->getOpcode() == MSP430::JCC && std::next(MI) != EE) {
183 if (MI->getOpcode() == MSP430::JCC) {
190 // 1. MSP430 branch predicate
196 MI = BuildMI(*MBB, MI, dl, TII->get(MSP430::JCC)
    [all...]
MSP430AsmPrinter.cpp 1 //===-- MSP430AsmPrinter.cpp - MSP430 LLVM assembly writer ----------------===//
10 // of machine-dependent LLVM code to the MSP430 assembly language.
15 #include "MSP430.h"
47 StringRef getPassName() const override { return "MSP430 Assembly Printer"; }
98 // Otherwise (!) msp430-as will silently miscompile the output :(
115 if (Disp.isImm() && Base.getReg() == MSP430::SR)
120 if (Base.getReg() != MSP430::SR && Base.getReg() != MSP430::PC) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/
MSP430ELFObjectWriter.cpp 1 //===-- MSP430ELFObjectWriter.cpp - MSP430 ELF Writer ---------------------===//
38 case MSP430::fixup_32: return ELF::R_MSP430_32;
39 case MSP430::fixup_10_pcrel: return ELF::R_MSP430_10_PCREL;
40 case MSP430::fixup_16: return ELF::R_MSP430_16;
41 case MSP430::fixup_16_pcrel: return ELF::R_MSP430_16_PCREL;
42 case MSP430::fixup_16_byte: return ELF::R_MSP430_16_BYTE;
43 case MSP430::fixup_16_pcrel_byte: return ELF::R_MSP430_16_PCREL_BYTE;
44 case MSP430::fixup_2x_pcrel: return ELF::R_MSP430_2X_PCREL;
45 case MSP430::fixup_rl_pcrel: return ELF::R_MSP430_RL_PCREL;
46 case MSP430::fixup_8: return ELF::R_MSP430_8
    [all...]
MSP430FixupKinds.h 1 //===-- MSP430FixupKinds.h - MSP430 Specific Fixup Entries ------*- C++ -*-===//
14 #undef MSP430
17 namespace MSP430 {
20 // MCFixupKindInfo Infos[MSP430::NumTargetFixupKinds]
49 } // end namespace MSP430
MSP430InstPrinter.cpp 1 //===-- MSP430InstPrinter.cpp - Convert MSP430 MCInst to assembly syntax --===//
9 // This class prints an MSP430 MCInst to a .s file.
14 #include "MSP430.h"
80 // Otherwise (!) msp430-as will silently miscompile the output :(
81 if (Base.getReg() == MSP430::SR)
92 if ((Base.getReg() != MSP430::SR) &&
93 (Base.getReg() != MSP430::PC))
MSP430AsmBackend.cpp 1 //===-- MSP430AsmBackend.cpp - MSP430 Assembler Backend -------------------===//
65 return MSP430::NumTargetFixupKinds;
69 const static MCFixupKindInfo Infos[MSP430::NumTargetFixupKinds] = {
84 static_assert((array_lengthof(Infos)) == MSP430::NumTargetFixupKinds,
101 case MSP430::fixup_10_pcrel: {
154 // The canonical nop on MSP430 is mov #0, r3
MSP430MCCodeEmitter.cpp 1 //===-- MSP430MCCodeEmitter.cpp - Convert MSP430 code to machine code -----===//
13 #include "MSP430.h"
115 static_cast<MCFixupKind>(MSP430::fixup_16_byte), MI.getLoc()));
134 MSP430::Fixups FixupKind;
137 FixupKind = MSP430::fixup_16_pcrel_byte;
140 FixupKind = MSP430::fixup_16_byte;
143 FixupKind = MSP430::fixup_16_byte;
161 static_cast<MCFixupKind>(MSP430::fixup_10_pcrel), MI.getLoc()));
MSP430MCTargetDesc.cpp 1 //===-- MSP430MCTargetDesc.cpp - MSP430 Target Descriptions ---------------===//
9 // This file provides MSP430 specific target descriptions.
41 InitMSP430MCRegisterInfo(X, MSP430::PC);
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/Disassembler/
MSP430Disassembler.cpp 1 //===-- MSP430Disassembler.cpp - Disassembler for MSP430 ------------------===//
13 #include "MSP430.h"
27 #define DEBUG_TYPE "msp430-disassembler"
67 MSP430::PCB, MSP430::SPB, MSP430::SRB, MSP430::CGB,
68 MSP430::R4B, MSP430::R5B, MSP430::R6B, MSP430::R7B
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/
MSP430AsmParser.cpp 1 //===- MSP430AsmParser.cpp - Parse MSP430 assembly to MCInst instructions -===//
9 #include "MSP430.h"
30 #define DEBUG_TYPE "msp430-asm-parser"
36 /// Parses MSP430 assembly from a stream.
89 /// A parsed MSP430 assembly operand.
310 if (RegNo == MSP430::NoRegister) {
312 if (RegNo == MSP430::NoRegister)
471 unsigned RegNo = MSP430::PC;
497 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc,
560 case MSP430::PC: return MSP430::PCB
    [all...]
  /src/external/apache2/llvm/lib/libclangBasic/
Makefile 59 MSP430.cpp \
  /src/external/apache2/llvm/lib/libclangDriver/
Makefile 57 MSP430.cpp \
  /src/external/gpl3/gcc/dist/libgcc/config/msp430/
lib2hw_mul.S 26 ;; by GCC. The second is the MSP430 EABI mandated name for the
384 ;; First generation MSP430 hardware multiplies ...
409 ;; Second generation MSP430 hardware multiplies ...
  /src/external/gpl3/gcc.old/dist/libgcc/config/msp430/
lib2hw_mul.S 26 ;; by GCC. The second is the MSP430 EABI mandated name for the
384 ;; First generation MSP430 hardware multiplies ...
409 ;; Second generation MSP430 hardware multiplies ...
  /src/external/apache2/llvm/autoconf/
configure 1558 hexagon, xcore, msp430, nvptx, systemz, r600, bpf,
4246 msp430-*) llvm_cv_target_arch="MSP430" ;;
4285 msp430-*) host_arch="MSP430" ;;
5036 MSP430) TARGET_HAS_JIT=0
5420 ALL_TARGETS="AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC Sparc SystemZ X86 XCore"
5452 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5469 MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;
    [all...]

Completed in 27 milliseconds