LLVM 19.0.0git
Classes | Namespaces | Functions
CommandFlags.h File Reference
#include "llvm/ADT/FloatingPointMode.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Target/TargetOptions.h"
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  llvm::codegen::RegisterCodeGenFlags
 Create this object with static storage to register codegen-related command line options. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::codegen
 

Functions

std::string llvm::codegen::getMArch ()
 
std::string llvm::codegen::getMCPU ()
 
std::vector< std::string > llvm::codegen::getMAttrs ()
 
Reloc::Model llvm::codegen::getRelocModel ()
 
std::optional< Reloc::Model > llvm::codegen::getExplicitRelocModel ()
 
ThreadModel::Model llvm::codegen::getThreadModel ()
 
CodeModel::Model llvm::codegen::getCodeModel ()
 
std::optional< CodeModel::Model > llvm::codegen::getExplicitCodeModel ()
 
uint64_t llvm::codegen::getLargeDataThreshold ()
 
std::optional< uint64_tllvm::codegen::getExplicitLargeDataThreshold ()
 
llvm::ExceptionHandling llvm::codegen::getExceptionModel ()
 
std::optional< CodeGenFileType > llvm::codegen::getExplicitFileType ()
 
CodeGenFileType llvm::codegen::getFileType ()
 
FramePointerKind llvm::codegen::getFramePointerUsage ()
 
bool llvm::codegen::getEnableUnsafeFPMath ()
 
bool llvm::codegen::getEnableNoInfsFPMath ()
 
bool llvm::codegen::getEnableNoNaNsFPMath ()
 
bool llvm::codegen::getEnableNoSignedZerosFPMath ()
 
bool llvm::codegen::getEnableApproxFuncFPMath ()
 
bool llvm::codegen::getEnableNoTrappingFPMath ()
 
DenormalMode::DenormalModeKind llvm::codegen::getDenormalFPMath ()
 
DenormalMode::DenormalModeKind llvm::codegen::getDenormalFP32Math ()
 
bool llvm::codegen::getEnableHonorSignDependentRoundingFPMath ()
 
llvm::FloatABI::ABIType llvm::codegen::getFloatABIForCalls ()
 
llvm::FPOpFusion::FPOpFusionMode llvm::codegen::getFuseFPOps ()
 
SwiftAsyncFramePointerMode llvm::codegen::getSwiftAsyncFramePointer ()
 
bool llvm::codegen::getDontPlaceZerosInBSS ()
 
bool llvm::codegen::getEnableGuaranteedTailCallOpt ()
 
bool llvm::codegen::getEnableAIXExtendedAltivecABI ()
 
bool llvm::codegen::getDisableTailCalls ()
 
bool llvm::codegen::getStackSymbolOrdering ()
 
bool llvm::codegen::getStackRealign ()
 
std::string llvm::codegen::getTrapFuncName ()
 
bool llvm::codegen::getUseCtors ()
 
bool llvm::codegen::getDisableIntegratedAS ()
 
bool llvm::codegen::getDataSections ()
 
std::optional< boolllvm::codegen::getExplicitDataSections ()
 
bool llvm::codegen::getFunctionSections ()
 
std::optional< boolllvm::codegen::getExplicitFunctionSections ()
 
bool llvm::codegen::getIgnoreXCOFFVisibility ()
 
bool llvm::codegen::getXCOFFTracebackTable ()
 
std::string llvm::codegen::getBBSections ()
 
unsigned llvm::codegen::getTLSSize ()
 
bool llvm::codegen::getEmulatedTLS ()
 
std::optional< boolllvm::codegen::getExplicitEmulatedTLS ()
 
bool llvm::codegen::getEnableTLSDESC ()
 
std::optional< boolllvm::codegen::getExplicitEnableTLSDESC ()
 
bool llvm::codegen::getUniqueSectionNames ()
 
bool llvm::codegen::getUniqueBasicBlockSectionNames ()
 
llvm::EABI llvm::codegen::getEABIVersion ()
 
llvm::DebuggerKind llvm::codegen::getDebuggerTuningOpt ()
 
bool llvm::codegen::getEnableStackSizeSection ()
 
bool llvm::codegen::getEnableAddrsig ()
 
bool llvm::codegen::getEmitCallSiteInfo ()
 
bool llvm::codegen::getEnableMachineFunctionSplitter ()
 
bool llvm::codegen::getEnableDebugEntryValues ()
 
bool llvm::codegen::getValueTrackingVariableLocations ()
 
std::optional< boolllvm::codegen::getExplicitValueTrackingVariableLocations ()
 
bool llvm::codegen::getForceDwarfFrameSection ()
 
bool llvm::codegen::getXRayFunctionIndex ()
 
bool llvm::codegen::getDebugStrictDwarf ()
 
unsigned llvm::codegen::getAlignLoops ()
 
bool llvm::codegen::getJMCInstrument ()
 
bool llvm::codegen::getXCOFFReadOnlyPointers ()
 
bool llvm::codegen::getEnableBBAddrMap ()
 
llvm::BasicBlockSection llvm::codegen::getBBSectionsMode (llvm::TargetOptions &Options)
 
TargetOptions llvm::codegen::InitTargetOptionsFromCodeGenFlags (const llvm::Triple &TheTriple)
 Common utility function tightly tied to the options listed here.
 
std::string llvm::codegen::getCPUStr ()
 
std::string llvm::codegen::getFeaturesStr ()
 
std::vector< std::string > llvm::codegen::getFeatureList ()
 
void llvm::codegen::renderBoolStringAttr (AttrBuilder &B, StringRef Name, bool Val)
 
void llvm::codegen::setFunctionAttributes (StringRef CPU, StringRef Features, Function &F)
 Set function attributes of function F based on CPU, Features, and command line flags.
 
void llvm::codegen::setFunctionAttributes (StringRef CPU, StringRef Features, Module &M)
 Set function attributes of functions in Module M based on CPU, Features, and command line flags.
 
bool llvm::codegen::getDefaultValueTrackingVariableLocations (const llvm::Triple &T)
 Should value-tracking variable locations / instruction referencing be enabled by default for this triple?
 
Expected< std::unique_ptr< TargetMachine > > llvm::codegen::createTargetMachineForTriple (StringRef TargetTriple, CodeGenOptLevel OptLevel=CodeGenOptLevel::Default)
 Creates a TargetMachine instance with the options defined on the command line.