Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp34 uint64_t AtomicSizeInBits; member in __anon5e56f1450111::AtomicInfo
44 : CGF(CGF), AtomicSizeInBits(0), ValueSizeInBits(0), in AtomicInfo()
63 AtomicSizeInBits = AtomicTI.Width; in AtomicInfo()
66 assert(ValueSizeInBits <= AtomicSizeInBits); in AtomicInfo()
80 AtomicSizeInBits = C.toBits( in AtomicInfo()
93 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
95 llvm::Type *StorageTy = CGF.Builder.getIntNTy(AtomicSizeInBits); in AtomicInfo()
99 AtomicTy = C.getIntTypeForBitwidth(AtomicSizeInBits, OrigBFI.IsSigned); in AtomicInfo()
103 C.toCharUnitsFromBits(AtomicSizeInBits).getQuantity()); in AtomicInfo()
113 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h840 virtual bool hasBuiltinAtomic(uint64_t AtomicSizeInBits, in hasBuiltinAtomic() argument
842 return AtomicSizeInBits <= AlignmentInBits && in hasBuiltinAtomic()
843 AtomicSizeInBits <= getMaxAtomicInlineWidth() && in hasBuiltinAtomic()
844 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic()
845 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()