Searched refs:Commute (Results 1 – 10 of 10) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEInstrInfo.cpp | 701 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 D | TwoAddressInstructionPass.cpp | 730 bool Commute; in isProfitableToCommute() local 731 if (TII->hasCommutePreference(*MI, Commute)) in isProfitableToCommute() 732 return Commute; in isProfitableToCommute()
|
| H A D | TargetInstrInfo.cpp | 1149 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 D | X86InstrInfo.h | 397 bool hasCommutePreference(MachineInstr &MI, bool &Commute) const override;
|
| H A D | X86InstrInfo.cpp | 3126 bool X86InstrInfo::hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() 3145 Commute = true; in hasCommutePreference() 3153 Commute = false; in hasCommutePreference()
|
| H A D | X86ISelLowering.cpp | 60838 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 D | TargetInstrInfo.h | 510 virtual bool hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBaseInstrInfo.cpp | 3193 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 D | InstCombineSelect.cpp | 300 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 D | DAGCombiner.cpp | 27230 [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()
|