Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp183 if (!match(Ext.getVectorOperand(), m_BitCast(m_Value(X))) || in foldBitcastExtElt()
1614 match(ScalarOp, m_OneUse(m_BitCast(m_Value(ScalarSrc)))) && in visitInsertElementInst()
1629 if (match(VecOp, m_BitCast(m_Value(VecSrc))) && in visitInsertElementInst()
1630 match(ScalarOp, m_BitCast(m_Value(ScalarSrc))) && in visitInsertElementInst()
2342 if (!match(Shuf.getOperand(0), m_BitCast(m_Value(X))) || in foldTruncShuffle()
2501 if (match(Op0, m_BitCast(m_InsertElt(m_Value(), m_Value(X), m_Zero()))) && in foldIdentityExtractShuffle()
2751 if (match(LHS, m_BitCast(m_Value(X))) && match(RHS, m_BitCast(m_Value(Y))) && in visitShuffleVectorInst()
2770 if (match(LHS, m_BitCast(m_Value(X))) && match(RHS, m_Undef()) && in visitShuffleVectorInst()
H A DInstCombineCasts.cpp538 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
539 m_LShr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
2409 if (match(BO->getOperand(0), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic()
2410 match(BO->getOperand(1), m_OneUse(m_BitCast(m_Value(Y))))) { in foldBitCastBitwiseLogic()
2433 if (match(BO->getOperand(0), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic()
2440 if (match(BO->getOperand(1), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic()
2488 if (match(TVal, m_OneUse(m_BitCast(m_Value(X)))) && X->getType() == DestTy && in foldBitCastSelect()
2495 if (match(FVal, m_OneUse(m_BitCast(m_Value(X)))) && X->getType() == DestTy && in foldBitCastSelect()
2817 if (match(Src, m_OneUse(m_InsertElt(m_OneUse(m_BitCast(m_Value(X))), in visitBitCast()
H A DInstCombineLoadStoreAlloca.cpp561 if (!(match(Ptr, m_BitCast(m_Value(NewPtr))) && in combineLoadToNewType()
1378 if (!match(SI.getPointerOperand(), m_BitCast(m_Value()))) in removeBitcastsFromLoadStoreOnMinMax()
1382 if (!match(SI.getValueOperand(), m_Load(m_BitCast(m_Value(LoadAddr))))) in removeBitcastsFromLoadStoreOnMinMax()
H A DInstCombineSelect.cpp2150 if (!match(A, m_BitCast(m_Value(C))) || !match(B, m_BitCast(m_Value(D)))) in foldSelectCmpBitcasts()
2155 if (!match(TVal, m_BitCast(m_Value(TSrc))) || in foldSelectCmpBitcasts()
2156 !match(FVal, m_BitCast(m_Value(FSrc)))) in foldSelectCmpBitcasts()
2345 if (!match(Cond, m_OneUse(m_ICmp(Pred, m_BitCast(m_Value(X)), m_APInt(C)))) || in foldSelectToCopysign()
H A DInstCombineCompares.cpp6127 m_OneUse(m_BitCast(m_OneUse( in foldReductionIdiom()
6900 match(Op0, m_OneUse(m_BitCast(m_Value(X)))) && in visitFCmpInst()
H A DInstCombineAndOrXor.cpp3962 …if (match(NotOp, m_OneUse(m_BitCast(m_OneUse(m_SExt(m_Value(X)))))) && X->getType()->isIntOrIntVec… in foldNot()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp505 if (match(I, m_BitCast(m_Value(Vec)))) { in lowerTileDP()
549 if (match(I, m_BitCast(m_Value(Vec)))) { in lowerTileLoadStore()
567 if (match(I, m_BitCast(m_Value(Vec)))) { in lowerTileZero()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DAssumptionCache.cpp72 if (match(I, m_BitCast(m_Value(Op))) || in findAffectedValues()
H A DInstructionSimplify.cpp3039 if (match(LHS, m_BitCast(m_UIToFP(m_Value(X))))) { in simplifyICmpWithConstant()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp686 if (!match(&I, m_BitCast( in foldBitcastShuf()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DPatternMatch.h1593 inline CastClass_match<OpTy, Instruction::BitCast> m_BitCast(const OpTy &Op) { in m_BitCast() function