Home
last modified time | relevance | path

Searched refs:Scaled (Results 1 – 25 of 50) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-color-helper.cpp85 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/
DInstrumentation.h205 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/
DInstrumentation.h183 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/
Dxform.cpp95 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()
Daddarc.cpp66 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()
Dcrbug_224618.cpp34 fTime = TimeUtils::Scaled(1e-9f * nanos, 0.5f); in onAnimate()
Dpostercircle.cpp45 fTime = TimeUtils::Scaled(1e-9 * nanos, 0.5f); in onAnimate()
Dstringart.cpp74 SkScalar fraction = 1.0f - TimeUtils::Scaled(1e-9 * nanos, 2.0f/kDesiredDurationSecs, 2.0f); in onAnimate()
Dlighting.cpp140 … fAzimuth = kStartAzimuth + TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
Ddashcircle.cpp111 fRotation = TimeUtils::Scaled(1e-9 * nanos, 360.0f/kDesiredDurationSecs, 360.0f); in onAnimate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp488 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/
DBlockFrequencyInfoImpl.cpp462 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/
DARMScheduleV6.td109 // 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/
DARMScheduleV6.td109 // 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/
DMachineTraceMetrics.h380 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/
DMachineTraceMetrics.h416 unsigned getCycles(unsigned Scaled) { in getCycles() argument
418 return (Scaled + Factor - 1) / Factor; in getCycles()
/external/skia/tools/timer/
DTimeUtils.h27 static inline float Scaled(float time, float speed, float period = 0) {
/external/skia/samplecode/
DSampleCamera.cpp71 fRY = nanos ? TimeUtils::Scaled(1e-9 * nanos, 90, 360) : 0; in onAnimate()
DSamplePathEffects.cpp135 fPhase = TimeUtils::Scaled(1e-9 * nanos, 40); in onAnimate()
DSampleTextureUpload.cpp147 fActiveTileIndex = floorf(TimeUtils::Scaled(1e-9 * nanos, in onAnimate()
/external/llvm/lib/CodeGen/
DSpillPlacement.cpp250 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/
DSpillPlacement.cpp258 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/
Dfast-isel-addressing-modes.ll319 ; 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/
Dfast-isel-addressing-modes.ll319 ; 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/
DCodeGenPGO.cpp842 uint64_t Scaled = Weight / Scale + 1; in scaleBranchWeight() local
843 assert(Scaled <= UINT32_MAX && "overflow 32-bits"); in scaleBranchWeight()
844 return Scaled; in scaleBranchWeight()

12