Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DVectorUtilsTest.cpp83 Constant *UndefScalar = UndefValue::get(IRB.getInt8Ty()); in TEST_F() local
84 EXPECT_FALSE(isSplatValue(UndefScalar)); in TEST_F()
101 Constant *SplatWithUndefC = ConstantVector::get({ScalarC, UndefScalar}); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1774 UndefValue *UndefScalar = UndefValue::get(C->getType()->getScalarType()); in foldVectorBinop() local
1775 SmallVector<Constant *, 16> NewVecC(SrcVecNumElts, UndefScalar); in foldVectorBinop()
1808 ? ConstantFoldBinaryOpOperands(Opcode, UndefScalar, CElt, DL) in foldVectorBinop()
1809 : ConstantFoldBinaryOpOperands(Opcode, CElt, UndefScalar, DL); in foldVectorBinop()