Home
last modified time | relevance | path

Searched refs:SafeC (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h289 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop() local
290 if (!SafeC) { in getSafeVectorConstantForBinop()
297 SafeC = ConstantInt::get(EltTy, 1); in getSafeVectorConstantForBinop()
300 SafeC = ConstantFP::get(EltTy, 1.0); in getSafeVectorConstantForBinop()
319 SafeC = Constant::getNullValue(EltTy); in getSafeVectorConstantForBinop()
326 assert(SafeC && "Must have safe constant for binop"); in getSafeVectorConstantForBinop()
331 Out[i] = isa<UndefValue>(C) ? SafeC : C; in getSafeVectorConstantForBinop()