Lines Matching refs:ConstOps
1440 SmallVector<Constant *> ConstOps; in materializeValue() local
1443 ConstOps.push_back(C); in materializeValue()
1446 if (isConstExprSupported(BC->Opcode) && ConstOps.size() == Ops.size()) { in materializeValue()
1449 C = UpgradeBitCastExpr(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1451 C = ConstantExpr::getCast(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1453 C = ConstantExpr::get(BC->Opcode, ConstOps[0], BC->Flags); in materializeValue()
1455 C = ConstantExpr::get(BC->Opcode, ConstOps[0], ConstOps[1], BC->Flags); in materializeValue()
1459 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
1466 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
1473 Function *Fn = dyn_cast<Function>(ConstOps[0]); in materializeValue()
1508 C = ConstantStruct::get(cast<StructType>(BC->getType()), ConstOps); in materializeValue()
1511 C = ConstantArray::get(cast<ArrayType>(BC->getType()), ConstOps); in materializeValue()
1514 C = ConstantVector::get(ConstOps); in materializeValue()
1518 C = ConstantExpr::getCompare(BC->Flags, ConstOps[0], ConstOps[1]); in materializeValue()
1522 BC->SrcElemTy, ConstOps[0], makeArrayRef(ConstOps).drop_front(), in materializeValue()
1526 C = ConstantExpr::getSelect(ConstOps[0], ConstOps[1], ConstOps[2]); in materializeValue()
1529 C = ConstantExpr::getExtractElement(ConstOps[0], ConstOps[1]); in materializeValue()
1532 C = ConstantExpr::getInsertElement(ConstOps[0], ConstOps[1], in materializeValue()
1533 ConstOps[2]); in materializeValue()
1537 ShuffleVectorInst::getShuffleMask(ConstOps[2], Mask); in materializeValue()
1538 C = ConstantExpr::getShuffleVector(ConstOps[0], ConstOps[1], Mask); in materializeValue()