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.cpp701 bool Commute = false; in foldImmediate() local
707 Commute = true; in foldImmediate()
744 if (Commute) { in foldImmediate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTwoAddressInstructionPass.cpp730 bool Commute; in isProfitableToCommute() local
731 if (TII->hasCommutePreference(*MI, Commute)) in isProfitableToCommute()
732 return Commute; in isProfitableToCommute()
H A DTargetInstrInfo.cpp1149 bool Commute; in getMachineCombinerPatterns() local
1150 if (isReassociationCandidate(Root, Commute)) { in getMachineCombinerPatterns()
1155 if (Commute) { in getMachineCombinerPatterns()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h397 bool hasCommutePreference(MachineInstr &MI, bool &Commute) const override;
H A DX86InstrInfo.cpp3126 bool X86InstrInfo::hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference()
3145 Commute = true; in hasCommutePreference()
3153 Commute = false; in hasCommutePreference()
H A DX86ISelLowering.cpp60838 bool Commute = false; in IsDesirableToPromoteOp() local
60866 Commute = true; in IsDesirableToPromoteOp()
60873 (!Commute || !isa<ConstantSDNode>(N0) || in IsDesirableToPromoteOp()
60877 ((Commute && !isa<ConstantSDNode>(N1)) || in IsDesirableToPromoteOp()
60881 (Commute && IsFoldableAtomicRMW(N1, Op))) in IsDesirableToPromoteOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h510 virtual bool hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp3193 bool Commute = false; in foldImmediate() local
3204 Commute = UseMI.getOperand(2).getReg() != Reg; in foldImmediate()
3209 if (UseOpc == ARM::SUBrr && Commute) in foldImmediate()
3238 if (UseOpc == ARM::t2SUBrr && Commute) in foldImmediate()
3273 unsigned OpIdx = Commute ? 2 : 1; in foldImmediate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp300 auto getCommonOp = [&](Instruction *TI, Instruction *FI, bool Commute, in foldSelectOpOp()
302 assert(!(Commute && Swapped) && in foldSelectOpOp()
318 if (!Commute && !Swapped) in foldSelectOpOp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp27230 [NumElts, &VT](bool Commute, ShuffleVectorSDNode *SVN, in visitVECTOR_SHUFFLE()
27250 if (Commute) in visitVECTOR_SHUFFLE()
27427 bool Commute) { in visitVECTOR_SHUFFLE() argument
27428 SDValue InnerN = Commute ? N1 : N0; in visitVECTOR_SHUFFLE()
27431 if (Commute) in visitVECTOR_SHUFFLE()
27437 MergeInnerShuffle(Commute, SVN, SVN0, Op1, TLI, SV0, SV1, in visitVECTOR_SHUFFLE()