Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVEInstrInfo.cpp703 bool Commute = false; in FoldImmediate() local
709 Commute = true; in FoldImmediate()
746 if (Commute) { in FoldImmediate()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp789 bool Commute; in getMachineCombinerPatterns() local
790 if (isReassociationCandidate(Root, Commute)) { in getMachineCombinerPatterns()
795 if (Commute) { in getMachineCombinerPatterns()
H A DTwoAddressInstructionPass.cpp620 bool Commute; in isProfitableToCommute() local
621 if (TII->hasCommutePreference(*MI, Commute)) in isProfitableToCommute()
622 return Commute; in isProfitableToCommute()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrInfo.h295 bool hasCommutePreference(MachineInstr &MI, bool &Commute) const override;
H A DX86InstrInfo.cpp2698 bool X86InstrInfo::hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference()
2717 Commute = true; in hasCommutePreference()
2725 Commute = false; in hasCommutePreference()
H A DX86ISelLowering.cpp56681 bool Commute = false; in IsDesirableToPromoteOp() local
56702 Commute = true; in IsDesirableToPromoteOp()
56709 (!Commute || !isa<ConstantSDNode>(N0) || in IsDesirableToPromoteOp()
56713 ((Commute && !isa<ConstantSDNode>(N1)) || in IsDesirableToPromoteOp()
56717 (Commute && IsFoldableAtomicRMW(N1, Op))) in IsDesirableToPromoteOp()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h488 virtual bool hasCommutePreference(MachineInstr &MI, bool &Commute) const { in hasCommutePreference() argument
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp319 auto getCommonOp = [&](Instruction *TI, Instruction *FI, bool Commute, in foldSelectOpOp()
321 assert(!(Commute && Swapped) && in foldSelectOpOp()
337 if (!Commute && !Swapped) in foldSelectOpOp()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp3362 bool Commute = false; in FoldImmediate() local
3373 Commute = UseMI.getOperand(2).getReg() != Reg; in FoldImmediate()
3378 if (UseOpc == ARM::SUBrr && Commute) in FoldImmediate()
3407 if (UseOpc == ARM::t2SUBrr && Commute) in FoldImmediate()
3442 unsigned OpIdx = Commute ? 2 : 1; in FoldImmediate()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp24198 [NumElts, &VT](bool Commute, ShuffleVectorSDNode *SVN, in visitVECTOR_SHUFFLE()
24218 if (Commute) in visitVECTOR_SHUFFLE()
24395 bool Commute) { in visitVECTOR_SHUFFLE() argument
24396 SDValue InnerN = Commute ? N1 : N0; in visitVECTOR_SHUFFLE()
24399 if (Commute) in visitVECTOR_SHUFFLE()
24405 MergeInnerShuffle(Commute, SVN, SVN0, Op1, TLI, SV0, SV1, in visitVECTOR_SHUFFLE()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A DFSFChangeLog1828 (simplify_comparison, case AND): Commute AND and SUBREG.
H A DFSFChangeLog.106307 * fold-const.c (fold_truthop): Commute unextend and convert on