Home
last modified time | relevance | path

Searched refs:m_APIntAllowUndef (Results 1 – 25 of 52) sorted by relevance

123

/dports/devel/ispc/ispc-1.16.1/llvm_patches/
H A D10_0_fix_for_1788.patch41 +inline apint_match m_APIntAllowUndef(const APInt *&Res) {
82 + return match(Cmp, m_APIntAllowUndef(C)) && C->isOneValue();
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/unittests/IR/
H A DPatternMatch.cpp1054 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1057 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1067 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1076 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1083 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/devel/llvm11/llvm-11.0.1.src/unittests/IR/
H A DPatternMatch.cpp1054 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1057 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1067 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1076 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1083 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/unittests/IR/
H A DPatternMatch.cpp1057 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1060 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1070 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1079 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1086 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/unittests/IR/
H A DPatternMatch.cpp1057 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1060 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1070 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1079 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1086 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/unittests/IR/
H A DPatternMatch.cpp1054 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1057 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1067 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1076 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1083 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/unittests/IR/
H A DPatternMatch.cpp1087 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1090 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1100 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1109 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1116 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/unittests/IR/
H A DPatternMatch.cpp1088 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1091 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1101 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1110 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1117 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/unittests/IR/
H A DPatternMatch.cpp1088 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1091 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1101 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1110 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1117 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/unittests/IR/
H A DPatternMatch.cpp1088 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1091 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1101 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1110 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1117 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/unittests/IR/
H A DPatternMatch.cpp1088 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C))); in TEST_F()
1091 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C))); in TEST_F()
1101 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C))); in TEST_F()
1110 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C))); in TEST_F()
1117 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C))); in TEST_F()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/unittests/IR/
H A DPatternMatch.cpp1088 EXPECT_FALSE(match(ScalarUndef, m_APIntAllowUndef(C)));
1091 EXPECT_FALSE(match(VectorUndef, m_APIntAllowUndef(C)));
1101 EXPECT_TRUE(match(ScalarZero, m_APIntAllowUndef(C)));
1110 EXPECT_TRUE(match(VectorZero, m_APIntAllowUndef(C)));
1117 EXPECT_TRUE(match(VectorZeroUndef, m_APIntAllowUndef(C)));
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2740 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
2762 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
2764 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3000 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
5352 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2811 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
2833 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
2835 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3093 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
5471 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2811 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
2833 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
2835 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3093 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
5471 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2800 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
2822 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
2824 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3082 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
5574 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Analysis/
H A DInstructionSimplify.cpp2800 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
2822 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
2824 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3082 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
5574 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2800 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
2822 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
2824 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3082 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
5574 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2826 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
2848 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
2850 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3108 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
5629 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2800 if (!match(RHS, m_APIntAllowUndef(C))) in simplifyICmpWithConstant()
2822 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
2824 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) && in simplifyICmpWithConstant()
3082 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) { in simplifyICmpWithBinOp()
5574 if (match(Op1, m_APIntAllowUndef(C))) { in simplifyBinaryIntrinsic()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2800 if (!match(RHS, m_APIntAllowUndef(C)))
2822 ((match(LHS, m_NUWMul(m_Value(), m_APIntAllowUndef(MulC))) &&
2824 (match(LHS, m_NSWMul(m_Value(), m_APIntAllowUndef(MulC))) &&
3082 match(RHS, m_APIntAllowUndef(C)) && !C->isPowerOf2()) {
5574 if (match(Op1, m_APIntAllowUndef(C))) {
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2071 if (match(L, m_APIntAllowUndef(LI)) && match(R, m_APIntAllowUndef(RI))) in matchFunnelShift()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2145 if (match(L, m_APIntAllowUndef(LI)) && match(R, m_APIntAllowUndef(RI))) in matchFunnelShift()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2145 if (match(L, m_APIntAllowUndef(LI)) && match(R, m_APIntAllowUndef(RI))) in matchFunnelShift()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2076 if (match(L, m_APIntAllowUndef(LI)) && match(R, m_APIntAllowUndef(RI))) in matchFunnelShift()

123