Home
last modified time | relevance | path

Searched refs:XCore (Results 1 – 25 of 25) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreRegisterInfo.cpp69 case XCore::LDWFI: in InsertFPImmInst()
75 case XCore::STWFI: in InsertFPImmInst()
105 case XCore::LDWFI: in InsertFPConstInst()
139 NewOpcode = (isU6) ? XCore::LDWSP_ru6 : XCore::LDWSP_lru6; in InsertSPImmInst()
145 NewOpcode = (isU6) ? XCore::STWSP_ru6 : XCore::STWSP_lru6; in InsertSPImmInst()
152 NewOpcode = (isU6) ? XCore::LDAWSP_ru6 : XCore::LDAWSP_lru6; in InsertSPImmInst()
214 XCore::R4, XCore::R5, XCore::R6, XCore::R7, in getCalleeSavedRegs()
215 XCore::R8, XCore::R9, XCore::R10, in getCalleeSavedRegs()
219 XCore::R4, XCore::R5, XCore::R6, XCore::R7, in getCalleeSavedRegs()
220 XCore::R8, XCore::R9, in getCalleeSavedRegs()
[all …]
H A DXCoreInstrInfo.cpp34 namespace XCore { namespace
49 : XCoreGenInstrInfo(XCore::ADJCALLSTACKDOWN, XCore::ADJCALLSTACKUP), in XCoreInstrInfo()
65 if (Opcode == XCore::LDWFI) in isLoadFromStackSlot()
85 if (Opcode == XCore::STWFI) in isStoreToStackSlot()
136 return XCore::COND_TRUE; in GetCondFromBranchOpc()
150 case XCore::COND_TRUE : return XCore::BRFT_lru6; in GetCondBranchFromCond()
151 case XCore::COND_FALSE : return XCore::BRFF_lru6; in GetCondBranchFromCond()
157 static inline XCore::CondCode GetOppositeBranchCondition(XCore::CondCode CC) in GetOppositeBranchCondition()
161 case XCore::COND_TRUE : return XCore::COND_FALSE; in GetOppositeBranchCondition()
162 case XCore::COND_FALSE : return XCore::COND_TRUE; in GetOppositeBranchCondition()
[all …]
H A DXCoreFrameLowering.cpp106 int Opcode = isImmU6(OpImm) ? XCore::EXTSP_u6 : XCore::EXTSP_lu6; in IfNeededExtSP()
128 int Opcode = isImmU6(OpImm) ? XCore::LDAWSP_ru6 : XCore::LDAWSP_lru6; in IfNeededLDAWSP()
201 int Opcode = isImmU6(Offset) ? XCore::LDWSP_ru6 : XCore::LDWSP_lru6; in RestoreSpillList()
242 BuildMI(MBB, MBBI, dl, TII.get(XCore::LDWSP_ru6), XCore::R11).addImm(0); in emitPrologue()
262 int Opcode = isImmU6(Adjusted) ? XCore::ENTSP_u6 : XCore::ENTSP_lu6; in emitPrologue()
287 int Opcode = isImmU6(Offset) ? XCore::STWSP_ru6 : XCore::STWSP_lru6; in emitPrologue()
400 int Opcode = isImmU6(RemainingAdj) ? XCore::RETSP_u6 : XCore::RETSP_lu6; in emitEpilogue()
432 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in spillCalleeSavedRegisters()
459 assert(Reg != XCore::LR && !(Reg == XCore::R10 && hasFP(*MF)) && in restoreCalleeSavedRegisters()
510 int Opcode = isU6 ? XCore::EXTSP_u6 : XCore::EXTSP_lu6; in eliminateCallFramePseudoInstr()
[all …]
H A DXCoreISelDAGToDAG.cpp120 Reg = CurDAG->getRegister(XCore::CP, MVT::i32); in SelectInlineAsmMemoryOperand()
123 Reg = CurDAG->getRegister(XCore::DP, MVT::i32); in SelectInlineAsmMemoryOperand()
142 ReplaceNode(N, CurDAG->getMachineNode(XCore::MKMSK_rus, dl, in Select()
165 ReplaceNode(N, CurDAG->getMachineNode(XCore::LADD_l5r, dl, MVT::i32, in Select()
172 ReplaceNode(N, CurDAG->getMachineNode(XCore::LSUB_l5r, dl, MVT::i32, in Select()
179 ReplaceNode(N, CurDAG->getMachineNode(XCore::MACCU_l4r, dl, MVT::i32, in Select()
186 ReplaceNode(N, CurDAG->getMachineNode(XCore::MACCS_l4r, dl, MVT::i32, in Select()
193 ReplaceNode(N, CurDAG->getMachineNode(XCore::LMUL_l6r, dl, MVT::i32, in Select()
199 ReplaceNode(N, CurDAG->getMachineNode(XCore::CRC8_l4r, dl, MVT::i32, in Select()
275 CurDAG->SelectNodeTo(N, XCore::BRFU_lu6, MVT::Other, in tryBRIND()
[all …]
H A DXCore.td1 //===-- XCore.td - Describe the XCore Target Machine -------*- tablegen -*-===//
9 // This is the top level entry point for the XCore target.
30 // XCore processors supported.
43 def XCore : Target {
H A DXCoreRegisterInfo.td1 //===-- XCoreRegisterInfo.td - XCore Register defs ---------*- tablegen -*-===//
10 // Declarations that describe the XCore register file
15 let Namespace = "XCore";
44 def GRRegs : RegisterClass<"XCore", [i32], 32,
53 def RRegs : RegisterClass<"XCore", [i32], 32,
H A DXCoreCallingConv.td1 //===- XCoreCallingConv.td - Calling Conventions for XCore -*- tablegen -*-===//
8 // This describes the calling conventions for XCore architecture.
12 // XCore Return Value Calling Convention
24 // XCore Argument Calling Conventions
H A DXCoreMachineFunctionInfo.cpp38 const TargetRegisterClass &RC = XCore::GRRegsRegClass; in createLRSpillSlot()
56 const TargetRegisterClass &RC = XCore::GRRegsRegClass; in createFPSpillSlot()
69 const TargetRegisterClass &RC = XCore::GRRegsRegClass; in createEHSpillSlot()
H A DXCoreAsmPrinter.cpp263 case XCore::DBG_VALUE: in emitInstruction()
265 case XCore::ADD_2rus: in emitInstruction()
274 case XCore::BR_JT: in emitInstruction()
275 case XCore::BR_JT32: in emitInstruction()
278 if (MI->getOpcode() == XCore::BR_JT) in emitInstruction()
H A DXCoreISelLowering.h131 return XCore::R0; in getExceptionPointerRegister()
138 return XCore::R1; in getExceptionSelectorRegister()
H A DXCoreFrameToArgsOffsetElim.cpp56 if (MBBI->getOpcode() == XCore::FRAME_TO_ARGS_OFFSET) { in runOnMachineFunction()
H A DXCoreISelLowering.cpp77 addRegisterClass(MVT::i32, &XCore::GRRegsRegClass); in XCoreTargetLowering()
82 setStackPointerRegisterToSaveRestore(XCore::SP); in XCoreTargetLowering()
838 unsigned StackReg = XCore::R2; in LowerEH_RETURN()
839 unsigned HandlerReg = XCore::R3; in LowerEH_RETURN()
1312 Register VReg = RegInfo.createVirtualRegister(&XCore::GRRegsRegClass); in LowerCCCArguments()
1346 XCore::R0, XCore::R1, XCore::R2, XCore::R3 in LowerCCCArguments()
1363 Register VReg = RegInfo.createVirtualRegister(&XCore::GRRegsRegClass); in LowerCCCArguments()
1527 assert((MI.getOpcode() == XCore::SELECT_CC) && in EmitInstrWithCustomInserter()
1559 BuildMI(BB, dl, TII.get(XCore::BRFT_lru6)) in EmitInstrWithCustomInserter()
1575 BuildMI(*BB, BB->begin(), dl, TII.get(XCore::PHI), MI.getOperand(0).getReg()) in EmitInstrWithCustomInserter()
[all …]
H A DXCoreInstrFormats.td1 //===-- XCoreInstrFormats.td - XCore Instruction Formats ---*- tablegen -*-===//
16 let Namespace = "XCore";
25 // XCore pseudo instructions format
H A DXCoreInstrInfo.td1 //===-- XCoreInstrInfo.td - Target Description for XCore ---*- tablegen -*-===//
9 // This file describes the XCore instructions in TableGen format.
25 // XCore specific DAG Nodes.
1288 // ashr X, 32 is equivalent to ashr X, 31 on the XCore.
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/Disassembler/
H A DXCoreDisassembler.cpp286 Inst.setOpcode(XCore::ADD_3r); in Decode2OpInstructionFail()
289 Inst.setOpcode(XCore::SUB_3r); in Decode2OpInstructionFail()
292 Inst.setOpcode(XCore::SHL_3r); in Decode2OpInstructionFail()
295 Inst.setOpcode(XCore::SHR_3r); in Decode2OpInstructionFail()
298 Inst.setOpcode(XCore::EQ_3r); in Decode2OpInstructionFail()
301 Inst.setOpcode(XCore::AND_3r); in Decode2OpInstructionFail()
304 Inst.setOpcode(XCore::OR_3r); in Decode2OpInstructionFail()
307 Inst.setOpcode(XCore::LDW_3r); in Decode2OpInstructionFail()
313 Inst.setOpcode(XCore::LD8U_3r); in Decode2OpInstructionFail()
334 Inst.setOpcode(XCore::LSS_3r); in Decode2OpInstructionFail()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DXCore.cpp25 void tools::XCore::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob()
59 void tools::XCore::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob()
96 return new tools::XCore::Assembler(*this); in buildAssembler()
100 return new tools::XCore::Linker(*this); in buildLinker()
H A DXCore.h19 namespace XCore {
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltinsXCore.def1 //===--- BuiltinsXCore.def - XCore Builtin function database ----*- C++ -*-===//
9 // This file defines the XCore-specific builtin function database. Users of
H A DTargetBuiltins.h294 namespace XCore {
327 Hexagon::LastTSBuiltin, Mips::LastTSBuiltin, XCore::LastTSBuiltin,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/
H A DXCoreMCTargetDesc.cpp48 InitXCoreMCRegisterInfo(X, XCore::LR); in createXCoreMCRegisterInfo()
63 MCCFIInstruction Inst = MCCFIInstruction::cfiDefCfa(nullptr, XCore::SP, 0); in createXCoreMCAsmInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/
H A DXCore.cpp36 return llvm::makeArrayRef(BuiltinInfo, clang::XCore::LastTSBuiltin - in getTargetBuiltins()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsXCore.td1 //==- IntrinsicsXCore.td - XCore intrinsics -*- tablegen -*-==//
9 // This file defines all of the XCore-specific intrinsics.
/freebsd-13.1/contrib/llvm-project/
H A DFREEBSD-Xlist662 llvm/lib/Target/XCore/CMakeLists.txt
663 llvm/lib/Target/XCore/Disassembler/CMakeLists.txt
664 llvm/lib/Target/XCore/MCTargetDesc/CMakeLists.txt
665 llvm/lib/Target/XCore/README.txt
666 llvm/lib/Target/XCore/TargetInfo/CMakeLists.txt
/freebsd-13.1/lib/clang/libclang/
H A DMakefile232 SRCS_MIN+= Basic/Targets/XCore.cpp
359 SRCS_MIN+= Driver/ToolChains/XCore.cpp
/freebsd-13.1/lib/clang/libllvm/
H A DMakefile1800 VE/ve WebAssembly/wasm X86/x86 XCore/xcore