Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/MathToLLVM/
H A DMathToLLVM.cpp54 if (!operandType || !LLVM::isCompatibleType(operandType)) in matchAndRewrite()
100 if (!operandType || !LLVM::isCompatibleType(operandType)) in matchAndRewrite()
153 if (!operandType || !LLVM::isCompatibleType(operandType)) in matchAndRewrite()
207 if (!operandType || !LLVM::isCompatibleType(operandType)) in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DVectorPattern.cpp24 if (!info.llvmNDVectorTy || !LLVM::isCompatibleType(info.llvmNDVectorTy)) { in extractNDVectorTypeInfo()
123 if (!llvm::all_of(operands.getTypes(), isCompatibleType)) in vectorOneToOneRewrite()
H A DStructBuilder.cpp22 assert(LLVM::isCompatibleType(structType) && "expected llvm type"); in StructBuilder()
H A DTypeConverter.cpp45 return LLVM::isCompatibleType(type) ? llvm::Optional<Type>(type) in LLVMTypeConverter()
61 if (LLVM::isCompatibleType(type)) { in LLVMTypeConverter()
260 if (!converted || !LLVM::isCompatibleType(converted)) in convertFunctionTypeCWrapper()
467 if (!converted || !LLVM::isCompatibleType(converted)) in packFunctionResults()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypes.cpp854 bool LLVMDialect::isCompatibleType(Type type) { in isCompatibleType() function in LLVMDialect
863 bool mlir::LLVM::isCompatibleType(Type type) { in isCompatibleType() function in mlir::LLVM
864 return LLVMDialect::isCompatibleType(type); in isCompatibleType()
964 assert(isCompatibleType(type) && in getPrimitiveTypeSizeInBits()
H A DLLVMDialect.cpp178 if (!isCompatibleType(type)) in parseCmpOp()
1014 if (!isCompatibleType(llvmResultType)) in parse()
1022 if (isCompatibleType(ty)) in parse()
1310 if (!isCompatibleType(llvmResultType)) in parse()
1319 if (!isCompatibleType(argType)) in parse()
1422 if (!isCompatibleType(containerType)) in getInsertExtractValueElementType()
1462 if (!isCompatibleType(containerType)) { in getInsertExtractValueElementType()
2221 if (!isCompatibleType(t)) { in buildLLVMFunctionType()
2232 if (!isCompatibleType(llvmOutput)) { in buildLLVMFunctionType()
2378 if (!isCompatibleType(argType)) in verifyRegions()
H A DLLVMTypeSyntax.cpp27 if (isCompatibleType(type) && !type.isa<IntegerType, FloatType, VectorType>()) in dispatchPrint()
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/
H A DMemRefToLLVM.cpp1662 !LLVM::isCompatibleType(sourceElementTy) || in matchAndRewrite()
1663 !LLVM::isCompatibleType(targetElementTy) || in matchAndRewrite()
1664 !LLVM::isCompatibleType(targetDescTy)) in matchAndRewrite()
1675 if (!LLVM::isCompatibleType(adaptor.getOperands().front().getType())) in matchAndRewrite()
1900 !LLVM::isCompatibleType(targetElementTy) || in matchAndRewrite()
1901 !LLVM::isCompatibleType(targetDescTy)) in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMTypes.h493 bool isCompatibleType(Type type);
H A DLLVMOpBase.td67 static bool isCompatibleType(Type);
425 assert(isCompatibleType(resultType) && "result must be an LLVM type");
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/
H A DWmmaOpsToNvvm.cpp32 return LLVM::isCompatibleType(value.getType()); in areAllLLVMTypes()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp357 assert((LLVM::isCompatibleType(init.getType()) || in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp471 if (!type || !LLVM::isCompatibleType(type)) in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/
H A DGPUToLLVMConversion.cpp403 return LLVM::isCompatibleType(value.getType()); in areAllLLVMTypes()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DModuleTranslation.cpp582 if (!isCompatibleType(wrappedType)) in convertBlock()
/llvm-project-15.0.7/mlir/docs/Dialects/
H A DLLVM.md224 provides a function, `bool LLVM::isCompatibleType(Type)`, that can be used as a
/llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/
H A DSPIRVToLLVM.cpp123 unsigned valueBitWidth = LLVM::isCompatibleType(srcType) in optionallyTruncateOrExtend()