You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm
bindings
cmake
docs
examples
include
lib
Analysis
AsmParser
BinaryFormat
Bitcode
CodeGen
DebugInfo
Demangle
ExecutionEngine
FuzzMutate
Fuzzer
IR
IRReader
LTO
LineEditor
Linker
MC
Object
ObjectYAML
Option
Passes
ProfileData
Support
TableGen
Target
AArch64
AMDGPU
ARC
ARM
AVR
BPF
Hexagon
Lanai
MSP430
Mips
NVPTX
Nios2
PowerPC
RISCV
Sparc
SystemZ
WebAssembly
X86
AsmParser
Disassembler
InstPrinter
MCTargetDesc
TargetInfo
Utils
CMakeLists.txt
LLVMBuild.txt
README-FPStack.txt
README-MMX.txt
README-SSE.txt
README-UNIMPLEMENTED.txt
README-X86-64.txt
README.txt
X86.h
X86.td
X86AsmPrinter.cpp
X86AsmPrinter.h
X86CallFrameOptimization.cpp
X86CallLowering.cpp
X86CallLowering.h
X86CallingConv.cpp
X86CallingConv.h
X86CallingConv.td
X86CmovConversion.cpp
X86DomainReassignment.cpp
X86EvexToVex.cpp
X86ExpandPseudo.cpp
X86FastISel.cpp.REMOVED.git-id
X86FixupBWInsts.cpp
X86FixupLEAs.cpp
X86FixupSetCC.cpp
X86FloatingPoint.cpp
X86FrameLowering.cpp.REMOVED.git-id
X86FrameLowering.h
X86GenRegisterBankInfo.def
X86ISelDAGToDAG.cpp.REMOVED.git-id
X86ISelLowering.cpp.REMOVED.git-id
X86ISelLowering.h
X86Instr3DNow.td
X86InstrAVX512.td.REMOVED.git-id
X86InstrArithmetic.td
X86InstrBuilder.h
X86InstrCMovSetCC.td
X86InstrCompiler.td
X86InstrControl.td
X86InstrExtension.td
X86InstrFMA.td
X86InstrFMA3Info.cpp
X86InstrFMA3Info.h
X86InstrFPStack.td
X86InstrFormats.td
X86InstrFragmentsSIMD.td
X86InstrInfo.cpp.REMOVED.git-id
X86InstrInfo.h
X86InstrInfo.td.REMOVED.git-id
X86InstrMMX.td
X86InstrMPX.td
X86InstrSGX.td
X86InstrSSE.td.REMOVED.git-id
X86InstrSVM.td
X86InstrShiftRotate.td
X86InstrSystem.td
X86InstrTSX.td
X86InstrVMX.td
X86InstrVecCompiler.td
X86InstrXOP.td
X86InstructionSelector.cpp
X86InterleavedAccess.cpp
X86IntrinsicsInfo.h.REMOVED.git-id
X86LegalizerInfo.cpp
X86LegalizerInfo.h
X86MCInstLower.cpp
X86MachineFunctionInfo.cpp
X86MachineFunctionInfo.h
X86MacroFusion.cpp
X86MacroFusion.h
X86OptimizeLEAs.cpp
X86PadShortFunction.cpp
X86RegisterBankInfo.cpp
X86RegisterBankInfo.h
X86RegisterBanks.td
X86RegisterInfo.cpp
X86RegisterInfo.h
X86RegisterInfo.td
X86RetpolineThunks.cpp
X86SchedBroadwell.td.REMOVED.git-id
X86SchedHaswell.td.REMOVED.git-id
X86SchedSandyBridge.td.REMOVED.git-id
X86SchedSkylakeClient.td.REMOVED.git-id
X86SchedSkylakeServer.td.REMOVED.git-id
X86Schedule.td
X86ScheduleAtom.td
X86ScheduleBtVer2.td
X86ScheduleSLM.td
X86ScheduleZnver1.td
X86SelectionDAGInfo.cpp
X86SelectionDAGInfo.h
X86ShuffleDecodeConstantPool.cpp
X86ShuffleDecodeConstantPool.h
X86Subtarget.cpp
X86Subtarget.h
X86TargetMachine.cpp
X86TargetMachine.h
X86TargetObjectFile.cpp
X86TargetObjectFile.h
X86TargetTransformInfo.cpp.REMOVED.git-id
X86TargetTransformInfo.h
X86VZeroUpper.cpp
X86WinAllocaExpander.cpp
X86WinEHState.cpp
XCore
CMakeLists.txt
LLVMBuild.txt
README.txt
Target.cpp
TargetIntrinsicInfo.cpp
TargetLoweringObjectFile.cpp
TargetMachine.cpp
TargetMachineC.cpp
Testing
ToolDrivers
Transforms
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt
projects
resources
runtimes
scripts
test
tools
unittests
utils
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
ikvm-native
libgc
llvm
m4
man
mcs
mk
mono
msvc
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
65 lines
2.1 KiB
C
65 lines
2.1 KiB
C
![]() |
//===-- X86TargetMachine.h - Define TargetMachine for the X86 ---*- C++ -*-===//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// This file declares the X86 specific subclass of TargetMachine.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#ifndef LLVM_LIB_TARGET_X86_X86TARGETMACHINE_H
|
||
|
#define LLVM_LIB_TARGET_X86_X86TARGETMACHINE_H
|
||
|
|
||
|
#include "X86Subtarget.h"
|
||
|
#include "llvm/ADT/Optional.h"
|
||
|
#include "llvm/ADT/StringMap.h"
|
||
|
#include "llvm/Analysis/TargetTransformInfo.h"
|
||
|
#include "llvm/Support/CodeGen.h"
|
||
|
#include "llvm/Target/TargetMachine.h"
|
||
|
#include <memory>
|
||
|
|
||
|
namespace llvm {
|
||
|
|
||
|
class StringRef;
|
||
|
class X86Subtarget;
|
||
|
class X86RegisterBankInfo;
|
||
|
|
||
|
class X86TargetMachine final : public LLVMTargetMachine {
|
||
|
std::unique_ptr<TargetLoweringObjectFile> TLOF;
|
||
|
mutable StringMap<std::unique_ptr<X86Subtarget>> SubtargetMap;
|
||
|
|
||
|
public:
|
||
|
X86TargetMachine(const Target &T, const Triple &TT, StringRef CPU,
|
||
|
StringRef FS, const TargetOptions &Options,
|
||
|
Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
||
|
CodeGenOpt::Level OL, bool JIT);
|
||
|
~X86TargetMachine() override;
|
||
|
|
||
|
const X86Subtarget *getSubtargetImpl(const Function &F) const override;
|
||
|
// DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
|
||
|
// subtargets are per-function entities based on the target-specific
|
||
|
// attributes of each function.
|
||
|
const X86Subtarget *getSubtargetImpl() const = delete;
|
||
|
|
||
|
TargetTransformInfo getTargetTransformInfo(const Function &F) override;
|
||
|
|
||
|
// Set up the pass pipeline.
|
||
|
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
|
||
|
|
||
|
TargetLoweringObjectFile *getObjFileLowering() const override {
|
||
|
return TLOF.get();
|
||
|
}
|
||
|
|
||
|
bool isMachineVerifierClean() const override {
|
||
|
return false;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
} // end namespace llvm
|
||
|
|
||
|
#endif // LLVM_LIB_TARGET_X86_X86TARGETMACHINE_H
|