Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp1217 if (Constant *C2Splat = C2->getSplatValue()) { in ConstantFoldBinaryInstruction() local
1218 if (Instruction::isIntDivRem(Opcode) && C2Splat->isNullValue()) in ConstantFoldBinaryInstruction()
1223 ? ConstantExpr::get(Opcode, C1Splat, C2Splat) in ConstantFoldBinaryInstruction()
1224 : ConstantFoldBinaryInstruction(Opcode, C1Splat, C2Splat); in ConstantFoldBinaryInstruction()
1681 if (Constant *C2Splat = C2->getSplatValue()) in ConstantFoldCompareInstruction() local
1684 ConstantExpr::getCompare(Predicate, C1Splat, C2Splat)); in ConstantFoldCompareInstruction()