/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | Utils.h | 163 bool isKnownNeverNaN(Register Val, const MachineRegisterInfo &MRI, 168 return isKnownNeverNaN(Val, MRI, true); in isKnownNeverSNaN()
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | Utils.h | 194 bool isKnownNeverNaN(Register Val, const MachineRegisterInfo &MRI, 199 return isKnownNeverNaN(Val, MRI, true); in isKnownNeverSNaN()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3122 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 …]
|
D | InstructionSimplify.cpp | 1815 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()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstCombineIntrinsic.cpp | 179 if (isKnownNeverInfinity(Op0, TLI) && isKnownNeverNaN(Op0, TLI) && in canSimplifyLegacyMulToMul() 180 isKnownNeverInfinity(Op1, TLI) && isKnownNeverNaN(Op1, TLI)) { in canSimplifyLegacyMulToMul() 318 isKnownNeverNaN(Src0, &IC.getTargetLibraryInfo())) { in instCombineIntrinsic()
|
D | AMDGPUISelLowering.cpp | 4622 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode() 4623 DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode() 4631 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode() 4632 DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode() 4633 DAG.isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode() 4655 return DAG.isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode() 4678 return DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode() 4683 return DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode() 4684 DAG.isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaNForTargetNode() 4704 return DAG.isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaNForTargetNode() [all …]
|
D | AMDGPUISelDAGToDAG.cpp | 537 return CurDAG->isKnownNeverNaN(N); in isNoNanSrc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 215 bool isKnownNeverNaN(const Value *V, const TargetLibraryInfo *TLI,
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 3360 return isKnownNeverNaN(V, TLI) && in cannotBeOrderedLessThanZeroImpl() 3500 bool llvm::isKnownNeverNaN(const Value *V, const TargetLibraryInfo *TLI, in isKnownNeverNaN() function in llvm 3521 return isKnownNeverNaN(Inst->getOperand(0), TLI, Depth + 1) && in isKnownNeverNaN() 3522 isKnownNeverNaN(Inst->getOperand(1), TLI, Depth + 1) && in isKnownNeverNaN() 3529 return isKnownNeverNaN(Inst->getOperand(0), TLI, Depth + 1) && in isKnownNeverNaN() 3531 isKnownNeverNaN(Inst->getOperand(1), TLI, Depth + 1) && in isKnownNeverNaN() 3540 return isKnownNeverNaN(Inst->getOperand(1), TLI, Depth + 1) && in isKnownNeverNaN() 3541 isKnownNeverNaN(Inst->getOperand(2), TLI, Depth + 1); in isKnownNeverNaN() 3548 return isKnownNeverNaN(Inst->getOperand(0), TLI, Depth + 1); in isKnownNeverNaN() 3568 return isKnownNeverNaN(II->getArgOperand(0), TLI, Depth + 1); in isKnownNeverNaN() [all …]
|
D | InstructionSimplify.cpp | 1875 if ((isKnownNeverNaN(LHS0, TLI) && (LHS1 == RHS0 || LHS1 == RHS1)) || in simplifyAndOrOfFCmps() 1876 (isKnownNeverNaN(LHS1, TLI) && (LHS0 == RHS0 || LHS0 == RHS1))) in simplifyAndOrOfFCmps() 1887 if ((isKnownNeverNaN(RHS0, TLI) && (RHS1 == LHS0 || RHS1 == LHS1)) || in simplifyAndOrOfFCmps() 1888 (isKnownNeverNaN(RHS1, TLI) && (RHS0 == LHS0 || RHS0 == LHS1))) in simplifyAndOrOfFCmps() 3629 (isKnownNeverNaN(LHS, Q.TLI) && isKnownNeverNaN(RHS, Q.TLI))) in SimplifyFCmpInst() 3693 isKnownNeverNaN(LHS, Q.TLI)) in SimplifyFCmpInst() 3697 isKnownNeverNaN(LHS, Q.TLI)) in SimplifyFCmpInst() 3770 if ((FMF.noNaNs() || isKnownNeverNaN(LHS, Q.TLI)) && in SimplifyFCmpInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 389 bool llvm::isKnownNeverNaN(Register Val, const MachineRegisterInfo &MRI, in isKnownNeverNaN() function in llvm
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 244 bool isKnownNeverNaN(const Value *V, const TargetLibraryInfo *TLI,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 4079 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 4629 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()
|
D | AMDGPUInstructionSelector.cpp | 1943 if (!TM.Options.NoNaNsFPMath && !isKnownNeverNaN(Src, *MRI)) in selectVOP3Mods_nnan()
|
D | AMDGPUISelDAGToDAG.cpp | 532 return CurDAG->isKnownNeverNaN(N); in isNoNanSrc()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 4036 bool SelectionDAG::isKnownNeverNaN(SDValue Op, bool SNaN, unsigned Depth) const { in isKnownNeverNaN() function in SelectionDAG 4077 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN() 4082 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN() 4085 return isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaN() 4086 isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaN() 4091 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1); in isKnownNeverNaN() 4100 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) && in isKnownNeverNaN() 4101 isKnownNeverNaN(Op.getOperand(1), SNaN, Depth + 1) && in isKnownNeverNaN() 4102 isKnownNeverNaN(Op.getOperand(2), SNaN, Depth + 1); in isKnownNeverNaN() 4119 return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1) || in isKnownNeverNaN() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 461 bool llvm::isKnownNeverNaN(Register Val, const MachineRegisterInfo &MRI, in isKnownNeverNaN() function in llvm
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1591 bool isKnownNeverNaN(SDValue Op, bool SNaN = false, unsigned Depth = 0) const; 1595 return isKnownNeverNaN(Op, true, Depth);
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1802 bool isKnownNeverNaN(SDValue Op, bool SNaN = false, unsigned Depth = 0) const; 1806 return isKnownNeverNaN(Op, true, Depth);
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1304 bool isKnownNeverNaN(SDValue Op) const;
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 26467 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) { in combineSelect() 26505 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) { in combineSelect() 26534 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) in combineSelect() 26543 (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS))) in combineSelect() 26559 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) in combineSelect() 26569 if (!DAG.isKnownNeverNaN(LHS) || !DAG.isKnownNeverNaN(RHS)) in combineSelect()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 6210 if (!match(Op0, m_PosZeroFP()) && isKnownNeverNaN(Op0, &TLI)) in visitFCmpInst() 6213 if (!match(Op1, m_PosZeroFP()) && isKnownNeverNaN(Op1, &TLI)) in visitFCmpInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 6079 if (!match(Op0, m_PosZeroFP()) && isKnownNeverNaN(Op0, &TLI)) { in visitFCmpInst() 6083 if (!match(Op1, m_PosZeroFP()) && isKnownNeverNaN(Op1, &TLI)) { in visitFCmpInst()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 2737 return DAG.isKnownNeverNaN(Op); in isKnownNeverSNan()
|