/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/ |
D | xray-color-helper.cpp | 85 double Scaled[3] = {std::get<0>(Color) / 255.0, std::get<1>(Color) / 255.0, in convertToHSV() local 90 if (Scaled[i] < Scaled[Min]) in convertToHSV() 92 if (Scaled[i] > Scaled[Max]) in convertToHSV() 96 double C = Scaled[Max] - Scaled[Min]; in convertToHSV() 99 (C == 0) ? 0 : (Scaled[(Max + 1) % 3] - Scaled[(Max + 2) % 3]) / C; in convertToHSV() 104 double V = Scaled[Max]; in convertToHSV()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/ |
D | Instrumentation.h | 205 uint64_t Scaled = Count / Scale; in scaleBranchCount() local 206 assert(Scaled <= std::numeric_limits<uint32_t>::max() && "overflow 32-bits"); in scaleBranchCount() 207 return Scaled; in scaleBranchCount()
|
/external/llvm/include/llvm/Transforms/ |
D | Instrumentation.h | 183 uint64_t Scaled = Count / Scale; in scaleBranchCount() local 184 assert(Scaled <= UINT32_MAX && "overflow 32-bits"); in scaleBranchCount() 185 return Scaled; in scaleBranchCount()
|
/external/skia/gm/ |
D | xform.cpp | 95 float scale = 3 + sinf(TimeUtils::Scaled(1e-9 * nanos, 1, 0)) * 2; in onAnimate() 97 fRA->setRotate(TimeUtils::Scaled(1e-9 * nanos, 40, 0)); in onAnimate() 98 fB->setRotate(TimeUtils::Scaled(1e-9 * nanos, 40*sqrtf(2), 0)); in onAnimate()
|
D | addarc.cpp | 66 fRotate = TimeUtils::Scaled(1e-9 * nanos, 1, 360); in onAnimate() 152 fRotate = TimeUtils::Scaled(1e-9 * nanos, 60, 360); in onAnimate() 205 fRotate = TimeUtils::Scaled(1e-9 * nanos, 60, 360); in onAnimate()
|
D | crbug_224618.cpp | 34 fTime = TimeUtils::Scaled(1e-9f * nanos, 0.5f); in onAnimate()
|
D | postercircle.cpp | 45 fTime = TimeUtils::Scaled(1e-9 * nanos, 0.5f); in onAnimate()
|
D | stringart.cpp | 74 SkScalar fraction = 1.0f - TimeUtils::Scaled(1e-9 * nanos, 2.0f/kDesiredDurationSecs, 2.0f); in onAnimate()
|
D | lighting.cpp | 140 … fAzimuth = kStartAzimuth + TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
|
D | dashcircle.cpp | 111 fRotation = TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 488 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() local 489 BFI.Freqs[Index].Integer = std::max(UINT64_C(1), Scaled.toInt<uint64_t>()); in convertFloatingToInteger() 491 << BFI.Freqs[Index].Scaled << ", scaled = " << Scaled in convertFloatingToInteger() 514 : BFI.Freqs[N.Index].Scaled; in unwrapLoop() 525 Freqs[Index].Scaled = Working[Index].Mass.toScaled(); in unwrapLoops() 538 Min = std::min(Min, Freqs[Index].Scaled); in finalizeMetrics() 539 Max = std::max(Max, Freqs[Index].Scaled); in finalizeMetrics() 591 return Freqs[Node.Index].Scaled; in getFloatingBlockFreq()
|
/external/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 462 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() local 463 BFI.Freqs[Index].Integer = std::max(UINT64_C(1), Scaled.toInt<uint64_t>()); in convertFloatingToInteger() 465 << BFI.Freqs[Index].Scaled << ", scaled = " << Scaled in convertFloatingToInteger() 488 : BFI.Freqs[N.Index].Scaled; in unwrapLoop() 499 Freqs[Index].Scaled = Working[Index].Mass.toScaled(); in unwrapLoops() 512 Min = std::min(Min, Freqs[Index].Scaled); in finalizeMetrics() 513 Max = std::max(Max, Freqs[Index].Scaled); in finalizeMetrics() 552 return Freqs[Node.Index].Scaled; in getFloatingBlockFreq()
|
/external/llvm/lib/Target/ARM/ |
D | ARMScheduleV6.td | 109 // Scaled register offset, issues over 2 cycles 122 // Scaled register offset with update, issues over 2 cycles 162 // Scaled register offset, issues over 2 cycles 175 // Scaled register offset with update, issues over 2 cycles
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMScheduleV6.td | 109 // Scaled register offset, issues over 2 cycles 122 // Scaled register offset with update, issues over 2 cycles 162 // Scaled register offset, issues over 2 cycles 175 // Scaled register offset with update, issues over 2 cycles
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineTraceMetrics.h | 380 unsigned getCycles(unsigned Scaled) { in getCycles() argument 382 return (Scaled + Factor - 1) / Factor; in getCycles()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachineTraceMetrics.h | 416 unsigned getCycles(unsigned Scaled) { in getCycles() argument 418 return (Scaled + Factor - 1) / Factor; in getCycles()
|
/external/skia/tools/timer/ |
D | TimeUtils.h | 27 static inline float Scaled(float time, float speed, float period = 0) {
|
/external/skia/samplecode/ |
D | SampleCamera.cpp | 71 fRY = nanos ? TimeUtils::Scaled(1e-9 * nanos, 90, 360) : 0; in onAnimate()
|
D | SamplePathEffects.cpp | 135 fPhase = TimeUtils::Scaled(1e-9 * nanos, 40); in onAnimate()
|
D | SampleTextureUpload.cpp | 147 fActiveTileIndex = floorf(TimeUtils::Scaled(1e-9 * nanos, in onAnimate()
|
/external/llvm/lib/CodeGen/ |
D | SpillPlacement.cpp | 250 uint64_t Scaled = (Freq >> 13) + bool(Freq & (1 << 12)); in setThreshold() local 251 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SpillPlacement.cpp | 258 uint64_t Scaled = (Freq >> 13) + bool(Freq & (1 << 12)); in setThreshold() local 259 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | fast-isel-addressing-modes.ll | 319 ; Load Scaled Register Offset 340 ; Load Base Register + Scaled Register Offset 483 ; Load Base Register + Scaled Register Offset + Sign/Zero extension 565 ; Load Scaled Register Offset + Immediate Offset + Sign/Zero extension 578 ; Load Base Register + Scaled Register Offset + Immediate Offset + Sign/Zero extension
|
/external/llvm/test/CodeGen/AArch64/ |
D | fast-isel-addressing-modes.ll | 319 ; Load Scaled Register Offset 340 ; Load Base Register + Scaled Register Offset 483 ; Load Base Register + Scaled Register Offset + Sign/Zero extension 565 ; Load Scaled Register Offset + Immediate Offset + Sign/Zero extension 578 ; Load Base Register + Scaled Register Offset + Immediate Offset + Sign/Zero extension
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 842 uint64_t Scaled = Weight / Scale + 1; in scaleBranchWeight() local 843 assert(Scaled <= UINT32_MAX && "overflow 32-bits"); in scaleBranchWeight() 844 return Scaled; in scaleBranchWeight()
|