Searched refs:CI1 (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.2-release/contrib/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 1041 if (ConstantInt *CI1 = dyn_cast<ConstantInt>(C1)) { 1043 const APInt &C1V = CI1->getValue(); 1049 return ConstantInt::get(CI1->getContext(), C1V + C2V); 1051 return ConstantInt::get(CI1->getContext(), C1V - C2V); 1053 return ConstantInt::get(CI1->getContext(), C1V * C2V); 1056 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); 1060 return UndefValue::get(CI1->getType()); // MIN_INT / -1 -> undef 1061 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); 1064 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); 1068 return UndefValue::get(CI1 [all...] |
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 76 const ConstantInt* CI1 = cast<const ConstantInt>(C1.Low); local 78 return CI1->getValue().slt(CI2->getValue());
|
/freebsd-10.2-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 191 const ConstantInt* CI1 = cast<const ConstantInt>(C1.Low); local 193 return CI1->getValue().slt(CI2->getValue());
|
/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1895 /// I = icmp ugt (add (add A, B), CI2), CI1 1902 ConstantInt *CI2, ConstantInt *CI1, 1922 // Check to see that CI1 is an all-ones value with NewWidth bits. 1923 if (CI1->getBitWidth() == NewWidth || 1924 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) 1930 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; 1901 ProcessUGT_ADDCST_ADD(ICmpInst &I, Value *A, Value *B, ConstantInt *CI2, ConstantInt *CI1, InstCombiner &IC) argument
|
H A D | InstCombineAndOrXor.cpp | 1898 ConstantInt *CI1 = dyn_cast<ConstantInt>(C); local 1899 if (!CI1) return 0; 1905 APInt Xor = CI1->getValue() ^ CI2->getValue(); 1909 Value *NewOp = Builder->CreateAnd((V1 == A) ? B : A, CI1);
|
Completed in 171 milliseconds