Home
last modified time | relevance | path

Searched refs:PatternMatch (Results 1 – 25 of 119) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h140 if (isa<CastInst>(V) || match(V, m_Neg(PatternMatch::m_Value())) || in getComplexity()
141 match(V, m_Not(PatternMatch::m_Value())) || in getComplexity()
142 match(V, m_FNeg(PatternMatch::m_Value()))) in getComplexity()
234 return match(&SI, PatternMatch::m_LogicalAnd(PatternMatch::m_Value(), in shouldAvoidAbsorbingNotIntoSelect()
235 PatternMatch::m_Value())) || in shouldAvoidAbsorbingNotIntoSelect()
236 match(&SI, PatternMatch::m_LogicalOr(PatternMatch::m_Value(), in shouldAvoidAbsorbingNotIntoSelect()
237 PatternMatch::m_Value())); in shouldAvoidAbsorbingNotIntoSelect()
305 if (!match(I, m_Not(PatternMatch::m_Value()))) in canFreelyInvertAllUsersOf()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp26 using namespace llvm::PatternMatch;
340 if (match(Op0, PatternMatch::m_FiniteNonZero()) || in canSimplifyLegacyMulToMul()
341 match(Op1, PatternMatch::m_FiniteNonZero())) { in canSimplifyLegacyMulToMul()
901 ((match(Src1, PatternMatch::m_One()) && in instCombineIntrinsic()
926 if (match(Src1, PatternMatch::m_Zero()) && in instCombineIntrinsic()
927 match(Src0, PatternMatch::m_ZExtOrSExt( in instCombineIntrinsic()
1085 PatternMatch::m_Value(), in instCombineIntrinsic()
1100 if (match(Op0, PatternMatch::m_AnyZeroFP()) || in instCombineIntrinsic()
1101 match(Op1, PatternMatch::m_AnyZeroFP())) in instCombineIntrinsic()
1121 if (match(Op0, PatternMatch::m_AnyZeroFP()) || in instCombineIntrinsic()
[all …]
H A DAMDGPULowerKernelAttributes.cpp221 using namespace llvm::PatternMatch; in processUse()
271 using namespace llvm::PatternMatch; in processUse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerWidenableCondition.cpp34 using namespace llvm::PatternMatch; in lowerWidenableCondition()
H A DLoopDeletion.cpp148 using namespace PatternMatch; in isLoopNeverExecuted()
329 using namespace PatternMatch; in canProveExitOnFirstIteration()
H A DLowerConstantIntrinsics.cpp38 using namespace llvm::PatternMatch;
H A DGuardWidening.cpp505 using namespace PatternMatch; in computeWideningScore()
719 using namespace llvm::PatternMatch; in mergeChecks()
803 using namespace llvm::PatternMatch; in parseRangeChecks()
H A DLICM.cpp944 using namespace PatternMatch; in hoistRegion()
1211 using namespace PatternMatch; in canSinkOrHoistInst()
2400 using namespace PatternMatch; in hoistMinMax()
2531 using namespace PatternMatch; in hoistAdd()
2578 using namespace PatternMatch; in hoistSub()
2633 using namespace PatternMatch; in hoistAddSub()
2673 using namespace PatternMatch; in hoistFPAssociation()
H A DDivRemPairs.cpp29 using namespace llvm::PatternMatch;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DOverflowInstAnalysis.cpp19 using namespace llvm::PatternMatch;
H A DDomConditionCache.cpp13 using namespace llvm::PatternMatch;
H A DInstructionPrecedenceTracking.cpp149 using namespace PatternMatch; in isSpecialInstruction()
H A DCmpInstAnalysis.cpp79 using namespace PatternMatch; in decomposeBitTestICmp()
H A DGuardUtils.cpp16 using namespace llvm::PatternMatch;
H A DAliasSetTracker.cpp136 using namespace PatternMatch; in addUnknownInst()
407 using namespace PatternMatch; in add()
H A DAssumeBundleQueries.cpp22 using namespace llvm::PatternMatch;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp402 using namespace PatternMatch; in lowerGather()
456 using namespace PatternMatch; in tryCreateMaskedGatherBase()
476 using namespace PatternMatch; in tryCreateMaskedGatherBaseWB()
497 using namespace PatternMatch; in tryCreateMaskedGatherOffset()
579 using namespace PatternMatch; in lowerScatter()
618 using namespace PatternMatch; in tryCreateMaskedScatterBase()
642 using namespace PatternMatch; in tryCreateMaskedScatterBaseWB()
664 using namespace PatternMatch; in tryCreateMaskedScatterOffset()
H A DARMTargetTransformInfo.cpp123 using namespace PatternMatch; in instCombineIntrinsic()
169 if (match(Arg, PatternMatch::m_Intrinsic<Intrinsic::arm_mve_pred_v2i>( in instCombineIntrinsic()
170 PatternMatch::m_Value(ArgArg))) && in instCombineIntrinsic()
175 if (match(Arg, m_Xor(PatternMatch::m_Intrinsic<Intrinsic::arm_mve_pred_v2i>( in instCombineIntrinsic()
176 PatternMatch::m_Value(ArgArg)), in instCombineIntrinsic()
177 PatternMatch::m_Constant(XorMask))) && in instCombineIntrinsic()
198 if (match(Arg, PatternMatch::m_Intrinsic<Intrinsic::arm_mve_pred_i2v>( in instCombineIntrinsic()
199 PatternMatch::m_Value(ArgArg)))) { in instCombineIntrinsic()
349 PatternMatch::match(RHS, PatternMatch::m_ConstantInt(C)) && in isSSATMinMaxPattern()
359 PatternMatch::match(MinRHS, PatternMatch::m_ConstantInt(MinC)) && in isSSATMinMaxPattern()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp45 using namespace llvm::PatternMatch;
145 if (PatternMatch::match( in match()
169 if (PatternMatch::match(BO->getOperand(0), in getCondition()
172 if (PatternMatch::match(BO->getOperand(1), in getCondition()
204 if (PatternMatch::match(BO->getOperand(0), in getFalseValue()
207 if (PatternMatch::match(BO->getOperand(1), in getFalseValue()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSimplifyQuery.h113 using namespace PatternMatch; in isUndefValue() local
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp71 using namespace PatternMatch; in visitAnd()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp23 using namespace llvm::PatternMatch;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp97 using namespace PatternMatch; in INITIALIZE_PASS_DEPENDENCY()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp46 if (PatternMatch::match( in getBoolVecFromMask()
47 Mask, PatternMatch::m_SExt(PatternMatch::m_Value(ExtMask))) && in getBoolVecFromMask()
545 if (match(CarryIn, PatternMatch::m_ZeroInt())) { in simplifyX86addcarry()
589 bool AIsConst = match(ArgA, PatternMatch::m_ImmConstant()); in simplifyTernarylogic()
590 bool BIsConst = match(ArgB, PatternMatch::m_ImmConstant()); in simplifyTernarylogic()
591 bool CIsConst = match(ArgC, PatternMatch::m_ImmConstant()); in simplifyTernarylogic()
2699 if (match(Mask, PatternMatch::m_SExt(PatternMatch::m_Value(BoolVec))) && in instCombineIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp30 using namespace llvm::PatternMatch;

12345