LLVM  13.0.0git
Classes | Public Member Functions | List of all members
llvm::TruncInstCombine Class Reference

#include "Transforms/AggressiveInstCombine/AggressiveInstCombineInternal.h"

Public Member Functions

 TruncInstCombine (TargetLibraryInfo &TLI, const DataLayout &DL, const DominatorTree &DT)
bool run (Function &F)
 Perform TruncInst pattern optimization on given function. More...

Detailed Description

Definition at line 51 of file AggressiveInstCombineInternal.h.

Constructor & Destructor Documentation

◆ TruncInstCombine()

llvm::TruncInstCombine::TruncInstCombine ( TargetLibraryInfo TLI,
const DataLayout DL,
const DominatorTree DT 

Definition at line 78 of file AggressiveInstCombineInternal.h.

References DL.

Member Function Documentation

◆ run()

bool TruncInstCombine::run ( Function F)

Perform TruncInst pattern optimization on given function.

Definition at line 405 of file TruncInstCombine.cpp.

References BB, llvm::dbgs(), F, I, llvm::DominatorTree::isReachableFromEntry(), LLVM_DEBUG, and llvm::SmallVectorImpl< T >::pop_back_val().

Referenced by runImpl().

The documentation for this class was generated from the following files: