LLVM 24.0.0git
WebAssemblyReduceToAnyAllTrue.cpp File Reference
#include "WebAssembly.h"
#include "WebAssemblySubtarget.h"
#include "WebAssemblyTargetMachine.h"
#include "llvm/IR/Analysis.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/IntrinsicsWebAssembly.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/Pass.h"

Go to the source code of this file.

Functions

static bool hasInterestingIntrinsics (Module &M, Module *&CachedModule, bool &ModuleHasInterestingIntrinsics)
static bool reduceToAnyAllTrue (Function &F, WebAssemblyTargetMachine &TM, Module *&CachedModule, bool &ModuleHasInterestingIntrinsics)

Function Documentation

◆ hasInterestingIntrinsics()

bool hasInterestingIntrinsics ( Module & M,
Module *& CachedModule,
bool & ModuleHasInterestingIntrinsics )
static

Definition at line 36 of file WebAssemblyReduceToAnyAllTrue.cpp.

Referenced by reduceToAnyAllTrue().

◆ reduceToAnyAllTrue()