Lines Matching refs:CE1
969 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
971 if (CE1->getOpcode() == Instruction::ZExt) {
974 CE1->getOperand(0)->getType()->getPrimitiveSizeInBits();
981 if (CE1->getOpcode() == Instruction::PtrToInt &&
982 isa<GlobalValue>(CE1->getOperand(0))) {
983 GlobalValue *GV = cast<GlobalValue>(CE1->getOperand(0));
1010 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1011 switch (CE1->getOpcode()) {
1017 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate();
1019 return ConstantExpr::getCompare(pred, CE1->getOperand(0),
1020 CE1->getOperand(1));
1026 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1))
1027 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero.
1151 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1158 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) {
1159 Constant *T = ConstantExpr::get(Opcode, CE1->getOperand(1), C2);
1161 return ConstantExpr::get(Opcode, CE1->getOperand(0), T);
1305 ConstantExpr *CE1 = cast<ConstantExpr>(V1);
1306 switch (CE1->getOpcode()) {
1423 ConstantExpr *CE1 = cast<ConstantExpr>(V1);
1424 Constant *CE1Op0 = CE1->getOperand(0);
1426 switch (CE1->getOpcode()) {
1442 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) {
1443 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
1444 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1469 for (unsigned i = 1, e = CE1->getNumOperands(); i != e; ++i)
1470 if (!CE1->getOperand(i)->isNullValue())
1493 assert(CE1->getNumOperands() == 2 &&
1494 !CE1->getOperand(1)->isNullValue() &&
1525 if (!CE1->isGEPWithNoNotionalOverIndexing() ||
1530 gep_type_iterator GTI = gep_type_begin(CE1);
1531 for (;i != CE1->getNumOperands() && i != CE2->getNumOperands();
1533 switch (IdxCompare(CE1->getOperand(i),
1542 for (; i < CE1->getNumOperands(); ++i)
1543 if (!CE1->getOperand(i)->isNullValue()) {
1544 if (isa<ConstantInt>(CE1->getOperand(i)))
1852 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1853 if ((CE1->getOpcode() == Instruction::SExt && ICmpInst::isSigned(pred)) ||
1854 (CE1->getOpcode() == Instruction::ZExt && !ICmpInst::isSigned(pred))){
1855 Constant *CE1Op0 = CE1->getOperand(0);
1856 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType());