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.h285 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop() local
286 if (!SafeC) { in getSafeVectorConstantForBinop()
293 SafeC = ConstantInt::get(EltTy, 1); in getSafeVectorConstantForBinop()
296 SafeC = ConstantFP::get(EltTy, 1.0); in getSafeVectorConstantForBinop()
315 SafeC = Constant::getNullValue(EltTy); in getSafeVectorConstantForBinop()
322 assert(SafeC && "Must have safe constant for binop"); in getSafeVectorConstantForBinop()
327 Out[i] = isa<UndefValue>(C) ? SafeC : C; in getSafeVectorConstantForBinop()