Lines Matching defs:Operands
1217 llvm::ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands,
1223 if (Operands.size() == 1) {
1224 if (ConstantFP *Op = dyn_cast<ConstantFP>(Operands[0])) {
1323 if (ConstantInt *Op = dyn_cast<ConstantInt>(Operands[0])) {
1349 if (isa<ConstantVector>(Operands[0]) ||
1350 isa<ConstantDataVector>(Operands[0])) {
1351 Constant *Op = cast<Constant>(Operands[0]);
1373 if (isa<UndefValue>(Operands[0])) {
1375 return Operands[0];
1382 if (Operands.size() == 2) {
1383 if (ConstantFP *Op1 = dyn_cast<ConstantFP>(Operands[0])) {
1389 if (ConstantFP *Op2 = dyn_cast<ConstantFP>(Operands[1])) {
1408 } else if (ConstantInt *Op2C = dyn_cast<ConstantInt>(Operands[1])) {
1421 if (ConstantInt *Op1 = dyn_cast<ConstantInt>(Operands[0])) {
1422 if (ConstantInt *Op2 = dyn_cast<ConstantInt>(Operands[1])) {