Home
last modified time | relevance | path

Searched refs:LHSCC (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp569 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmpsHelper() local
570 if (LHSCC != ICmpInst::ICMP_EQ && LHSCC != ICmpInst::ICMP_NE) return 0; in foldLogOpOfMaskedICmpsHelper()
636 unsigned left_type = getTypeOfMaskedICmp(A, B, C, LHSCC); in foldLogOpOfMaskedICmpsHelper()
719 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps() local
722 if (PredicatesFoldable(LHSCC, RHSCC)) { in FoldAndOfICmps()
745 if (LHSCst == RHSCst && LHSCC == RHSCC) { in FoldAndOfICmps()
748 if (LHSCC == ICmpInst::ICMP_ULT && in FoldAndOfICmps()
751 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps()
755 if (LHSCC == ICmpInst::ICMP_EQ && LHSCst->isZero()) { in FoldAndOfICmps()
757 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp581 ICmpInst::Predicate &LHSCC, in foldLogOpOfMaskedICmpsHelper() argument
597 if (decomposeBitTestICmp(LHS, LHSCC, L11, L12, L2)) { in foldLogOpOfMaskedICmpsHelper()
621 if (!ICmpInst::isEquality(LHSCC)) in foldLogOpOfMaskedICmpsHelper()
684 unsigned LeftType = getTypeOfMaskedICmp(A, B, C, LHSCC); in foldLogOpOfMaskedICmpsHelper()
694 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps() local
696 LHSCC, RHSCC); in foldLogOpOfMaskedICmps()
698 assert(ICmpInst::isEquality(LHSCC) && ICmpInst::isEquality(RHSCC) && in foldLogOpOfMaskedICmps()
794 if (LHSCC != NewCC) in foldLogOpOfMaskedICmps()
869 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps() local
872 if (PredicatesFoldable(LHSCC, RHSCC)) { in FoldAndOfICmps()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1991 ISD::CondCode LHSCC = cast<CondCodeSDNode>(LHS.getOperand(4))->get(); in PerformDAGCombine() local
1992 LHSCC = ISD::getSetCCInverse(LHSCC, in PerformDAGCombine()
1995 isCondCodeLegal(LHSCC, LHS.getOperand(0).getSimpleValueType())) in PerformDAGCombine()
2001 LHSCC); in PerformDAGCombine()
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp2098 ISD::CondCode LHSCC = cast<CondCodeSDNode>(LHS.getOperand(4))->get(); in PerformDAGCombine() local
2099 LHSCC = ISD::getSetCCInverse(LHSCC, in PerformDAGCombine()
2102 isCondCodeLegal(LHSCC, LHS.getOperand(0).getSimpleValueType())) in PerformDAGCombine()
2108 LHSCC); in PerformDAGCombine()