Lines Matching refs:Operands

1402                                         Type *Ty, ArrayRef<Constant *> Operands,  in ConstantFoldScalarCall()  argument
1404 if (Operands.size() == 1) { in ConstantFoldScalarCall()
1405 if (ConstantFP *Op = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1537 if (ConstantInt *Op = dyn_cast<ConstantInt>(Operands[0])) { in ConstantFoldScalarCall()
1563 if (isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall()
1564 isa<ConstantDataVector>(Operands[0])) { in ConstantFoldScalarCall()
1565 Constant *Op = cast<Constant>(Operands[0]); in ConstantFoldScalarCall()
1587 if (isa<UndefValue>(Operands[0])) { in ConstantFoldScalarCall()
1589 return Operands[0]; in ConstantFoldScalarCall()
1596 if (Operands.size() == 2) { in ConstantFoldScalarCall()
1597 if (ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1602 if (ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) { in ConstantFoldScalarCall()
1637 } else if (ConstantInt *Op2C = dyn_cast<ConstantInt>(Operands[1])) { in ConstantFoldScalarCall()
1654 if (ConstantInt *Op1 = dyn_cast<ConstantInt>(Operands[0])) { in ConstantFoldScalarCall()
1655 if (ConstantInt *Op2 = dyn_cast<ConstantInt>(Operands[1])) { in ConstantFoldScalarCall()
1709 if (Operands.size() != 3) in ConstantFoldScalarCall()
1712 if (const ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) { in ConstantFoldScalarCall()
1713 if (const ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) { in ConstantFoldScalarCall()
1714 if (const ConstantFP *Op3 = dyn_cast<ConstantFP>(Operands[2])) { in ConstantFoldScalarCall()
1738 ArrayRef<Constant *> Operands, in ConstantFoldVectorCall() argument
1741 SmallVector<Constant *, 4> Lane(Operands.size()); in ConstantFoldVectorCall()
1746 for (unsigned J = 0, JE = Operands.size(); J != JE; ++J) { in ConstantFoldVectorCall()
1747 Constant *Agg = Operands[J]->getAggregateElement(I); in ConstantFoldVectorCall()
1767 llvm::ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands, in ConstantFoldCall() argument
1776 return ConstantFoldVectorCall(Name, F->getIntrinsicID(), VTy, Operands, TLI); in ConstantFoldCall()
1778 return ConstantFoldScalarCall(Name, F->getIntrinsicID(), Ty, Operands, TLI); in ConstantFoldCall()