Searched refs:XCore (Results 1 - 17 of 17) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp1 //===-- XCoreInstrInfo.cpp - XCore Instruction Information ----------------===//
9 // This file contains the XCore implementation of the TargetInstrInfo class.
14 #include "XCore.h"
34 namespace XCore { namespace in namespace:llvm
36 // XCore Condition Codes
49 : XCoreGenInstrInfo(XCore::ADJCALLSTACKDOWN, XCore::ADJCALLSTACKUP),
65 if (Opcode == XCore::LDWFI)
85 if (Opcode == XCore::STWFI)
102 return BrOpc == XCore
[all...]
H A DXCoreRegisterInfo.cpp1 //===-- XCoreRegisterInfo.cpp - XCore Register Information ----------------===//
9 // This file contains the XCore implementation of the MRegisterInfo class.
14 #include "XCore.h"
44 : XCoreGenRegisterInfo(XCore::LR) {
69 case XCore::LDWFI:
70 BuildMI(MBB, II, dl, TII.get(XCore::LDW_2rus), Reg)
75 case XCore::STWFI:
76 BuildMI(MBB, II, dl, TII.get(XCore::STW_2rus))
82 case XCore::LDAWFI:
83 BuildMI(MBB, II, dl, TII.get(XCore
[all...]
H A DXCoreFrameLowering.cpp1 //===-- XCoreFrameLowering.cpp - Frame info for XCore Target --------------===//
9 // This file contains XCore frame information that doesn't fit anywhere else
15 #include "XCore.h"
34 static const unsigned FramePtr = XCore::R10;
106 int Opcode = isImmU6(OpImm) ? XCore::EXTSP_u6 : XCore::EXTSP_lu6;
128 int Opcode = isImmU6(OpImm) ? XCore::LDAWSP_ru6 : XCore::LDAWSP_lru6;
129 BuildMI(MBB, MBBI, dl, TII.get(Opcode), XCore::SP).addImm(OpImm);
145 XCore
[all...]
H A DXCoreISelDAGToDAG.cpp1 //===-- XCoreISelDAGToDAG.cpp - A dag to dag inst selector for XCore ------===//
9 // This file defines an instruction selector for the XCore target.
13 #include "XCore.h"
35 #define PASS_NAME "XCore DAG->DAG Pattern Instruction Selection"
37 /// XCoreDAGToDAGISel - XCore specific code to select XCore machine
88 /// XCore-specific DAG, ready for instruction scheduling.
128 Reg = CurDAG->getRegister(XCore::CP, MVT::i32);
131 Reg = CurDAG->getRegister(XCore::DP, MVT::i32);
151 N, CurDAG->getMachineNode(XCore
[all...]
H A DXCoreMachineFunctionInfo.cpp1 //===-- XCoreMachineFunctionInfo.cpp - XCore machine function info --------===//
45 const TargetRegisterClass &RC = XCore::GRRegsRegClass;
63 const TargetRegisterClass &RC = XCore::GRRegsRegClass;
76 const TargetRegisterClass &RC = XCore::GRRegsRegClass;
H A DXCoreFrameToArgsOffsetElim.cpp13 #include "XCore.h"
35 return "XCore FRAME_TO_ARGS_OFFSET Elimination";
54 if (MBBI->getOpcode() == XCore::FRAME_TO_ARGS_OFFSET) {
H A DXCoreAsmPrinter.cpp1 //===-- XCoreAsmPrinter.cpp - XCore LLVM assembly writer ------------------===//
10 // of machine-dependent LLVM code to the XAS-format XCore assembly language.
16 #include "XCore.h"
61 StringRef getPassName() const override { return "XCore Assembly Printer"; }
266 case XCore::DBG_VALUE:
268 case XCore::ADD_2rus:
277 case XCore::BR_JT:
278 case XCore::BR_JT32:
281 if (MI->getOpcode() == XCore::BR_JT)
H A DXCoreISelLowering.h1 //===-- XCoreISelLowering.h - XCore DAG Lowering Interface ------*- C++ -*-===//
9 // This file defines the interfaces that XCore uses to lower LLVM code into a
17 #include "XCore.h"
128 return XCore::R0;
135 return XCore::R1;
H A DXCoreISelLowering.cpp1 //===-- XCoreISelLowering.cpp - XCore DAG Lowering Implementation ---------===//
14 #include "XCore.h"
76 addRegisterClass(MVT::i32, &XCore::GRRegsRegClass);
81 setStackPointerRegisterToSaveRestore(XCore::SP);
89 // XCore does not have the NodeTypes below.
830 unsigned StackReg = XCore::R2;
831 unsigned HandlerReg = XCore::R3;
938 /// XCore call implementation
953 // XCore target does not yet support tail call optimization.
1147 /// XCore forma
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/XCore/Disassembler/
H A DXCoreDisassembler.cpp1 //===- XCoreDisassembler.cpp - Disassembler for XCore -----------*- C++ -*-===//
10 /// This file is part of the XCore Disassembler.
15 #include "XCore.h"
32 /// A disassembler class for XCore.
181 unsigned Reg = getReg(Decoder, XCore::GRRegsRegClassID, RegNo);
191 unsigned Reg = getReg(Decoder, XCore::RRegsRegClassID, RegNo);
256 Inst.setOpcode(XCore::STW_2rus);
259 Inst.setOpcode(XCore::LDW_2rus);
262 Inst.setOpcode(XCore::ADD_3r);
265 Inst.setOpcode(XCore
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Basic/Targets/
H A DXCore.cpp1 //===--- XCore.cpp - Implement XCore target feature support ---------------===//
9 // This file implements XCore TargetInfo objects.
13 #include "XCore.h"
37 clang::XCore::LastTSBuiltin - Builtin::FirstTSBuiltin);
/freebsd-current/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DXCore.cpp1 //===--- XCore.cpp - XCore ToolChain Implementations ------------*- C++ -*-===//
9 #include "XCore.h"
22 /// XCore Tools
25 void tools::XCore::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
59 void tools::XCore::Linker::ConstructJob(Compilation &C, const JobAction &JA,
87 /// XCore tool chain
95 return new tools::XCore::Assembler(*this);
99 return new tools::XCore::Linker(*this);
H A DXCore.h1 //===--- XCore.h - XCore ToolChain Implementations --------------*- C++ -*-===//
19 namespace XCore { namespace in namespace:clang::driver::tools
20 // For XCore, we do not need to instantiate tools for PreProcess, PreCompile and
25 Assembler(const ToolChain &TC) : Tool("XCore::Assembler", "XCore-as", TC) {}
36 Linker(const ToolChain &TC) : Tool("XCore::Linker", "XCore-ld", TC) {}
45 } // end namespace XCore.
/freebsd-current/contrib/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/
H A DXCoreMCTargetDesc.cpp1 //===-- XCoreMCTargetDesc.cpp - XCore Target Descriptions -----------------===//
9 // This file provides XCore specific target descriptions.
49 InitXCoreMCRegisterInfo(X, XCore::LR);
64 MCCFIInstruction Inst = MCCFIInstruction::cfiDefCfa(nullptr, XCore::SP, 0);
/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetBuiltins.h339 /// XCore builtins
340 namespace XCore { namespace in namespace:clang
373 Hexagon::LastTSBuiltin, Mips::LastTSBuiltin, XCore::LastTSBuiltin,
/freebsd-current/lib/clang/libclang/
H A DMakefile250 SRCS_MIN+= Basic/Targets/XCore.cpp
339 SRCS_MIN+= CodeGen/Targets/XCore.cpp
409 SRCS_MIN+= Driver/ToolChains/XCore.cpp
/freebsd-current/lib/clang/libllvm/
H A DMakefile2074 XCore/xcore

Completed in 119 milliseconds