Go to the documentation of this file.
35 "e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-"
36 "f32:32:32-i64:32-f64:32-a:0:32-n32",
55 return getTM<ARCTargetMachine>();
58 bool addInstSelector()
override;
59 void addPreEmitPass()
override;
60 void addPreRegAlloc()
override;
66 return new ARCPassConfig(*
this, PM);
69 bool ARCPassConfig::addInstSelector() {
76 void ARCPassConfig::addPreRegAlloc() {
FunctionPass * createARCISelDag(ARCTargetMachine &TM, CodeGenOpt::Level OptLevel)
This pass converts a legalized DAG into a ARC-specific DAG, ready for instruction scheduling.
This is an optimization pass for GlobalISel generic memory operations.
FunctionPass * createARCExpandPseudosPass()
TargetTransformInfo getTargetTransformInfo(const Function &F) const override
Get a TargetTransformInfo implementation for the target.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
FunctionPass * createARCOptAddrMode()
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeARCTarget()
~ARCTargetMachine() override
Target & getTheARCTarget()
RegisterTargetMachine - Helper template for registering a target machine implementation,...
const char LLVMTargetMachineRef LLVMPassBuilderOptionsRef Options
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
Target-Independent Code Generator Pass Configuration Options.
#define LLVM_EXTERNAL_VISIBILITY
TargetPassConfig * createPassConfig(PassManagerBase &PM) override
Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of ...
StringRef - Represent a constant reference to a string, i.e.
Analysis the ScalarEvolution expression for r is this
CodeModel::Model getEffectiveCodeModel(Optional< CodeModel::Model > CM, CodeModel::Model Default)
Helper method for getting the code model, returning Default if CM does not have a value.
ARCTargetMachine(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)
ARCTargetMachine ctor - Create an ILP32 architecture model.
static Reloc::Model getRelocModel(Optional< Reloc::Model > RM)
This class describes a target machine that is implemented with the LLVM target-independent code gener...
PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...
const char LLVMTargetMachineRef TM
FunctionPass * createARCBranchFinalizePass()