ΒΆbool SimplifyInstructionsInBlock(
llvm::BasicBlock* BB,
const llvm::TargetLibraryInfo* TLI = nullptr)
bool SimplifyInstructionsInBlock(
llvm::BasicBlock* BB,
const llvm::TargetLibraryInfo* TLI = nullptr)
Description
Scan the specified basic block and try to simplify any instructions in it and recursively delete dead instructions. This returns true if it changed the code, note that it can delete instructions in other blocks as well in this block.
Declared at: llvm/include/llvm/Transforms/Utils/Local.h:172
Parameters
- llvm::BasicBlock* BB
- const llvm::TargetLibraryInfo* TLI = nullptr