Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp712 if (IsFreeToInvert(V, !V->hasNUsesOrMore(3))) { in FoldSPFofSPF()
1115 if (IsFreeToInvert(LHS, LHS->hasNUses(2)) && in visitSelectInst()
1116 IsFreeToInvert(RHS, RHS->hasNUses(2))) { in visitSelectInst()
DInstCombineInternal.h78 static inline bool IsFreeToInvert(Value *V, bool WillInvertAllUses) { in IsFreeToInvert() function
DInstCombineAndOrXor.cpp30 if (!IsFreeToInvert(Operand, Operand->hasOneUse())) in dyn_castNotVal()
2658 if (IsFreeToInvert(Op0I->getOperand(0), in visitXor()
2660 IsFreeToInvert(Op0I->getOperand(1), in visitXor()