Searched refs:AtomicSizeInBits (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGAtomic.cpp | 33 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/ |
D | TargetInfo.h | 417 virtual bool hasBuiltinAtomic(uint64_t AtomicSizeInBits, in hasBuiltinAtomic() argument 419 return AtomicSizeInBits <= AlignmentInBits && in hasBuiltinAtomic() 420 AtomicSizeInBits <= getMaxAtomicInlineWidth() && in hasBuiltinAtomic() 421 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic() 422 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGAtomic.cpp | 34 uint64_t AtomicSizeInBits; member in __anona2121a350111::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() 100 AtomicTy = C.getIntTypeForBitwidth(AtomicSizeInBits, OrigBFI.IsSigned); in AtomicInfo() 104 C.toCharUnitsFromBits(AtomicSizeInBits).getQuantity()); in AtomicInfo() 114 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo() [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TargetInfo.h | 691 virtual bool hasBuiltinAtomic(uint64_t AtomicSizeInBits, in hasBuiltinAtomic() argument 693 return AtomicSizeInBits <= AlignmentInBits && in hasBuiltinAtomic() 694 AtomicSizeInBits <= getMaxAtomicInlineWidth() && in hasBuiltinAtomic() 695 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic() 696 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|