Searched refs:CountLeadingZeros_32 (Results 1 - 12 of 12) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/unittests/Support/
H A DMathExtrasTest.cpp41 TEST(MathExtras, CountLeadingZeros_32) {
42 EXPECT_EQ(8u, CountLeadingZeros_32(0x00F000FF));
43 EXPECT_EQ(8u, CountLeadingZeros_32(0x00F12345));
45 EXPECT_EQ(31 - i, CountLeadingZeros_32(1 << i));
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DMathExtras.h156 /// CountLeadingZeros_32 - this function performs the platform optimal form of
158 /// bit. Ex. CountLeadingZeros_32(0x00F000FF) == 8.
160 inline unsigned CountLeadingZeros_32(uint32_t Value) { function in namespace:llvm
189 return CountLeadingZeros_32(~Value);
224 Count = CountLeadingZeros_32(Hi);
229 Count = CountLeadingZeros_32(Lo)+32;
326 return 31 - CountLeadingZeros_32(Value);
339 return 32-CountLeadingZeros_32(Value-1);
/macosx-10.10.1/objc4-646/runtime/
H A Dllvm-MathExtras.h138 /// CountLeadingZeros_32 - this function performs the platform optimal form of
140 /// bit. Ex. CountLeadingZeros_32(0x00F000FF) == 8.
142 inline unsigned CountLeadingZeros_32(uint32_t Value) { function in namespace:objc
171 return CountLeadingZeros_32(~Value);
206 Count = CountLeadingZeros_32(Hi);
211 Count = CountLeadingZeros_32(Lo)+32;
308 return 31 - CountLeadingZeros_32(Value);
321 return 32-CountLeadingZeros_32(Value-1);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp64 int msksize = 32 - CountLeadingZeros_32(value);
164 SDValue MskSize = getI32Imm(32 - CountLeadingZeros_32(Val));
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/ARM/
H A DThumb2InstrInfo.cpp253 unsigned RotAmt = CountLeadingZeros_32(ThisVal);
270 unsigned RotAmt = CountLeadingZeros_32(ThisVal);
452 unsigned RotAmt = CountLeadingZeros_32(Offset);
H A DARMCodeEmitter.cpp1044 int32_t msb = (32 - CountLeadingZeros_32(v)) - 1;
H A DARMISelLowering.cpp7868 unsigned Width = (32 - CountLeadingZeros_32(~InvMask)) - LSB;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h299 unsigned RotAmt = CountLeadingZeros_32(V);
H A DARMMCCodeEmitter.cpp1350 uint32_t msb = (32 - CountLeadingZeros_32 (v)) - 1;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp329 MB = CountLeadingZeros_32(Val);
331 ME = CountLeadingZeros_32((Val - 1) ^ Val);
337 ME = CountLeadingZeros_32(Val) - 1;
339 MB = CountLeadingZeros_32((Val - 1) ^ Val) + 1;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/ARM/InstPrinter/
H A DARMInstPrinter.cpp570 int32_t width = (32 - CountLeadingZeros_32 (v)) - lsb;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A DAPInt.cpp1515 unsigned shift = CountLeadingZeros_32(v[n-1]);

Completed in 486 milliseconds