Searched refs:AtomicSizeInBits (Results 1 – 2 of 2) sorted by relevance
33 uint64_t AtomicSizeInBits; member in __anon0925a2070111::AtomicInfo44 : 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()91 CGF.Builder.getIntNTy(AtomicSizeInBits)->getPointerTo(), in AtomicInfo()95 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()99 AtomicTy = C.getIntTypeForBitwidth(AtomicSizeInBits, OrigBFI.IsSigned); in AtomicInfo()103 C.toCharUnitsFromBits(AtomicSizeInBits).getQuantity()); in AtomicInfo()112 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo()[all …]
375 virtual bool hasBuiltinAtomic(uint64_t AtomicSizeInBits, in hasBuiltinAtomic() argument377 return AtomicSizeInBits <= AlignmentInBits && in hasBuiltinAtomic()378 AtomicSizeInBits <= getMaxAtomicInlineWidth() && in hasBuiltinAtomic()379 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic()380 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()