Home
last modified time | relevance | path

Searched refs:TypeBits (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp370 unsigned TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant() local
372 assert(!Op1C->uge(TypeBits) && in FoldShiftByConstant()
444 unsigned Op1Val = Op1C->getLimitedValue(TypeBits); in FoldShiftByConstant()
446 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant()
479 unsigned Op1Val = Op1C->getLimitedValue(TypeBits); in FoldShiftByConstant()
481 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant()
H A DInstCombineCompares.cpp1844 unsigned TypeBits = C.getBitWidth(); in foldICmpShlOne() local
1863 if (CLog2 == TypeBits - 1) { in foldICmpShlOne()
1912 unsigned TypeBits = C.getBitWidth(); in foldICmpShlConstant() local
1913 if (ShiftAmt->uge(TypeBits)) in foldICmpShlConstant()
1979 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue())); in foldICmpShlConstant()
1991 APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1)); in foldICmpShlConstant()
2039 unsigned TypeBits = C.getBitWidth(); in foldICmpShrConstant() local
2102 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal)); in foldICmpShrConstant()
3635 if (ShAmt < TypeBits && ShAmt != 0) { in foldICmpEquality()
3649 if (ShAmt < TypeBits && ShAmt != 0) { in foldICmpEquality()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h1707 TypeBitfields TypeBits;
1764 TypeBits.FromAST = V;
1775 TypeBits.TC = tc;
1776 TypeBits.Dependent = Dependent;
1780 TypeBits.CacheValid = false;
1781 TypeBits.CachedLocalOrUnnamed = false;
1782 TypeBits.CachedLinkage = NoLinkage;
1783 TypeBits.FromAST = false;
1790 TypeBits.Dependent = D;
1796 TypeBits.InstantiationDependent = D; }
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp2647 switch (TypeBits.TC) { in getTypeClassName()
3462 if (T->TypeBits.isCacheValid()) return; in ensure()
3469 T->TypeBits.CacheValid = true; in ensure()
3470 T->TypeBits.CachedLinkage = CT->TypeBits.CachedLinkage; in ensure()
3471 T->TypeBits.CachedLocalOrUnnamed = CT->TypeBits.CachedLocalOrUnnamed; in ensure()
3477 T->TypeBits.CacheValid = true; in ensure()
3478 T->TypeBits.CachedLinkage = Result.getLinkage(); in ensure()
3591 return TypeBits.getLinkage(); in getLinkage()
3596 return TypeBits.hasLocalOrUnnamedType(); in hasUnnamedOrLocalType()
3673 if (!TypeBits.isCacheValid()) in isLinkageValid()
[all …]
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2145 static APInt readWideAPInt(ArrayRef<uint64_t> Vals, unsigned TypeBits) { in readWideAPInt() argument
2150 return APInt(TypeBits, Words); in readWideAPInt()