Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerCombiner.cpp152 unsigned TrailingZeroes = ConstValue.countTrailingZeros(); in matchAArch64MulConstCombine() local
153 if (TrailingZeroes) { in matchAArch64MulConstCombine()
171 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in matchAArch64MulConstCombine()
210 if (NegateResult && TrailingZeroes) in matchAArch64MulConstCombine()
220 assert(!(NegateResult && TrailingZeroes) && in matchAArch64MulConstCombine()
228 if (TrailingZeroes) { in matchAArch64MulConstCombine()
229 B.buildShl(DstReg, Res, B.buildConstant(LLT::scalar(64), TrailingZeroes)); in matchAArch64MulConstCombine()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGExprConstant.cpp965 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant() local
966 if (TrailingZeroes >= 8) { in EmitArrayConstant()
984 FillerType = llvm::ArrayType::get(FillerType, TrailingZeroes); in EmitArrayConstant()
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp15623 unsigned TrailingZeroes = ConstValue.countTrailingZeros(); in performMulCombine() local
15624 if (TrailingZeroes) { in performMulCombine()
15638 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in performMulCombine()
15686 return Shl(Add(Shl(N0, ShiftAmt), N0), TrailingZeroes); in performMulCombine()
15691 ShiftAmt = SCVPlus1.logBase2() + TrailingZeroes; in performMulCombine()
15692 return Sub(Shl(N0, ShiftAmt), Shl(N0, TrailingZeroes)); in performMulCombine()
15719 ShiftAmt = SCVPlus1.logBase2() + TrailingZeroes; in performMulCombine()
15720 return Sub(Shl(N0, TrailingZeroes), Shl(N0, ShiftAmt)); in performMulCombine()