Home
last modified time | relevance | path

Searched refs:LeadZeroIdx (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerBuiltinsMsvc.h39 unsigned long LeadZeroIdx = 0; in Clzll() local
43 if (_BitScanReverse(&LeadZeroIdx, static_cast<unsigned long>(X >> 32))) in Clzll()
45 63 - (LeadZeroIdx + 32)); // Create a bit offset from the MSB. in Clzll()
47 if (_BitScanReverse(&LeadZeroIdx, static_cast<unsigned long>(X))) in Clzll()
48 return static_cast<int>(63 - LeadZeroIdx); in Clzll()
51 if (_BitScanReverse64(&LeadZeroIdx, X)) return 63 - LeadZeroIdx; in Clzll()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc927 unsigned long LeadZeroIdx = 0;
930 if (_BitScanReverse(&LeadZeroIdx, (unsigned long)(X >> 32)))
931 return (int)(63 - (LeadZeroIdx + 32)); // Create a bit offset
934 if (_BitScanReverse(&LeadZeroIdx, (unsigned long)(X)))
935 return (int)(63 - LeadZeroIdx);
937 if (_BitScanReverse64(&LeadZeroIdx, X)) return 63 - LeadZeroIdx;
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc927 unsigned long LeadZeroIdx = 0;
930 if (_BitScanReverse(&LeadZeroIdx, (unsigned long)(X >> 32)))
931 return (int)(63 - (LeadZeroIdx + 32)); // Create a bit offset
934 if (_BitScanReverse(&LeadZeroIdx, (unsigned long)(X)))
935 return (int)(63 - LeadZeroIdx);
937 if (_BitScanReverse64(&LeadZeroIdx, X)) return 63 - LeadZeroIdx;