Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenRecordLayoutBuilder.cpp72 mlir::Type storageType);
219 mlir::Type storageType) { in setBitFieldInfo() argument
225 info.storageSize = getSizeInBits(storageType).getQuantity(); in setBitFieldInfo()
227 info.storageType = storageType; in setBitFieldInfo()
692 mlir::Type storageType = nullptr; in lowerUnion() local
724 storageType = fieldType; in lowerUnion()
734 if (!storageType || getAlignment(fieldType) > getAlignment(storageType) || in lowerUnion()
735 (getAlignment(fieldType) == getAlignment(storageType) && in lowerUnion()
736 getSize(fieldType) > getSize(storageType))) in lowerUnion()
737 storageType = fieldType; in lowerUnion()
[all …]
H A DCIRGenBuilder.h427 mlir::Value dstAddr, mlir::Type storageType, in createSetBitfield() argument
430 return create<cir::SetBitfieldOp>(loc, resultType, dstAddr, storageType, in createSetBitfield()
436 mlir::Value addr, mlir::Type storageType, in createGetBitfield() argument
439 return create<cir::GetBitfieldOp>(loc, resultType, addr, storageType, in createGetBitfield()
H A DCIRGenRecordLayout.h102 mlir::Type storageType; member
H A DCIRGenExpr.cpp382 Address addr = getAddrOfBitFieldStorage(base, field, info.storageType, idx); in emitLValueForBitField()
385 if (addr.getElementType() != info.storageType) in emitLValueForBitField()
386 addr = builder.createElementBitCast(loc, addr, info.storageType); in emitLValueForBitField()
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp2515 mlir::IntegerType computeBitfieldIntType(mlir::Type storageType, in computeBitfieldIntType() argument
2518 return TypeSwitch<mlir::Type, mlir::IntegerType>(storageType) in computeBitfieldIntType()
2542 mlir::Type storageType = info.getStorageType(); in matchAndRewrite() local
2543 mlir::MLIRContext *context = storageType.getContext(); in matchAndRewrite()
2548 computeBitfieldIntType(storageType, context, storageSize); in matchAndRewrite()
2641 mlir::Type storageType = info.getStorageType(); in matchAndRewrite() local
2642 mlir::MLIRContext *context = storageType.getContext(); in matchAndRewrite()
2646 computeBitfieldIntType(storageType, context, storageSize); in matchAndRewrite()