Lines Matching defs:CE1

971       if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
973 if (CE1->getOpcode() == Instruction::ZExt) {
976 CE1->getOperand(0)->getType()->getPrimitiveSizeInBits();
983 if (CE1->getOpcode() == Instruction::PtrToInt &&
984 isa<GlobalValue>(CE1->getOperand(0))) {
985 GlobalValue *GV = cast<GlobalValue>(CE1->getOperand(0));
1012 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1013 switch (CE1->getOpcode()) {
1019 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate();
1021 return ConstantExpr::getCompare(pred, CE1->getOperand(0),
1022 CE1->getOperand(1));
1028 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1))
1029 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero.
1153 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1160 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) {
1161 Constant *T = ConstantExpr::get(Opcode, CE1->getOperand(1), C2);
1163 return ConstantExpr::get(Opcode, CE1->getOperand(0), T);
1311 ConstantExpr *CE1 = cast<ConstantExpr>(V1);
1312 switch (CE1->getOpcode()) {
1429 ConstantExpr *CE1 = cast<ConstantExpr>(V1);
1430 Constant *CE1Op0 = CE1->getOperand(0);
1432 switch (CE1->getOpcode()) {
1448 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) {
1449 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
1450 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1475 for (unsigned i = 1, e = CE1->getNumOperands(); i != e; ++i)
1476 if (!CE1->getOperand(i)->isNullValue())
1499 assert(CE1->getNumOperands() == 2 &&
1500 !CE1->getOperand(1)->isNullValue() &&
1532 if (!CE1->isGEPWithNoNotionalOverIndexing() ||
1537 gep_type_iterator GTI = gep_type_begin(CE1);
1538 for (;i != CE1->getNumOperands() && i != CE2->getNumOperands();
1540 switch (IdxCompare(CE1->getOperand(i),
1549 for (; i < CE1->getNumOperands(); ++i)
1550 if (!CE1->getOperand(i)->isNullValue()) {
1551 if (isa<ConstantInt>(CE1->getOperand(i)))
1863 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1864 if ((CE1->getOpcode() == Instruction::SExt && ICmpInst::isSigned(pred)) ||
1865 (CE1->getOpcode() == Instruction::ZExt && !ICmpInst::isSigned(pred))){
1866 Constant *CE1Op0 = CE1->getOperand(0);
1867 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType());