Home
last modified time | relevance | path

Searched refs:NumSources (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2838 unsigned NumSources = 0; in getShuffleCost() local
2850 if (NumSources == 0) { in getShuffleCost()
2852 NumSources = 1; in getShuffleCost()
2853 } else if (NumSources == 1 && Source != Source1) { in getShuffleCost()
2855 NumSources = 2; in getShuffleCost()
2856 } else if (NumSources >= 2 && Source != Source1 && Source != Source2) { in getShuffleCost()
2857 NumSources++; in getShuffleCost()
2871 if (NumSources <= 2) in getShuffleCost()
2872 Cost += getShuffleCost(NumSources <= 1 ? TTI::SK_PermuteSingleSrc in getShuffleCost()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp2099 int NumSources = 0; in createEntryPHI() local
2103 NumSources++; in createEntryPHI()
2106 if (NumSources == 1) { in createEntryPHI()