Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h320 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop() local
321 if (!SafeC) { in getSafeVectorConstantForBinop()
328 SafeC = ConstantInt::get(EltTy, 1); in getSafeVectorConstantForBinop()
331 SafeC = ConstantFP::get(EltTy, 1.0); in getSafeVectorConstantForBinop()
350 SafeC = Constant::getNullValue(EltTy); in getSafeVectorConstantForBinop()
357 assert(SafeC && "Must have safe constant for binop"); in getSafeVectorConstantForBinop()
362 Out[i] = isa<UndefValue>(C) ? SafeC : C; in getSafeVectorConstantForBinop()