Home
last modified time | relevance | path

Searched refs:Commute (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.cpp671 bool Commute = false; in FoldImmediate() local
677 Commute = true; in FoldImmediate()
714 if (Commute) { in FoldImmediate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp780 bool Commute; in getMachineCombinerPatterns() local
781 if (isReassociationCandidate(Root, Commute)) { in getMachineCombinerPatterns()
786 if (Commute) { in getMachineCombinerPatterns()
H A DTwoAddressInstructionPass.cpp531 bool Commute; in isProfitableToCommute() local
532 if (TII->hasCommutePreference(*MI, Commute)) in isProfitableToCommute()
533 return Commute; in isProfitableToCommute()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h289 bool hasCommutePreference(MachineInstr &MI, bool &Commute) const override;
H A DX86InstrInfo.cpp2690 bool X86InstrInfo::hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference()
2709 Commute = true; in hasCommutePreference()
2717 Commute = false; in hasCommutePreference()
H A DX86ISelLowering.cpp51446 bool Commute = false; in IsDesirableToPromoteOp() local
51467 Commute = true; in IsDesirableToPromoteOp()
51474 (!Commute || !isa<ConstantSDNode>(N0) || in IsDesirableToPromoteOp()
51478 ((Commute && !isa<ConstantSDNode>(N1)) || in IsDesirableToPromoteOp()
51482 (Commute && IsFoldableAtomicRMW(N1, Op))) in IsDesirableToPromoteOp()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h471 virtual bool hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() argument
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp3304 bool Commute = false; in FoldImmediate() local
3315 Commute = UseMI.getOperand(2).getReg() != Reg; in FoldImmediate()
3320 if (UseOpc == ARM::SUBrr && Commute) in FoldImmediate()
3349 if (UseOpc == ARM::t2SUBrr && Commute) in FoldImmediate()
3384 unsigned OpIdx = Commute ? 2 : 1; in FoldImmediate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp21362 [NumElts, &VT](bool Commute, ShuffleVectorSDNode *SVN, in visitVECTOR_SHUFFLE()
21382 if (Commute) in visitVECTOR_SHUFFLE()
21559 bool Commute) { in visitVECTOR_SHUFFLE() argument
21560 SDValue InnerN = Commute ? N1 : N0; in visitVECTOR_SHUFFLE()
21563 if (Commute) in visitVECTOR_SHUFFLE()
21569 MergeInnerShuffle(Commute, SVN, SVN0, Op1, TLI, SV0, SV1, in visitVECTOR_SHUFFLE()