Go to the source code of this file.
|
static cl::opt< bool > | EnableCSEInLegalizer ("enable-cse-in-legalizer", cl::desc("Should enable CSE in Legalizer"), cl::Optional, cl::init(false)) |
|
static cl::opt< bool > | AllowGInsertAsArtifact ("allow-ginsert-as-artifact", cl::desc("Allow G_INSERT to be considered an artifact. Hack around AMDGPU " "test infinite loops."), cl::Optional, cl::init(true)) |
|
static cl::opt< DebugLocVerifyLevel > | VerifyDebugLocs ("verify-legalizer-debug-locs", cl::desc("Verify that debug locations are handled"), cl::values(clEnumValN(DebugLocVerifyLevel::None, "none", "No verification"), clEnumValN(DebugLocVerifyLevel::Legalizations, "legalizations", "Verify legalizations"), clEnumValN(DebugLocVerifyLevel::LegalizationsAndArtifactCombiners, "legalizations+artifactcombiners", "Verify legalizations and artifact combines")), cl::init(DebugLocVerifyLevel::Legalizations)) |
|
| DEBUG_TYPE |
|
Legalize the Machine IR a function s Machine | IR |
|
Legalize the Machine IR a function s Machine | false |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "legalizer" |
◆ ArtifactListTy
◆ InstListTy
◆ DebugLocVerifyLevel
Enumerator |
---|
None | |
Legalizations | |
LegalizationsAndArtifactCombiners | |
Definition at line 50 of file Legalizer.cpp.
◆ INITIALIZE_PASS_BEGIN()
◆ isArtifact()
◆ AllowGInsertAsArtifact
cl::opt< bool > AllowGInsertAsArtifact("allow-ginsert-as-artifact", cl::desc("Allow G_INSERT to be considered an artifact. Hack around AMDGPU " "test infinite loops."), cl::Optional, cl::init(true)) |
( |
"allow-ginsert-as-artifact" |
, |
|
|
cl::desc("Allow G_INSERT to be considered an artifact. Hack around AMDGPU " "test infinite loops.") |
, |
|
|
cl::Optional |
, |
|
|
cl::init(true) |
|
|
) |
| |
|
static |
◆ DEBUG_TYPE
◆ EnableCSEInLegalizer
cl::opt< bool > EnableCSEInLegalizer("enable-cse-in-legalizer", cl::desc("Should enable CSE in Legalizer"), cl::Optional, cl::init(false)) |
( |
"enable-cse-in-legalizer" |
, |
|
|
cl::desc("Should enable CSE in Legalizer") |
, |
|
|
cl::Optional |
, |
|
|
cl::init(false) |
|
|
) |
| |
|
static |
◆ false
Legalize the Machine IR a function s Machine false |
◆ IR
Legalize the Machine IR a function s Machine IR |
◆ VerifyDebugLocs
cl::opt< DebugLocVerifyLevel > VerifyDebugLocs("verify-legalizer-debug-locs", cl::desc("Verify that debug locations are handled"), cl::values( clEnumValN(DebugLocVerifyLevel::None, "none", "No verification"), clEnumValN(DebugLocVerifyLevel::Legalizations, "legalizations", "Verify legalizations"), clEnumValN(DebugLocVerifyLevel::LegalizationsAndArtifactCombiners, "legalizations+artifactcombiners", "Verify legalizations and artifact combines")), cl::init(DebugLocVerifyLevel::Legalizations)) |
( |
"verify-legalizer-debug-locs" |
, |
|
|
cl::desc("Verify that debug locations are handled") |
, |
|
|
cl::values( clEnumValN(DebugLocVerifyLevel::None, "none", "No verification"), clEnumValN(DebugLocVerifyLevel::Legalizations, "legalizations", "Verify legalizations"), clEnumValN(DebugLocVerifyLevel::LegalizationsAndArtifactCombiners, "legalizations+artifactcombiners", "Verify legalizations and artifact combines")) |
, |
|
|
cl::init(DebugLocVerifyLevel::Legalizations) |
|
|
) |
| |
|
static |