LLVM: lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp File Reference (original) (raw)
This file lowers br_unless into br_if with an inverted condition. More...
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "wasm-lower-br_unless" |
| Functions |
|---|
Detailed Description
This file lowers br_unless into br_if with an inverted condition.
br_unless is not currently in the spec, but it's very convenient for LLVM to use. This pass allows LLVM to use it, for now.
Definition in file WebAssemblyLowerBrUnless.cpp.
Macro Definition Documentation
◆ DEBUG_TYPE
#define DEBUG_TYPE "wasm-lower-br_unless"
Function Documentation
◆ INITIALIZE_PASS()
| INITIALIZE_PASS | ( | WebAssemblyLowerBrUnless | , |
|---|---|---|---|
| DEBUG_TYPE | , | ||
| "Lowers br_unless into inverted br_if" | , | ||
| false | , | ||
| false | ) |