Searched refs:Commute (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEInstrInfo.cpp | 703 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 D | TwoAddressInstructionPass.cpp | 727 bool Commute; in isProfitableToCommute() local 728 if (TII->hasCommutePreference(*MI, Commute)) in isProfitableToCommute() 729 return Commute; in isProfitableToCommute()
|
H A D | TargetInstrInfo.cpp | 924 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 D | X86InstrInfo.h | 349 bool hasCommutePreference(MachineInstr &MI, bool &Commute) const override;
|
H A D | X86InstrInfo.cpp | 3087 bool X86InstrInfo::hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() 3106 Commute = true; in hasCommutePreference() 3114 Commute = false; in hasCommutePreference()
|
H A D | X86ISelLowering.cpp | 58078 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 D | TargetInstrInfo.h | 497 virtual bool hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 3350 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 D | InstCombineSelect.cpp | 327 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 D | DAGCombiner.cpp | 26138 [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()
|