Home
last modified time | relevance | path

Searched refs:SETCC (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrCMovSetCC.td81 multiclass SETCC<bits<8> opc, string Mnemonic, PatLeaf OpNode> {
94 defm SETO : SETCC<0x90, "seto", X86_COND_O>; // is overflow bit set
96 defm SETB : SETCC<0x92, "setb", X86_COND_B>; // unsigned less than
98 defm SETE : SETCC<0x94, "sete", X86_COND_E>; // equal to
99 defm SETNE : SETCC<0x95, "setne", X86_COND_NE>; // not equal to
101 defm SETA : SETCC<0x97, "seta", X86_COND_A>; // unsigned greater than
102 defm SETS : SETCC<0x98, "sets", X86_COND_S>; // is signed bit set
103 defm SETNS : SETCC<0x99, "setns", X86_COND_NS>; // is not signed
104 defm SETP : SETCC<0x9A, "setp", X86_COND_P>; // is parity bit set
106 defm SETL : SETCC<0x9C, "setl", X86_COND_L>; // signed less than
[all …]
H A DX86TargetTransformInfo.cpp1655 { ISD::SETCC, MVT::v2i64, 8 }, in getCmpSelInstrCost()
1656 { ISD::SETCC, MVT::v4i32, 1 }, in getCmpSelInstrCost()
1657 { ISD::SETCC, MVT::v8i16, 1 }, in getCmpSelInstrCost()
1658 { ISD::SETCC, MVT::v16i8, 1 }, in getCmpSelInstrCost()
1662 { ISD::SETCC, MVT::v2f64, 1 }, in getCmpSelInstrCost()
1663 { ISD::SETCC, MVT::v4f32, 1 }, in getCmpSelInstrCost()
1664 { ISD::SETCC, MVT::v2i64, 1 }, in getCmpSelInstrCost()
1668 { ISD::SETCC, MVT::v4f64, 1 }, in getCmpSelInstrCost()
1669 { ISD::SETCC, MVT::v8f32, 1 }, in getCmpSelInstrCost()
1671 { ISD::SETCC, MVT::v4i64, 4 }, in getCmpSelInstrCost()
[all …]
H A DX86ISelLowering.cpp1886 setTargetDAGCombine(ISD::SETCC); in X86TargetLowering()
5468 case ISD::SETCC: in isMaskedZeroUpperBitsvXi1()
20118 if (CondOpcode == X86ISD::SETCC || in LowerSELECT()
20797 if (CondOpcode == X86ISD::SETCC || in LowerBRCOND()
26397 case ISD::SETCC: { in ReplaceNodeResults()
30092 case X86ISD::SETCC: in computeKnownBitsForTargetNode()
33323 if (SetCC.getOpcode() != ISD::SETCC) in detectZextAbsDiff()
34634 case X86ISD::SETCC: in checkBoolTestSetCCCombine()
39379 if (N0.getOpcode() == ISD::SETCC) in combineToExtendVectorInReg()
40213 case X86ISD::SETCC: in needCarryOrOverflowFlag()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.h42 SETCC, enumerator
H A DLanaiISelLowering.cpp89 setOperationAction(ISD::SETCC, MVT::i32, Custom); in LanaiTargetLowering()
193 case ISD::SETCC: in LowerOperation()
980 return DAG.getNode(LanaiISD::SETCC, DL, Op.getValueType(), TargetCC, Flag); in LowerSETCC()
1104 case LanaiISD::SETCC: in getTargetNodeName()
1495 case LanaiISD::SETCC: in computeKnownBitsForTargetNode()
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h55 SETCC, enumerator
H A DMSP430ISelLowering.cpp89 setOperationAction(ISD::SETCC, MVT::i8, Custom); in MSP430TargetLowering()
90 setOperationAction(ISD::SETCC, MVT::i16, Custom); in MSP430TargetLowering()
344 case ISD::SETCC: return LowerSETCC(Op, DAG); in LowerOperation()
1367 case MSP430ISD::SETCC: return "MSP430ISD::SETCC"; in getTargetNodeName()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp64 case ISD::SETCC: R = ScalarizeVecRes_SETCC(N); break; in ScalarizeVectorResult()
411 if (Cond->getOpcode() == ISD::SETCC) { in ScalarizeVecRes_VSELECT()
504 SDValue Res = DAG.getNode(ISD::SETCC, DL, MVT::i1, LHS, RHS, in ScalarizeVecRes_SETCC()
555 case ISD::SETCC: in ScalarizeVectorOperand()
651 SDValue Res = DAG.getNode(ISD::SETCC, DL, MVT::i1, LHS, RHS, in ScalarizeVecOp_VSETCC()
745 case ISD::SETCC: in SplitVectorResult()
3387 return (N.getOpcode() == ISD::SETCC || in isSETCCorConvertedSETCC()
3481 if (Cond.getOpcode() == ISD::SETCC) { in WidenVSELECTAndMask()
3513 if (Cond->getOpcode() == ISD::SETCC) { in WidenVSELECTAndMask()
3664 return DAG.getNode(ISD::SETCC, SDLoc(N), in WidenVecRes_SETCC()
[all …]
H A DDAGCombiner.cpp856 if (N.getOpcode() == ISD::SETCC) { in isSetCCEquivalent()
6177 case ISD::SETCC: in visitXOR()
7476 if (N0.getOpcode() == ISD::SETCC) { in visitSELECT()
7614 if (Mask.getOpcode() != ISD::SETCC) in visitMSCATTER()
7743 if (Mask.getOpcode() != ISD::SETCC) in visitMGATHER()
7956 if (N0.getOpcode() == ISD::SETCC) { in visitVSELECT()
8728 if (N0.getOpcode() == ISD::SETCC) { in visitSIGN_EXTEND()
8822 if (N.getOpcode() != ISD::SETCC || in isTruncateOf()
9016 if (N0.getOpcode() == ISD::SETCC) { in visitZERO_EXTEND()
12488 if (Op0.getOpcode() != ISD::SETCC && Op1.getOpcode() != ISD::SETCC) { in rebuildSetCC()
[all …]
H A DLegalizeVectorOps.cpp376 case ISD::SETCC: in LegalizeOp()
758 case ISD::SETCC: in Expand()
1283 Ops[i] = DAG.getNode(ISD::SETCC, dl, in UnrollVSETCC()
H A DLegalizeDAG.cpp1011 case ISD::SETCC: in LegalizeOp()
1014 Node->getOpcode() == ISD::SETCC ? 2 : 1; in LegalizeOp()
3481 if (Tmp1.getOpcode() == ISD::SETCC) { in ExpandNode()
3539 if (Tmp2.getOpcode() == ISD::SETCC) { in ExpandNode()
3561 case ISD::SETCC: { in ExpandNode()
3572 Tmp1 = DAG.getNode(ISD::SETCC, dl, Node->getValueType(0), in ExpandNode()
3622 SDValue Cond = DAG.getNode(ISD::SETCC, dl, CCVT, Tmp1, Tmp2, CC); in ExpandNode()
4106 Node->getOpcode() == ISD::SETCC || in PromoteNode()
4297 case ISD::SETCC: { in PromoteNode()
4306 Results.push_back(DAG.getNode(ISD::SETCC, dl, Node->getValueType(0), in PromoteNode()
H A DTargetLowering.cpp272 ISD::SETCC, dl, in softenSetCCOperands()
278 ISD::SETCC, dl, in softenSetCCOperands()
802 case ISD::SETCC: { in SimplifyDemandedBits()
2326 if (isTypeDesirableForOp(ISD::SETCC, MinVT)) { in SimplifySetCC()
2349 TopSetCC.getOpcode() == ISD::SETCC && in SimplifySetCC()
2470 (isOperationLegal(ISD::SETCC, newVT) && in SimplifySetCC()
2518 if (N0.getOpcode() == ISD::SETCC && in SimplifySetCC()
2569 Op0.getOperand(0).getOpcode() == ISD::SETCC && in SimplifySetCC()
2570 Op0.getOperand(1).getOpcode() == ISD::SETCC) { in SimplifySetCC()
5255 assert((Op->getOpcode() == ISD::SETCC) && "Input has to be a SETCC node."); in lowerCmpEqZeroToCtlzSrl()
H A DSelectionDAGDumper.cpp267 case ISD::SETCC: return "setcc"; in getOperationName()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h443 SETCC, enumerator
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp107 setOperationAction(ISD::SETCC, MVT::i8, Custom); in AVRTargetLowering()
108 setOperationAction(ISD::SETCC, MVT::i16, Custom); in AVRTargetLowering()
109 setOperationAction(ISD::SETCC, MVT::i32, Custom); in AVRTargetLowering()
110 setOperationAction(ISD::SETCC, MVT::i64, Custom); in AVRTargetLowering()
702 case ISD::SETCC: in LowerOperation()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp105 setTargetDAGCombine(ISD::SETCC); in MipsSETargetLowering()
128 setOperationAction(ISD::SETCC, MVT::f16, Promote); in MipsSETargetLowering()
242 setOperationAction(ISD::SETCC, MVT::i32, Legal); in MipsSETargetLowering()
246 setOperationAction(ISD::SETCC, MVT::f32, Legal); in MipsSETargetLowering()
251 setOperationAction(ISD::SETCC, MVT::f64, Legal); in MipsSETargetLowering()
289 setOperationAction(ISD::SETCC, MVT::i64, Legal); in MipsSETargetLowering()
356 setOperationAction(ISD::SETCC, Ty, Legal); in addMSAIntType()
393 setOperationAction(ISD::SETCC, Ty, Legal); in addMSAFloatType()
1042 case ISD::SETCC: in PerformDAGCombine()
H A DMipsISelLowering.cpp349 AddPromotedToType(ISD::SETCC, MVT::i1, MVT::i32); in MipsTargetLowering()
361 setOperationAction(ISD::SETCC, MVT::f32, Custom); in MipsTargetLowering()
362 setOperationAction(ISD::SETCC, MVT::f64, Custom); in MipsTargetLowering()
644 if (Op.getOpcode() != ISD::SETCC) in createFPCmp()
682 if ((SetCC.getOpcode() != ISD::SETCC) || in performSELECTCombine()
1218 case ISD::SETCC: return lowerSETCC(Op, DAG); in LowerOperation()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp143 setOperationAction(ISD::SETCC, MVT::v4i32, Expand); in R600TargetLowering()
144 setOperationAction(ISD::SETCC, MVT::v2i32, Expand); in R600TargetLowering()
160 setOperationAction(ISD::SETCC, MVT::i32, Expand); in R600TargetLowering()
161 setOperationAction(ISD::SETCC, MVT::f32, Expand); in R600TargetLowering()
884 ISD::SETCC, in lowerFP_TO_UINT()
894 ISD::SETCC, in lowerFP_TO_SINT()
H A DAMDGPUISelLowering.h351 SETCC, enumerator
H A DAMDGPUInstrInfo.td218 def AMDGPUsetcc : SDNode<"AMDGPUISD::SETCC", AMDGPUSetCCOp>;
H A DSIISelLowering.cpp193 setOperationAction(ISD::SETCC, MVT::i1, Promote); in SITargetLowering()
194 setOperationAction(ISD::SETCC, MVT::v2i1, Expand); in SITargetLowering()
195 setOperationAction(ISD::SETCC, MVT::v4i1, Expand); in SITargetLowering()
196 AddPromotedToType(ISD::SETCC, MVT::i1, MVT::i32); in SITargetLowering()
673 setTargetDAGCombine(ISD::SETCC); in SITargetLowering()
1273 if (VT == MVT::i1 && Op == ISD::SETCC) in isTypeDesirableForOp()
3805 return DAG.getNode(AMDGPUISD::SETCC, SL, VT, Src0, in lowerFCMPIntrinsic()
4020 if (Intr->getOpcode() == ISD::SETCC) { in LowerBRCOND()
7189 case ISD::SETCC: in isBoolSGPR()
7328 if (LHS.getOpcode() == ISD::SETCC && RHS.getOpcode() == ISD::SETCC) { in performAndCombine()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp157 setOperationAction(ISD::SETCC, T, Custom); in initializeHVXLowering()
179 setOperationAction(ISD::SETCC, BoolW, Custom); in initializeHVXLowering()
1543 case ISD::SETCC: in LowerHvxOperation()
1571 case ISD::SETCC: in LowerHvxOperation()
H A DHexagonISelLowering.cpp1309 setOperationAction(ISD::SETCC, MVT::i8, Custom); in HexagonTargetLowering()
1310 setOperationAction(ISD::SETCC, MVT::i16, Custom); in HexagonTargetLowering()
1311 setOperationAction(ISD::SETCC, MVT::v4i8, Custom); in HexagonTargetLowering()
1312 setOperationAction(ISD::SETCC, MVT::v2i16, Custom); in HexagonTargetLowering()
1507 setOperationAction(ISD::SETCC, MVT::v2i16, Custom); in HexagonTargetLowering()
2789 case ISD::SETCC: return LowerSETCC(Op, DAG); in LowerOperation()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp167 setOperationAction(ISD::SETCC, MVT::i32, Custom); in AArch64TargetLowering()
168 setOperationAction(ISD::SETCC, MVT::i64, Custom); in AArch64TargetLowering()
169 setOperationAction(ISD::SETCC, MVT::f16, Custom); in AArch64TargetLowering()
170 setOperationAction(ISD::SETCC, MVT::f32, Custom); in AArch64TargetLowering()
788 setOperationAction(ISD::SETCC, VT, Custom); in addTypeForNEON()
1651 if (Opcode == ISD::SETCC) { in canEmitConjunction()
1712 if (Opcode == ISD::SETCC) { in emitConjunctionRec()
2854 case ISD::SETCC: in LowerOperation()
4943 if (CCVal.getOpcode() == ISD::SETCC) { in LowerSELECT()
9672 if (Op.getOpcode() == ISD::SETCC) { in isSetCC()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1496 case ICmp: return ISD::SETCC; in InstructionOpcodeToISD()
1497 case FCmp: return ISD::SETCC; in InstructionOpcodeToISD()

12