Lines Matching refs:CE0

1234   if (auto *CE0 = dyn_cast<ConstantExpr>(Ops0)) {  in ConstantFoldCompareInstOperands()  local
1236 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands()
1237 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1240 Constant *C = ConstantExpr::getIntegerCast(CE0->getOperand(0), in ConstantFoldCompareInstOperands()
1248 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1249 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1250 if (CE0->getType() == IntPtrTy) { in ConstantFoldCompareInstOperands()
1251 Constant *C = CE0->getOperand(0); in ConstantFoldCompareInstOperands()
1259 if (CE0->getOpcode() == CE1->getOpcode()) { in ConstantFoldCompareInstOperands()
1260 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands()
1261 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1265 Constant *C0 = ConstantExpr::getIntegerCast(CE0->getOperand(0), in ConstantFoldCompareInstOperands()
1274 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1275 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1276 if (CE0->getType() == IntPtrTy && in ConstantFoldCompareInstOperands()
1277 CE0->getOperand(0)->getType() == CE1->getOperand(0)->getType()) { in ConstantFoldCompareInstOperands()
1279 Predicate, CE0->getOperand(0), CE1->getOperand(0), DL, TLI); in ConstantFoldCompareInstOperands()
1288 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1290 Predicate, CE0->getOperand(0), Ops1, DL, TLI); in ConstantFoldCompareInstOperands()
1292 Predicate, CE0->getOperand(1), Ops1, DL, TLI); in ConstantFoldCompareInstOperands()
1314 ConstantInt::get(CE0->getContext(), Offset0), in ConstantFoldCompareInstOperands()
1315 ConstantInt::get(CE0->getContext(), Offset1)); in ConstantFoldCompareInstOperands()