Home
last modified time | relevance | path

Searched refs:CCCode (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp613 ISD::CondCode &CCCode, DebugLoc dl) { in SoftenSetCCOperands() argument
622 switch (CCCode) { in SoftenSetCCOperands()
655 switch (CCCode) { in SoftenSetCCOperands()
684 CCCode = TLI.getCmpLibcallCC(LC1); in SoftenSetCCOperands()
687 NewLHS, NewRHS, DAG.getCondCode(CCCode)); in SoftenSetCCOperands()
714 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(1))->get(); in SoftenFloatOp_BR_CC() local
715 SoftenSetCCOperands(NewLHS, NewRHS, CCCode, N->getDebugLoc()); in SoftenFloatOp_BR_CC()
721 CCCode = ISD::SETNE; in SoftenFloatOp_BR_CC()
726 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
756 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(4))->get(); in SoftenFloatOp_SELECT_CC() local
[all …]
DLegalizeIntegerTypes.cpp809 ISD::CondCode CCCode) { in PromoteSetCCOperands() argument
813 switch (CCCode) { in PromoteSetCCOperands()
2470 ISD::CondCode &CCCode, in IntegerExpandSetCCOperands() argument
2476 if (CCCode == ISD::SETEQ || CCCode == ISD::SETNE) { in IntegerExpandSetCCOperands()
2499 if ((CCCode == ISD::SETLT && CST->isNullValue()) || // X < 0 in IntegerExpandSetCCOperands()
2500 (CCCode == ISD::SETGT && CST->isAllOnesValue())) { // X > -1 in IntegerExpandSetCCOperands()
2508 switch (CCCode) { in IntegerExpandSetCCOperands()
2534 LHSHi, RHSHi, CCCode, false, DagCombineInfo, dl); in IntegerExpandSetCCOperands()
2538 LHSHi, RHSHi, DAG.getCondCode(CCCode)); in IntegerExpandSetCCOperands()
2544 (CCCode == ISD::SETLE || CCCode == ISD::SETGE || in IntegerExpandSetCCOperands()
[all …]
DLegalizeTypes.h362 ISD::CondCode &CCCode, DebugLoc dl);
435 ISD::CondCode &CCCode, DebugLoc dl);
491 ISD::CondCode &CCCode, DebugLoc dl);
DLegalizeDAG.cpp829 ISD::CondCode CCCode = in LegalizeOp() local
831 Action = TLI.getCondCodeAction(CCCode, OpVT); in LegalizeOp()
1985 ISD::CondCode CCCode = cast<CondCodeSDNode>(CC)->get(); in LegalizeSetCCCondCode() local
1986 switch (TLI.getCondCodeAction(CCCode, OpVT)) { in LegalizeSetCCCondCode()
1994 switch (CCCode) { in LegalizeSetCCCondCode()
3943 ISD::CondCode CCCode = in PromoteNode() local
3945 ExtOp = isSignedIntSetCC(CCCode) ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in PromoteNode()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp865 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(1))->get(); in SoftenFloatOp_BR_CC() local
870 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_BR_CC()
876 CCCode = ISD::SETNE; in SoftenFloatOp_BR_CC()
881 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
917 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(4))->get(); in SoftenFloatOp_SELECT_CC() local
922 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_SELECT_CC()
928 CCCode = ISD::SETNE; in SoftenFloatOp_SELECT_CC()
934 DAG.getCondCode(CCCode)), in SoftenFloatOp_SELECT_CC()
940 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(2))->get(); in SoftenFloatOp_SETCC() local
945 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_SETCC()
[all …]
DLegalizeIntegerTypes.cpp943 ISD::CondCode CCCode) { in PromoteSetCCOperands() argument
947 switch (CCCode) { in PromoteSetCCOperands()
2793 ISD::CondCode &CCCode, in IntegerExpandSetCCOperands() argument
2799 if (CCCode == ISD::SETEQ || CCCode == ISD::SETNE) { in IntegerExpandSetCCOperands()
2822 if ((CCCode == ISD::SETLT && CST->isNullValue()) || // X < 0 in IntegerExpandSetCCOperands()
2823 (CCCode == ISD::SETGT && CST->isAllOnesValue())) { // X > -1 in IntegerExpandSetCCOperands()
2831 switch (CCCode) { in IntegerExpandSetCCOperands()
2862 LHSHi, RHSHi, CCCode, false, DagCombineInfo, dl); in IntegerExpandSetCCOperands()
2866 LHSHi, RHSHi, DAG.getCondCode(CCCode)); in IntegerExpandSetCCOperands()
2872 (CCCode == ISD::SETLE || CCCode == ISD::SETGE || in IntegerExpandSetCCOperands()
[all …]
DLegalizeDAG.cpp989 ISD::CondCode CCCode = in LegalizeOp() local
991 Action = TLI.getCondCodeAction(CCCode, OpVT); in LegalizeOp()
1572 ISD::CondCode CCCode = cast<CondCodeSDNode>(CC)->get(); in LegalizeSetCCCondCode() local
1574 switch (TLI.getCondCodeAction(CCCode, OpVT)) { in LegalizeSetCCCondCode()
1580 ISD::CondCode InvCC = ISD::getSetCCSwappedOperands(CCCode); in LegalizeSetCCCondCode()
1588 switch (CCCode) { in LegalizeSetCCCondCode()
1616 CC2 = ((unsigned)CCCode & 0x8U) ? ISD::SETUO : ISD::SETO; in LegalizeSetCCCondCode()
1617 Opc = ((unsigned)CCCode & 0x8U) ? ISD::OR : ISD::AND; in LegalizeSetCCCondCode()
1618 CC1 = (ISD::CondCode)(((int)CCCode & 0x7) | 0x10); in LegalizeSetCCCondCode()
1632 InvCC = CCCode == ISD::SETEQ ? ISD::SETNE : ISD::SETEQ; in LegalizeSetCCCondCode()
[all …]
DTargetLowering.cpp152 ISD::CondCode &CCCode, in softenSetCCOperands() argument
160 switch (CCCode) { in softenSetCCOperands()
227 switch (CCCode) { in softenSetCCOperands()
259 CCCode = getCmpLibcallCC(LC1); in softenSetCCOperands()
261 CCCode = getSetCCInverse(CCCode, /*isInteger=*/true); in softenSetCCOperands()
267 NewLHS, NewRHS, DAG.getCondCode(CCCode)); in softenSetCCOperands()
DLegalizeTypes.h387 ISD::CondCode &CCCode, const SDLoc &dl);
541 ISD::CondCode &CCCode, const SDLoc &dl);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp880 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(1))->get(); in SoftenFloatOp_BR_CC() local
885 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_BR_CC()
891 CCCode = ISD::SETNE; in SoftenFloatOp_BR_CC()
896 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
971 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(4))->get(); in SoftenFloatOp_SELECT_CC() local
976 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_SELECT_CC()
982 CCCode = ISD::SETNE; in SoftenFloatOp_SELECT_CC()
988 DAG.getCondCode(CCCode)), in SoftenFloatOp_SELECT_CC()
994 ISD::CondCode CCCode = cast<CondCodeSDNode>(N->getOperand(2))->get(); in SoftenFloatOp_SETCC() local
999 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_SETCC()
[all …]
DLegalizeIntegerTypes.cpp983 ISD::CondCode CCCode) { in PromoteSetCCOperands() argument
987 switch (CCCode) { in PromoteSetCCOperands()
2952 ISD::CondCode &CCCode, in IntegerExpandSetCCOperands() argument
2958 if (CCCode == ISD::SETEQ || CCCode == ISD::SETNE) { in IntegerExpandSetCCOperands()
2981 if ((CCCode == ISD::SETLT && CST->isNullValue()) || // X < 0 in IntegerExpandSetCCOperands()
2982 (CCCode == ISD::SETGT && CST->isAllOnesValue())) { // X > -1 in IntegerExpandSetCCOperands()
2990 switch (CCCode) { in IntegerExpandSetCCOperands()
3021 RHSHi, CCCode, false, DagCombineInfo, dl); in IntegerExpandSetCCOperands()
3025 LHSHi, RHSHi, DAG.getCondCode(CCCode)); in IntegerExpandSetCCOperands()
3030 bool EqAllowed = (CCCode == ISD::SETLE || CCCode == ISD::SETGE || in IntegerExpandSetCCOperands()
[all …]
DLegalizeDAG.cpp1018 ISD::CondCode CCCode = in LegalizeOp() local
1020 Action = TLI.getCondCodeAction(CCCode, OpVT); in LegalizeOp()
1592 ISD::CondCode CCCode = cast<CondCodeSDNode>(CC)->get(); in LegalizeSetCCCondCode() local
1595 switch (TLI.getCondCodeAction(CCCode, OpVT)) { in LegalizeSetCCCondCode()
1601 ISD::CondCode InvCC = ISD::getSetCCSwappedOperands(CCCode); in LegalizeSetCCCondCode()
1608 InvCC = getSetCCInverse(CCCode, OpVT.isInteger()); in LegalizeSetCCCondCode()
1625 switch (CCCode) { in LegalizeSetCCCondCode()
1651 CC2 = ((unsigned)CCCode & 0x8U) ? ISD::SETUO : ISD::SETO; in LegalizeSetCCCondCode()
1652 Opc = ((unsigned)CCCode & 0x8U) ? ISD::OR : ISD::AND; in LegalizeSetCCCondCode()
1653 CC1 = (ISD::CondCode)(((int)CCCode & 0x7) | 0x10); in LegalizeSetCCCondCode()
[all …]
DLegalizeTypes.h440 ISD::CondCode &CCCode, const SDLoc &dl);
593 ISD::CondCode &CCCode, const SDLoc &dl);
DTargetLowering.cpp157 ISD::CondCode &CCCode, in softenSetCCOperands() argument
165 switch (CCCode) { in softenSetCCOperands()
232 switch (CCCode) { in softenSetCCOperands()
264 CCCode = getCmpLibcallCC(LC1); in softenSetCCOperands()
266 CCCode = getSetCCInverse(CCCode, /*isInteger=*/true); in softenSetCCOperands()
272 NewLHS, NewRHS, DAG.getCondCode(CCCode)); in softenSetCCOperands()
/external/llvm/include/llvm/Target/
DTargetLowering.h2228 SDValue &NewRHS, ISD::CondCode &CCCode,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h2709 SDValue &NewRHS, ISD::CondCode &CCCode,