Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Transforms/
DBufferize.cpp30 addConversion([](Type type) { return type; }); in BufferizeTypeConverter()
32 addConversion([](RankedTensorType type) -> Type { in BufferizeTypeConverter()
36 addConversion([](UnrankedTensorType type) -> Type { in BufferizeTypeConverter()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dbufferize_pass.cc76 addConversion([](Type type) { return type; }); in CustomBufferizeTypeConverter()
78 addConversion([](RankedTensorType type) -> Type { in CustomBufferizeTypeConverter()
82 addConversion([](UnrankedTensorType type) -> Type { in CustomBufferizeTypeConverter()
Dtf_kernel_to_llvm_pass.cc250 type_converter.addConversion([&](tf_framework::OpKernelContextType type) { in runOnOperation()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVLowering.cpp415 addConversion([](Type type) { return llvm::None; }); in SPIRVTypeConverter()
425 addConversion([](spirv::SPIRVType type) { return type; }); in SPIRVTypeConverter()
427 addConversion([](IndexType indexType) { in SPIRVTypeConverter()
431 addConversion([this](IntegerType intType) -> Optional<Type> { in SPIRVTypeConverter()
437 addConversion([this](FloatType floatType) -> Optional<Type> { in SPIRVTypeConverter()
443 addConversion([this](VectorType vectorType) { in SPIRVTypeConverter()
447 addConversion([this](TensorType tensorType) { in SPIRVTypeConverter()
451 addConversion([this](MemRefType memRefType) { in SPIRVTypeConverter()
/external/llvm-project/mlir/test/lib/Transforms/
DTestDecomposeCallGraphTypes.cpp49 typeConverter.addConversion([](Type type) { return type; }); in runOnOperation()
50 typeConverter.addConversion( in runOnOperation()
DTestConvertCallOp.cpp47 type_converter.addConversion([&](test::TestType type) { in runOnOperation()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp342 void addConversion(const ConversionFunc &func) in addConversion() function in __anon383a77860111::ConvertStructState
348 void addConversion(const TFunction &func) in addConversion() function in __anon383a77860111::ConvertStructState
647 state.addConversion([=](Access::Env &, OriginalAccess &o, ModifiedAccess &m) { in IdentityModify()
721 state.addConversion(*converter->getFunction()); in RecurseStruct()
754 state.addConversion([=](Access::Env &, OriginalAccess &o, ModifiedAccess &m) { in SplitMatrixColumns()
794 state.addConversion([=](Access::Env &, OriginalAccess &o, ModifiedAccess &m) { in SaturateMatrixRows()
872 state.addConversion([=](Access::Env &env, OriginalAccess &o, ModifiedAccess &m) { in SaturateScalarOrVectorCommon()
923 state.addConversion([=](Access::Env &env, OriginalAccess &o, ModifiedAccess &m) { in PromoteBoolToUint()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_types.cc116 addConversion([](Type type) -> Type { in TfTypeConverter()
/external/llvm-project/mlir/lib/Conversion/GPUToNVVM/
DLowerGpuOpsToNVVMOps.cpp121 converter.addConversion([&](MemRefType type) -> Optional<Type> { in runOnOperation()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp493 addConversion(convertType); in TestTypeConverter()
788 converter.addConversion([](Type type) -> Type { in runOnOperation()
798 converter.addConversion([](IntegerType type, SmallVectorImpl<Type> &) { in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp1380 typeConverter.addConversion([&](spirv::ArrayType type) { in populateSPIRVToLLVMTypeConversion()
1383 typeConverter.addConversion([&](spirv::PointerType type) { in populateSPIRVToLLVMTypeConversion()
1386 typeConverter.addConversion([&](spirv::RuntimeArrayType type) { in populateSPIRVToLLVMTypeConversion()
1389 typeConverter.addConversion([&](spirv::StructType type) { in populateSPIRVToLLVMTypeConversion()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DIntermediate.cpp315 right = addConversion(op, left->getType(), right); in addAssign()
405 child = addConversion(op, TType(newType, EvqTemporary, child->getVectorSize(), in addUnaryMath()
875 TIntermTyped* TIntermediate::addConversion(TBasicType convertTo, TIntermTyped* node) const in addConversion() function in glslang::TIntermediate
1026 TIntermTyped* TIntermediate::addConversion(TOperator op, const TType& type, TIntermTyped* node) in addConversion() function in glslang::TIntermediate
3229 TIntermTyped* converted = addConversion(op, TType(EbtBool), operand); in promoteUnary()
3757 convertedArgs[convArg] = addConversion(op, args[nonConvArg]->getAsTyped()->getType(), in promoteAggregate()
Dlocalintermediate.h467 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*);
470 TIntermTyped* addConversion(TBasicType convertTo, TIntermTyped* node) const;
DParseHelper.cpp1434 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
1595 arg = intermediate.addConversion(EOpFunctionCall, *function[i].type, arg); in addInputArgumentConversions()
6965 initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer); in executeInitializer()
7317 newNode = intermediate.addConversion(EbtFloat16, newNode); in constructBuiltIn()
7340 newNode = intermediate.addConversion(EbtInt8, newNode); in constructBuiltIn()
7363 newNode = intermediate.addConversion(EbtUint8, newNode); in constructBuiltIn()
7386 newNode = intermediate.addConversion(EbtInt16, newNode); in constructBuiltIn()
7409 newNode = intermediate.addConversion(EbtUint16, newNode); in constructBuiltIn()
7462 node = intermediate.addConversion(type.getBasicType(), node); in constructBuiltIn()
7589 …TIntermTyped* converted = intermediate.addConversion(EOpConstructStruct, type, node->getAsTyped()); in constructAggregate()
/external/llvm-project/mlir/lib/Conversion/LinalgToLLVM/
DLinalgToLLVM.cpp311 converter.addConversion( in populateLinalgToLLVMConversionPatterns()
/external/clang/include/clang/Sema/
DOverload.h309 void addConversion(NamedDecl *Found, FunctionDecl *D) { in addConversion() function
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp113 addConversion([&](ComplexType type) { return convertComplexType(type); }); in LLVMTypeConverter()
114 addConversion([&](FloatType type) { return convertFloatType(type); }); in LLVMTypeConverter()
115 addConversion([&](FunctionType type) { return convertFunctionType(type); }); in LLVMTypeConverter()
116 addConversion([&](IndexType type) { return convertIndexType(type); }); in LLVMTypeConverter()
117 addConversion([&](IntegerType type) { return convertIntegerType(type); }); in LLVMTypeConverter()
118 addConversion([&](MemRefType type) { return convertMemRefType(type); }); in LLVMTypeConverter()
119 addConversion( in LLVMTypeConverter()
121 addConversion([&](VectorType type) { return convertVectorType(type); }); in LLVMTypeConverter()
124 addConversion([](LLVM::LLVMType type) { return type; }); in LLVMTypeConverter()
/external/llvm-project/clang/include/clang/Sema/
DOverload.h444 void addConversion(NamedDecl *Found, FunctionDecl *D) { in addConversion() function
/external/llvm-project/mlir/include/mlir/Transforms/
DDialectConversion.h108 void addConversion(FnT &&callback) { in addConversion() function
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DConvertLaunchFuncToRuntimeCalls.cpp654 converter.addConversion( in populateGpuToLLVMConversionPatterns()
/external/llvm-project/mlir/docs/
DDialectConversion.md234 itself. Type conversions are specified via the `addConversion` method described
318 void addConversion(FnT &&callback) {
DBufferization.md197 converter.addConversion([](RankedTensorType type) {
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp785 … return intermediate.addConversion(EOpConstructUint, TType(EbtUint, EvqTemporary, vecSize), index); in makeIntegerIndex()
2430 value = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()
4818 typedArg = intermediate.addConversion(EOpConstructBool, boolType, typedArg); in decomposeIntrinsic()
5060 … intermediate.addConversion(EOpConstructFloat, in decomposeIntrinsic()
5270 …node = intermediate.addConversion(EOpConstructInt, TType(EbtInt, EvqTemporary, 4), rangeConverted); in decomposeIntrinsic()
5701 … TIntermTyped* convArg = intermediate.addConversion(EOpFunctionCall, *function[param].type, arg); in addInputArgumentConversions()
6350 …return intermediate.addConversion(EOpConstructBool, TType(EbtBool, EvqTemporary, condition->getVec… in convertConditionalExpression()
8097 initializer = intermediate.addConversion(EOpAssign, variable->getType(), initializer); in executeInitializer()
8636 elementArg = intermediate.addConversion(componentOp, derefType, elementArg); in convertArray()
8655 …TIntermTyped* converted = intermediate.addConversion(EOpConstructStruct, type, node->getAsTyped()); in constructAggregate()
/external/llvm-project/mlir/lib/Conversion/AsyncToLLVM/
DAsyncToLLVM.cpp567 AsyncRuntimeTypeConverter() { addConversion(convertType); } in AsyncRuntimeTypeConverter()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp1385 ICS.Ambiguous.addConversion(Cand->FoundDecl, Cand->Function); in TryUserDefinedConversion()
4709 ICS.Ambiguous.addConversion(Cand->FoundDecl, Cand->Function); in FindConversionForRefInit()