Home
last modified time | relevance | path

Searched refs:isReassociableOp (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp163 static BinaryOperator *isReassociableOp(Value *V, unsigned Opcode) { in isReassociableOp() function
171 static BinaryOperator *isReassociableOp(Value *V, unsigned Opcode1, in isReassociableOp() function
444 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) { in LinearizeExprTree()
522 assert(!isReassociableOp(Op, Opcode) && "Value was morphed?"); in LinearizeExprTree()
535 assert(!isReassociableOp(V, Opcode) && "Shouldn't be a leaf!"); in LinearizeExprTree()
636 BinaryOperator *BO = isReassociableOp(OldLHS, Opcode); in RewriteExprTree()
642 BinaryOperator *BO = isReassociableOp(OldRHS, Opcode); in RewriteExprTree()
669 BinaryOperator *BO = isReassociableOp(Op->getOperand(1), Opcode); in RewriteExprTree()
685 BinaryOperator *BO = isReassociableOp(Op->getOperand(0), Opcode); in RewriteExprTree()
797 isReassociableOp(V, Instruction::Add, Instruction::FAdd)) { in NegateValue()
[all …]
H A DLICM.cpp2676 static bool isReassociableOp(Instruction *I, unsigned IntOpcode, in isReassociableOp() function
2695 if (!isReassociableOp(&I, Instruction::Mul, Instruction::FMul)) in hoistMulAddAssociation()
2715 if (isReassociableOp(BO, Instruction::Add, Instruction::FAdd) && in hoistMulAddAssociation()
2723 if (!isReassociableOp(BO, Instruction::Mul, Instruction::FMul) || in hoistMulAddAssociation()