Searched refs:C2V (Results 1 - 2 of 2) sorted by relevance
/external/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 1122 const APInt &C2V = CI2->getValue(); local 1127 return ConstantInt::get(CI1->getContext(), C1V + C2V); 1129 return ConstantInt::get(CI1->getContext(), C1V - C2V); 1131 return ConstantInt::get(CI1->getContext(), C1V * C2V); 1134 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); 1137 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) 1139 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); 1142 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); 1145 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) 1147 return ConstantInt::get(CI1->getContext(), C1V.srem(C2V)); 1185 const APFloat &C2V = CFP2->getValueAPF(); local 1766 const APFloat &C2V = cast<ConstantFP>(C2)->getValueAPF(); local [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | ConstantFold.cpp | 1177 const APInt &C2V = CI2->getValue(); local 1182 return ConstantInt::get(CI1->getContext(), C1V + C2V); 1184 return ConstantInt::get(CI1->getContext(), C1V - C2V); 1186 return ConstantInt::get(CI1->getContext(), C1V * C2V); 1189 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); 1192 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) 1194 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); 1197 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); 1200 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) 1202 return ConstantInt::get(CI1->getContext(), C1V.srem(C2V)); 1249 APFloat C2V = CFP2->getValueAPF(); local 1923 APFloat C2V = cast<ConstantFP>(C2)->getValueAPF(); local [all...] |
Completed in 197 milliseconds