Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPatternMatch.cpp482 match(VI1, m_InsertElement(m_Undef(), m_ConstantInt(), m_ConstantInt()))); in TEST_F()
484 match(VI1, m_InsertElement(m_Undef(), m_ConstantInt(), m_Zero()))); in TEST_F()
486 match(VI1, m_InsertElement(m_Undef(), m_SpecificInt(1), m_Zero()))); in TEST_F()
509 EXPECT_TRUE(match(SI1, m_ShuffleVector(m_Value(), m_Undef(), m_Zero()))); in TEST_F()
519 m_ShuffleVector(m_InsertElement(m_Undef(), m_SpecificInt(1), m_Zero()), in TEST_F()
520 m_Undef(), m_Zero()))); in TEST_F()
522 SI3, m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_Zero()), in TEST_F()
523 m_Undef(), m_Zero()))); in TEST_F()
525 SI4, m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_Zero()), in TEST_F()
526 m_Undef(), m_Zero()))); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp557 if (match(Op1, m_Undef())) in SimplifyAddInst()
623 if (match(Op0, m_Undef()) || match(Op1, m_Undef())) in SimplifySubInst()
746 if (match(Op1, m_Undef())) in SimplifyMulInst()
818 if (match(Op1, m_Undef())) in SimplifyDiv()
822 if (match(Op0, m_Undef())) in SimplifyDiv()
909 if (match(Op0, m_Undef())) in SimplifyFDivInst()
913 if (match(Op1, m_Undef())) in SimplifyFDivInst()
937 if (match(Op1, m_Undef())) in SimplifyRem()
941 if (match(Op0, m_Undef())) in SimplifyRem()
1012 if (match(Op0, m_Undef())) in SimplifyFRemInst()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp540 if (match(Op1, m_Undef())) in SimplifyAddInst()
671 if (match(Op0, m_Undef()) || match(Op1, m_Undef())) in SimplifySubInst()
896 if (match(Op1, m_Undef())) in SimplifyMulInst()
991 if (match(Op1, m_Undef())) in SimplifyDiv()
999 if (match(Op0, m_Undef())) in SimplifyDiv()
1102 if (match(Op0, m_Undef())) in SimplifyFDivInst()
1106 if (match(Op1, m_Undef())) in SimplifyFDivInst()
1151 if (match(Op1, m_Undef())) in SimplifyRem()
1155 if (match(Op0, m_Undef())) in SimplifyRem()
1239 if (match(Op0, m_Undef())) in SimplifyFRemInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp578 if (match(Op1, m_Undef())) in SimplifyAddInst()
720 if (match(Op0, m_Undef()) || match(Op1, m_Undef())) in SimplifySubInst()
855 if (match(Op1, m_CombineOr(m_Undef(), m_Zero()))) in SimplifyMulInst()
911 if (match(Op1, m_Undef())) in simplifyDivRem()
934 if (match(Op0, m_Undef())) in simplifyDivRem()
1271 if (match(Op0, m_Undef())) in SimplifyRightShift()
1293 if (match(Op0, m_Undef())) in SimplifyShlInst()
1777 if (match(Op1, m_Undef())) in SimplifyAndInst()
1917 if (match(Op1, m_Undef()) || match(Op1, m_AllOnes())) in SimplifyOrInst()
2051 if (match(Op1, m_Undef())) in SimplifyXorInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1379 if (match(LHS, m_ShuffleVector(m_Value(V1), m_Undef(), m_Constant(Mask))) && in foldShuffledBinop()
1380 match(RHS, m_ShuffleVector(m_Value(V2), m_Undef(), m_Specific(Mask))) && in foldShuffledBinop()
1394 m_OneUse(m_ShuffleVector(m_Value(V1), m_Undef(), m_Constant(Mask))), in foldShuffledBinop()
DInstCombineCompares.cpp2478 m_ShuffleVector(m_Value(Vec), m_Undef(), m_Constant(Mask)))) { in foldICmpBitCastConstant()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h73 inline class_match<UndefValue> m_Undef() { return class_match<UndefValue>(); } in m_Undef() function
/external/llvm/include/llvm/IR/
DPatternMatch.h80 inline class_match<UndefValue> m_Undef() { return class_match<UndefValue>(); } in m_Undef() function
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1383 if (match(II->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h88 inline class_match<UndefValue> m_Undef() { return class_match<UndefValue>(); } in m_Undef() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp967 if (match(C2, m_Undef())) in ConstantFoldBinaryInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp2030 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
/external/llvm/lib/IR/
DConstantFold.cpp963 if (match(C2, m_Undef())) in ConstantFoldBinaryInstruction()