Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp244 unsigned TruncBits = 0; member
249 : V(V), ZExtBits(ZExtBits), SExtBits(SExtBits), TruncBits(TruncBits) {} in CastedValue()
264 if (ExtendBy <= TruncBits) in withZExtOfValue()
268 ExtendBy -= TruncBits; in withZExtOfValue()
276 if (ExtendBy <= TruncBits) in withSExtOfValue()
280 ExtendBy -= TruncBits; in withSExtOfValue()
287 if (TruncBits) N = N.trunc(N.getBitWidth() - TruncBits); in evaluateWith()
296 if (TruncBits) N = N.truncate(N.getBitWidth() - TruncBits); in evaluateWith()
311 TruncBits == Other.TruncBits; in hasSameCastsAs()
371 if (Val.TruncBits) in GetLinearExpression()
[all …]
H A DScalarEvolution.cpp1669 unsigned TruncBits = getTypeSizeInBits(ST->getType()); in getZeroExtendExprImpl() local
1671 if (CR.truncate(TruncBits).zeroExtend(NewBits).contains( in getZeroExtendExprImpl()
1997 unsigned TruncBits = getTypeSizeInBits(ST->getType()); in getSignExtendExprImpl() local
1999 if (CR.truncate(TruncBits).signExtend(NewBits).contains( in getSignExtendExprImpl()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DIntegral.h142 Integral truncate(unsigned TruncBits) const {
143 if (TruncBits >= Bits)
145 const ReprT BitMask = (ReprT(1) << ReprT(TruncBits)) - 1;
146 const ReprT SignBit = ReprT(1) << (TruncBits - 1);
H A DBoolean.h86 Boolean truncate(unsigned TruncBits) const { return *this; } in truncate() argument
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1034 unsigned TruncBits = 0; in isFoldableLoad() local
1040 TruncBits = UserBits; in isFoldableLoad()
1046 if (TruncBits || SExtBits || ZExtBits) { in isFoldableLoad()
1059 ((SExtBits || ZExtBits) ? 0 : (TruncBits ? TruncBits : LoadedBits)); in isFoldableLoad()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2261 uint64_t TruncBits = 0; in isBitfieldExtractOpFromShr() local
2271 TruncBits = Opd0->getValueType(0).getSizeInBits() - VT.getSizeInBits(); in isBitfieldExtractOpFromShr()
2299 Imms = VT.getSizeInBits() - ShlImm - TruncBits - 1; in isBitfieldExtractOpFromShr()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9696 unsigned TruncBits = LargeVT.getScalarSizeInBits() - OpSizeInBits; in visitSRA() local
9697 if (LargeShift->getAPIntValue() == TruncBits) { in visitSRA()
9702 DAG.getConstant(TruncBits, DL, LargeShiftVT)); in visitSRA()