Home
last modified time | relevance | path

Searched refs:AbsDiff (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A Dedit_distance.h68 typename ArrayRef<T>::size_type AbsDiff = m > n ? m - n : n - m; variable
69 if (AbsDiff > MaxEditDistance)
/openbsd-src/gnu/llvm/llvm/lib/Option/
H A DOptTable.cpp287 size_t AbsDiff = CandidateSize > NormalizedSize in findNearest() local
290 if (AbsDiff > BestDistance) { in findNearest()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2289 SDValue AbsDiff = DAG.getNode(ISD::FABS, SL, VT, Diff); in LowerFROUND() local
2300 SDValue Cmp = DAG.getSetCC(SL, SetCCVT, AbsDiff, Half, ISD::SETOGE); in LowerFROUND()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp6534 auto AbsDiff = MIRBuilder.buildFAbs(Ty, Diff, Flags); in lowerIntrinsicRound() local
6540 auto Cmp = MIRBuilder.buildFCmp(CmpInst::FCMP_OGE, CondTy, AbsDiff, Half, in lowerIntrinsicRound()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp45536 APInt AbsDiff = Diff.abs(); in combineSelectOfTwoConstants() local
45537 if (AbsDiff.isPowerOf2() || in combineSelectOfTwoConstants()
45539 (AbsDiff == 3 || AbsDiff == 5 || AbsDiff == 9))) { in combineSelectOfTwoConstants()
45553 if (!AbsDiff.isOne()) in combineSelectOfTwoConstants()
45554 R = DAG.getNode(ISD::MUL, DL, VT, R, DAG.getConstant(AbsDiff, DL, VT)); in combineSelectOfTwoConstants()