Shared codegen command‐line flag accessors used by tools such as llc and opt.
Types
Name |
Description |
Create this object with static storage to register codegen‐related command line options. |
|
Tools that support subtarget tuning should create this object with static storage to register the ‐mtune command line option. |
|
Tools that support stats saving should create this object with static storage to register the ‐‐save‐stats command line option. |
Enums
Name |
Description |
Destination for ‐‐save‐stats output. |
Functions
Name |
Description |
Initialize a TargetOptions object from the registered CodeGen flags. |
|
Conditionally enable LLVM statistics collection based on ‐‐save‐stats. |
|
Conditionally save collected LLVM statistics based on ‐‐save‐stats. |
|
Create a TargetMachine using the options defined on the command line. |
|
Return the value of the ‐align‐loops command‐line option. |
|
Return the value of the ‐basic‐block‐sections command‐line option. |
|
Translate the ‐basic‐block‐sections flag into a BasicBlockSection mode. |
|
Return the CPU name to use, resolving ‐mcpu=native if needed. |
|
Return the value of the ‐code‐model command‐line option. |
|
Return whether ‐data‐sections is enabled. |
|
Return whether ‐strict‐dwarf is enabled. |
|
Return the value of the ‐debugger‐tune command‐line option. |
|
Return the value of the ‐denormal‐fp‐math‐f32 command‐line option. |
|
Return the value of the ‐denormal‐fp‐math command‐line option. |
|
Return whether ‐no‐integrated‐as is enabled. |
|
Return whether ‐disable‐tail‐calls is enabled. |
|
Return whether ‐nozero‐initialized‐in‐bss is enabled. |
|
Return the value of the ‐meabi command‐line option. |
|
Return whether ‐emit‐call‐site‐info is enabled. |
|
Return whether ‐emulated‐tls is enabled. |
|
Return whether ‐vec‐extabi is enabled. |
|
Return whether ‐addrsig is enabled. |
|
Return whether ‐basic‐block‐address‐map is enabled. |
|
Return whether ‐call‐graph‐section is enabled. |
|
Return whether ‐debug‐entry‐values is enabled. |
|
Return whether ‐tailcallopt is enabled. |
|
Return whether ‐enable‐sign‐dependent‐rounding‐fp‐math is enabled. |
|
Return whether ‐split‐machine‐functions is enabled. |
|
Return whether ‐enable‐no‐trapping‐fp‐math is enabled. |
|
Return whether ‐stack‐size‐section is enabled. |
|
Return whether ‐partition‐static‐data‐sections is enabled. |
|
Return whether ‐enable‐tlsdesc is enabled. |
|
Return the value of the ‐exception‐model command‐line option. |
|
Return the ‐code‐model value if it was explicitly set. |
|
Return the ‐data‐sections value if it was explicitly set. |
|
Return the ‐emulated‐tls value if it was explicitly set. |
|
Return the ‐enable‐tlsdesc value if it was explicitly set. |
|
Return the ‐filetype value if it was explicitly set. |
|
Return the ‐function‐sections value if it was explicitly set. |
|
Return the ‐large‐data‐threshold value if it was explicitly set. |
|
Return the ‐relocation‐model value if it was explicitly set. |
|
Return the list of subtarget features derived from ‐mcpu and ‐mattr. |
|
Return the subtarget feature string derived from ‐mcpu and ‐mattr. |
|
Return the value of the ‐filetype command‐line option. |
|
Return the value of the ‐float‐abi command‐line option. |
|
Return whether ‐force‐dwarf‐frame‐section is enabled. |
|
Return the value of the ‐frame‐pointer command‐line option. |
|
Return whether ‐function‐sections is enabled. |
|
Return the value of the ‐fp‐contract command‐line option. |
|
Return whether ‐ignore‐xcoff‐visibility is enabled. |
|
Return whether ‐enable‐jmc‐instrument is enabled. |
|
Return the value of the ‐large‐data‐threshold command‐line option. |
|
Return the value of the ‐march command‐line option. |
|
Return the list of ‐mattr values from the command line. |
|
Return the value of the ‐mcpu command‐line option. |
|
Return the value of the ‐mtune command‐line option. |
|
Return the value of the ‐relocation‐model command‐line option. |
|
Return the value of the ‐‐save‐stats command‐line option. |
|
Return whether ‐separate‐named‐sections is enabled. |
|
Return whether ‐stackrealign is enabled. |
|
Return whether ‐stack‐symbol‐ordering is enabled. |
|
Return the value of the ‐swift‐async‐fp command‐line option. |
|
Return the value of the ‐tls‐size command‐line option. |
|
Return the value of the ‐thread‐model command‐line option. |
|
Return the value of the ‐trap‐func command‐line option. |
|
Return the tune CPU name to use, resolving ‐mtune=native if needed. |
|
Return whether ‐unique‐basic‐block‐section‐names is enabled. |
|
Return whether ‐unique‐section‐names is enabled. |
|
Return whether ‐use‐ctors is enabled. |
|
Return the value of the ‐vector‐library command‐line option. |
|
Return whether ‐mxcoff‐roptr is enabled. |
|
Return whether ‐xcoff‐traceback‐table is enabled. |
|
Return whether ‐xray‐function‐index is enabled. |
|
Add a boolean string attribute named |
|
|
Created with MrDocs