Lines Matching refs:CE1

1037       if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1039 if (CE1->getOpcode() == Instruction::ZExt) {
1042 CE1->getOperand(0)->getType()->getPrimitiveSizeInBits();
1049 if (CE1->getOpcode() == Instruction::PtrToInt &&
1050 isa<GlobalValue>(CE1->getOperand(0))) {
1051 GlobalValue *GV = cast<GlobalValue>(CE1->getOperand(0));
1078 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1079 switch (CE1->getOpcode()) {
1085 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate();
1087 return ConstantExpr::getCompare(pred, CE1->getOperand(0),
1088 CE1->getOperand(1));
1094 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1))
1095 if (CE1->getOpcode() == Instruction::ZExt) // Top bits known zero.
1210 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1217 if (Instruction::isAssociative(Opcode) && CE1->getOpcode() == Opcode) {
1218 Constant *T = ConstantExpr::get(Opcode, CE1->getOperand(1), C2);
1220 return ConstantExpr::get(Opcode, CE1->getOperand(0), T);
1365 ConstantExpr *CE1 = cast<ConstantExpr>(V1);
1366 switch (CE1->getOpcode()) {
1504 ConstantExpr *CE1 = cast<ConstantExpr>(V1);
1505 Constant *CE1Op0 = CE1->getOperand(0);
1507 switch (CE1->getOpcode()) {
1523 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) {
1524 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
1525 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1533 GEPOperator *CE1GEP = cast<GEPOperator>(CE1);
1551 for (unsigned i = 1, e = CE1->getNumOperands(); i != e; ++i)
1552 if (!CE1->getOperand(i)->isNullValue())
1575 assert(CE1->getNumOperands() == 2 &&
1576 !CE1->getOperand(1)->isNullValue() &&
1614 if (!CE1->isGEPWithNoNotionalOverIndexing() ||
1619 gep_type_iterator GTI = gep_type_begin(CE1);
1620 for (;i != CE1->getNumOperands() && i != CE2->getNumOperands();
1622 switch (IdxCompare(CE1->getOperand(i),
1631 for (; i < CE1->getNumOperands(); ++i)
1632 if (!CE1->getOperand(i)->isNullValue()) {
1633 if (isa<ConstantInt>(CE1->getOperand(i)))
1953 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) {
1954 if ((CE1->getOpcode() == Instruction::SExt &&
1956 (CE1->getOpcode() == Instruction::ZExt &&
1958 Constant *CE1Op0 = CE1->getOperand(0);
1959 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType());
1963 if (ConstantExpr::getCast(CE1->getOpcode(), C2Inverse,