LLVM 19.0.0git
Macros | Functions
WebAssemblyLowerRefTypesIntPtrConv.cpp File Reference

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
 

Detailed Description

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.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-lower-reftypes-intptr-conv"

Definition at line 26 of file WebAssemblyLowerRefTypesIntPtrConv.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( WebAssemblyLowerRefTypesIntPtrConv  ,
DEBUG_TYPE  ,
"WebAssembly Lower RefTypes Int-Ptr Conversions"  ,
false  ,
false   
)

Definition at line 43 of file WebAssemblyLowerRefTypesIntPtrConv.cpp.