Searched refs:IsCommutative (Results 1 – 15 of 15) sorted by relevance
38 if (IsCommutative(*node) && index > 0) { in CanonicalizeNode()
70 bool is_commutative = grappler::IsCommutative(*node_); in ParseInputs()
3010 III.IsCommutative = true; in instrHasImmForm()3019 III.IsCommutative = true; in instrHasImmForm()3027 III.IsCommutative = true; in instrHasImmForm()3036 III.IsCommutative = false; in instrHasImmForm()3044 III.IsCommutative = false; in instrHasImmForm()3052 III.IsCommutative = false; in instrHasImmForm()3064 III.IsCommutative = true; in instrHasImmForm()3096 III.IsCommutative = false; in instrHasImmForm()3158 III.IsCommutative = false; in instrHasImmForm()3224 III.IsCommutative = true; in instrHasImmForm()[all …]
88 uint64_t IsCommutative : 1; member
3443 III.IsCommutative = true; in instrHasImmForm()3452 III.IsCommutative = true; in instrHasImmForm()3460 III.IsCommutative = true; in instrHasImmForm()3469 III.IsCommutative = false; in instrHasImmForm()3477 III.IsCommutative = false; in instrHasImmForm()3485 III.IsCommutative = false; in instrHasImmForm()3497 III.IsCommutative = true; in instrHasImmForm()3529 III.IsCommutative = false; in instrHasImmForm()3591 III.IsCommutative = false; in instrHasImmForm()3657 III.IsCommutative = true; in instrHasImmForm()[all …]
90 uint64_t IsCommutative : 1; member
216 bool IsCommutative(const NodeDef& node);
34 bool IsCommutative; member293 return InstArithmeticAttributes[getOp()].IsCommutative; in isCommutative()
1019 class IsCommutative : public TraitBase<ConcreteType, IsCommutative> {
1722 def Commutative : NativeOpTrait<"IsCommutative">;
237 * `OpTrait::IsCommutative` -- `Commutative`
3593 if (!IsAggregate(*node) || !IsCommutative(*node)) return false; in PartialAssocOpConstFolding()
29441 static bool isHorizontalBinOp(SDValue &LHS, SDValue &RHS, bool IsCommutative) { in isHorizontalBinOp() argument29542 !(IsCommutative && LIdx == Index + 1 && RIdx == Index)) in isHorizontalBinOp()
41784 bool IsCommutative) { in isHorizontalBinOp() argument41916 !(IsCommutative && LIdx == Index + 1 && RIdx == Index)) in isHorizontalBinOp()
45149 const X86Subtarget &Subtarget, bool IsCommutative, in isHorizontalBinOp() argument45279 !((LIdx & 1) == 1 && (RIdx + 1) == LIdx && IsCommutative)) in isHorizontalBinOp()