You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
parent
e9207cf623
commit
ef583813eb
44
external/llvm/projects/llvm-cbe/lib/Target/CBackend/CTargetMachine.h
vendored
Normal file
44
external/llvm/projects/llvm-cbe/lib/Target/CBackend/CTargetMachine.h
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
//===-- CTargetMachine.h - TargetMachine for the C backend ------*- 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 TargetMachine that is used by the C backend.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef CTARGETMACHINE_H
|
||||
#define CTARGETMACHINE_H
|
||||
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/IR/DataLayout.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
struct CTargetMachine : public TargetMachine {
|
||||
CTargetMachine(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)
|
||||
: TargetMachine(T, "", TT, CPU, FS, Options) { }
|
||||
|
||||
/// Add passes to the specified pass manager to get the specified file
|
||||
/// emitted. Typically this will involve several steps of code generation.
|
||||
bool addPassesToEmitFile(
|
||||
PassManagerBase &PM, raw_pwrite_stream &Out,
|
||||
#if LLVM_VERSION_MAJOR == 7
|
||||
raw_pwrite_stream *DwoOut,
|
||||
#endif
|
||||
CodeGenFileType FileType, bool DisableVerify=true, MachineModuleInfo *MMI=nullptr) override;
|
||||
|
||||
};
|
||||
|
||||
extern Target TheCBackendTarget;
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user