Home
last modified time | relevance | path

Searched refs:isKnownNeverNaN (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h163 bool isKnownNeverNaN(Register Val, const MachineRegisterInfo &MRI,
168 return isKnownNeverNaN(Val, MRI, true); in isKnownNeverSNaN()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp3122 return (isKnownNeverNaN(I->getOperand(0), TLI) && in cannotBeOrderedLessThanZeroImpl()
3125 (isKnownNeverNaN(I->getOperand(1), TLI) && in cannotBeOrderedLessThanZeroImpl()
3248 bool llvm::isKnownNeverNaN(const Value *V, const TargetLibraryInfo *TLI, in isKnownNeverNaN() function in llvm
3269 return isKnownNeverNaN(Inst->getOperand(0), TLI, Depth + 1) && in isKnownNeverNaN()
3270 isKnownNeverNaN(Inst->getOperand(1), TLI, Depth + 1) && in isKnownNeverNaN()
3277 return isKnownNeverNaN(Inst->getOperand(0), TLI, Depth + 1) && in isKnownNeverNaN()
3279 isKnownNeverNaN(Inst->getOperand(1), TLI, Depth + 1) && in isKnownNeverNaN()
3288 return isKnownNeverNaN(Inst->getOperand(1), TLI, Depth + 1) && in isKnownNeverNaN()
3289 isKnownNeverNaN(Inst->getOperand(2), TLI, Depth + 1); in isKnownNeverNaN()
3296 return isKnownNeverNaN(Inst->getOperand(0), TLI, Depth + 1); in isKnownNeverNaN()
[all …]
DInstructionSimplify.cpp1815 if ((isKnownNeverNaN(LHS0, TLI) && (LHS1 == RHS0 || LHS1 == RHS1)) || in simplifyAndOrOfFCmps()
1816 (isKnownNeverNaN(LHS1, TLI) && (LHS0 == RHS0 || LHS0 == RHS1))) in simplifyAndOrOfFCmps()
1827 if ((isKnownNeverNaN(RHS0, TLI) && (RHS1 == LHS0 || RHS1 == LHS1)) || in simplifyAndOrOfFCmps()
1828 (isKnownNeverNaN(RHS1, TLI) && (RHS0 == LHS0 || RHS0 == LHS1))) in simplifyAndOrOfFCmps()
3542 (isKnownNeverNaN(LHS, Q.TLI) && isKnownNeverNaN(RHS, Q.TLI))) in SimplifyFCmpInst()
3668 if ((FMF.noNaNs() || isKnownNeverNaN(LHS, Q.TLI)) && in SimplifyFCmpInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DValueTracking.h215 bool isKnownNeverNaN(const Value *V, const TargetLibraryInfo *TLI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp389 bool llvm::isKnownNeverNaN(Register Val, const MachineRegisterInfo &MRI, in isKnownNeverNaN() function in llvm
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4079 bool SelectionDAG::isKnownNeverNaN(SDValue Op, bool SNaN, unsigned Depth) const { in isKnownNeverNaN() function in SelectionDAG
4119 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4124 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4127 return isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaN()
4128 isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaN()
4133 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN()
4142 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaN()
4143 isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaN()
4144 isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaN()
4161 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) || in isKnownNeverNaN()
[all …]
DDAGCombiner.cpp8308 DAG.isKnownNeverNaN(LHS) && DAG.isKnownNeverNaN(RHS); in isLegalToCombineMinNumMaxNum()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp4629 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4630 DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
4638 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4639 DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4640 DAG.isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
4663 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
4687 return DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
4692 return DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode()
4693 DAG.isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
DAMDGPUInstructionSelector.cpp1943 if (!TM.Options.NoNaNsFPMath && !isKnownNeverNaN(Src, *MRI)) in selectVOP3Mods_nnan()
DAMDGPUISelDAGToDAG.cpp532 return CurDAG->isKnownNeverNaN(N); in isNoNanSrc()
DSIISelLowering.cpp10953 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h1591 bool isKnownNeverNaN(SDValue Op, bool SNaN = false, unsigned Depth = 0) const;
1595 return isKnownNeverNaN(Op, true, Depth);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp6079 if (!match(Op0, m_PosZeroFP()) && isKnownNeverNaN(Op0, &TLI)) { in visitFCmpInst()
6083 if (!match(Op1, m_PosZeroFP()) && isKnownNeverNaN(Op1, &TLI)) { in visitFCmpInst()
DInstCombineCalls.cpp3566 if (((Mask & S_NAN) || (Mask & Q_NAN)) && isKnownNeverNaN(Src0, &TLI)) { in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp37942 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) { in combineSelect()
37982 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) { in combineSelect()
38014 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) in combineSelect()
38022 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) in combineSelect()
38039 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) in combineSelect()
38050 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) in combineSelect()
42960 if (DAG.isKnownNeverNaN(Op1)) in combineFMinNumFMaxNum()
42962 if (DAG.isKnownNeverNaN(Op0)) in combineFMinNumFMaxNum()