Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp246 unsigned SExtBits = 0; member
252 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits) {} in CastedValue()
256 SExtBits; in getBitWidth()
260 return CastedValue(NewV, ZExtBits, SExtBits, TruncBits); in withValue()
272 return CastedValue(NewV, ZExtBits + SExtBits + ExtendBy, 0, 0); in withZExtOfValue()
284 return CastedValue(NewV, ZExtBits, SExtBits + ExtendBy, 0); in withSExtOfValue()
291 if (SExtBits) N = N.sext(N.getBitWidth() + SExtBits); in evaluateWith()
300 if (SExtBits) N = N.signExtend(N.getBitWidth() + SExtBits); 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.cpp1028 unsigned SExtBits = 0; in isFoldableLoad() local
1035 SExtBits = UserBits; in isFoldableLoad()
1039 if (TruncBits || SExtBits || ZExtBits) { in isFoldableLoad()
1052 ((SExtBits || ZExtBits) ? 0 : (TruncBits ? TruncBits : LoadedBits)); in isFoldableLoad()
1063 (SExtBits == 32 || in isFoldableLoad()
1064 (SExtBits == 64 && ST->hasMiscellaneousExtensions2()))) in isFoldableLoad()
1071 if (LoadedBits == 32 && SExtBits == 64) in isFoldableLoad()