Go to the source code of this file.
Macros
#define
DEBUG_TYPE "aggressive-instcombine"
Functions
STATISTIC (NumExprsReduced, "Number of truncations eliminated by reducing bit " "width of expression graph")
STATISTIC (NumInstrsReduced, "Number of instructions whose bit width was reduced")
static void
getRelevantOperands (Instruction *I , SmallVectorImpl < Value * > &Ops )
Given an instruction and a container, it fills all the relevant operands of that instruction, with respect to the Trunc expression graph optimizaton.
static Type *
getReducedType (Value *V, Type *Ty)
Given a reduced scalar type Ty and a V value, return a reduced type for V, according to its type, if it vector type, return the vector version of Ty, otherwise return Ty.
◆ DEBUG_TYPE#define DEBUG_TYPE "aggressive-instcombine"
◆ getReducedType()◆ getRelevantOperands()◆ STATISTIC() [1/2]
STATISTIC
(
NumExprsReduced
,
"Number of truncations eliminated by reducing bit " "width of expression graph"
)
◆ STATISTIC() [2/2]
STATISTIC
(
NumInstrsReduced
,
"Number of instructions whose bit width was reduced"
)