Searched refs:IsFreeToInvert (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 726 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()
|
D | InstCombineInternal.h | 78 static inline bool IsFreeToInvert(Value *V, bool WillInvertAllUses) { in IsFreeToInvert() function
|
D | InstCombineAndOrXor.cpp | 31 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/ |
D | InstCombineAndOrXor.cpp | 1150 !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()
|
D | InstCombineInternal.h | 139 static inline bool IsFreeToInvert(Value *V, bool WillInvertAllUses) { in IsFreeToInvert() function
|
D | InstCombineSelect.cpp | 1118 if (IsFreeToInvert(V, !V->hasNUsesOrMore(3))) { in foldSPFofSPF()
|