Home
last modified time | relevance | path

Searched refs:convertType (Results 1 – 25 of 41) sorted by relevance

12

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.h51 ModifyStructConfig(ConvertType convertType, bool allowPacking, bool allowPadding) in ModifyStructConfig() argument
52 : convertType(convertType), allowPacking(allowPacking), allowPadding(allowPadding) in ModifyStructConfig()
86 ConvertType convertType; variable
98 TIntermFunctionDefinition *&getConverter(ConvertType convertType) in getConverter()
100 if (convertType == ConvertType::OriginalToModified) in getConverter()
DModifyStruct.cpp177 const bool isOriginalToModified = config.convertType == ConvertType::OriginalToModified; in publish()
208 Access::Env env{config.convertType}; in publish()
270 machinery.getConverter(config.convertType) = funcDef; in publish()
713 TIntermFunctionDefinition *converter = machinery.getConverter(state.config.convertType); in RecurseStruct()
820 Access ConvertBoolToUint(ConvertType convertType, OriginalAccess &o, ModifiedAccess &m) in ConvertBoolToUint() argument
825 switch (convertType) in ConvertBoolToUint()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp143 auto llvmVectorType = typeConverter.convertType(vectorType); in broadcast()
144 auto llvmI32Type = typeConverter.convertType(rewriter.getIntegerType(32)); in broadcast()
194 return converter.convertType(elementType).cast<LLVM::LLVMType>(); in convertStructTypeWithOffset()
205 return converter.convertType(elementType).cast<LLVM::LLVMType>(); in convertStructTypePacked()
226 auto dstType = typeConverter.convertType(loadOp.getType()); in replaceWithLoadOrStore()
257 converter.convertType(elementType).cast<LLVM::LLVMType>(); in convertArrayType()
267 converter.convertType(type.getPointeeType()).cast<LLVM::LLVMType>(); in convertPointerType()
279 converter.convertType(type.getElementType()).cast<LLVM::LLVMType>(); in convertRuntimeArrayType()
309 auto dstType = typeConverter.convertType(op.component_ptr().getType()); in matchAndRewrite()
315 auto llvmIndexType = typeConverter.convertType(indexType); in matchAndRewrite()
[all …]
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp43 loc, typeConverter.convertType(idxType), in insertOne()
70 loc, typeConverter.convertType(idxType), in extractOne()
149 typeConverter.convertType(op.getMemRefType().getElementType()); in getMemRefAlignment()
236 auto toLLVMTy = [&](Type t) { return typeConverter.convertType(t); }; in replaceTransferOpWithMasked()
241 Type vecTy = typeConverter.convertType(xferOp.getVectorType()); in replaceTransferOpWithMasked()
312 op, typeConverter->convertType(matmulOp.res().getType()), adaptor.lhs(), in matchAndRewrite()
334 transOp, typeConverter->convertType(transOp.res().getType()), in matchAndRewrite()
360 auto vtype = typeConverter->convertType(load.getResultVectorType()); in matchAndRewrite()
393 auto vtype = typeConverter->convertType(store.getValueVectorType()); in matchAndRewrite()
436 gather, typeConverter->convertType(vType), ptrs, adaptor.mask(), in matchAndRewrite()
[all …]
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp79 auto converted = converter.convertType(type); in structFuncArgTypeConverter()
208 auto elementType = convertType(type.getElementType()).cast<LLVM::LLVMType>(); in convertComplexType()
266 auto converted = convertType(t).dyn_cast_or_null<LLVM::LLVMType>(); in convertFunctionTypeCWrapper()
324 LLVM::LLVMType elementType = unwrap(convertType(type.getElementType())); in getMemRefDescriptorFields()
396 LLVM::LLVMType elementType = unwrap(convertType(type.getElementType())); in convertMemRefToBarePtr()
407 auto elementType = unwrap(convertType(type.getElementType())); in convertVectorType()
428 return convertType(type); in convertCallingConventionType()
543 auto convertedType = typeConverter.convertType(type); in fromStaticShape()
694 Type llvmType = converter.convertType(type); in pack()
802 Type llvmType = converter.convertType(type); in pack()
[all …]
/external/llvm-project/mlir/lib/Conversion/LinalgToLLVM/
DLinalgToLLVM.cpp72 return lowering.convertType(containerType.getElementType()) in getPtrToElementType()
87 auto int64Ty = converter.convertType(IntegerType::get(64, context)) in convertRangeType()
184 BaseViewConversionHelper desc(typeConverter->convertType(dstType)); in matchAndRewrite()
217 auto int64Ty = typeConverter->convertType(rewriter.getIntegerType(64)) in matchAndRewrite()
221 typeConverter->convertType(sliceOp.getShapedType())); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp177 Type t = typeConverter.convertType(op.component_ptr().getType()); in adjustAccessChainForBitwidth()
279 Type spirvType = typeConverter.convertType(allocType); in matchAndRewrite()
334 auto dstType = this->typeConverter.convertType(operation.getType()); in matchAndRewrite()
373 this->typeConverter.convertType(operation.getResult().getType()); in matchAndRewrite()
509 auto dstType = this->typeConverter.convertType(op.getResult().getType()); in matchAndRewrite()
541 this->typeConverter.convertType(operation.getResult().getType()); in matchAndRewrite()
594 auto dstType = typeConverter.convertType(srcType); in matchAndRewrite()
677 Type dstType = typeConverter.convertType(srcType); in matchAndRewrite()
803 operandType != this->typeConverter.convertType(operandType)) { \ in matchAndRewrite()
845 auto dstType = typeConverter.convertType(memrefType) in matchAndRewrite()
[all …]
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DGPUOpsLowering.h44 auto elementType = typeConverter->convertType(type.getElementType()) in matchAndRewrite()
57 auto funcType = typeConverter->convertType(gpuFuncOp.getType()) in matchAndRewrite()
130 auto ptrType = typeConverter->convertType(type.getElementType()) in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DStructuralTypeConversions.cpp28 Type newType = typeConverter->convertType(type); in matchAndRewrite()
96 Type newType = typeConverter->convertType(type); in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DDecomposeCallGraphTypes.cpp72 getTypeConverter()->convertType(argType.value(), decomposedTypes); in matchAndRewrite()
149 getTypeConverter()->convertType(resultType, newResultTypes); in matchAndRewrite()
DTensorConstantBufferize.cpp65 TypeAttr::get(typeConverter.convertType(type)), /*initial_value=*/ in GlobalCreator()
DBufferize.cpp131 auto resultType = getTypeConverter()->convertType(op.getType()); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dtf_framework_legalize_to_llvm.cc150 rewriter, loc, typeConverter->convertType(memref_type)); in CreateMemRefDescriptor()
264 loc, typeConverter->convertType(rewriter.getI32Type()), in matchAndRewrite()
342 Type llvm_result_type = typeConverter->convertType(result_type); in matchAndRewrite()
361 Type llvm_elem_type = typeConverter->convertType(elem_type); in matchAndRewrite()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp633 static_cast<llvm::FunctionType *>(convertType(ft)), in convertOperation()
638 static_cast<llvm::FunctionType *>(convertType(ft)), in convertOperation()
668 llvm::Type *ty = convertType(lpOp.getType().cast<LLVMType>()); in convertOperation()
754 llvm::Type *type = convertType(wrappedType); in convertBlock()
777 llvm::Type *type = convertType(op.getType()); in convertGlobals()
984 cast<llvm::FunctionType>(convertType(function.getType()))); in convertFunctionSignatures()
1012 llvm::Type *ModuleTranslation::convertType(LLVMType type) { in convertType() function in ModuleTranslation
/external/llvm-project/mlir/lib/Dialect/Shape/Transforms/
DStructuralTypeConversions.cpp29 Type convertedType = getTypeConverter()->convertType(originalType); in matchAndRewrite()
/external/testng/src/main/java/org/testng/internal/
DPropertyUtils.java33 Object realValue = Parameters.convertType(propClass, value, name); in setProperty()
DParameters.java158 vResult.add(convertType(parameterTypes[i], value, p)); in createParameters()
200 public static Object convertType(Class type, String value, String paramName) { in convertType() method in Parameters
/external/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
DConvertGPUToSPIRV.cpp152 auto convertedType = typeConverter.convertType(op.getResult().getType()); in matchAndRewrite()
188 auto convertedType = typeConverter.convertType(argType.value()); in lowerAsEntryFunction()
/external/skia/modules/skshaper/src/
DSkUnicode_icu.cpp53 static UBreakIteratorType convertType(SkUnicode::BreakType type) { in convertType() function
205 …ICUBreakIterator newIterator(ubrk_open(convertType(type), uloc_getDefault(), nullptr, 0, &status)); in makeBreakIterator()
422 ICUBreakIterator iterator(ubrk_open(convertType(breakType), locale, nullptr, 0, &status)); in makeBreakIterator()
/external/llvm-project/mlir/include/mlir/Target/LLVMIR/
DModuleTranslation.h104 llvm::Type *convertType(LLVMType type);
/external/llvm-project/mlir/lib/Conversion/AVX512ToLLVM/
DConvertAVX512ToLLVM.cpp64 auto type = typeConverter.convertType(op->getResult(i).getType()); in matchAndRewriteOneToOne()
/external/llvm-project/mlir/lib/Conversion/VectorToROCDL/
DVectorToROCDL.cpp82 auto toLLVMTy = [&](Type t) { return typeConverter->convertType(t); }; in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMOpBase.td226 [{convertType(opInst.getOperand($0).getType().cast<LLVM::LLVMType>())}];
228 [{convertType(opInst.getResult($0).getType().cast<LLVM::LLVMType>())}];
230 [{convertType(opInst.getResult(0).getType().cast<LLVM::LLVMStructType>()
/external/llvm-project/mlir/lib/Conversion/GPUToNVVM/
DLowerGpuOpsToNVVMOps.cpp124 return converter.convertType(MemRefType::Builder(type).setMemorySpace(0)); in runOnOperation()
/external/llvm-project/mlir/lib/Transforms/Utils/
DDialectConversion.cpp1048 if (failed(converter->convertType(origType, legalTypes))) { in remapValues()
2378 LogicalResult TypeConverter::convertType(Type t, in convertType() function in TypeConverter
2414 Type TypeConverter::convertType(Type t) { in convertType() function in TypeConverter
2417 if (failed(convertType(t, results))) in convertType()
2430 if (failed(convertType(type, results))) in convertTypes()
2437 bool TypeConverter::isLegal(Type type) { return convertType(type) == type; } in isLegal()
2461 if (failed(convertType(type, convertedTypes))) in convertSignatureArg()

12