Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp263 unsigned TruncBits = 0; member
268 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits) {} in CastedValue()
283 if (ExtendBy <= TruncBits) in withZExtOfValue()
287 ExtendBy -= TruncBits; in withZExtOfValue()
295 if (ExtendBy <= TruncBits) in withSExtOfValue()
299 ExtendBy -= TruncBits; in withSExtOfValue()
306 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); in evaluateWith()
315 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits); in evaluateWith()
330 TruncBits == Other.TruncBits; in hasSameCastsAs()
390 if (Val.TruncBits) in GetLinearExpression()
[all …]
H A DScalarEvolution.cpp1605 unsigned TruncBits = getTypeSizeInBits(ST->getType()); in getZeroExtendExprImpl() local
1607 if (CR.truncate(TruncBits).zeroExtend(NewBits).contains( in getZeroExtendExprImpl()
1946 unsigned TruncBits = getTypeSizeInBits(ST->getType()); in getSignExtendExprImpl() local
1948 if (CR.truncate(TruncBits).signExtend(NewBits).contains( in getSignExtendExprImpl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h151 Integral truncate(unsigned TruncBits) const {
152 if (TruncBits >= Bits)
154 const ReprT BitMask = (ReprT(1) << ReprT(TruncBits)) - 1;
155 const ReprT SignBit = ReprT(1) << (TruncBits - 1);
H A DBoolean.h85 Boolean truncate(unsigned TruncBits) const { return *this; } in truncate() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1075 unsigned TruncBits = 0; in isFoldableLoad() local
1081 TruncBits = UserBits; in isFoldableLoad()
1087 if (TruncBits || SExtBits || ZExtBits) { in isFoldableLoad()
1100 ((SExtBits || ZExtBits) ? 0 : (TruncBits ? TruncBits : LoadedBits)); in isFoldableLoad()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1514 unsigned TruncBits = TruncTy->getScalarSizeInBits(); in foldICmpTruncWithTruncOrExt() local
1518 if (isDesirableIntType(TruncBits) && in foldICmpTruncWithTruncOrExt()
1524 if (KnownX.countMaxActiveBits() > TruncBits) in foldICmpTruncWithTruncOrExt()
1530 if (KnownY.countMaxActiveBits() > TruncBits) in foldICmpTruncWithTruncOrExt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2471 uint64_t TruncBits = 0; in isBitfieldExtractOpFromShr() local
2481 TruncBits = Opd0->getValueType(0).getSizeInBits() - VT.getSizeInBits(); in isBitfieldExtractOpFromShr()
2509 Imms = VT.getSizeInBits() - ShlImm - TruncBits - 1; in isBitfieldExtractOpFromShr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp10461 unsigned TruncBits = LargeVT.getScalarSizeInBits() - OpSizeInBits; in visitSRA() local
10462 if (LargeShift->getAPIntValue() == TruncBits) { in visitSRA()
10467 DAG.getConstant(TruncBits, DL, LargeShiftVT)); in visitSRA()