LLVM 20.0.0git
Functions | Variables
SystemZTargetMachine.cpp File Reference
#include "SystemZTargetMachine.h"
#include "MCTargetDesc/SystemZMCTargetDesc.h"
#include "SystemZ.h"
#include "SystemZMachineFunctionInfo.h"
#include "SystemZMachineScheduler.h"
#include "SystemZTargetObjectFile.h"
#include "SystemZTargetTransformInfo.h"
#include "TargetInfo/SystemZTargetInfo.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Transforms/Scalar.h"
#include <memory>
#include <optional>
#include <string>

Go to the source code of this file.

Functions

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSystemZTarget ()
 
static std::string computeDataLayout (const Triple &TT)
 
static std::unique_ptr< TargetLoweringObjectFilecreateTLOF (const Triple &TT)
 
static Reloc::Model getEffectiveRelocModel (std::optional< Reloc::Model > RM)
 
static CodeModel::Model getEffectiveSystemZCodeModel (std::optional< CodeModel::Model > CM, Reloc::Model RM, bool JIT)
 

Variables

static cl::opt< boolEnableMachineCombinerPass ("systemz-machine-combiner", cl::desc("Enable the machine combiner pass"), cl::init(true), cl::Hidden)
 

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( const Triple TT)
static

Definition at line 53 of file SystemZTargetMachine.cpp.

References llvm::DataLayout::getManglingComponent().

◆ createTLOF()

static std::unique_ptr< TargetLoweringObjectFile > createTLOF ( const Triple TT)
static

Definition at line 94 of file SystemZTargetMachine.cpp.

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( std::optional< Reloc::Model RM)
static

Definition at line 103 of file SystemZTargetMachine.cpp.

References llvm::Reloc::DynamicNoPIC, and llvm::Reloc::Static.

◆ getEffectiveSystemZCodeModel()

static CodeModel::Model getEffectiveSystemZCodeModel ( std::optional< CodeModel::Model CM,
Reloc::Model  RM,
bool  JIT 
)
static

◆ LLVMInitializeSystemZTarget()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSystemZTarget ( )

Variable Documentation

◆ EnableMachineCombinerPass

cl::opt< bool > EnableMachineCombinerPass("systemz-machine-combiner", cl::desc("Enable the machine combiner pass"), cl::init(true), cl::Hidden) ( "systemz-machine-combiner"  ,
cl::desc("Enable the machine combiner pass")  ,
cl::init(true ,
cl::Hidden   
)
static