Initialize a TargetOptions object from the registered CodeGen flags.
Synopsis
Declared in <llvm/CodeGen/CommandFlags.h>
TargetOptions
InitTargetOptionsFromCodeGenFlags(llvm::Triple const& TheTriple);
Description
Common utility function tightly tied to the options listed here. 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.
Return Value
TargetOptions initialized from the registered CodeGen flags.
Parameters
Name |
Description |
TheTriple |
Triple used to choose default option values when flags are not set explicitly. |
Created with MrDocs