Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/
H A DTwoAddressInstructionPass.cpp727 bool Commute; in isProfitableToCommute() local
728 if (TII->hasCommutePreference(*MI, Commute)) in isProfitableToCommute()
729 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/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h349 bool hasCommutePreference(MachineInstr &MI, bool &Commute) const override;
H A DX86InstrInfo.cpp3087 bool X86InstrInfo::hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference()
3106 Commute = true; in hasCommutePreference()
3114 Commute = false; in hasCommutePreference()
H A DX86ISelLowering.cpp58078 bool Commute = false; in IsDesirableToPromoteOp() local
58099 Commute = true; in IsDesirableToPromoteOp()
58106 (!Commute || !isa<ConstantSDNode>(N0) || in IsDesirableToPromoteOp()
58110 ((Commute && !isa<ConstantSDNode>(N1)) || in IsDesirableToPromoteOp()
58114 (Commute && IsFoldableAtomicRMW(N1, Op))) in IsDesirableToPromoteOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h497 virtual bool hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp3350 bool Commute = false; in foldImmediate() local
3361 Commute = UseMI.getOperand(2).getReg() != Reg; in foldImmediate()
3366 if (UseOpc == ARM::SUBrr && Commute) in foldImmediate()
3395 if (UseOpc == ARM::t2SUBrr && Commute) in foldImmediate()
3430 unsigned OpIdx = Commute ? 2 : 1; in foldImmediate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp327 auto getCommonOp = [&](Instruction *TI, Instruction *FI, bool Commute, in foldSelectOpOp()
329 assert(!(Commute && Swapped) && in foldSelectOpOp()
345 if (!Commute && !Swapped) in foldSelectOpOp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp26138 [NumElts, &VT](bool Commute, ShuffleVectorSDNode *SVN, in visitVECTOR_SHUFFLE()
26158 if (Commute) in visitVECTOR_SHUFFLE()
26335 bool Commute) { in visitVECTOR_SHUFFLE() argument
26336 SDValue InnerN = Commute ? N1 : N0; in visitVECTOR_SHUFFLE()
26339 if (Commute) in visitVECTOR_SHUFFLE()
26345 MergeInnerShuffle(Commute, SVN, SVN0, Op1, TLI, SV0, SV1, in visitVECTOR_SHUFFLE()