Home
last modified time | relevance | path

Searched refs:FNEG (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp608 setTargetDAGCombine(ISD::FNEG); in AMDGPUTargetLowering()
3622 (LHS.getOpcode() == ISD::FNEG && RHS.getOpcode() == ISD::FNEG)) { in foldFreeOpFromSelect()
3654 if (LHS.getOpcode() == ISD::FNEG) in foldFreeOpFromSelect()
3795 if (LHS.getOpcode() != ISD::FNEG) in performFNegCombine()
3800 if (RHS.getOpcode() != ISD::FNEG) in performFNegCombine()
3819 if (LHS.getOpcode() == ISD::FNEG) in performFNegCombine()
3821 else if (RHS.getOpcode() == ISD::FNEG) in performFNegCombine()
3844 if (LHS.getOpcode() == ISD::FNEG) in performFNegCombine()
3846 else if (MHS.getOpcode() == ISD::FNEG) in performFNegCombine()
3851 if (RHS.getOpcode() != ISD::FNEG) in performFNegCombine()
[all …]
H A DAMDGPUISelDAGToDAG.cpp2751 if (Src.getOpcode() == ISD::FNEG) { in SelectVOP3ModsImpl()
2793 if (In.getOpcode() == ISD::FABS || In.getOpcode() == ISD::FNEG) in SelectVOP3NoMods()
2836 if (Src.getOpcode() == ISD::FNEG) { in SelectVOP3PMods()
2847 if (Lo.getOpcode() == ISD::FNEG) { in SelectVOP3PMods()
2852 if (Hi.getOpcode() == ISD::FNEG) { in SelectVOP3PMods()
H A DR600Instructions.td700 class FNEG <RegisterClass rc> : AMDGPUShaderInst <
703 "FNEG $dst, $src0",
1220 def FNEG_R600 : FNEG<R600_Reg32>;
H A DSIISelLowering.cpp687 setOperationAction(ISD::FNEG, MVT::v2f16, Legal); in SITargetLowering()
772 setOperationAction(ISD::FNEG, MVT::v2f32, Legal); in SITargetLowering()
782 setOperationAction(ISD::FNEG, MVT::v4f16, Custom); in SITargetLowering()
795 setOperationAction(ISD::FNEG, MVT::v2f16, Custom); in SITargetLowering()
4588 case ISD::FNEG: in LowerOperation()
4939 case ISD::FNEG: { in ReplaceNodeResults()
8304 SDValue FNegRHS = DAG.getNode(ISD::FNEG, SL, VT, RHS); in lowerFastUnsafeFDIV()
8328 SDValue NegY = DAG.getNode(ISD::FNEG, SL, VT, Y); in lowerFastUnsafeFDIV64()
8480 SDValue NegDivScale0 = DAG.getNode(ISD::FNEG, SL, MVT::f32, in LowerFDIV32()
9533 case ISD::FNEG: in isCanonicalized()
[all …]
H A DAMDGPUTargetTransformInfo.cpp704 case ISD::FNEG: in getArithmeticInstrCost()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h866 FNEG, enumerator
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp12598 FPOpcode = ISD::FNEG; in foldBitcastedFPLogic()
12724 if (N0.getOpcode() == ISD::FNEG) { in visitBITCAST()
12743 if (N0.getOpcode() == ISD::FNEG) in visitBITCAST()
13333 DAG.getNode(ISD::FNEG, SL, VT, in visitFSUBForFMACombine()
13347 if (N00.getOpcode() == ISD::FNEG) { in visitFSUBForFMACombine()
13353 ISD::FNEG, SL, VT, in visitFSUBForFMACombine()
13368 if (N0.getOpcode() == ISD::FNEG) { in visitFSUBForFMACombine()
13376 ISD::FNEG, SL, VT, in visitFSUBForFMACombine()
13511 DAG.getNode(ISD::FNEG, SL, VT, in visitFSUBForFMACombine()
14028 return DAG.getNode(ISD::FNEG, DL, VT, in visitFMUL()
[all …]
H A DLegalizeVectorOps.cpp406 case ISD::FNEG: in LegalizeOp()
767 case ISD::FNEG: in Expand()
1348 if (TLI.isOperationLegalOrCustom(ISD::FNEG, VT) && in ExpandFSUB()
H A DLegalizeFloatTypes.cpp103 case ISD::FNEG: R = SoftenFloatRes_FNEG(N); break; in SoftenFloatResult()
1227 case ISD::FNEG: ExpandFloatRes_FNEG(N, Lo, Hi); break; in ExpandFloatResult()
1318 DAG.getNode(ISD::FNEG, dl, Lo.getValueType(), Lo), in ExpandFloatRes_FABS()
1483 Lo = DAG.getNode(ISD::FNEG, dl, Lo.getValueType(), Lo); in ExpandFloatRes_FNEG()
1484 Hi = DAG.getNode(ISD::FNEG, dl, Hi.getValueType(), Hi); in ExpandFloatRes_FNEG()
2242 case ISD::FNEG: in PromoteFloatResult()
2606 case ISD::FNEG: in SoftPromoteHalfResult()
H A DSelectionDAGBuilder.h685 void visitFNeg(const User &I) { visitUnary(I, ISD::FNEG); } in visitFNeg()
H A DLegalizeDAG.cpp1573 TLI.isOperationLegalOrCustom(ISD::FNEG, FloatVT)) { in ExpandFCOPYSIGN()
1575 SDValue NegValue = DAG.getNode(ISD::FNEG, DL, FloatVT, AbsValue); in ExpandFCOPYSIGN()
3110 case ISD::FNEG: in ExpandNode()
3219 TLI.isOperationLegalOrCustom(ISD::FNEG, VT)) { in ExpandNode()
3221 Tmp1 = DAG.getNode(ISD::FNEG, dl, VT, Node->getOperand(1)); in ExpandNode()
3806 SDValue Neg = DAG.getNode(ISD::FNEG, dl, VT, Node->getOperand(2), Flags); in ExpandNode()
4723 case ISD::FNEG: in PromoteNode()
H A DSelectionDAGDumper.cpp194 case ISD::FNEG: return "fneg"; in getOperationName()
H A DSelectionDAG.cpp4362 case ISD::FNEG: in isKnownNeverNaN()
4738 case ISD::FNEG: in getNode()
4808 case ISD::FNEG: in getNode()
5036 case ISD::FNEG: in getNode()
5041 if (OpOpcode == ISD::FNEG) // --X -> X in getNode()
5045 if (OpOpcode == ISD::FNEG) // abs(-X) -> abs(X) in getNode()
H A DLegalizeVectorTypes.cpp91 case ISD::FNEG: in ScalarizeVectorResult()
985 case ISD::FNEG: in SplitVectorResult()
3151 case ISD::FNEG: in WidenVectorResult()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp630 { ISD::FNEG, MVT::v8f64, 1 }, // Skylake from http://www.agner.org/ in getArithmeticInstrCost()
639 { ISD::FNEG, MVT::v16f32, 1 }, // Skylake from http://www.agner.org/ in getArithmeticInstrCost()
815 { ISD::FNEG, MVT::v4f64, 1 }, // Haswell from http://www.agner.org/ in getArithmeticInstrCost()
816 { ISD::FNEG, MVT::v8f32, 1 }, // Haswell from http://www.agner.org/ in getArithmeticInstrCost()
878 { ISD::FNEG, MVT::v4f64, 2 }, // BTVER2 from http://www.agner.org/ in getArithmeticInstrCost()
879 { ISD::FNEG, MVT::v8f32, 2 }, // BTVER2 from http://www.agner.org/ in getArithmeticInstrCost()
971 { ISD::FNEG, MVT::f32, 1 }, // Pentium IV from http://www.agner.org/ in getArithmeticInstrCost()
972 { ISD::FNEG, MVT::f64, 1 }, // Pentium IV from http://www.agner.org/ in getArithmeticInstrCost()
973 { ISD::FNEG, MVT::v4f32, 1 }, // Pentium IV from http://www.agner.org/ in getArithmeticInstrCost()
991 { ISD::FNEG, MVT::f32, 2 }, // Pentium III from http://www.agner.org/ in getArithmeticInstrCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1624 setOperationAction(ISD::FNEG, MVT::f64, Custom); in SparcTargetLowering()
1731 setOperationAction(ISD::FNEG, MVT::f128, Legal); in SparcTargetLowering()
1734 setOperationAction(ISD::FNEG, MVT::f128, Custom); in SparcTargetLowering()
1753 setOperationAction(ISD::FNEG, MVT::f128, Custom); in SparcTargetLowering()
2705 assert(opcode == ISD::FNEG || opcode == ISD::FABS); in LowerF64Op()
2849 assert((Op.getOpcode() == ISD::FNEG || Op.getOpcode() == ISD::FABS) in LowerFNEGorFABS()
3060 case ISD::FNEG: return LowerFNEGorFABS(Op, DAG, isV9); in LowerOperation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SchedFalkorDetails.td586 def : InstRW<[FalkorWr_1VXVY_1cyc], (instregex "^(FABS|FNEG)v2f32$")>;
612 def : InstRW<[FalkorWr_2VXVY_1cyc], (instregex "^(FABS|FNEG)(v2f64|v4f32)$")>;
1117 def : InstRW<[FalkorWr_1VXVY_1cyc], (instregex "^(FABS|FNEG)(S|D)r$")>;
H A DAArch64SchedCyclone.td433 // FABS,FNEG are WriteF
H A DAArch64SchedExynosM3.td542 def : InstRW<[M3WriteNALU1], (instregex "^FNEG[DS]r")>;
H A DAArch64SchedExynosM4.td653 def : InstRW<[M4WriteNALU1], (instregex "^FNEG[SD]r")>;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsInstrFPU.td161 defm FNEG : ABSS_MMM<"neg.d", II_NEG, fneg>, ABS_FM_MM<1, 0x2d>;
H A DMipsInstrFPU.td537 defm FNEG : ABSS_M<"neg.d", II_NEG, fneg>, ABSS_FM<0x7, 17>, ISA_MIPS1;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DP9InstrResources.td189 (instregex "FNEG(D|S)$"),
1058 (instregex "FNEG(D|S)_rec$"),
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp805 setOperationAction(ISD::FNEG, VT, Custom); in RISCVTargetLowering()
2598 case ISD::FNEG: in LowerOperation()
5899 if (!(Op0.getOpcode() == ISD::FNEG || Op0.getOpcode() == ISD::FABS) || in PerformDAGCombine()
5908 if (Op0.getOpcode() == ISD::FNEG) { in PerformDAGCombine()
6073 if (!(Op0.getOpcode() == ISD::FNEG || Op0.getOpcode() == ISD::FABS) || in PerformDAGCombine()
6079 if (Op0.getOpcode() == ISD::FNEG) in PerformDAGCombine()
6229 if (In2.getOpcode() != ISD::FNEG) in PerformDAGCombine()
6234 DAG.getNode(ISD::FNEG, DL, VT, NewFPExtRound)); in PerformDAGCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1780 case FNeg: return ISD::FNEG; in InstructionOpcodeToISD()

12