Searched refs:CI1 (Results 1 - 3 of 3) sorted by relevance
/external/llvm/lib/VMCore/ |
H A D | ConstantFold.cpp | 1040 if (ConstantInt *CI1 = dyn_cast<ConstantInt>(C1)) { 1042 const APInt &C1V = CI1->getValue(); 1048 return ConstantInt::get(CI1->getContext(), C1V + C2V); 1050 return ConstantInt::get(CI1->getContext(), C1V - C2V); 1052 return ConstantInt::get(CI1->getContext(), C1V * C2V); 1055 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); 1059 return UndefValue::get(CI1->getType()); // MIN_INT / -1 -> undef 1060 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); 1063 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); 1067 return UndefValue::get(CI1 [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 1701 ConstantInt *CI1 = dyn_cast<ConstantInt>(C); local 1702 if (!CI1) return 0; 1708 APInt Xor = CI1->getValue() ^ CI2->getValue(); 1712 Value *NewOp = Builder->CreateAnd((V1 == A) ? B : A, CI1);
|
H A D | InstCombineCompares.cpp | 1655 /// I = icmp ugt (add (add A, B), CI2), CI1 1662 ConstantInt *CI2, ConstantInt *CI1, 1682 // Check to see that CI1 is an all-ones value with NewWidth bits. 1683 if (CI1->getBitWidth() == NewWidth || 1684 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) 1690 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; 1661 ProcessUGT_ADDCST_ADD(ICmpInst &I, Value *A, Value *B, ConstantInt *CI2, ConstantInt *CI1, InstCombiner &IC) argument
|
Completed in 70 milliseconds