/external/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 36 : MSP430GenRegisterInfo(MSP430::PC) {} in MSP430RegisterInfo() 43 MSP430::FP, MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 44 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in getCalleeSavedRegs() 48 MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 49 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in getCalleeSavedRegs() 53 MSP430::FP, MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 54 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in getCalleeSavedRegs() 55 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15, in getCalleeSavedRegs() 59 MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 60 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in getCalleeSavedRegs() [all …]
|
D | MSP430FrameLowering.cpp | 67 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue() 68 .addReg(MSP430::FP, RegState::Kill); in emitPrologue() 71 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FP) in emitPrologue() 72 .addReg(MSP430::SP); in emitPrologue() 77 I->addLiveIn(MSP430::FP); in emitPrologue() 83 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue() 99 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue() 100 .addReg(MSP430::SP).addImm(NumBytes); in emitPrologue() 119 case MSP430::RET: in emitEpilogue() 120 case MSP430::RETI: break; // These are ok in emitEpilogue() [all …]
|
D | MSP430InstrInfo.cpp | 34 : MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP), in MSP430InstrInfo() 52 if (RC == &MSP430::GR16RegClass) in storeRegToStackSlot() 53 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr)) in storeRegToStackSlot() 56 else if (RC == &MSP430::GR8RegClass) in storeRegToStackSlot() 57 BuildMI(MBB, MI, DL, get(MSP430::MOV8mr)) in storeRegToStackSlot() 79 if (RC == &MSP430::GR16RegClass) in loadRegFromStackSlot() 80 BuildMI(MBB, MI, DL, get(MSP430::MOV16rm)) in loadRegFromStackSlot() 83 else if (RC == &MSP430::GR8RegClass) in loadRegFromStackSlot() 84 BuildMI(MBB, MI, DL, get(MSP430::MOV8rm)) in loadRegFromStackSlot() 96 if (MSP430::GR16RegClass.contains(DestReg, SrcReg)) in copyPhysReg() [all …]
|
D | MSP430ISelDAGToDAG.cpp | 336 Opcode = MSP430::MOV8rm_POST; in tryIndexedLoad() 339 Opcode = MSP430::MOV16rm_POST; in tryIndexedLoad() 404 CurDAG->SelectNodeTo(Node, MSP430::ADD16ri, MVT::i16, TFI, in Select() 409 MSP430::ADD16ri, dl, MVT::i16, TFI, in Select() 420 MSP430::ADD8rm_POST, MSP430::ADD16rm_POST)) in Select() 423 MSP430::ADD8rm_POST, MSP430::ADD16rm_POST)) in Select() 430 MSP430::SUB8rm_POST, MSP430::SUB16rm_POST)) in Select() 437 MSP430::AND8rm_POST, MSP430::AND16rm_POST)) in Select() 440 MSP430::AND8rm_POST, MSP430::AND16rm_POST)) in Select() 447 MSP430::OR8rm_POST, MSP430::OR16rm_POST)) in Select() [all …]
|
D | MSP430.td | 1 //===-- MSP430.td - Describe the MSP430 Target Machine -----*- tablegen -*-===// 9 // This is the top level entry point for the MSP430 target. 23 "Enable MSP430-X extensions">; 26 // MSP430 supported processors. 57 def MSP430 : Target {
|
D | MSP430ISelLowering.cpp | 65 addRegisterClass(MVT::i8, &MSP430::GR8RegClass); in MSP430TargetLowering() 66 addRegisterClass(MVT::i16, &MSP430::GR16RegClass); in MSP430TargetLowering() 72 setStackPointerRegisterToSaveRestore(MSP430::SP); in MSP430TargetLowering() 229 return std::make_pair(0U, &MSP430::GR8RegClass); in getRegForInlineAsmConstraint() 231 return std::make_pair(0U, &MSP430::GR16RegClass); in getRegForInlineAsmConstraint() 279 MSP430::R15, MSP430::R14, MSP430::R13, MSP430::R12 in AnalyzeArguments() 447 unsigned VReg = RegInfo.createVirtualRegister(&MSP430::GR16RegClass); in LowerCCCArguments() 609 StackPtr = DAG.getCopyFromReg(Chain, dl, MSP430::SP, PtrVT); in LowerCCCCallTo() 944 SDValue SR = DAG.getCopyFromReg(DAG.getEntryNode(), dl, MSP430::SR, in LowerSETCC() 1046 MSP430::FP, VT); in LowerFRAMEADDR() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 35 : MSP430GenRegisterInfo(MSP430::PC) {} in MSP430RegisterInfo() 42 MSP430::FP, MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 43 MSP430::R8, MSP430::R9, MSP430::R10, in getCalleeSavedRegs() 47 MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 48 MSP430::R8, MSP430::R9, MSP430::R10, in getCalleeSavedRegs() 52 MSP430::FP, MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 53 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in getCalleeSavedRegs() 54 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15, in getCalleeSavedRegs() 58 MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 59 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in getCalleeSavedRegs() [all …]
|
D | MSP430FrameLowering.cpp | 66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue() 67 .addReg(MSP430::FP, RegState::Kill); in emitPrologue() 70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FP) in emitPrologue() 71 .addReg(MSP430::SP); in emitPrologue() 76 I->addLiveIn(MSP430::FP); in emitPrologue() 82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue() 98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue() 99 .addReg(MSP430::SP).addImm(NumBytes); in emitPrologue() 118 case MSP430::RET: in emitEpilogue() 119 case MSP430::RETI: break; // These are ok in emitEpilogue() [all …]
|
D | MSP430InstrInfo.cpp | 33 : MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP), in MSP430InstrInfo() 51 if (RC == &MSP430::GR16RegClass) in storeRegToStackSlot() 52 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr)) in storeRegToStackSlot() 55 else if (RC == &MSP430::GR8RegClass) in storeRegToStackSlot() 56 BuildMI(MBB, MI, DL, get(MSP430::MOV8mr)) in storeRegToStackSlot() 78 if (RC == &MSP430::GR16RegClass) in loadRegFromStackSlot() 79 BuildMI(MBB, MI, DL, get(MSP430::MOV16rm)) in loadRegFromStackSlot() 82 else if (RC == &MSP430::GR8RegClass) in loadRegFromStackSlot() 83 BuildMI(MBB, MI, DL, get(MSP430::MOV8rm)) in loadRegFromStackSlot() 95 if (MSP430::GR16RegClass.contains(DestReg, SrcReg)) in copyPhysReg() [all …]
|
D | MSP430ISelDAGToDAG.cpp | 253 AM.Base.Reg = CurDAG->getRegister(MSP430::SR, MVT::i16); in SelectAddr() 335 Opcode = MSP430::MOV8rp; in tryIndexedLoad() 338 Opcode = MSP430::MOV16rp; in tryIndexedLoad() 395 CurDAG->SelectNodeTo(Node, MSP430::ADDframe, MVT::i16, TFI, in Select() 400 MSP430::ADDframe, dl, MVT::i16, TFI, in Select() 411 MSP430::ADD8rp, MSP430::ADD16rp)) in Select() 414 MSP430::ADD8rp, MSP430::ADD16rp)) in Select() 421 MSP430::SUB8rp, MSP430::SUB16rp)) in Select() 428 MSP430::AND8rp, MSP430::AND16rp)) in Select() 431 MSP430::AND8rp, MSP430::AND16rp)) in Select() [all …]
|
D | MSP430ISelLowering.cpp | 50 addRegisterClass(MVT::i8, &MSP430::GR8RegClass); in MSP430TargetLowering() 51 addRegisterClass(MVT::i16, &MSP430::GR16RegClass); in MSP430TargetLowering() 57 setStackPointerRegisterToSaveRestore(MSP430::SP); in MSP430TargetLowering() 403 return std::make_pair(0U, &MSP430::GR8RegClass); in getRegForInlineAsmConstraint() 405 return std::make_pair(0U, &MSP430::GR16RegClass); in getRegForInlineAsmConstraint() 460 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15 in AnalyzeArguments() 464 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in AnalyzeArguments() 465 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15 in AnalyzeArguments() 654 Register VReg = RegInfo.createVirtualRegister(&MSP430::GR16RegClass); in LowerCCCArguments() 783 unsigned R12 = MSP430::R12; in LowerReturn() [all …]
|
D | MSP430.td | 1 //===-- MSP430.td - Describe the MSP430 Target Machine -----*- tablegen -*-===// 8 // This is the top level entry point for the MSP430 target. 22 "Enable MSP430-X extensions">; 37 // MSP430 supported processors. 87 def MSP430 : Target {
|
/external/llvm-project/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 35 : MSP430GenRegisterInfo(MSP430::PC) {} in MSP430RegisterInfo() 42 MSP430::R4, MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 43 MSP430::R8, MSP430::R9, MSP430::R10, in getCalleeSavedRegs() 47 MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 48 MSP430::R8, MSP430::R9, MSP430::R10, in getCalleeSavedRegs() 52 MSP430::R4, MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 53 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in getCalleeSavedRegs() 54 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15, in getCalleeSavedRegs() 58 MSP430::R5, MSP430::R6, MSP430::R7, in getCalleeSavedRegs() 59 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in getCalleeSavedRegs() [all …]
|
D | MSP430FrameLowering.cpp | 66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue() 67 .addReg(MSP430::R4, RegState::Kill); in emitPrologue() 70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::R4) in emitPrologue() 71 .addReg(MSP430::SP); in emitPrologue() 76 I->addLiveIn(MSP430::R4); in emitPrologue() 82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue() 98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue() 99 .addReg(MSP430::SP).addImm(NumBytes); in emitPrologue() 118 case MSP430::RET: in emitEpilogue() 119 case MSP430::RETI: break; // These are ok in emitEpilogue() [all …]
|
D | MSP430InstrInfo.cpp | 33 : MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP), in MSP430InstrInfo() 51 if (RC == &MSP430::GR16RegClass) in storeRegToStackSlot() 52 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr)) in storeRegToStackSlot() 55 else if (RC == &MSP430::GR8RegClass) in storeRegToStackSlot() 56 BuildMI(MBB, MI, DL, get(MSP430::MOV8mr)) in storeRegToStackSlot() 78 if (RC == &MSP430::GR16RegClass) in loadRegFromStackSlot() 79 BuildMI(MBB, MI, DL, get(MSP430::MOV16rm)) in loadRegFromStackSlot() 82 else if (RC == &MSP430::GR8RegClass) in loadRegFromStackSlot() 83 BuildMI(MBB, MI, DL, get(MSP430::MOV8rm)) in loadRegFromStackSlot() 95 if (MSP430::GR16RegClass.contains(DestReg, SrcReg)) in copyPhysReg() [all …]
|
D | MSP430ISelDAGToDAG.cpp | 253 AM.Base.Reg = CurDAG->getRegister(MSP430::SR, MVT::i16); in SelectAddr() 335 Opcode = MSP430::MOV8rp; in tryIndexedLoad() 338 Opcode = MSP430::MOV16rp; in tryIndexedLoad() 395 CurDAG->SelectNodeTo(Node, MSP430::ADDframe, MVT::i16, TFI, in Select() 400 MSP430::ADDframe, dl, MVT::i16, TFI, in Select() 411 MSP430::ADD8rp, MSP430::ADD16rp)) in Select() 414 MSP430::ADD8rp, MSP430::ADD16rp)) in Select() 421 MSP430::SUB8rp, MSP430::SUB16rp)) in Select() 428 MSP430::AND8rp, MSP430::AND16rp)) in Select() 431 MSP430::AND8rp, MSP430::AND16rp)) in Select() [all …]
|
D | MSP430ISelLowering.cpp | 49 addRegisterClass(MVT::i8, &MSP430::GR8RegClass); in MSP430TargetLowering() 50 addRegisterClass(MVT::i16, &MSP430::GR16RegClass); in MSP430TargetLowering() 56 setStackPointerRegisterToSaveRestore(MSP430::SP); in MSP430TargetLowering() 402 return std::make_pair(0U, &MSP430::GR8RegClass); in getRegForInlineAsmConstraint() 404 return std::make_pair(0U, &MSP430::GR16RegClass); in getRegForInlineAsmConstraint() 459 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15 in AnalyzeArguments() 463 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, in AnalyzeArguments() 464 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15 in AnalyzeArguments() 653 Register VReg = RegInfo.createVirtualRegister(&MSP430::GR16RegClass); in LowerCCCArguments() 782 unsigned R12 = MSP430::R12; in LowerReturn() [all …]
|
D | MSP430.td | 1 //===-- MSP430.td - Describe the MSP430 Target Machine -----*- tablegen -*-===// 8 // This is the top level entry point for the MSP430 target. 22 "Enable MSP430-X extensions">; 37 // MSP430 supported processors. 87 def MSP430 : Target {
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/Disassembler/ |
D | MSP430Disassembler.cpp | 67 MSP430::PCB, MSP430::SPB, MSP430::SRB, MSP430::CGB, 68 MSP430::FPB, MSP430::R5B, MSP430::R6B, MSP430::R7B, 69 MSP430::R8B, MSP430::R9B, MSP430::R10B, MSP430::R11B, 70 MSP430::R12B, MSP430::R13B, MSP430::R14B, MSP430::R15B 85 MSP430::PC, MSP430::SP, MSP430::SR, MSP430::CG, 86 MSP430::FP, MSP430::R5, MSP430::R6, MSP430::R7, 87 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, 88 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15 350 MI.setOpcode(MSP430::JMP); in getInstructionCJ() 352 MI.setOpcode(MSP430::JCC); in getInstructionCJ()
|
/external/llvm-project/llvm/lib/Target/MSP430/Disassembler/ |
D | MSP430Disassembler.cpp | 67 MSP430::PCB, MSP430::SPB, MSP430::SRB, MSP430::CGB, 68 MSP430::R4B, MSP430::R5B, MSP430::R6B, MSP430::R7B, 69 MSP430::R8B, MSP430::R9B, MSP430::R10B, MSP430::R11B, 70 MSP430::R12B, MSP430::R13B, MSP430::R14B, MSP430::R15B 85 MSP430::PC, MSP430::SP, MSP430::SR, MSP430::CG, 86 MSP430::R4, MSP430::R5, MSP430::R6, MSP430::R7, 87 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11, 88 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15 350 MI.setOpcode(MSP430::JMP); in getInstructionCJ() 352 MI.setOpcode(MSP430::JCC); in getInstructionCJ()
|
/external/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/ |
D | MSP430ELFObjectWriter.cpp | 38 case MSP430::fixup_32: return ELF::R_MSP430_32; in getRelocType() 39 case MSP430::fixup_10_pcrel: return ELF::R_MSP430_10_PCREL; in getRelocType() 40 case MSP430::fixup_16: return ELF::R_MSP430_16; in getRelocType() 41 case MSP430::fixup_16_pcrel: return ELF::R_MSP430_16_PCREL; in getRelocType() 42 case MSP430::fixup_16_byte: return ELF::R_MSP430_16_BYTE; in getRelocType() 43 case MSP430::fixup_16_pcrel_byte: return ELF::R_MSP430_16_PCREL_BYTE; in getRelocType() 44 case MSP430::fixup_2x_pcrel: return ELF::R_MSP430_2X_PCREL; in getRelocType() 45 case MSP430::fixup_rl_pcrel: return ELF::R_MSP430_RL_PCREL; in getRelocType() 46 case MSP430::fixup_8: return ELF::R_MSP430_8; in getRelocType() 47 case MSP430::fixup_sym_diff: return ELF::R_MSP430_SYM_DIFF; in getRelocType()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/MCTargetDesc/ |
D | MSP430ELFObjectWriter.cpp | 38 case MSP430::fixup_32: return ELF::R_MSP430_32; in getRelocType() 39 case MSP430::fixup_10_pcrel: return ELF::R_MSP430_10_PCREL; in getRelocType() 40 case MSP430::fixup_16: return ELF::R_MSP430_16; in getRelocType() 41 case MSP430::fixup_16_pcrel: return ELF::R_MSP430_16_PCREL; in getRelocType() 42 case MSP430::fixup_16_byte: return ELF::R_MSP430_16_BYTE; in getRelocType() 43 case MSP430::fixup_16_pcrel_byte: return ELF::R_MSP430_16_PCREL_BYTE; in getRelocType() 44 case MSP430::fixup_2x_pcrel: return ELF::R_MSP430_2X_PCREL; in getRelocType() 45 case MSP430::fixup_rl_pcrel: return ELF::R_MSP430_RL_PCREL; in getRelocType() 46 case MSP430::fixup_8: return ELF::R_MSP430_8; in getRelocType() 47 case MSP430::fixup_sym_diff: return ELF::R_MSP430_SYM_DIFF; in getRelocType()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/AsmParser/ |
D | MSP430AsmParser.cpp | 294 if (RegNo == MSP430::NoRegister) { in ParseRegister() 296 if (RegNo == MSP430::NoRegister) in ParseRegister() 455 unsigned RegNo = MSP430::PC; in ParseOperand() 481 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc, in ParseOperand() 544 case MSP430::PC: return MSP430::PCB; in convertGR16ToGR8() 545 case MSP430::SP: return MSP430::SPB; in convertGR16ToGR8() 546 case MSP430::SR: return MSP430::SRB; in convertGR16ToGR8() 547 case MSP430::CG: return MSP430::CGB; in convertGR16ToGR8() 548 case MSP430::FP: return MSP430::FPB; in convertGR16ToGR8() 549 case MSP430::R5: return MSP430::R5B; in convertGR16ToGR8() [all …]
|
/external/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
D | MSP430AsmParser.cpp | 311 if (RegNo == MSP430::NoRegister) { in tryParseRegister() 313 if (RegNo == MSP430::NoRegister) in tryParseRegister() 472 unsigned RegNo = MSP430::PC; in ParseOperand() 498 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc, in ParseOperand() 561 case MSP430::PC: return MSP430::PCB; in convertGR16ToGR8() 562 case MSP430::SP: return MSP430::SPB; in convertGR16ToGR8() 563 case MSP430::SR: return MSP430::SRB; in convertGR16ToGR8() 564 case MSP430::CG: return MSP430::CGB; in convertGR16ToGR8() 565 case MSP430::R4: return MSP430::R4B; in convertGR16ToGR8() 566 case MSP430::R5: return MSP430::R5B; in convertGR16ToGR8() [all …]
|
/external/llvm-project/lld/ELF/Arch/ |
D | MSP430.cpp | 33 class MSP430 final : public TargetInfo { class 35 MSP430(); 43 MSP430::MSP430() { in MSP430() function in MSP430 48 RelExpr MSP430::getRelExpr(RelType type, const Symbol &s, in getRelExpr() 63 void MSP430::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() 93 static MSP430 target; in getMSP430TargetInfo()
|