LLVM  14.0.0git
Macros | Functions
WebAssemblyLowerRefTypesIntPtrConv.cpp File Reference
#include "Utils/WebAssemblyUtilities.h"
#include "WebAssembly.h"
#include "WebAssemblySubtarget.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/Pass.h"
Include dependency graph for WebAssemblyLowerRefTypesIntPtrConv.cpp:

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 25 of file WebAssemblyLowerRefTypesIntPtrConv.cpp.

Function Documentation

◆ INITIALIZE_PASS()

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

Definition at line 42 of file WebAssemblyLowerRefTypesIntPtrConv.cpp.