Searched refs:isCommutative (Results 1 – 21 of 21) sorted by relevance
62 MatchingInput(-1), isCommutative(false), in ConstraintInfo()70 MatchingInput(other.MatchingInput), isCommutative(other.isCommutative), in ConstraintInfo()96 isCommutative = false; in Parse()131 isCommutative) // Reject %%%%% in Parse()133 isCommutative = true; in Parse()
394 bool Instruction::isCommutative(unsigned op) { in isCommutative() function in Instruction
1981 if (!isCommutative()) in swapOperands()2906 bool CmpInst::isCommutative() const { in isCommutative() function in CmpInst2908 return IC->isCommutative(); in isCommutative()2909 return cast<FCmpInst>(this)->isCommutative(); in isCommutative()
1035 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()1168 if (Instruction::isCommutative(Opcode)) in ConstantFoldBinaryInstruction()
215 bool isCommutative() const { return isCommutative(getOpcode()); } in isCommutative() function216 static bool isCommutative(unsigned op);
142 bool isCommutative;
768 bool isCommutative() const;
1005 bool isCommutative() const { return isEquality(); }1121 bool isCommutative() const {
71 bool isCommutative; member
409 isCommutative = false; in CodeGenIntrinsic()533 isCommutative = true; in CodeGenIntrinsic()
1375 return Int->isCommutative; in isCommutativeIntrinsic()
122 } else if (opcode.isCommutative() in run()
370 public boolean isCommutative() { in isCommutative() method in Rop
188 if (I.isCommutative() && getComplexity(I.getOperand(0)) < in SimplifyAssociativeOrCommutative()246 if (I.isAssociative() && I.isCommutative()) { in SimplifyAssociativeOrCommutative()362 if (Instruction::isCommutative(ROp)) in RightDistributesOverLeft()390 bool InnerCommutative = Instruction::isCommutative(InnerOpcode); in SimplifyUsingDistributiveLaws()451 (Instruction::isCommutative(InnerOpcode) && L == B && R == A)) in SimplifyUsingDistributiveLaws()476 (Instruction::isCommutative(InnerOpcode) && L == C && R == B)) in SimplifyUsingDistributiveLaws()
166 } else if (!TI->isCommutative()) { in FoldSelectOpOp()
146 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp()169 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand) in ExpandBinOp()211 if (A == C || (Instruction::isCommutative(OpcodeToExtract) && A == D)) { in FactorizeBinOp()234 if (B == D || (Instruction::isCommutative(OpcodeToExtract) && B == C)) { in FactorizeBinOp()310 if (!Instruction::isCommutative(Opcode)) in SimplifyAssociativeBinOp()416 if (Simplified->isCommutative() && in ThreadBinOpOverSelect()
334 if (!I->isAssociative() || !I->isCommutative()) return 0; in CanTransformAccumulatorRecursion()
456 Instruction::isCommutative(Opcode) && in LinearizeExprTree()
167 if (I->isCommutative()) { in create_expression()
471 if (insn.getOpcode().isCommutative() in getRegs()
364 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) { in SelectBinaryOp()