LLVM 20.0.0git
|
Lowers IntToPtr and PtrToInt instructions on reference types to Trap instructions since they have been allowed to operate on non-integral pointers. More...
#include "Utils/WebAssemblyTypeUtilities.h"
#include "WebAssembly.h"
#include "WebAssemblySubtarget.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/Pass.h"
#include <set>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "wasm-lower-reftypes-intptr-conv" |
Functions | |
INITIALIZE_PASS (WebAssemblyLowerRefTypesIntPtrConv, DEBUG_TYPE, "WebAssembly Lower RefTypes Int-Ptr Conversions", false, false) FunctionPass *llvm | |
Lowers IntToPtr and PtrToInt instructions on reference types to Trap instructions since they have been allowed to operate on non-integral pointers.
Definition in file WebAssemblyLowerRefTypesIntPtrConv.cpp.
#define DEBUG_TYPE "wasm-lower-reftypes-intptr-conv" |
Definition at line 26 of file WebAssemblyLowerRefTypesIntPtrConv.cpp.
INITIALIZE_PASS | ( | WebAssemblyLowerRefTypesIntPtrConv | , |
DEBUG_TYPE | , | ||
"WebAssembly Lower RefTypes Int-Ptr Conversions" | , | ||
false | , | ||
false | |||
) |
Definition at line 43 of file WebAssemblyLowerRefTypesIntPtrConv.cpp.