Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/
H A 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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DInstrumentation.h191 uint64_t Scaled = Count / Scale; in scaleBranchCount() local
192 assert(Scaled <= std::numeric_limits<uint32_t>::max() && "overflow 32-bits"); in scaleBranchCount()
193 return Scaled; in scaleBranchCount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp509 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() local
510 BFI.Freqs[Index].Integer = std::max(UINT64_C(1), Scaled.toInt<uint64_t>()); in convertFloatingToInteger()
512 << BFI.Freqs[Index].Scaled << ", scaled = " << Scaled in convertFloatingToInteger()
535 : BFI.Freqs[N.Index].Scaled; in unwrapLoop()
546 Freqs[Index].Scaled = Working[Index].Mass.toScaled(); in unwrapLoops()
559 Min = std::min(Min, Freqs[Index].Scaled); in finalizeMetrics()
560 Max = std::max(Max, Freqs[Index].Scaled); in finalizeMetrics()
626 return Freqs[Node.Index].Scaled; in getFloatingBlockFreq()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMScheduleV6.td108 // Scaled register offset, issues over 2 cycles
121 // Scaled register offset with update, issues over 2 cycles
161 // Scaled register offset, issues over 2 cycles
174 // Scaled register offset with update, issues over 2 cycles
H A DARMScheduleA8.td123 // Scaled register offset, issues over 2 cycles
144 // Scaled register offset with update, issues over 2 cycles
202 // Scaled register offset, issues over 2 cycles
222 // Scaled register offset with update, issues over 2 cycles
H A DARMScheduleA9.td226 // Scaled register offset
267 // Scaled register offset with update
366 // Scaled register offset
403 // Scaled register offset with update
H A DARMInstrThumb.td89 // Scaled 4 immediate.
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h415 unsigned getCycles(unsigned Scaled) { in getCycles() argument
417 return (Scaled + Factor - 1) / Factor; in getCycles()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSpillPlacement.cpp254 uint64_t Scaled = (Freq >> 13) + bool(Freq & (1 << 12)); in setThreshold() local
255 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp773 auto Scaled = MGather->isIndexScaled() ? "scaled" : "unscaled"; in print_details() local
774 OS << ", " << Signed << " " << Scaled << " offset"; in print_details()
785 auto Scaled = MScatter->isIndexScaled() ? "scaled" : "unscaled"; in print_details() local
786 OS << ", " << Signed << " " << Scaled << " offset"; in print_details()
H A DDAGCombiner.cpp9726 bool Scaled, SelectionDAG &DAG) { in refineIndexType() argument
9731 MGS->setIndexType(Scaled ? ISD::UNSIGNED_SCALED : ISD::UNSIGNED_UNSCALED); in refineIndexType()
9740 MGS->setIndexType(Scaled ? ISD::SIGNED_SCALED : ISD::SIGNED_UNSCALED); in refineIndexType()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1062 uint64_t Scaled = Weight / Scale + 1; in scaleBranchWeight() local
1063 assert(Scaled <= UINT32_MAX && "overflow 32-bits"); in scaleBranchWeight()
1064 return Scaled; in scaleBranchWeight()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrInfo.cpp35 Scaled = 3 enumerator
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h215 Scaled64 Scaled; member
1420 Freqs[Node.Index].Scaled = Freq[BlockIndex[&BB]];
1422 Freqs[Node.Index].Scaled = Scaled64::getZero();
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp508 Value *Scaled = in expandAddToGEP() local
512 GepIndices.push_back(Scaled); in expandAddToGEP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td4581 // Scaled half-precision to 32-bit
4591 // Scaled half-precision to 64-bit
4600 // Scaled single-precision to 32-bit
4609 // Scaled single-precision to 64-bit
4617 // Scaled double-precision to 32-bit
4626 // Scaled double-precision to 64-bit
4708 // Scaled
H A DAArch64InstrInfo.td3695 // Scaled floating point to integer conversion instructions.
3813 // Scaled integer to floating point conversion instructions.
H A DAArch64ISelLowering.cpp15036 const bool Scaled = Opc == AArch64ISD::GLD1_SCALED_MERGE_ZERO || in performGLD1Combine() local
15072 unsigned NewOpc = getGatherVecOpcode(Scaled, OffsetIsSExt, true); in performGLD1Combine()