Searched refs:getTypeABIAlignment (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | DataLayoutInterfacesTest.cpp | 161 return 2 * getTypeABIAlignment(type, dataLayout, params); in getTypePreferredAlignment() 259 EXPECT_EQ(layout.getTypeABIAlignment(IntegerType::get(&ctx, 42)), 8u); in TEST() 260 EXPECT_EQ(layout.getTypeABIAlignment(Float16Type::get(&ctx)), 2u); in TEST() 282 EXPECT_EQ(layout.getTypeABIAlignment(IntegerType::get(&ctx, 42)), 64u); in TEST() 283 EXPECT_EQ(layout.getTypeABIAlignment(Float16Type::get(&ctx)), 16u); in TEST() 305 EXPECT_EQ(layout.getTypeABIAlignment(IntegerType::get(&ctx, 42)), 64u); in TEST() 306 EXPECT_EQ(layout.getTypeABIAlignment(Float16Type::get(&ctx)), 16u); in TEST() 331 EXPECT_EQ(layout.getTypeABIAlignment(IntegerType::get(&ctx, 42)), 8u); in TEST() 332 EXPECT_EQ(layout.getTypeABIAlignment(Float16Type::get(&ctx)), 8u); in TEST() 340 EXPECT_EQ(layout.getTypeABIAlignment(IntegerType::get(&ctx, 32)), 32u); in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | DataLayoutInterfaces.cpp | 145 return dataLayout.getTypeABIAlignment( in getDefaultABIAlignment() 182 return dataLayout.getTypeABIAlignment(fltType); in getFloatTypePreferredAlignment() 191 return dataLayout.getTypeABIAlignment(type); in getDefaultPreferredAlignment() 435 unsigned mlir::DataLayout::getTypeABIAlignment(Type t) const { in getTypeABIAlignment() function in mlir::DataLayout 442 return iface.getTypeABIAlignment(ty, *this, list); in getTypeABIAlignment()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/DLTI/ |
| H A D | TestDataLayoutQuery.cpp | 41 unsigned alignment = layout.getTypeABIAlignment(op.getType()); in runOnOperation()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | LLVMTypes.cpp | 74 dataLayout.getTypeABIAlignment(getElementType())) * in getTypeSize() 80 return dataLayout.getTypeABIAlignment(getElementType()); in getABIAlignment() 301 return dataLayout.getTypeABIAlignment(get(getContext())); in getABIAlignment() 302 return dataLayout.getTypeABIAlignment(get(getElementType())); in getABIAlignment() 493 isPacked() ? 1 : dataLayout.getTypeABIAlignment(element); in getTypeSizeInBits() 546 std::max(dataLayout.getTypeABIAlignment(iter), structAlignment); in calculateStructAlignment()
|
| /llvm-project-15.0.7/mlir/include/mlir/Interfaces/ |
| H A D | DataLayoutInterfaces.h | 157 unsigned getTypeABIAlignment(Type t) const;
|
| H A D | DataLayoutInterfaces.td | 235 /*methodName=*/"getTypeABIAlignment",
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | DataLayout.md | 76 unsigned getTypeABIAlignment(Type type) const;
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | ModuleTranslation.cpp | 113 unsigned abi = dataLayout.getTypeABIAlignment(type) * 8u; in translateDataLayout()
|