Lines Matching defs:C1V
798 const APInt &C1V = CI1->getValue();
804 return ConstantInt::get(C1->getType(), C1V + C2V);
806 return ConstantInt::get(C1->getType(), C1V - C2V);
808 return ConstantInt::get(C1->getType(), C1V * C2V);
811 return ConstantInt::get(CI1->getType(), C1V.udiv(C2V));
814 if (C2V.isAllOnes() && C1V.isMinSignedValue())
816 return ConstantInt::get(CI1->getType(), C1V.sdiv(C2V));
819 return ConstantInt::get(C1->getType(), C1V.urem(C2V));
822 if (C2V.isAllOnes() && C1V.isMinSignedValue())
824 return ConstantInt::get(C1->getType(), C1V.srem(C2V));
826 return ConstantInt::get(C1->getType(), C1V & C2V);
828 return ConstantInt::get(C1->getType(), C1V | C2V);
830 return ConstantInt::get(C1->getType(), C1V ^ C2V);
832 if (C2V.ult(C1V.getBitWidth()))
833 return ConstantInt::get(C1->getType(), C1V.shl(C2V));
836 if (C2V.ult(C1V.getBitWidth()))
837 return ConstantInt::get(C1->getType(), C1V.lshr(C2V));
840 if (C2V.ult(C1V.getBitWidth()))
841 return ConstantInt::get(C1->getType(), C1V.ashr(C2V));
851 const APFloat &C1V = CFP1->getValueAPF();
853 APFloat C3V = C1V; // copy for modification
1169 const APFloat &C1V = cast<ConstantFP>(C1)->getValueAPF();
1171 return ConstantInt::get(ResultTy, FCmpInst::compare(C1V, C2V, Predicate));