Home
last modified time | relevance | path

Searched refs:m_BitCast (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp500 if (match(I, m_BitCast(m_Value(Vec)))) { in lowerTileDP()
544 if (match(I, m_BitCast(m_Value(Vec)))) { in lowerTileLoadStore()
562 if (match(I, m_BitCast(m_Value(Vec)))) { in lowerTileZero()
H A DX86ISelLowering.cpp45509 if (sd_match(LHS, m_OneUse(m_BitCast(m_SpecificVT(DstVT)))) || in combineCastedMaskArithmetic()
45510 sd_match(RHS, m_OneUse(m_BitCast(m_SpecificVT(DstVT))))) in combineCastedMaskArithmetic()
59868 if (sd_match(Src, m_AnyExt(m_BitCast( in combineSCALAR_TO_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp420 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
421 m_LShr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
2455 if (match(BO->getOperand(0), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic()
2456 match(BO->getOperand(1), m_OneUse(m_BitCast(m_Value(Y))))) { in foldBitCastBitwiseLogic()
2479 if (match(BO->getOperand(0), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic()
2486 if (match(BO->getOperand(1), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic()
2534 if (match(TVal, m_OneUse(m_BitCast(m_Value(X)))) && X->getType() == DestTy && in foldBitCastSelect()
2541 if (match(FVal, m_OneUse(m_BitCast(m_Value(X)))) && X->getType() == DestTy && in foldBitCastSelect()
2813 if (match(Src, m_OneUse(m_InsertElt(m_OneUse(m_BitCast(m_Value(X))), in visitBitCast()
H A DInstCombineVectorOps.cpp186 if (!match(Ext.getVectorOperand(), m_BitCast(m_Value(X))) || in foldBitcastExtElt()
1715 match(ScalarOp, m_OneUse(m_BitCast(m_Value(ScalarSrc)))) && in visitInsertElementInst()
1731 if (match(VecOp, m_BitCast(m_Value(VecSrc))) && in visitInsertElementInst()
1732 match(ScalarOp, m_BitCast(m_Value(ScalarSrc))) && in visitInsertElementInst()
2469 if (!match(Shuf.getOperand(0), m_BitCast(m_Value(X))) || in foldTruncShuffle()
2644 if (match(Op0, m_BitCast(m_InsertElt(m_Value(), m_Value(X), m_Zero()))) && in foldIdentityExtractShuffle()
2900 if (match(LHS, m_BitCast(m_Value(X))) && match(RHS, m_BitCast(m_Value(Y))) && in visitShuffleVectorInst()
2918 if (match(LHS, m_BitCast(m_Value(X))) && match(RHS, m_Undef()) && in visitShuffleVectorInst()
H A DInstCombineSelect.cpp2389 if (!match(A, m_BitCast(m_Value(C))) || !match(B, m_BitCast(m_Value(D)))) in foldSelectCmpBitcasts()
2394 if (!match(TVal, m_BitCast(m_Value(TSrc))) || in foldSelectCmpBitcasts()
2395 !match(FVal, m_BitCast(m_Value(FSrc)))) in foldSelectCmpBitcasts()
H A DInstructionCombining.cpp5040 else if (match(U, m_BitCast(m_Specific(V))) && isUsedWithinShuffleVector(U)) in isUsedWithinShuffleVector()
H A DInstCombineAndOrXor.cpp4823 …if (match(NotOp, m_OneUse(m_BitCast(m_OneUse(m_SExt(m_Value(X)))))) && X->getType()->isIntOrIntVec… in foldNot()
H A DInstCombineCompares.cpp7446 m_OneUse(m_BitCast(m_OneUse( in foldReductionIdiom()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp815 if (!match(&I, m_BitwiseLogic(m_BitCast(m_Value(LHSSrc)), in foldBitOpOfBitcasts()
816 m_BitCast(m_Value(RHSSrc))))) in foldBitOpOfBitcasts()
878 if (!match(&I, m_BitCast(m_OneUse( in foldBitcastShuffle()
1871 if (!match(X, m_OneUse(m_ZExt(m_OneUse(m_BitCast(m_Value(SrcX)))))) && in foldConcatOfBoolMasks()
1873 m_Shl(m_OneUse(m_ZExt(m_OneUse(m_BitCast(m_Value(SrcX))))), in foldConcatOfBoolMasks()
1879 if (!match(Y, m_OneUse(m_ZExt(m_OneUse(m_BitCast(m_Value(SrcY)))))) && in foldConcatOfBoolMasks()
1881 m_Shl(m_OneUse(m_ZExt(m_OneUse(m_BitCast(m_Value(SrcY))))), in foldConcatOfBoolMasks()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSDPatternMatch.h974 template <typename Opnd> inline UnaryOpc_match<Opnd> m_BitCast(const Opnd &Op) {
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h2070 m_BitCast(const OpTy &Op) { in m_BitCast() function
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp3248 if (!sd_match(N, m_BitCast(m_c_SetCC(m_Value(Concat), m_Value(SetCCVector), in performBitcastCombine()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp16396 if (sd_match(Op, m_BitCast(m_SpecificVT(VT)))) in foldBitcastedFPLogic()