Lines Matching refs:ConstOps
1563 SmallVector<Constant *> ConstOps; in materializeValue() local
1566 ConstOps.push_back(C); in materializeValue()
1569 if (isConstExprSupported(BC) && ConstOps.size() == Ops.size()) { in materializeValue()
1572 C = UpgradeBitCastExpr(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1574 C = ConstantExpr::getCast(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1576 C = ConstantExpr::get(BC->Opcode, ConstOps[0], ConstOps[1], BC->Flags); in materializeValue()
1580 auto *Key = dyn_cast<ConstantInt>(ConstOps[1]); in materializeValue()
1584 auto *Disc = dyn_cast<ConstantInt>(ConstOps[2]); in materializeValue()
1588 C = ConstantPtrAuth::get(ConstOps[0], Key, Disc, ConstOps[3]); in materializeValue()
1592 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
1599 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
1606 Function *Fn = dyn_cast<Function>(ConstOps[0]); in materializeValue()
1641 C = ConstantStruct::get(cast<StructType>(BC->getType()), ConstOps); in materializeValue()
1644 C = ConstantArray::get(cast<ArrayType>(BC->getType()), ConstOps); in materializeValue()
1647 C = ConstantVector::get(ConstOps); in materializeValue()
1651 BC->SrcElemTy, ConstOps[0], ArrayRef(ConstOps).drop_front(), in materializeValue()
1655 C = ConstantExpr::getExtractElement(ConstOps[0], ConstOps[1]); in materializeValue()
1658 C = ConstantExpr::getInsertElement(ConstOps[0], ConstOps[1], in materializeValue()
1659 ConstOps[2]); in materializeValue()
1663 ShuffleVectorInst::getShuffleMask(ConstOps[2], Mask); in materializeValue()
1664 C = ConstantExpr::getShuffleVector(ConstOps[0], ConstOps[1], Mask); in materializeValue()