Lines Matching defs:BinaryOperator
405 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
408 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
1741 // BinaryOperator Class
1744 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2,
1748 OperandTraits<BinaryOperator>::op_begin(this),
1749 OperandTraits<BinaryOperator>::operands(this),
1757 BinaryOperator::BinaryOperator(BinaryOps iType, Value *S1, Value *S2,
1761 OperandTraits<BinaryOperator>::op_begin(this),
1762 OperandTraits<BinaryOperator>::operands(this),
1771 void BinaryOperator::init(BinaryOps iType) {
1846 BinaryOperator *BinaryOperator::Create(BinaryOps Op, Value *S1, Value *S2,
1851 return new BinaryOperator(Op, S1, S2, S1->getType(), Name, InsertBefore);
1854 BinaryOperator *BinaryOperator::Create(BinaryOps Op, Value *S1, Value *S2,
1857 BinaryOperator *Res = Create(Op, S1, S2, Name);
1862 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
1865 return new BinaryOperator(Instruction::Sub,
1870 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name,
1873 return new BinaryOperator(Instruction::Sub,
1878 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
1881 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertBefore);
1884 BinaryOperator *BinaryOperator::CreateNSWNeg(Value *Op, const Twine &Name,
1887 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertAtEnd);
1890 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
1893 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertBefore);
1896 BinaryOperator *BinaryOperator::CreateNUWNeg(Value *Op, const Twine &Name,
1899 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertAtEnd);
1902 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
1905 return new BinaryOperator(Instruction::FSub, zero, Op,
1909 BinaryOperator *BinaryOperator::CreateFNeg(Value *Op, const Twine &Name,
1912 return new BinaryOperator(Instruction::FSub, zero, Op,
1916 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
1919 return new BinaryOperator(Instruction::Xor, Op, C,
1923 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name,
1926 return new BinaryOperator(Instruction::Xor, Op, AllOnes,
1938 bool BinaryOperator::isNeg(const Value *V) {
1939 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1946 bool BinaryOperator::isFNeg(const Value *V, bool IgnoreZeroSign) {
1947 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1957 bool BinaryOperator::isNot(const Value *V) {
1958 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(V))
1965 Value *BinaryOperator::getNegArgument(Value *BinOp) {
1966 return cast<BinaryOperator>(BinOp)->getOperand(1);
1969 const Value *BinaryOperator::getNegArgument(const Value *BinOp) {
1973 Value *BinaryOperator::getFNegArgument(Value *BinOp) {
1974 return cast<BinaryOperator>(BinOp)->getOperand(1);
1977 const Value *BinaryOperator::getFNegArgument(const Value *BinOp) {
1981 Value *BinaryOperator::getNotArgument(Value *BinOp) {
1983 BinaryOperator *BO = cast<BinaryOperator>(BinOp);
1992 const Value *BinaryOperator::getNotArgument(const Value *BinOp) {
2002 bool BinaryOperator::swapOperands() {
2009 void BinaryOperator::setHasNoUnsignedWrap(bool b) {
2013 void BinaryOperator::setHasNoSignedWrap(bool b) {
2017 void BinaryOperator::setIsExact(bool b) {
2021 bool BinaryOperator::hasNoUnsignedWrap() const {
2025 bool BinaryOperator::hasNoSignedWrap() const {
2029 bool BinaryOperator::isExact() const {
3565 BinaryOperator *BinaryOperator::clone_impl() const {