/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 300 static Type *ToVectorTy(Type *Scalar, unsigned VF) { in ToVectorTy() argument 301 if (Scalar->isVoidTy() || VF == 1) in ToVectorTy() 303 return VectorType::get(Scalar, VF); in ToVectorTy() 318 static bool hasIrregularType(Type *Ty, const DataLayout &DL, unsigned VF) { in hasIrregularType() argument 321 if (VF > 1) { in hasIrregularType() 322 auto *VectorTy = VectorType::get(Ty, VF); in hasIrregularType() 323 return VF * DL.getTypeAllocSize(Ty) != DL.getTypeStoreSize(VectorTy); in hasIrregularType() 408 AC(AC), ORE(ORE), VF(VecWidth), UF(UnrollFactor), in InnerLoopVectorizer() 433 void widenGEP(GetElementPtrInst *GEP, unsigned UF, unsigned VF, 439 void widenPHIInstruction(Instruction *PN, unsigned UF, unsigned VF); [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_formats.c | 380 #define VF(c, pf, type, size, bgra) \ macro 392 VF(A, B8G8R8A8_UNORM, UNORM, 8_8_8_8, 1), 393 VF(A, R8G8B8A8_UNORM, UNORM, 8_8_8_8, 0), 395 VF(A, R10G10B10A2_UNORM, UNORM, 10_10_10_2, 0), 396 VF(A, B10G10R10A2_UNORM, UNORM, 10_10_10_2, 1), 397 VF(A, R10G10B10A2_SNORM, SNORM, 10_10_10_2, 0), 398 VF(A, B10G10R10A2_SNORM, SNORM, 10_10_10_2, 1), 399 VF(A, R10G10B10A2_UINT, UINT, 10_10_10_2, 0), 400 VF(A, B10G10R10A2_UINT, UINT, 10_10_10_2, 1), 402 VF(A, R11G11B10_FLOAT, FLOAT, 11_11_10, 0), [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | InjectTLIMappings.cpp | 48 unsigned VF) { in mangleTLIName() argument 51 Out << "_ZGV" << VFABI::_LLVM_ << "N" << VF; in mangleTLIName() 61 static Type *ToVectorTy(Type *Scalar, unsigned VF, bool isScalable = false) { in ToVectorTy() argument 62 if (Scalar->isVoidTy() || VF == 1) in ToVectorTy() 64 return VectorType::get(Scalar, {VF, isScalable}); in ToVectorTy() 72 static void addVariantDeclaration(CallInst &CI, const unsigned VF, in addVariantDeclaration() argument 77 Type *RetTy = ToVectorTy(CI.getType(), VF); in addVariantDeclaration() 80 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF)); in addVariantDeclaration() 121 for (unsigned VF = 2, WidestVF = TLI.getWidestVF(ScalarName); VF <= WidestVF; in addMappingsFromTLI() local 122 VF *= 2) { in addMappingsFromTLI() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | f_graphmonitor.c | 68 #define VF AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM macro 71 { "size", "set monitor size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str="hd720"}, 0, 0, VF }, 72 { "s", "set monitor size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str="hd720"}, 0, 0, VF }, 73 { "opacity", "set video opacity", OFFSET(opacity), AV_OPT_TYPE_FLOAT, {.dbl=.9}, 0, 1, VF }, 74 { "o", "set video opacity", OFFSET(opacity), AV_OPT_TYPE_FLOAT, {.dbl=.9}, 0, 1, VF }, 75 { "mode", "set mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, VF, "mode" }, 76 { "m", "set mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, VF, "mode" }, 77 { "full", NULL, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, VF, "mode" }, 78 { "compact", NULL, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, VF, "mode" }, 79 …{ "flags", "set flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, {.i64=MODE_QUEUE}, 0, INT_MAX, VF, "flag… [all …]
|
D | vf_tpad.c | 50 #define VF AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM macro 53 …ay input", OFFSET(pad_start), AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX, VF }, 54 … after input finished", OFFSET(pad_stop), AV_OPT_TYPE_INT, {.i64=0}, -1, INT_MAX, VF }, 55 …art", OFFSET(start_mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, VF, "mode" }, 56 … 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, VF, "mode" }, 57 … 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, VF, "mode" }, 58 …d", OFFSET(stop_mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, VF, "mode" }, 59 …lay input", OFFSET(start_duration), AV_OPT_TYPE_DURATION, {.i64=0}, 0, INT64_MAX, VF }, 60 …d input", OFFSET(stop_duration), AV_OPT_TYPE_DURATION, {.i64=0}, 0, INT64_MAX, VF }, 61 …es", OFFSET(rgba_color), AV_OPT_TYPE_COLOR, {.str="black"}, 0, 0, VF },
|
D | vf_chromanr.c | 231 #define VF AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_RUNTIME_PARAM macro 234 { "thres", "set y+u+v threshold", OFFSET(threshold), AV_OPT_TYPE_FLOAT, {.dbl=30}, 1, 200, VF }, 235 { "sizew", "set horizontal size", OFFSET(sizew), AV_OPT_TYPE_INT, {.i64=5}, 1, 100, VF }, 236 { "sizeh", "set vertical size", OFFSET(sizeh), AV_OPT_TYPE_INT, {.i64=5}, 1, 100, VF }, 237 { "stepw", "set horizontal step", OFFSET(stepw), AV_OPT_TYPE_INT, {.i64=1}, 1, 50, VF }, 238 { "steph", "set vertical step", OFFSET(steph), AV_OPT_TYPE_INT, {.i64=1}, 1, 50, VF }, 239 { "threy", "set y threshold", OFFSET(threshold_y), AV_OPT_TYPE_FLOAT, {.dbl=200},1, 200, VF }, 240 { "threu", "set u threshold", OFFSET(threshold_u), AV_OPT_TYPE_FLOAT, {.dbl=200},1, 200, VF }, 241 { "threv", "set v threshold", OFFSET(threshold_v), AV_OPT_TYPE_FLOAT, {.dbl=200},1, 200, VF },
|
D | vf_colorcorrect.c | 194 #define VF AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM macro 197 …"rl", "set the red shadow spot", OFFSET(rl), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, VF }, 198 …"bl", "set the blue shadow spot", OFFSET(bl), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, VF }, 199 …"rh", "set the red highlight spot", OFFSET(rh), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, VF }, 200 …"bh", "set the blue highlight spot", OFFSET(bh), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, VF }, 201 …ion", "set the amount of saturation", OFFSET(saturation), AV_OPT_TYPE_FLOAT, {.dbl=1}, -3, 3, VF },
|
D | vf_vibrance.c | 365 #define VF AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM macro 368 …, "set the intensity value", OFFSET(intensity), AV_OPT_TYPE_FLOAT, {.dbl=0}, -2, 2, VF }, 369 …t the red balance value", OFFSET(balance[2]), AV_OPT_TYPE_FLOAT, {.dbl=1}, -10, 10, VF }, 370 …t the green balance value", OFFSET(balance[0]), AV_OPT_TYPE_FLOAT, {.dbl=1}, -10, 10, VF }, 371 …t the blue balance value", OFFSET(balance[1]), AV_OPT_TYPE_FLOAT, {.dbl=1}, -10, 10, VF }, 372 …t the red luma coefficient", OFFSET(lcoeffs[2]), AV_OPT_TYPE_FLOAT, {.dbl=0.072186}, 0, 1, VF }, 373 …t the green luma coefficient", OFFSET(lcoeffs[0]), AV_OPT_TYPE_FLOAT, {.dbl=0.715158}, 0, 1, VF }, 374 …t the blue luma coefficient", OFFSET(lcoeffs[1]), AV_OPT_TYPE_FLOAT, {.dbl=0.212656}, 0, 1, VF }, 375 …, "use alternate colors", OFFSET(alternate), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, VF },
|
D | vf_exposure.c | 124 #define VF AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM macro 127 …ure", "set the exposure correction", OFFSET(exposure), AV_OPT_TYPE_FLOAT, {.dbl=0}, -3, 3, VF }, 128 …", "set the black level correction", OFFSET(black), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, VF },
|
D | vf_colorcontrast.c | 383 #define VF AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM macro 386 … { "rc", "set the red-cyan contrast", OFFSET(rc), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, VF }, 387 … { "gm", "set the green-magenta contrast", OFFSET(gm), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, VF }, 388 … { "by", "set the blue-yellow contrast", OFFSET(by), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, VF }, 389 … { "rcw", "set the red-cyan weight", OFFSET(rcw), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, 1, VF }, 390 … { "gmw", "set the green-magenta weight", OFFSET(gmw), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, 1, VF }, 391 … { "byw", "set the blue-yellow weight", OFFSET(byw), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, 1, VF }, 392 …set the amount of preserving lightness", OFFSET(preserve), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, 1, VF },
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 397 unsigned VF = Ty->getVectorNumElements(); in getArithmeticInstrCost() local 410 return VF * DivMulSeqCost + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() 411 if ((SignedDivRem || UnsignedDivRem) && VF > 4) in getArithmeticInstrCost() 433 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() 436 if (VF == 2) in getArithmeticInstrCost() 450 unsigned Cost = (VF * LIBCALL_COST) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() 452 if (VF == 2 && ScalarBits == 32) in getArithmeticInstrCost() 583 unsigned VF = SrcTy->getVectorNumElements(); in getVectorTruncCost() local 593 if (VF == 8 && SrcTy->getScalarSizeInBits() == 64 && in getVectorTruncCost() 627 static Type *getCmpOpsType(const Instruction *I, unsigned VF = 1) { in getCmpOpsType() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.h | 154 bool isFunctionVectorizable(StringRef F, unsigned VF) const { in isFunctionVectorizable() argument 155 return !getVectorizedFunction(F, VF).empty(); in isFunctionVectorizable() 164 StringRef getVectorizedFunction(StringRef F, unsigned VF) const; 168 bool isFunctionScalarizable(StringRef F, unsigned &VF) const { in isFunctionScalarizable() argument 169 return !getScalarizedFunction(F, VF).empty(); in isFunctionScalarizable() 176 StringRef getScalarizedFunction(StringRef F, unsigned &VF) const; 304 bool isFunctionVectorizable(StringRef F, unsigned VF) const { in isFunctionVectorizable() argument 305 return Impl->isFunctionVectorizable(F, VF); in isFunctionVectorizable() 310 StringRef getVectorizedFunction(StringRef F, unsigned VF) const { in getVectorizedFunction() argument 311 return Impl->getVectorizedFunction(F, VF); in getVectorizedFunction()
|
D | VectorUtils.h | 83 unsigned VF; // Vectorization factor. member 88 return std::tie(VF, IsScalable, Parameters) == 89 std::tie(Other.VF, Other.IsScalable, Other.Parameters); 307 Constant *createBitMaskForGaps(IRBuilder<> &Builder, unsigned VF, 323 unsigned VF); 336 Constant *createInterleaveMask(IRBuilder<> &Builder, unsigned VF, 352 unsigned Stride, unsigned VF);
|
D | TargetTransformInfo.h | 671 unsigned VF) const; 884 unsigned getMaxInterleaveFactor(unsigned VF) const; 1005 unsigned VF = 1) const; 1121 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, 1127 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 1261 unsigned VF) = 0; 1314 virtual unsigned getMaxInterleaveFactor(unsigned VF) = 0; 1354 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) = 0; 1388 virtual unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, 1391 virtual unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, [all …]
|
/third_party/mesa3d/src/intel/tools/tests/gen4/ |
D | mul.asm | 17 mul(8) g2<1>.xyzF g2<4>.wF 0x40404830VF /* [1F, 3F, 2F, 2F]VF */ { align16 }; 31 mul.sat(8) m5<1>F g4<4>F 0x20303030VF /* [1F, 1F, 1F, 0.5F]VF */ { align16 }; 32 mul(8) m5<1>F g3<4>F 0x20305454VF /* [5F, 5F, 1F, 0.5F]VF */ { align16 }; 34 mul(8) m5<1>.xyzF g3<4>.xyzzF 0x30302020VF /* [0.5F, 0.5F, 1F, 1F]VF */ { align16… 37 mul.sat(8) m5<1>.xyzF g7<4>.xF 0x3030VF /* [1F, 1F, 0F, 0F]VF */ { align16 NoDDClr…
|
D | mov.asm | 13 mov(8) g8<1>F 0x30003000VF /* [0F, 1F, 0F, 1F]VF */ { align16 }; 36 mov(8) m6<1>F 0x50484030VF /* [1F, 2F, 3F, 4F]VF */ { align16 }; 44 mov(8) g11<1>.yzwD 0x48403000VF /* [0F, 1F, 2F, 3F]VF */ { align16 }; 45 mov(8) m13<1>.xyzF 0x7f7e7dVF /* [29F, 30F, 31F, 0F]VF */ { align16 NoDDChk }; 89 mov(8) g5<1>.xyzF 0x7f7e7dVF /* [29F, 30F, 31F, 0F]VF */ { align16 NoDDChk }; 97 mov(8) g6<1>.yzD 0xf7c000VF /* [0F, -2F, -23F, 0F]VF */ { align16 NoDDChk }; 99 mov(8) m5<1>.xyzF 0x3000VF /* [0F, 1F, 0F, 0F]VF */ { align16 NoDDClr };
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.h | 152 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, 155 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 170 unsigned getMaxInterleaveFactor(unsigned VF); 220 unsigned VF); 226 unsigned VF = 1); 268 unsigned getMaxInterleaveFactor(unsigned VF);
|
D | AMDGPUTargetTransformInfo.cpp | 236 unsigned GCNTTIImpl::getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument 239 unsigned VecRegBitWidth = VF * LoadSize; in getLoadVectorFactor() 244 return VF; in getLoadVectorFactor() 247 unsigned GCNTTIImpl::getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 250 unsigned VecRegBitWidth = VF * StoreSize; in getStoreVectorFactor() 254 return VF; in getStoreVectorFactor() 301 unsigned GCNTTIImpl::getMaxInterleaveFactor(unsigned VF) { in getMaxInterleaveFactor() argument 304 if (VF == 1) in getMaxInterleaveFactor() 469 FastMathFlags FMF, unsigned VF) { in getIntrinsicInstrCost() argument 471 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost() [all …]
|
/third_party/harfbuzz/test/shaping/data/in-house/tests/ |
D | variations-rounding.tests | 1 ../fonts/HBTest-VF.ttf:--variations=TEST=491:U+0041:[A=0+496] 2 ../fonts/HBTest-VF.ttf:--variations=TEST=509:U+0041:[A=0+505]
|
/third_party/mesa3d/src/intel/tools/tests/gen6/ |
D | mov.asm | 36 mov(8) m5<1>.xzF 0x7e0020VF /* [0.5F, 0F, 30F, 0F]VF */ { align16 NoDDChk 1Q }; 40 mov(8) g5<1>F 0x30003000VF /* [0F, 1F, 0F, 1F]VF */ { align16 1Q }; 41 mov(8) m4<1>F 0x30003000VF /* [0F, 1F, 0F, 1F]VF */ { align16 1Q }; 73 mov(8) g26<1>UD 0x403000VF /* [0F, 1F, 2F, 0F]VF */ { align16 WE_all 1Q }; 75 mov(8) g19<1>.yzwD 0x48403000VF /* [0F, 1F, 2F, 3F]VF */ { align16 1Q }; 96 mov(8) m3<1>.zwF 0x30000000VF /* [0F, 0F, 0F, 1F]VF */ { align16 NoDDClr 1Q }; 102 mov(8) g3<1>.yzwF 0x30000000VF /* [0F, 0F, 0F, 1F]VF */ { align16 NoDDChk 1Q }; 139 mov(8) m8<1>.xyzD 0x737271VF /* [17F, 18F, 19F, 0F]VF */ { align16 1Q }; 140 mov(8) m7<1>.zwD 0x706e0000VF /* [0F, 0F, 15F, 16F]VF */ { align16 NoDDChk 1Q }; 148 mov(8) m4<1>.yzF 0x484000VF /* [0F, 2F, 3F, 0F]VF */ { align16 NoDDClr,NoDDChk … [all …]
|
/third_party/mesa3d/src/intel/tools/tests/gen4.5/ |
D | mov.asm | 11 mov(8) g8<1>F 0x30003000VF /* [0F, 1F, 0F, 1F]VF */ { align16 }; 32 mov(8) m6<1>F 0x50484030VF /* [1F, 2F, 3F, 4F]VF */ { align16 }; 44 mov(8) g11<1>.yzwD 0x48403000VF /* [0F, 1F, 2F, 3F]VF */ { align16 }; 45 mov(8) m13<1>.xyzF 0x7f7e7dVF /* [29F, 30F, 31F, 0F]VF */ { align16 NoDDChk }; 87 mov(8) g5<1>.xyzF 0x7f7e7dVF /* [29F, 30F, 31F, 0F]VF */ { align16 NoDDChk }; 92 mov(8) m5<1>.zwF 0x30000000VF /* [0F, 0F, 0F, 1F]VF */ { align16 NoDDClr }; 96 mov(8) g6<1>.yzD 0xf7c000VF /* [0F, -2F, -23F, 0F]VF */ { align16 NoDDChk };
|
D | mul.asm | 18 mul(8) g2<1>.xyzF g2<4>.wF 0x40404830VF /* [1F, 3F, 2F, 2F]VF */ { align16 }; 32 mul.sat(8) m5<1>F g4<4>F 0x20303030VF /* [1F, 1F, 1F, 0.5F]VF */ { align16 }; 33 mul(8) m5<1>F g3<4>F 0x20305454VF /* [5F, 5F, 1F, 0.5F]VF */ { align16 }; 35 mul(8) m5<1>.xyzF g3<4>.xyzzF 0x30302020VF /* [0.5F, 0.5F, 1F, 1F]VF */ { align16…
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | VFABIDemangling.cpp | 71 ParseRet tryParseVLEN(StringRef &ParseString, unsigned &VF, bool &IsScalable) { in tryParseVLEN() argument 73 VF = 0; in tryParseVLEN() 78 if (ParseString.consumeInteger(10, VF)) in tryParseVLEN() 317 unsigned VF; in tryDemangleForVFABI() local 319 if (tryParseVLEN(MangledName, VF, IsScalable) != ParseRet::OK) in tryDemangleForVFABI() 405 const VFShape Shape({VF, IsScalable, Parameters}); in tryDemangleForVFABI()
|
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/in-house/tests/ |
D | variations.tests | 1 ../fonts/HBTest-VF.ttf;--variations=TEST=491;U+0041;[A=0+496] 2 ../fonts/HBTest-VF.ttf;--variations=TEST=509;U+0041;[A=0+505]
|
/third_party/optimized-routines/math/test/ |
D | mathbench.c | 237 #define VF(func, lo, hi) {#func, 'f', 'v', lo, hi, {.vf = func}}, macro 301 VF (__v_dummyf, 1.0, 2.0) 302 VF (__v_expf, -9.9, 9.9) 303 VF (__v_expf_1u, -9.9, 9.9) 304 VF (__v_exp2f, -9.9, 9.9) 305 VF (__v_exp2f_1u, -9.9, 9.9) 306 VF (__v_logf, 0.01, 11.1) 308 VF (__v_sinf, -3.1, 3.1) 309 VF (__v_cosf, -3.1, 3.1) 343 #undef VF
|