Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Target/LLVMIR/
DTypeTranslation.cpp30 llvm::Type *translateType(LLVM::LLVMType type) { in translateType() function in mlir::LLVM::detail::TypeToLLVMIRTranslatorImpl
91 return llvm::ArrayType::get(translateType(type.getElementType()), in translate()
99 return llvm::FunctionType::get(translateType(type.getReturnType()), in translate()
110 return llvm::PointerType::get(translateType(type.getElementType()), in translate()
139 return llvm::FixedVectorType::get(translateType(type.getElementType()), in translate()
145 return llvm::ScalableVectorType::get(translateType(type.getElementType()), in translate()
154 result.push_back(translateType(type)); in translateTypes()
175 llvm::Type *LLVM::TypeToLLVMIRTranslator::translateType(LLVM::LLVMType type) { in translateType() function in LLVM::TypeToLLVMIRTranslator
176 return impl->translateType(type); in translateType()
181 return layout.getPrefTypeAlignment(translateType(type)); in getPreferredAlignment()
[all …]
DConvertFromLLVMIR.cpp154 if (LLVMType result = typeTranslator.translateType(type)) in processType()
DModuleTranslation.cpp1013 return typeTranslator.translateType(type); in convertType()
/external/llvm-project/mlir/include/mlir/Target/LLVMIR/
DTypeTranslation.h54 llvm::Type *translateType(LLVM::LLVMType type);
70 LLVM::LLVMType translateType(llvm::Type *type);