Lines Matching refs:ConstOps
1491 SmallVector<Constant *> ConstOps; in materializeValue() local
1494 ConstOps.push_back(C); in materializeValue()
1497 if (isConstExprSupported(BC) && ConstOps.size() == Ops.size()) { in materializeValue()
1500 C = UpgradeBitCastExpr(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1502 C = ConstantExpr::getCast(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1504 C = ConstantExpr::get(BC->Opcode, ConstOps[0], ConstOps[1], BC->Flags); in materializeValue()
1508 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
1515 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
1522 Function *Fn = dyn_cast<Function>(ConstOps[0]); in materializeValue()
1557 C = ConstantStruct::get(cast<StructType>(BC->getType()), ConstOps); in materializeValue()
1560 C = ConstantArray::get(cast<ArrayType>(BC->getType()), ConstOps); in materializeValue()
1563 C = ConstantVector::get(ConstOps); in materializeValue()
1567 C = ConstantExpr::getCompare(BC->Flags, ConstOps[0], ConstOps[1]); in materializeValue()
1570 C = ConstantExpr::getGetElementPtr(BC->SrcElemTy, ConstOps[0], in materializeValue()
1571 ArrayRef(ConstOps).drop_front(), in materializeValue()
1575 C = ConstantExpr::getExtractElement(ConstOps[0], ConstOps[1]); in materializeValue()
1578 C = ConstantExpr::getInsertElement(ConstOps[0], ConstOps[1], in materializeValue()
1579 ConstOps[2]); in materializeValue()
1583 ShuffleVectorInst::getShuffleMask(ConstOps[2], Mask); in materializeValue()
1584 C = ConstantExpr::getShuffleVector(ConstOps[0], ConstOps[1], Mask); in materializeValue()