LLVM 22.0.0git
llvm::TruncInstCombine Class Reference

#include "Transforms/AggressiveInstCombine/AggressiveInstCombineInternal.h"

Public Member Functions

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

Detailed Description

Definition at line 52 of file AggressiveInstCombineInternal.h.

Constructor & Destructor Documentation

◆ TruncInstCombine()

llvm::TruncInstCombine::TruncInstCombine ( AssumptionCache & AC,
TargetLibraryInfo & TLI,
const DataLayout & DL,
const DominatorTree & DT )
inline

Definition at line 80 of file AggressiveInstCombineInternal.h.

Member Function Documentation

◆ run()

bool TruncInstCombine::run ( Function & F)

Perform TruncInst pattern optimization on given function.

Definition at line 524 of file TruncInstCombine.cpp.

References llvm::dbgs(), llvm::dyn_cast(), F, I, and LLVM_DEBUG.

Referenced by runImpl().


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