Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp245 unsigned ZExtBits = 0; member
252 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits) {} in CastedValue()
260 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits); in withValue()
268 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits - ExtendBy); in withZExtOfValue()
272 return CastedValue(NewV, ZExtBits + SExtBits + ExtendBy, 0, 0); in withZExtOfValue()
284 return CastedValue(NewV, ZExtBits, SExtBits + ExtendBy, 0); in withSExtOfValue()
292 if (ZExtBits) N = N.zext(N.getBitWidth() + ZExtBits); in evaluateWith()
301 if (ZExtBits) N = N.zeroExtend(N.getBitWidth() + ZExtBits); in evaluateWith()
309 return (!ZExtBits || NUW) && (!SExtBits || NSW); in canDistributeOver()
313 return ZExtBits == Other.ZExtBits && SExtBits == Other.SExtBits && in hasSameCastsAs()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1029 unsigned ZExtBits = 0; in isFoldableLoad() local
1037 ZExtBits = UserBits; in isFoldableLoad()
1039 if (TruncBits || SExtBits || ZExtBits) { in isFoldableLoad()
1052 ((SExtBits || ZExtBits) ? 0 : (TruncBits ? TruncBits : LoadedBits)); in isFoldableLoad()
1057 if (LoadedBits == 32 && ZExtBits == 64) in isFoldableLoad()