Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp247 unsigned TruncBits = 0; member
252 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits) {} in CastedValue()
267 if (ExtendBy <= TruncBits) in withZExtOfValue()
271 ExtendBy -= TruncBits; in withZExtOfValue()
279 if (ExtendBy <= TruncBits) in withSExtOfValue()
283 ExtendBy -= TruncBits; in withSExtOfValue()
290 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); in evaluateWith()
299 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits); in evaluateWith()
314 TruncBits == Other.TruncBits; in hasSameCastsAs()
374 if (Val.TruncBits) in GetLinearExpression()
[all …]
H A DScalarEvolution.cpp1633 unsigned TruncBits = getTypeSizeInBits(ST->getType()); in getZeroExtendExpr() local
1635 if (CR.truncate(TruncBits).zeroExtend(NewBits).contains( in getZeroExtendExpr()
1940 unsigned TruncBits = getTypeSizeInBits(ST->getType()); in getSignExtendExpr() local
1942 if (CR.truncate(TruncBits).signExtend(NewBits).contains( in getSignExtendExpr()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DIntegral.h140 Integral truncate(unsigned TruncBits) const {
141 if (TruncBits >= Bits)
143 const T BitMask = (T(1) << T(TruncBits)) - 1;
144 const T SignBit = T(1) << (TruncBits - 1);
H A DBoolean.h80 Boolean truncate(unsigned TruncBits) const { return *this; } in truncate() argument
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1027 unsigned TruncBits = 0; in isFoldableLoad() local
1033 TruncBits = UserBits; in isFoldableLoad()
1039 if (TruncBits || SExtBits || ZExtBits) { in isFoldableLoad()
1052 ((SExtBits || ZExtBits) ? 0 : (TruncBits ? TruncBits : LoadedBits)); in isFoldableLoad()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2067 uint64_t TruncBits = 0; in isBitfieldExtractOpFromShr() local
2077 TruncBits = Opd0->getValueType(0).getSizeInBits() - VT.getSizeInBits(); in isBitfieldExtractOpFromShr()
2105 Imms = VT.getSizeInBits() - ShlImm - TruncBits - 1; in isBitfieldExtractOpFromShr()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9405 unsigned TruncBits = LargeVT.getScalarSizeInBits() - OpSizeInBits; in visitSRA() local
9406 if (LargeShift->getAPIntValue() == TruncBits) { in visitSRA()
9411 DAG.getConstant(TruncBits, DL, LargeShiftVT)); in visitSRA()