Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp245 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo() local
246 if (!TrailingOnes) in extractAlignmentInfo()
252 TrailingOnes = std::min(TrailingOnes, in extractAlignmentInfo()
254 Alignment = std::min(1u << TrailingOnes, +Value::MaximumAlignment); in extractAlignmentInfo()
/external/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp245 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes(); in extractAlignmentInfo() local
246 if (!TrailingOnes) in extractAlignmentInfo()
252 TrailingOnes = std::min(TrailingOnes, in extractAlignmentInfo()
254 Alignment = std::min(1u << TrailingOnes, +Value::MaximumAlignment); in extractAlignmentInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp17864 unsigned TrailingOnes = Mask.countTrailingOnes(); in EmitTest() local
17866 if (LeadingZeros + TrailingOnes == BitWidth) { in EmitTest()