Lines Matching full:ce0

1189   if (auto *CE0 = dyn_cast<ConstantExpr>(Ops0)) {  in ConstantFoldCompareInstOperands()  local
1191 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands()
1192 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1195 if (Constant *C = ConstantFoldIntegerCast(CE0->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands()
1204 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1205 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1206 if (CE0->getType() == IntPtrTy) { in ConstantFoldCompareInstOperands()
1207 Constant *C = CE0->getOperand(0); in ConstantFoldCompareInstOperands()
1215 if (CE0->getOpcode() == CE1->getOpcode()) { in ConstantFoldCompareInstOperands()
1216 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands()
1217 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1221 Constant *C0 = ConstantFoldIntegerCast(CE0->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands()
1231 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1232 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1233 if (CE0->getType() == IntPtrTy && in ConstantFoldCompareInstOperands()
1234 CE0->getOperand(0)->getType() == CE1->getOperand(0)->getType()) { in ConstantFoldCompareInstOperands()
1236 Predicate, CE0->getOperand(0), CE1->getOperand(0), DL, TLI); in ConstantFoldCompareInstOperands()