Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp265 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withZExtOfValue() local
267 if (ExtendBy <= TruncBits) in withZExtOfValue()
268 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withZExtOfValue()
271 ExtendBy -= TruncBits; in withZExtOfValue()
272 return CastedValue(NewV, ZExtBits + SExtBits + ExtendBy, 0, 0); in withZExtOfValue()
277 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withSExtOfValue() local
279 if (ExtendBy <= TruncBits) in withSExtOfValue()
280 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withSExtOfValue()
283 ExtendBy -= TruncBits; in withSExtOfValue()
284 return CastedValue(NewV, ZExtBits, SExtBits + ExtendBy, 0); in withSExtOfValue()