Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGAtomic.cpp33 uint64_t AtomicSizeInBits; member in __anond5645c670111::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()
91 CGF.Builder.getIntNTy(AtomicSizeInBits)->getPointerTo(), in AtomicInfo()
95 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
101 AtomicTy = C.getIntTypeForBitwidth(AtomicSizeInBits, OrigBFI.IsSigned); in AtomicInfo()
105 C.toCharUnitsFromBits(AtomicSizeInBits).getQuantity()); in AtomicInfo()
114 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo()
[all …]
/external/clang/include/clang/Basic/
DTargetInfo.h395 virtual bool hasBuiltinAtomic(uint64_t AtomicSizeInBits, in hasBuiltinAtomic() argument
397 return AtomicSizeInBits <= AlignmentInBits && in hasBuiltinAtomic()
398 AtomicSizeInBits <= getMaxAtomicInlineWidth() && in hasBuiltinAtomic()
399 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic()
400 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()