Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.cpp703 bool Commute = false; in FoldImmediate() local
709 Commute = true; in FoldImmediate()
746 if (Commute) { in FoldImmediate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTwoAddressInstructionPass.cpp654 bool Commute; in isProfitableToCommute() local
655 if (TII->hasCommutePreference(*MI, Commute)) in isProfitableToCommute()
656 return Commute; in isProfitableToCommute()
H A DTargetInstrInfo.cpp924 bool Commute; in getMachineCombinerPatterns() local
925 if (isReassociationCandidate(Root, Commute)) { in getMachineCombinerPatterns()
930 if (Commute) { in getMachineCombinerPatterns()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h320 bool hasCommutePreference(MachineInstr &MI, bool &Commute) const override;
H A DX86InstrInfo.cpp3092 bool X86InstrInfo::hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference()
3111 Commute = true; in hasCommutePreference()
3119 Commute = false; in hasCommutePreference()
H A DX86ISelLowering.cpp56476 bool Commute = false; in IsDesirableToPromoteOp() local
56497 Commute = true; in IsDesirableToPromoteOp()
56504 (!Commute || !isa<ConstantSDNode>(N0) || in IsDesirableToPromoteOp()
56508 ((Commute && !isa<ConstantSDNode>(N1)) || in IsDesirableToPromoteOp()
56512 (Commute && IsFoldableAtomicRMW(N1, Op))) in IsDesirableToPromoteOp()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h495 virtual bool hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp320 auto getCommonOp = [&](Instruction *TI, Instruction *FI, bool Commute, in foldSelectOpOp()
322 assert(!(Commute && Swapped) && in foldSelectOpOp()
338 if (!Commute && !Swapped) in foldSelectOpOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp3349 bool Commute = false; in FoldImmediate() local
3360 Commute = UseMI.getOperand(2).getReg() != Reg; in FoldImmediate()
3365 if (UseOpc == ARM::SUBrr && Commute) in FoldImmediate()
3394 if (UseOpc == ARM::t2SUBrr && Commute) in FoldImmediate()
3429 unsigned OpIdx = Commute ? 2 : 1; in FoldImmediate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp25763 [NumElts, &VT](bool Commute, ShuffleVectorSDNode *SVN, in visitVECTOR_SHUFFLE()
25783 if (Commute) in visitVECTOR_SHUFFLE()
25960 bool Commute) { in visitVECTOR_SHUFFLE() argument
25961 SDValue InnerN = Commute ? N1 : N0; in visitVECTOR_SHUFFLE()
25964 if (Commute) in visitVECTOR_SHUFFLE()
25970 MergeInnerShuffle(Commute, SVN, SVN0, Op1, TLI, SV0, SV1, in visitVECTOR_SHUFFLE()