LLVM 22.0.0git
CommandFlags.h File Reference
#include "llvm/ADT/FloatingPointMode.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/Compiler.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

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