/external/ImageMagick/coders/ |
D | mat.c | 182 double MaxVal,ExceptionInfo *exception) in InsertComplexDoubleRow() argument 190 if (MaxVal <= 0) in InsertComplexDoubleRow() 191 MaxVal = 1; in InsertComplexDoubleRow() 200 f=(*p/MaxVal)*(Quantum) (QuantumRange-GetPixelRed(image,q)); in InsertComplexDoubleRow() 245 double MaxVal,ExceptionInfo *exception) in InsertComplexFloatRow() argument 253 if (MaxVal <= 0) in InsertComplexFloatRow() 254 MaxVal = 1; in InsertComplexFloatRow() 263 f=(*p/MaxVal)*(Quantum) (QuantumRange-GetPixelRed(image,q)); in InsertComplexFloatRow() 282 f=(*p/MaxVal)*(Quantum) (QuantumRange-GetPixelBlue(image,q)); in InsertComplexFloatRow() 878 double MinVal, MaxVal; in ReadMATImage() local [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 307 int64_t MaxVal = (int64_t(1) << 31) - 8; in emitIncrement() local 310 else if (ThisVal > MaxVal) in emitIncrement() 311 ThisVal = MaxVal; in emitIncrement()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 328 int64_t MaxVal = (int64_t(1) << 31) - 8; in emitIncrement() local 331 else if (ThisVal > MaxVal) in emitIncrement() 332 ThisVal = MaxVal; in emitIncrement()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 452 bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero(); in lowerObjectSizeCall() local 458 MaxVal ? ObjectSizeOpts::Mode::Max : ObjectSizeOpts::Mode::Min; in lowerObjectSizeCall() 476 return ConstantInt::get(ResultType, MaxVal ? -1ULL : 0); in lowerObjectSizeCall()
|
D | ScalarEvolutionExpander.cpp | 2231 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck() local 2234 ConstantInt::get(Loc->getContext(), MaxVal)); in generateOverflowCheck()
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 383 int64_t MaxVal, bool AllowTLS); 854 int64_t MaxVal, bool AllowTLS) { in parsePCRel() argument 866 if ((Value & 1) || Value < MinVal || Value > MaxVal) { in parsePCRel()
|
/external/deqp/modules/egl/ |
D | teglChooseConfigTests.cpp | 368 template <int MinVal, int MaxVal> static EGLint getInt (de::Random& rnd) in getInt() 370 return rnd.getInt(MinVal, MaxVal); in getInt()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2783 APInt MaxVal = APInt::getMaxValue(MulWidth); in ProcessUMulZExtIdiom() local 2784 MaxVal = MaxVal.zext(CI->getBitWidth()); in ProcessUMulZExtIdiom() 2785 if (MaxVal.eq(CI->getValue())) in ProcessUMulZExtIdiom() 2795 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in ProcessUMulZExtIdiom() local 2796 if (MaxVal.eq(CI->getValue())) in ProcessUMulZExtIdiom() 2806 APInt MaxVal = APInt::getMaxValue(MulWidth); in ProcessUMulZExtIdiom() local 2807 MaxVal = MaxVal.zext(CI->getBitWidth()); in ProcessUMulZExtIdiom() 2808 if (MaxVal.eq(CI->getValue())) in ProcessUMulZExtIdiom() 2818 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in ProcessUMulZExtIdiom() local 2819 if (MaxVal.eq(CI->getValue())) in ProcessUMulZExtIdiom()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 2228 APInt MinVal, MaxVal; in SimplifySetCC() local 2232 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC() 2235 MaxVal = APInt::getMaxValue(OperandBitSize); in SimplifySetCC() 2248 if (C1 == MaxVal) return DAG.getConstant(1, VT); // X <= MAX --> true in SimplifySetCC() 2259 if ((Cond == ISD::SETGT || Cond == ISD::SETUGT) && C1 == MaxVal) in SimplifySetCC() 2261 if ((Cond == ISD::SETLE || Cond == ISD::SETULE) && C1 == MaxVal) in SimplifySetCC() 2268 if ((Cond == ISD::SETLT || Cond == ISD::SETULT) && C1 == MaxVal) in SimplifySetCC() 2277 else if ((Cond == ISD::SETGT || Cond == ISD::SETUGT) && C1 == MaxVal-1) in SimplifySetCC() 2279 DAG.getConstant(MaxVal, N0.getValueType()), in SimplifySetCC()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 420 int64_t MaxVal, bool AllowTLS); 1234 int64_t MaxVal, bool AllowTLS) { in parsePCRel() argument 1246 if ((Value & 1) || Value < MinVal || Value > MaxVal) { in parsePCRel()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 3956 APInt MaxVal = APInt::getMaxValue(MulWidth); in processUMulZExtIdiom() local 3957 MaxVal = MaxVal.zext(CI->getBitWidth()); in processUMulZExtIdiom() 3958 if (MaxVal.eq(CI->getValue())) in processUMulZExtIdiom() 3968 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom() local 3969 if (MaxVal.eq(CI->getValue())) in processUMulZExtIdiom() 3979 APInt MaxVal = APInt::getMaxValue(MulWidth); in processUMulZExtIdiom() local 3980 MaxVal = MaxVal.zext(CI->getBitWidth()); in processUMulZExtIdiom() 3981 if (MaxVal.eq(CI->getValue())) in processUMulZExtIdiom() 3991 APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth); in processUMulZExtIdiom() local 3992 if (MaxVal.eq(CI->getValue())) in processUMulZExtIdiom()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1737 APInt MinVal, MaxVal; in SimplifySetCC() local 1741 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC() 1744 MaxVal = APInt::getMaxValue(OperandBitSize); in SimplifySetCC() 1764 if (C1 == MaxVal) return DAG.getConstant(1, dl, VT); // X <= MAX --> true in SimplifySetCC() 1782 if ((Cond == ISD::SETGT || Cond == ISD::SETUGT) && C1 == MaxVal) in SimplifySetCC() 1784 if ((Cond == ISD::SETLE || Cond == ISD::SETULE) && C1 == MaxVal) in SimplifySetCC() 1791 if ((Cond == ISD::SETLT || Cond == ISD::SETULT) && C1 == MaxVal) in SimplifySetCC() 1800 if ((Cond == ISD::SETGT || Cond == ISD::SETUGT) && C1 == MaxVal-1) in SimplifySetCC() 1802 DAG.getConstant(MaxVal, dl, N0.getValueType()), in SimplifySetCC()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 187 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize() local 189 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix); in DefineTypeSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 2344 APInt MinVal, MaxVal; in SimplifySetCC() local 2348 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC() 2351 MaxVal = APInt::getMaxValue(OperandBitSize); in SimplifySetCC() 2377 if (C1 == MaxVal) in SimplifySetCC() 2402 if (C1 == MaxVal) in SimplifySetCC() 2414 if (C1 == MaxVal) in SimplifySetCC() 2424 if (C1 == MaxVal-1) in SimplifySetCC() 2426 DAG.getConstant(MaxVal, dl, N0.getValueType()), in SimplifySetCC()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 632 int64_t MinVal, MaxVal; in isImmScaled() local 636 MaxVal = ((int64_t(1) << Shift) - 1) * Scale; in isImmScaled() 639 MaxVal = ((int64_t(1) << Bits) - 1) * Scale; in isImmScaled() 643 if (Val >= MinVal && Val <= MaxVal && (Val % Scale) == 0) in isImmScaled() 2330 unsigned MaxVal = IsSVEPrefetch ? 15 : 31; in tryParsePrefetch() local 2346 if (prfop > MaxVal) { in tryParsePrefetch() 2347 TokError("prefetch operand out of range, [0," + utostr(MaxVal) + in tryParsePrefetch()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2103 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck() local 2106 ConstantInt::get(Loc->getContext(), MaxVal)); in generateOverflowCheck()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 1119 const unsigned MaxVal, 4257 const unsigned MaxVal, in parseSwizzleOperands() argument 4267 if (Op[i] < MinVal || Op[i] > MaxVal) { in parseSwizzleOperands()
|