Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Atomic/
H A DAtomic.h21 uint64_t AtomicSizeInBits; variable
29 AtomicInfo(IRBuilderBase *Builder, Type *Ty, uint64_t AtomicSizeInBits, in AtomicInfo() argument
32 : Builder(Builder), Ty(Ty), AtomicSizeInBits(AtomicSizeInBits), in AtomicInfo()
39 uint64_t getAtomicSizeInBits() const { return AtomicSizeInBits; } in getAtomicSizeInBits()
55 bool hasPadding() const { return (ValueSizeInBits != AtomicSizeInBits); } in hasPadding()
74 AtomicSizeInBits / BitsPerByte); in getAtomicSizeValue()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp33 uint64_t AtomicSizeInBits; member in __anon5e56f1450111::AtomicInfo
43 : CGF(CGF), AtomicSizeInBits(0), ValueSizeInBits(0), in AtomicInfo()
62 AtomicSizeInBits = AtomicTI.Width; in AtomicInfo()
65 assert(ValueSizeInBits <= AtomicSizeInBits); in AtomicInfo()
79 AtomicSizeInBits = C.toBits( in AtomicInfo()
92 BFI.StorageSize = AtomicSizeInBits; in AtomicInfo()
94 llvm::Type *StorageTy = CGF.Builder.getIntNTy(AtomicSizeInBits); in AtomicInfo()
98 AtomicTy = C.getIntTypeForBitwidth(AtomicSizeInBits, OrigBFI.IsSigned); in AtomicInfo()
102 C.toCharUnitsFromBits(AtomicSizeInBits).getQuantity()); in AtomicInfo()
112 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h861 virtual bool hasBuiltinAtomic(uint64_t AtomicSizeInBits, in hasBuiltinAtomic() argument
863 return AtomicSizeInBits <= AlignmentInBits && in hasBuiltinAtomic()
864 AtomicSizeInBits <= getMaxAtomicInlineWidth() && in hasBuiltinAtomic()
865 (AtomicSizeInBits <= getCharWidth() || in hasBuiltinAtomic()
866 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/
H A DAtomic.cpp27 AtomicTy = IntegerType::get(getLLVMContext(), AtomicSizeInBits); in EmitAtomicLoadOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h497 AtomicInfo(IRBuilder<> *Builder, llvm::Type *Ty, uint64_t AtomicSizeInBits, in AtomicInfo() argument
501 : llvm::AtomicInfo(Builder, Ty, AtomicSizeInBits, ValueSizeInBits, in AtomicInfo()