Home
last modified time | relevance | path

Searched refs:NotVal (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp3140 BinaryOperator *NotVal; in visitXor() local
3141 if (match(&I, m_Not(m_BinOp(NotVal)))) { in visitXor()
3142 if (NotVal->getOpcode() == Instruction::And || in visitXor()
3143 NotVal->getOpcode() == Instruction::Or) { in visitXor()
3147 if (isFreeToInvert(NotVal->getOperand(0), in visitXor()
3148 NotVal->getOperand(0)->hasOneUse()) && in visitXor()
3149 isFreeToInvert(NotVal->getOperand(1), in visitXor()
3150 NotVal->getOperand(1)->hasOneUse())) { in visitXor()
3151 Value *NotX = Builder.CreateNot(NotVal->getOperand(0), "notlhs"); in visitXor()
3152 Value *NotY = Builder.CreateNot(NotVal->getOperand(1), "notrhs"); in visitXor()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp3025 BinaryOperator *NotVal; in visitXor() local
3026 if (match(&I, m_Not(m_BinOp(NotVal)))) { in visitXor()
3027 if (NotVal->getOpcode() == Instruction::And || in visitXor()
3028 NotVal->getOpcode() == Instruction::Or) { in visitXor()
3032 if (isFreeToInvert(NotVal->getOperand(0), in visitXor()
3033 NotVal->getOperand(0)->hasOneUse()) && in visitXor()
3034 isFreeToInvert(NotVal->getOperand(1), in visitXor()
3035 NotVal->getOperand(1)->hasOneUse())) { in visitXor()
3036 Value *NotX = Builder.CreateNot(NotVal->getOperand(0), "notlhs"); in visitXor()
3037 Value *NotY = Builder.CreateNot(NotVal->getOperand(1), "notrhs"); in visitXor()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVN.cpp1932 Constant *NotVal = ConstantInt::get(Cmp->getType(), isKnownFalse); in propagateEquality() local
1945 ? replaceDominatedUsesWith(NotCmp, NotVal, *DT, Root) in propagateEquality()
1946 : replaceDominatedUsesWith(NotCmp, NotVal, *DT, in propagateEquality()
1960 addToLeaderTable(Num, NotVal, Root.getEnd()); in propagateEquality()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp2012 Constant *NotVal = ConstantInt::get(Cmp->getType(), isKnownFalse); in propagateEquality() local
2025 ? replaceDominatedUsesWith(NotCmp, NotVal, *DT, Root) in propagateEquality()
2026 : replaceDominatedUsesWith(NotCmp, NotVal, *DT, in propagateEquality()
2037 addToLeaderTable(Num, NotVal, Root.getEnd()); in propagateEquality()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DGVN.cpp2112 Constant *NotVal = ConstantInt::get(Cmp->getType(), isKnownFalse); in propagateEquality() local
2125 ? replaceDominatedUsesWith(NotCmp, NotVal, *DT, Root) in propagateEquality()
2126 : replaceDominatedUsesWith(NotCmp, NotVal, *DT, in propagateEquality()
2140 addToLeaderTable(Num, NotVal, Root.getEnd()); in propagateEquality()