| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | simd-simplify-demanded-vector-elts.ll | 6 ; DAGCombiner on each node, among which SimplifyDemandedVectorElts turns unused 11 ; bail out of SimplifyDemandedVectorElts after legalization.
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 2515 if (SimplifyDemandedVectorElts(Src, DemandedSrcElts, KnownSrcUndef, in SimplifyDemandedBits() 2538 if (SimplifyDemandedVectorElts(Src, DemandedSrcElts, KnownSrcUndef, in SimplifyDemandedBits() 2721 bool TargetLowering::SimplifyDemandedVectorElts(SDValue Op, in SimplifyDemandedVectorElts() function in TargetLowering 2787 bool TargetLowering::SimplifyDemandedVectorElts( in SimplifyDemandedVectorElts() function in TargetLowering 2891 return SimplifyDemandedVectorElts(Src, DemandedElts, KnownUndef, in SimplifyDemandedVectorElts() 3011 if (SimplifyDemandedVectorElts(SubOp, SubElts, SubUndef, SubZero, TLO, in SimplifyDemandedVectorElts() 3124 if (SimplifyDemandedVectorElts(Vec, DemandedVecElts, KnownUndef, in SimplifyDemandedVectorElts() 3158 if (SimplifyDemandedVectorElts(LHS, DemandedLHS, UndefLHS, ZeroLHS, TLO, in SimplifyDemandedVectorElts() 3161 if (SimplifyDemandedVectorElts(RHS, DemandedRHS, UndefRHS, ZeroRHS, TLO, in SimplifyDemandedVectorElts() 3198 if (SimplifyDemandedVectorElts(Op.getOperand(0), DemandedLHS, UndefLHS, in SimplifyDemandedVectorElts() [all …]
|
| H A D | DAGCombiner.cpp | 339 bool SimplifyDemandedVectorElts(SDValue Op) { in SimplifyDemandedVectorElts() function in __anon54f00e400111::DAGCombiner 346 return SimplifyDemandedVectorElts(Op, DemandedElts); in SimplifyDemandedVectorElts() 352 bool SimplifyDemandedVectorElts(SDValue Op, const APInt &DemandedElts, 1243 bool DAGCombiner::SimplifyDemandedVectorElts(SDValue Op, in SimplifyDemandedVectorElts() function in DAGCombiner 1248 if (!TLI.SimplifyDemandedVectorElts(Op, DemandedElts, KnownUndef, KnownZero, in SimplifyDemandedVectorElts() 11094 if (SimplifyDemandedVectorElts(SDValue(N, 0))) in visitVSELECT() 13163 if (SimplifyDemandedVectorElts(SDValue(N, 0))) in visitEXTEND_VECTOR_INREG() 19931 if (SimplifyDemandedVectorElts(VecOp, DemandedElts, true)) { in visitEXTRACT_VECTOR_ELT() 21864 if (SimplifyDemandedVectorElts(SDValue(N, 0))) in visitEXTRACT_SUBVECTOR() 22594 if (SimplifyDemandedVectorElts(SDValue(N, 0))) in visitVECTOR_SHUFFLE() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 525 SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, APInt &UndefElts,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 565 SimplifyDemandedVectorElts(SrcVec, DemandedElts, UndefElts)) in visitExtractElementInst() 573 if (Value *V = SimplifyDemandedVectorElts( in visitExtractElementInst() 1600 if (Value *V = SimplifyDemandedVectorElts(&IE, AllOnesEltMask, UndefElts)) { in visitInsertElementInst() 2642 if (Value *V = SimplifyDemandedVectorElts(&SVI, AllOnesEltMask, UndefElts)) { in visitShuffleVectorInst()
|
| H A D | InstCombineSimplifyDemanded.cpp | 1171 Value *InstCombinerImpl::SimplifyDemandedVectorElts(Value *V, in SimplifyDemandedVectorElts() function in InstCombinerImpl 1256 if (Value *V = SimplifyDemandedVectorElts(Op, Demanded, Undef, Depth + 1)) { in SimplifyDemandedVectorElts()
|
| H A D | InstCombineCalls.cpp | 370 SimplifyDemandedVectorElts(II.getOperand(0), DemandedElts, UndefElts)) in simplifyMaskedStore() 454 SimplifyDemandedVectorElts(II.getOperand(0), DemandedElts, UndefElts)) in simplifyMaskedScatter() 457 SimplifyDemandedVectorElts(II.getOperand(1), DemandedElts, UndefElts)) in simplifyMaskedScatter() 1228 if (Value *V = SimplifyDemandedVectorElts(II, AllOnesEltMask, UndefElts)) { in visitCallInst()
|
| H A D | InstCombineInternal.h | 600 Value *SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
|
| H A D | InstCombineSelect.cpp | 2317 if (Value *V = SimplifyDemandedVectorElts(&Sel, AllOnesEltMask, UndefElts)) { in foldVectorSelect()
|
| H A D | InstructionCombining.cpp | 2281 if (Value *V = SimplifyDemandedVectorElts(&GEP, AllOnesEltMask, in visitGetElementPtrInst()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 933 return IC.SimplifyDemandedVectorElts(Op, DemandedElts, UndefElts); in instCombineIntrinsic() 1427 IC.SimplifyDemandedVectorElts(Arg0, DemandedElts1, UndefElts1)) { in instCombineIntrinsic() 1436 IC.SimplifyDemandedVectorElts(Arg1, DemandedElts2, UndefElts2)) { in instCombineIntrinsic()
|
| H A D | X86ISelLowering.cpp | 40820 if (TLI.SimplifyDemandedVectorElts(Op, DemandedElts, DCI)) in combineShuffle() 41831 if (SimplifyDemandedVectorElts(Vec, DemandedVecElts, KnownUndef, in SimplifyDemandedBitsForTargetNode() 47081 if (TLI.SimplifyDemandedVectorElts(SDValue(N, 0), DemandedElts, DCI)) in combineVectorShiftVar() 48021 if (TLI.SimplifyDemandedVectorElts(N0, Demand0.second, DCI) || in combineAnd() 48022 TLI.SimplifyDemandedVectorElts(N1, Demand1.second, DCI) || in combineAnd() 49638 if (TLI.SimplifyDemandedVectorElts(StoredVal, DemandedElts, DCI)) { in combineVEXTRACT_STORE() 51184 if (TLI.SimplifyDemandedVectorElts(SDValue(N, 0), DemandedElts, DCI)) in combineX86INT_TO_FP() 51326 if (TLI.SimplifyDemandedVectorElts(N0, Demand0.second, DCI) || in combineAndnp() 51327 TLI.SimplifyDemandedVectorElts(N1, Demand1.second, DCI) || in combineAndnp() 51363 if (TLI.SimplifyDemandedVectorElts(Src, DemandedElts, DCI)) { in combineCVTPH2PS() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | AArch64SelectionDAGTest.cpp | 180 EXPECT_EQ(TL.SimplifyDemandedVectorElts(Op, DemandedElts, KnownUndef, in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3669 bool SimplifyDemandedVectorElts(SDValue Op, const APInt &DemandedEltMask, 3676 bool SimplifyDemandedVectorElts(SDValue Op, const APInt &DemandedElts,
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 17129 if (TLI.SimplifyDemandedVectorElts(Op0, Op0DemandedElts, DCI)) in PerformVMOVNCombine() 17131 if (TLI.SimplifyDemandedVectorElts(Op1, Op1DemandedElts, DCI)) in PerformVMOVNCombine() 17148 if (TLI.SimplifyDemandedVectorElts(Op0, Op0DemandedElts, DCI)) in PerformVQMOVNCombine()
|