Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenRecordLayoutBuilder.cpp119 unsigned alignedBits = llvm::PowerOf2Ceil(numBits); in getUIntNType() local
120 alignedBits = std::max(8u, alignedBits); in getUIntNType()
121 return cir::IntType::get(&cirGenTypes.getMLIRContext(), alignedBits, in getUIntNType()
147 unsigned alignedBits = llvm::alignTo(numBits, astContext.getCharWidth()); in getBitfieldStorageType() local
148 if (cir::isValidFundamentalIntWidth(alignedBits)) in getBitfieldStorageType()
149 return builder.getUIntNTy(alignedBits); in getBitfieldStorageType()
152 return cir::ArrayType::get(type, alignedBits / astContext.getCharWidth()); in getBitfieldStorageType()