Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp281 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withZExtOfValue() local
283 if (ExtendBy <= TruncBits) in withZExtOfValue()
284 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withZExtOfValue()
287 ExtendBy -= TruncBits; in withZExtOfValue()
288 return CastedValue(NewV, ZExtBits + SExtBits + ExtendBy, 0, 0); in withZExtOfValue()
293 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withSExtOfValue() local
295 if (ExtendBy <= TruncBits) in withSExtOfValue()
296 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withSExtOfValue()
299 ExtendBy -= TruncBits; in withSExtOfValue()
300 return CastedValue(NewV, ZExtBits, SExtBits + ExtendBy, 0); in withSExtOfValue()