Home | History | Annotate | Download | only in VMCore

Lines Matching defs:BinaryOperator

387         AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
390 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
1687 // BinaryOperator Class
1690 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2,
1694 OperandTraits<BinaryOperator>::op_begin(this),
1695 OperandTraits<BinaryOperator>::operands(this),
1703 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2,
1707 OperandTraits<BinaryOperator>::op_begin(this),
1708 OperandTraits<BinaryOperator>::operands(this),
1717 void BinaryOperator::init(BinaryOps iType) {
1792 BinaryOperator *BinaryOperator::Create(BinaryOps Op, Value *S1, Value *S2,
1797 return new BinaryOperator(Op, S1, S2, S1->getType(), Name, InsertBefore);
1800 BinaryOperator *BinaryOperator::Create(BinaryOps Op, Value *S1, Value *S2,
1803 BinaryOperator *Res = Create(Op, S1, S2, Name);
1808 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
1811 return new BinaryOperator(Instruction::Sub,
1816 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
1819 return new BinaryOperator(Instruction::Sub,
1824 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
1827 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertBefore);
1830 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
1833 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertAtEnd);
1836 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
1839 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertBefore);
1842 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
1845 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertAtEnd);
1848 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
1851 return new BinaryOperator(Instruction::FSub,
1856 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
1859 return new BinaryOperator(Instruction::FSub,
1864 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
1875 return new BinaryOperator(Instruction::Xor, Op, C,
1879 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
1891 return new BinaryOperator(Instruction::Xor, Op, AllOnes,
1905 bool BinaryOperator::isNeg(const Value *V) {
1906 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1913 bool BinaryOperator::isFNeg(const Value *V) {
1914 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1921 bool BinaryOperator::isNot(const Value *V) {
1922 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1929 Value *BinaryOperator::getNegArgument(Value *BinOp) {
1930 return cast<BinaryOperator>(BinOp)->getOperand(1);
1933 const Value *BinaryOperator::getNegArgument(const Value *BinOp) {
1937 Value *BinaryOperator::getFNegArgument(Value *BinOp) {
1938 return cast<BinaryOperator>(BinOp)->getOperand(1);
1941 const Value *BinaryOperator::getFNegArgument(const Value *BinOp) {
1945 Value *BinaryOperator::getNotArgument(Value *BinOp) {
1947 BinaryOperator *BO = cast<BinaryOperator>(BinOp);
1956 const Value *BinaryOperator::getNotArgument(const Value *BinOp) {
1966 bool BinaryOperator::swapOperands() {
1973 void BinaryOperator::setHasNoUnsignedWrap(bool b) {
1977 void BinaryOperator::setHasNoSignedWrap(bool b) {
1981 void BinaryOperator::setIsExact(bool b) {
1985 bool BinaryOperator::hasNoUnsignedWrap() const {
1989 bool BinaryOperator::hasNoSignedWrap() const {
1993 bool BinaryOperator::isExact() const {
3319 BinaryOperator *BinaryOperator::clone_impl() const {