Searched refs:m_BitCast (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 183 if (!match(Ext.getVectorOperand(), m_BitCast(m_Value(X))) || in foldBitcastExtElt() 1517 match(ScalarOp, m_OneUse(m_BitCast(m_Value(ScalarSrc)))) && in visitInsertElementInst() 1532 if (match(VecOp, m_BitCast(m_Value(VecSrc))) && in visitInsertElementInst() 1533 match(ScalarOp, m_BitCast(m_Value(ScalarSrc))) && in visitInsertElementInst() 2189 if (!match(Shuf.getOperand(0), m_BitCast(m_Value(X))) || in foldTruncShuffle() 2348 if (match(Op0, m_BitCast(m_InsertElt(m_Value(), m_Value(X), m_Zero()))) && in foldIdentityExtractShuffle() 2567 if (match(LHS, m_BitCast(m_Value(X))) && match(RHS, m_BitCast(m_Value(Y))) && in visitShuffleVectorInst() 2586 if (match(LHS, m_BitCast(m_Value(X))) && match(RHS, m_Undef()) && in visitShuffleVectorInst()
|
| H A D | InstCombineCasts.cpp | 509 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt() 510 m_LShr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt() 2410 if (match(BO->getOperand(0), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic() 2411 match(BO->getOperand(1), m_OneUse(m_BitCast(m_Value(Y))))) { in foldBitCastBitwiseLogic() 2434 if (match(BO->getOperand(0), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic() 2441 if (match(BO->getOperand(1), m_OneUse(m_BitCast(m_Value(X)))) && in foldBitCastBitwiseLogic() 2489 if (match(TVal, m_OneUse(m_BitCast(m_Value(X)))) && X->getType() == DestTy && in foldBitCastSelect() 2496 if (match(FVal, m_OneUse(m_BitCast(m_Value(X)))) && X->getType() == DestTy && in foldBitCastSelect() 2818 if (match(Src, m_OneUse(m_InsertElt(m_OneUse(m_BitCast(m_Value(X))), in visitBitCast()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 469 if (!(match(Ptr, m_BitCast(m_Value(NewPtr))) && in combineLoadToNewType() 1282 if (!match(SI.getPointerOperand(), m_BitCast(m_Value()))) in removeBitcastsFromLoadStoreOnMinMax() 1286 if (!match(SI.getValueOperand(), m_Load(m_BitCast(m_Value(LoadAddr))))) in removeBitcastsFromLoadStoreOnMinMax()
|
| H A D | InstCombineSelect.cpp | 2092 if (!match(A, m_BitCast(m_Value(C))) || !match(B, m_BitCast(m_Value(D)))) in foldSelectCmpBitcasts() 2097 if (!match(TVal, m_BitCast(m_Value(TSrc))) || in foldSelectCmpBitcasts() 2098 !match(FVal, m_BitCast(m_Value(FSrc)))) in foldSelectCmpBitcasts() 2287 if (!match(Cond, m_OneUse(m_ICmp(Pred, m_BitCast(m_Value(X)), m_APInt(C)))) || in foldSelectToCopysign()
|
| H A D | InstCombineCompares.cpp | 6097 m_OneUse(m_BitCast(m_OneUse( in foldReductionIdiom()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXIntrinsics.cpp | 505 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()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AssumptionCache.cpp | 72 if (match(I, m_BitCast(m_Value(Op))) || in findAffectedValues()
|
| H A D | InstructionSimplify.cpp | 2975 if (match(LHS, m_BitCast(m_UIToFP(m_Value(X))))) { in simplifyICmpWithConstant()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 542 if (!match(&I, m_BitCast( in foldBitcastShuf()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 1593 inline CastClass_match<OpTy, Instruction::BitCast> m_BitCast(const OpTy &Op) { in m_BitCast() function
|