Home | History | Annotate | Download | only in Analysis

Lines Matching full:ce0

914   if (ConstantExpr *CE0 = dyn_cast<ConstantExpr>(Ops0)) {
916 Type *IntPtrTy = TD->getIntPtrType(CE0->getContext());
917 if (CE0->getOpcode() == Instruction::IntToPtr) {
920 Constant *C = ConstantExpr::getIntegerCast(CE0->getOperand(0),
928 if (CE0->getOpcode() == Instruction::PtrToInt &&
929 CE0->getType() == IntPtrTy) {
930 Constant *C = CE0->getOperand(0);
937 if (TD && CE0->getOpcode() == CE1->getOpcode()) {
938 Type *IntPtrTy = TD->getIntPtrType(CE0->getContext());
940 if (CE0->getOpcode() == Instruction::IntToPtr) {
943 Constant *C0 = ConstantExpr::getIntegerCast(CE0->getOperand(0),
952 if ((CE0->getOpcode() == Instruction::PtrToInt &&
953 CE0->getType() == IntPtrTy &&
954 CE0->getOperand(0)->getType() == CE1->getOperand(0)->getType()))
955 return ConstantFoldCompareInstOperands(Predicate, CE0->getOperand(0),
963 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) {
965 ConstantFoldCompareInstOperands(Predicate, CE0->getOperand(0), Ops1,TD);
967 ConstantFoldCompareInstOperands(Predicate, CE0->getOperand(1), Ops1,TD);