ΒΆllvm::TargetOptions
InitTargetOptionsFromCodeGenFlags(
    const llvm::Triple& TheTriple)

Description

Common utility function tightly tied to the options listed here. Initializes a TargetOptions object with CodeGen flags and returns it.\p TheTriple is used to determine the default value for options if options are not explicitly specified. If those triple dependant options value do not have effect for your component, a default Triple() could be passed in.

Declared at: llvm/include/llvm/CodeGen/CommandFlags.h:161

Parameters

const llvm::Triple& TheTriple