Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h231 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop() local
232 if (!SafeC) { in getSafeVectorConstantForBinop()
239 SafeC = ConstantInt::get(EltTy, 1); in getSafeVectorConstantForBinop()
242 SafeC = ConstantFP::get(EltTy, 1.0); in getSafeVectorConstantForBinop()
260 SafeC = Constant::getNullValue(EltTy); in getSafeVectorConstantForBinop()
267 assert(SafeC && "Must have safe constant for binop"); in getSafeVectorConstantForBinop()
272 Out[i] = isa<UndefValue>(C) ? SafeC : C; in getSafeVectorConstantForBinop()