/external/llvm-project/mlir/lib/Transforms/ |
D | BufferResultsToOutParams.cpp | 23 auto functionType = func.getType(); in updateFuncOp() local 28 for (auto resultType : llvm::enumerate(functionType.getResults())) { in updateFuncOp() 37 llvm::concat<const Type>(functionType.getInputs(), erasedResultTypes)); in updateFuncOp() 39 newArgTypes, functionType.getResults(), func.getContext()); in updateFuncOp() 44 func.setArgAttrs(functionType.getNumInputs() + i, in updateFuncOp()
|
D | NormalizeMemRefs.cpp | 196 FunctionType functionType = funcOp.getType(); in updateFunctionSignature() local 199 resultTypes = llvm::to_vector<4>(functionType.getResults()); in updateFunctionSignature() 338 FunctionType functionType = funcOp.getType(); in normalizeFuncOpMemRefs() local 342 llvm::seq<unsigned>(0, functionType.getNumInputs())) { in normalizeFuncOpMemRefs() 343 Type argType = functionType.getInput(argIndex); in normalizeFuncOpMemRefs() 449 llvm::seq<unsigned>(0, functionType.getNumResults())) { in normalizeFuncOpMemRefs() 450 Type resType = functionType.getResult(resIndex); in normalizeFuncOpMemRefs()
|
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/ |
D | DecomposeCallGraphTypes.cpp | 66 auto functionType = op.getType(); in matchAndRewrite() local 69 TypeConverter::SignatureConversion conversion(functionType.getNumInputs()); in matchAndRewrite() 70 for (auto argType : llvm::enumerate(functionType.getInputs())) { in matchAndRewrite() 84 getTypeConverter()->convertTypes(functionType.getResults(), newResultTypes); in matchAndRewrite()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiVersionCheck.cpp | 420 const deUint32 functionType = testsArr[ndx].second; in mixupAddressProcCheck() local 421 if (functionType == FUNCTIONORIGIN_INSTANCE) in mixupAddressProcCheck() 426 else if (functionType == FUNCTIONORIGIN_DEVICE) in mixupAddressProcCheck() 437 const deUint32 functionType = testsArr[ndx].second; in specialCasesCheck() local 438 if (functionType == FUNCTIONORIGIN_PLATFORM) in specialCasesCheck() 440 else if (functionType == FUNCTIONORIGIN_INSTANCE) in specialCasesCheck() 442 else if (functionType == FUNCTIONORIGIN_DEVICE) in specialCasesCheck() 456 const deUint32 functionType = testsArr[ndx].second; in regularCheck() local 457 if (functionType == FUNCTIONORIGIN_PLATFORM) in regularCheck() 459 else if (functionType == FUNCTIONORIGIN_INSTANCE) in regularCheck() [all …]
|
/external/llvm-project/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 860 EXPECT_TRUE(Verifier.match("void f() throw();\n", loc(functionType()))); in TEST() 864 loc(functionType()))); in TEST() 869 EXPECT_TRUE(Verifier.match("void f() throw(...);\n", loc(functionType()), in TEST() 874 Verifier.match("void f() noexcept;\n", loc(functionType()), Lang_CXX11)); in TEST() 877 EXPECT_TRUE(Verifier.match("void f() noexcept(false);\n", loc(functionType()), in TEST() 882 loc(functionType()), Lang_CXX11)); in TEST() 888 parenType(innerType(functionType())))))))); in TEST() 893 parenType(innerType(functionType())))))), in TEST()
|
D | ASTTypeTraitsTest.cpp | 141 EXPECT_TRUE(Verifier.match("void f() {}", typeLoc(loc(functionType())))); in TEST()
|
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/ |
D | spvIR.h | 328 Function(Id id, Id resultType, Id functionType, Id firstParam, Module& parent); 463 __inline Function::Function(Id id, Id resultType, Id functionType, Id firstParamId, Module& parent) in Function() argument 469 functionInstruction.addIdOperand(functionType); in Function() 474 Instruction* typeInst = parent.getInstruction(functionType); in Function()
|
/external/deqp-deps/glslang/SPIRV/ |
D | spvIR.h | 328 Function(Id id, Id resultType, Id functionType, Id firstParam, Module& parent); 463 __inline Function::Function(Id id, Id resultType, Id functionType, Id firstParamId, Module& parent) in Function() argument 469 functionInstruction.addIdOperand(functionType); in Function() 474 Instruction* typeInst = parent.getInstruction(functionType); in Function()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | MisplacedConstCheck.cpp | 21 pointee(anyOf(isConstQualified(), ignoringParens(functionType())))))); in registerMatchers()
|
/external/llvm-project/mlir/lib/Conversion/GPUCommon/ |
D | ConvertLaunchFuncToRuntimeCalls.cpp | 58 functionType(LLVM::LLVMType::getFunctionTy(returnType, argumentTypes, in FunctionCallBuilder() 65 LLVM::LLVMType functionType; member in __anonde5c78970111::FunctionCallBuilder 292 .create<LLVM::LLVMFuncOp>(loc, functionName, functionType); in create() 295 loc, const_cast<LLVM::LLVMType &>(functionType).getFunctionResultType(), in create()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | QualifiedAutoCheck.cpp | 131 pointerType(pointee(unless(functionType())))))), in registerMatchers() 139 unless(functionType())))))), in registerMatchers()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 1162 EXPECT_TRUE(matches("int (*f)(int);", functionType())); in TEST() 1163 EXPECT_TRUE(matches("void f(int i) {}", functionType())); in TEST() 1168 notMatches("void (*fp)(void);", pointerType(pointee(functionType())))); in TEST() 1170 pointerType(pointee(ignoringParens(functionType()))))); in TEST() 1189 varDecl(hasType(pointsTo(parenType(innerType(functionType()))))))); in TEST() 1192 varDecl(hasType(pointsTo(parenType(innerType(functionType()))))))); in TEST()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/ |
D | Deserializer.cpp | 881 auto functionType = fnType.cast<FunctionType>(); in processFunction() local 883 if ((isVoidType(resultType) && functionType.getNumResults() != 0) || in processFunction() 884 (functionType.getNumResults() == 1 && in processFunction() 885 functionType.getResult(0) != resultType)) { in processFunction() 887 << functionType << " and return type " << resultType << " specified"; in processFunction() 892 unknownLoc, fnName, functionType, fnControl.getValue()); in processFunction() 901 if (functionType.getNumInputs()) { in processFunction() 902 for (size_t i = 0, e = functionType.getNumInputs(); i != e; ++i) { in processFunction() 903 auto argType = functionType.getInput(i); in processFunction() 926 << functionType << " and argument type definition " in processFunction()
|
/external/llvm-project/mlir/lib/Dialect/SCF/ |
D | SCF.cpp | 1231 FunctionType functionType; in parseWhileOp() local 1233 if (failed(parser.parseColonType(functionType))) in parseWhileOp() 1236 result.addTypes(functionType.getResults()); in parseWhileOp() 1238 if (functionType.getNumInputs() != operands.size()) { in parseWhileOp() 1242 << functionType.getNumInputs() << ")"; in parseWhileOp() 1246 if (failed(parser.resolveOperands(operands, functionType.getInputs(), in parseWhileOp() 1252 parser.parseRegion(*before, regionArgs, functionType.getInputs()) || in parseWhileOp()
|
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | ConvertFromLLVMIR.cpp | 780 LLVMType functionType = processType(f->getFunctionType()); in processFunction() local 781 if (!functionType) in processFunction() 786 b.create<LLVMFuncOp>(UnknownLoc::get(context), f->getName(), functionType, in processFunction() 809 functionType.getFunctionParamType(kv.index())); in processFunction()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 1602 EXPECT_TRUE(matches("int (*f)(int);", functionType())); in TEST_P() 1603 EXPECT_TRUE(matches("void f(int i) {}", functionType())); in TEST_P() 1608 notMatches("void (*fp)(void);", pointerType(pointee(functionType())))); in TEST_P() 1610 pointerType(pointee(ignoringParens(functionType()))))); in TEST_P() 1640 varDecl(hasType(pointsTo(parenType(innerType(functionType()))))))); in TEST_P() 1643 varDecl(hasType(pointsTo(parenType(innerType(functionType()))))))); in TEST_P()
|
/external/clang/unittests/AST/ |
D | ASTTypeTraitsTest.cpp | 142 EXPECT_TRUE(Verifier.match("void f() {}", typeLoc(loc(functionType())))); in TEST()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | SPIRVOps.cpp | 1858 auto functionType = funcOp.getType(); in verify() local 1866 if (functionType.getNumInputs() != functionCallOp.getNumOperands()) { in verify() 1869 << functionType.getNumInputs() << ", but provided " in verify() 1873 for (uint32_t i = 0, e = functionType.getNumInputs(); i != e; ++i) { in verify() 1874 if (functionCallOp.getOperand(i).getType() != functionType.getInput(i)) { in verify() 1877 << functionType.getInput(i) << ", but provided " in verify() 1883 if (functionType.getNumResults() != functionCallOp.getNumResults()) { in verify() 1886 << functionType.getNumResults() << ", but provided " in verify() 1891 (functionCallOp.getResult(0).getType() != functionType.getResult(0))) { in verify() 1893 << functionType.getResult(0) << ", but provided " in verify()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | RedundantVoidArgCheck.cpp | 52 auto ParenFunctionType = parenType(innerType(functionType())); in registerMatchers()
|
D | UseAutoCheck.cpp | 227 pointsTo(parenType(innerType(functionType())))))))))) in makeDeclWithNewMatcher()
|
/external/llvm-project/clang/test/AST/ |
D | pragma-attribute-objc-subject-match-rules.m | 9 …lass -fsyntax-only -ast-dump -ast-dump-filter test "-DSUBJECT=hasType(functionType)" %s | FileChec…
|
/external/llvm-project/mlir/lib/Dialect/GPU/IR/ |
D | GPUDialect.cpp | 126 auto functionType = kernelGPUFunction.getType(); in verifyOperationAttribute() local 128 if (launchOp.getKernelOperand(i).getType() != functionType.getInput(i)) { in verifyOperationAttribute()
|
/external/llvm-project/clang/test/Parser/ |
D | pragma-attribute.cpp | 63 #pragma clang attribute push(__attribute__((annotate("test"))), apply_to = hasType(functionType)) /…
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 194 REGISTER_MATCHER(functionType); in RegistryMaps()
|
/external/deqp/external/vulkancts/scripts/ |
D | gen_framework.py | 1638 def writeExtensionFunctions (functionType): argument 1641 if functionType == Function.TYPE_INSTANCE: 1644 elif functionType == Function.TYPE_DEVICE: 1651 if func.getType() == functionType:
|