Searched refs:isBinaryOp (Results 1 – 18 of 18) sorted by relevance
115 bool isBinaryOp() const { return isBinaryOp(getOpcode()); } in isBinaryOp() function126 static inline bool isBinaryOp(unsigned Opcode) { in isBinaryOp() function
130 bool isBinaryOp() const { return isBinaryOp(getOpcode()); }151 static inline bool isBinaryOp(unsigned Opcode) {
415 return I->isBinaryOp();
1639 if (Instruction::isBinaryOp(Opc)) {
49 bool isBinaryOp() const;
272 if (UserI->isBinaryOp() && UserI->isCommutative() && Idx != 1) in isSafeAndProfitableToSpeculateAroundPHI()684 if (NewI->isBinaryOp() && NewI->isCommutative() && in speculatePHIs()
623 if (!C->isBinaryOp()) in add()
1167 } else if (I->isBinaryOp()) { in createExpression()
300 if (Instruction::isBinaryOp(Opcode)) { in remapConstantExpr()
230 assert(Instruction::isBinaryOp(BinOp) && "Binary operators only!"); in makeGuaranteedNoWrapRegion()778 assert(Instruction::isBinaryOp(BinOp) && "Binary operators only!"); in binaryOp()822 assert(Instruction::isBinaryOp(BinOp) && "Binary operators only!"); in overflowingBinaryOp()
1939 assert(Instruction::isBinaryOp(Opcode) && in get()2408 assert(Instruction::isBinaryOp(Opcode) && "Only binops allowed"); in getBinOpIdentity()
1001 assert(Instruction::isBinaryOp(Opcode) && "Non-binary instruction detected"); in ConstantFoldBinaryInstruction()
777 } else if (I.getType()->isFloatingPointTy() && (CI || I.isBinaryOp()) && in canVectorizeInstrs()
314 if (Instruction::isBinaryOp(getOpcode())) { in generateInstruction()
3542 ((Instruction::isBinaryOp(E->getOpcode()) && in getEntryCost()3543 Instruction::isBinaryOp(E->getAltOpcode())) || in getEntryCost()3569 if (Instruction::isBinaryOp(E->getOpcode())) { in getEntryCost()4506 ((Instruction::isBinaryOp(E->getOpcode()) && in vectorizeTree()4507 Instruction::isBinaryOp(E->getAltOpcode())) || in vectorizeTree()4513 if (Instruction::isBinaryOp(E->getOpcode())) { in vectorizeTree()4528 if (Instruction::isBinaryOp(E->getOpcode())) { in vectorizeTree()
540 if (!I1 || !I1->isBinaryOp()) in isConditionalRdxPattern()
1026 if (Instruction::isBinaryOp(Opcode)) in ConstantFoldInstOperandsImpl()1301 assert(Instruction::isBinaryOp(Opcode)); in ConstantFoldBinaryOpOperands()
864 assert(I.isBinaryOp() && "Unexpected opcode for select folding"); in foldOperationIntoSelectOperand()