/external/llvm/lib/Target/MBlaze/ |
MBlazeRegisterInfo.cpp | 1 //===- MBlazeRegisterInfo.cpp - MBlaze Register Information -== -*- C++ -*-===// 10 // This file contains the MBlaze implementation of the TargetRegisterInfo 15 #define DEBUG_TYPE "mblaze-frame-info" 17 #include "MBlaze.h" 46 : MBlazeGenRegisterInfo(MBlaze::R15), Subtarget(ST), TII(tii) {} 49 /// MBlaze::R0, return the number that it corresponds to (e.g. 0). 52 case MBlaze::R0 : return 0; 53 case MBlaze::R1 : return 1; 54 case MBlaze::R2 : return 2; 55 case MBlaze::R3 : return 3 [all...] |
MBlazeInstrInfo.cpp | 1 //===- MBlazeInstrInfo.cpp - MBlaze Instruction Information -----*- C++ -*-===// 10 // This file contains the MBlaze implementation of the TargetInstrInfo class. 31 : MBlazeGenInstrInfo(MBlaze::ADJCALLSTACKDOWN, MBlaze::ADJCALLSTACKUP), 45 if (MI->getOpcode() == MBlaze::LWI) { 64 if (MI->getOpcode() == MBlaze::SWI) { 80 BuildMI(MBB, MI, DL, get(MBlaze::NOP)); 88 llvm::BuildMI(MBB, I, DL, get(MBlaze::ADDK), DestReg) 89 .addReg(SrcReg, getKillRegState(KillSrc)).addReg(MBlaze::R0); 98 BuildMI(MBB, I, DL, get(MBlaze::SWI)).addReg(SrcReg,getKillRegState(isKill) [all...] |
MBlazeInstrInfo.h | 1 //===- MBlazeInstrInfo.h - MBlaze Instruction Information -------*- C++ -*-===// 10 // This file contains the MBlaze implementation of the TargetInstrInfo class. 17 #include "MBlaze.h" 27 namespace MBlaze { 29 // MBlaze Branch Codes 38 // MBlaze Condition Codes 92 case COND_EQ: return MBlaze::BEQID; 93 case COND_NE: return MBlaze::BNEID; 94 case COND_GT: return MBlaze::BGTID; 95 case COND_GE: return MBlaze::BGEID [all...] |
MBlazeFrameLowering.cpp | 1 //=======- MBlazeFrameLowering.cpp - MBlaze Frame Information ------*- C++ -*-====// 10 // This file contains the MBlaze implementation of TargetFrameLowering class. 14 #define DEBUG_TYPE "mblaze-frame-lowering" 37 "disable-mblaze-stack-adjust", 39 cl::desc("Disable MBlaze stack layout adjustment."), 124 if (I->getOpcode() != MBlaze::LWI || I->getNumOperands() != 3 || 133 SI->getOpcode() != MBlaze::SWI) continue; 177 if (I->getOpcode() != MBlaze::SWI || I->getNumOperands() != 3 || 188 case MBlaze::R5: FILoc = -4; break; 189 case MBlaze::R6: FILoc = -8; break [all...] |
MBlazeSubtarget.cpp | 1 //===- MBlazeSubtarget.cpp - MBlaze Subtarget Information -------*- C++ -*-===// 10 // This file implements the MBlaze specific subclass of TargetSubtargetInfo. 15 #include "MBlaze.h" 36 CPUName = "mblaze"; 41 HasItin = CPUName != "mblaze"; 47 // Compute the issue width of the MBlaze itineraries 61 CriticalPathRCs.push_back(&MBlaze::GPRRegClass);
|
MBlazeDelaySlotFiller.cpp | 1 //===-- DelaySlotFiller.cpp - MBlaze delay slot filler --------------------===// 17 #include "MBlaze.h" 34 "disable-mblaze-delay-filler", 36 cl::desc("Disable the MBlaze delay slot filter."), 51 return "MBlaze Delay Slot Filler"; 99 case MBlaze::BRLID: 100 case MBlaze::BRALID: 101 case MBlaze::BRLD: 102 case MBlaze::BRALD: 195 if (op == MBlaze::ADDK || op == MBlaze::ADDIK | [all...] |
MBlazeRegisterInfo.h | 1 //===- MBlazeRegisterInfo.h - MBlaze Register Information Impl --*- C++ -*-===// 10 // This file contains the MBlaze implementation of the TargetRegisterInfo 18 #include "MBlaze.h" 29 namespace MBlaze { 46 /// MBlaze::RA, return the number that it corresponds to (e.g. 31).
|
MBlazeISelLowering.cpp | 1 //===-- MBlazeISelLowering.cpp - MBlaze DAG Lowering Implementation -------===// 10 // This file defines the interfaces that MBlaze uses to lower LLVM code into a 15 #define DEBUG_TYPE "mblaze-lower" 59 // MBlaze does not have i1 type, so use i32 for 64 addRegisterClass(MVT::i32, MBlaze::GPRRegisterClass); 66 addRegisterClass(MVT::f32, MBlaze::GPRRegisterClass); 99 // MBlaze has no REM or DIVREM operations. 131 // MBlaze doesn't have MUL_LOHI 145 // MBlaze Custom Operations 158 // Operations not directly supported by MBlaze [all...] |
MBlazeAsmBackend.cpp | 1 //===-- MBlazeAsmBackend.cpp - MBlaze Assembler Backend -------------------===// 11 #include "MBlaze.h" 75 case MBlaze::ADDIK: return MBlaze::ADDIK32; 76 case MBlaze::ORI: return MBlaze::ORI32; 77 case MBlaze::BRLID: return MBlaze::BRLID32; 156 assert(0 && "Mac not supported on MBlaze"); 159 assert(0 && "Windows not supported on MBlaze"); [all...] |
MBlazeTargetMachine.cpp | 1 //===-- MBlazeTargetMachine.cpp - Define TargetMachine for MBlaze ---------===// 10 // Implements the info about MBlaze target spec. 14 #include "MBlaze.h" 32 llvm_unreachable("MBlaze does not support Darwin MACH-O format"); 37 llvm_unreachable("MBlaze does not support Windows COFF format"); 84 // the ISelDag to gen MBlaze code.
|
MBlaze.h | 1 //===-- MBlaze.h - Top-level interface for MBlaze ---------------*- C++ -*-===// 11 // the LLVM MBlaze back-end.
|
MBlazeSelectionDAGInfo.cpp | 1 //===-- MBlazeSelectionDAGInfo.cpp - MBlaze SelectionDAG Info -------------===// 14 #define DEBUG_TYPE "mblaze-selectiondag-info"
|
/external/llvm/lib/Target/MBlaze/Disassembler/ |
MBlazeDisassembler.cpp | 10 // This file is part of the MBlaze Disassembler. It contains code to translate 15 #include "MBlaze.h" 41 MBlaze::ADD, MBlaze::RSUB, MBlaze::ADDC, MBlaze::RSUBC, //00,01,02,03 42 MBlaze::ADDK, MBlaze::RSUBK, MBlaze::ADDKC, MBlaze::RSUBKC, //04,05,06,0 [all...] |
Makefile | 1 ##===- lib/Target/MBlaze/Disassembler/Makefile -------------*- Makefile -*-===## 13 # Hack: we need to include 'main' MBlaze target directory to grab headers
|
/external/llvm/test/CodeGen/MBlaze/ |
dg.exp | 3 if { [llvm_supports_target MBlaze] } {
|
fsl.ll | 6 ; RUN: llc -O3 < %s -march=mblaze | FileCheck %s 8 declare i32 @llvm.mblaze.fsl.get(i32 %port) 9 declare i32 @llvm.mblaze.fsl.aget(i32 %port) 10 declare i32 @llvm.mblaze.fsl.cget(i32 %port) 11 declare i32 @llvm.mblaze.fsl.caget(i32 %port) 12 declare i32 @llvm.mblaze.fsl.eget(i32 %port) 13 declare i32 @llvm.mblaze.fsl.eaget(i32 %port) 14 declare i32 @llvm.mblaze.fsl.ecget(i32 %port) 15 declare i32 @llvm.mblaze.fsl.ecaget(i32 %port) 16 declare i32 @llvm.mblaze.fsl.nget(i32 %port [all...] |
mul64.ll | 5 ; RUN: llc < %s -march=mblaze | FileCheck -check-prefix=FUN %s 6 ; RUN: llc < %s -march=mblaze -mattr=+mul,+mul64 | \
|
intr.ll | 1 ; Ensure that the MBlaze interrupt_handler calling convention (cc73) is handled 2 ; correctly correctly by the MBlaze backend. 4 ; RUN: llc < %s -march=mblaze | FileCheck %s
|
select.ll | 4 ; RUN: llc < %s -march=mblaze | FileCheck %s
|
/external/llvm/test/MC/Disassembler/MBlaze/ |
dg.exp | 3 if { [llvm_supports_target MBlaze] } {
|
mblaze_pattern.txt | 1 # RUN: llvm-mc --disassemble %s -triple=mblaze-unknown-unknown | FileCheck %s
|
/external/llvm/test/MC/MBlaze/ |
dg.exp | 3 if { [llvm_supports_target MBlaze] } {
|
/external/llvm/lib/Target/MBlaze/TargetInfo/ |
MBlazeTargetInfo.cpp | 1 //===-- MBlazeTargetInfo.cpp - MBlaze Target Implementation ---------------===// 10 #include "MBlaze.h" 18 RegisterTarget<Triple::mblaze> X(TheMBlazeTarget, "mblaze", "MBlaze");
|
/external/llvm/lib/Target/MBlaze/MCTargetDesc/ |
MBlazeMCTargetDesc.h | 1 //===-- MBlazeMCTargetDesc.h - MBlaze Target Descriptions -------*- C++ -*-===// 10 // This file provides MBlaze specific target descriptions. 26 // Defines symbolic names for MBlaze registers. This defines a mapping from 31 // Defines symbolic names for the MBlaze instructions.
|
/external/llvm/lib/Target/MBlaze/InstPrinter/ |
Makefile | 1 ##===- lib/Target/MBlaze/AsmPrinter/Makefile ---------------*- Makefile -*-===## 12 # Hack: we need to include 'main' MBlaze target directory to grab
|