Home
last modified time | relevance | path

Searched refs:IsFreeToInvert (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp726 if (IsFreeToInvert(V, !V->hasNUsesOrMore(3))) { in FoldSPFofSPF()
1150 if (IsFreeToInvert(LHS, LHS->hasNUses(2)) && in visitSelectInst()
1151 IsFreeToInvert(RHS, RHS->hasNUses(2))) { in visitSelectInst()
DInstCombineInternal.h78 static inline bool IsFreeToInvert(Value *V, bool WillInvertAllUses) { in IsFreeToInvert() function
DInstCombineAndOrXor.cpp31 if (!IsFreeToInvert(Operand, Operand->hasOneUse())) in dyn_castNotVal()
2517 if (IsFreeToInvert(Op0I->getOperand(0), in visitXor()
2519 IsFreeToInvert(Op0I->getOperand(1), in visitXor()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1150 !IsFreeToInvert(A, A->hasOneUse()) && in matchDeMorgansLaws()
1151 !IsFreeToInvert(B, B->hasOneUse())) { in matchDeMorgansLaws()
1564 if (Op1->hasOneUse() || IsFreeToInvert(C, C->hasOneUse())) in visitAnd()
1570 if (Op0->hasOneUse() || IsFreeToInvert(C, C->hasOneUse())) in visitAnd()
2518 if (IsFreeToInvert(NotVal->getOperand(0), in visitXor()
2520 IsFreeToInvert(NotVal->getOperand(1), in visitXor()
DInstCombineInternal.h139 static inline bool IsFreeToInvert(Value *V, bool WillInvertAllUses) { in IsFreeToInvert() function
DInstCombineSelect.cpp1118 if (IsFreeToInvert(V, !V->hasNUsesOrMore(3))) { in foldSPFofSPF()