Lines Matching defs:BinaryOperator

405         AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
408 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
1729 // BinaryOperator Class
1732 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2,
1736 OperandTraits<BinaryOperator>::op_begin(this),
1737 OperandTraits<BinaryOperator>::operands(this),
1745 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2,
1749 OperandTraits<BinaryOperator>::op_begin(this),
1750 OperandTraits<BinaryOperator>::operands(this),
1759 void BinaryOperator::init(BinaryOps iType) {
1834 BinaryOperator *BinaryOperator::Create(BinaryOps Op, Value *S1, Value *S2,
1839 return new BinaryOperator(Op, S1, S2, S1->getType(), Name, InsertBefore);
1842 BinaryOperator *BinaryOperator::Create(BinaryOps Op, Value *S1, Value *S2,
1845 BinaryOperator *Res = Create(Op, S1, S2, Name);
1850 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
1853 return new BinaryOperator(Instruction::Sub,
1858 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
1861 return new BinaryOperator(Instruction::Sub,
1866 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
1869 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertBefore);
1872 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
1875 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertAtEnd);
1878 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
1881 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertBefore);
1884 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
1887 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertAtEnd);
1890 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
1893 return new BinaryOperator(Instruction::FSub, zero, Op,
1897 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
1900 return new BinaryOperator(Instruction::FSub, zero, Op,
1904 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
1907 return new BinaryOperator(Instruction::Xor, Op, C,
1911 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
1914 return new BinaryOperator(Instruction::Xor, Op, AllOnes,
1926 bool BinaryOperator::isNeg(const Value *V) {
1927 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1934 bool BinaryOperator::isFNeg(const Value *V, bool IgnoreZeroSign) {
1935 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1945 bool BinaryOperator::isNot(const Value *V) {
1946 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1953 Value *BinaryOperator::getNegArgument(Value *BinOp) {
1954 return cast<BinaryOperator>(BinOp)->getOperand(1);
1957 const Value *BinaryOperator::getNegArgument(const Value *BinOp) {
1961 Value *BinaryOperator::getFNegArgument(Value *BinOp) {
1962 return cast<BinaryOperator>(BinOp)->getOperand(1);
1965 const Value *BinaryOperator::getFNegArgument(const Value *BinOp) {
1969 Value *BinaryOperator::getNotArgument(Value *BinOp) {
1971 BinaryOperator *BO = cast<BinaryOperator>(BinOp);
1980 const Value *BinaryOperator::getNotArgument(const Value *BinOp) {
1990 bool BinaryOperator::swapOperands() {
1997 void BinaryOperator::setHasNoUnsignedWrap(bool b) {
2001 void BinaryOperator::setHasNoSignedWrap(bool b) {
2005 void BinaryOperator::setIsExact(bool b) {
2009 bool BinaryOperator::hasNoUnsignedWrap() const {
2013 bool BinaryOperator::hasNoSignedWrap() const {
2017 bool BinaryOperator::isExact() const {
3515 BinaryOperator *BinaryOperator::clone_impl() const {