Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/mlir/lib/Support/
H A DTypeID.cpp29 TypeID lookupOrInsert(StringRef typeName) { in lookupOrInsert()
31 << typeName << ")\n"); in lookupOrInsert()
38 if (typeName.contains("anonymous-namespace")) { in lookupOrInsert()
40 if (typeName.contains("anonymous namespace")) { in lookupOrInsert()
45 errorOS << "TypeID::get<" << typeName in lookupOrInsert()
61 auto it = typeNameToID.find(typeName); in lookupOrInsert()
66 auto it = typeNameToID.try_emplace(typeName, TypeID()); in lookupOrInsert()
/llvm-project-15.0.7/openmp/libompd/src/
H A DTargetValue.cpp31 const char *typeName, ompd_addr_t segment) { in getType() argument
40 auto i = t->second.find(typeName); in getType()
43 i, std::make_pair(typeName, TType(context, typeName, segment))); in getType()
61 ss << "ompd_sizeof__" << typeName; in getSize()
94 ss << "ompd_bitfield__" << typeName << "__" << fieldName; in getBitfieldMask()
129 ss << "ompd_access__" << typeName << "__" << fieldName; in getElementOffset()
165 ss << "ompd_sizeof__" << typeName << "__" << fieldName; in getElementSize()
212 TValue &TValue::cast(const char *typeName) { in cast() argument
215 type = &tf.getType(context, typeName, symbolAddr.segment); in cast()
221 TValue &TValue::cast(const char *typeName, int _pointerLevel, in cast() argument
[all …]
H A DTargetValue.h50 const char *typeName; variable
53 TType(ompd_address_space_context_t *context, const char *typeName,
138 TValue &cast(const char *typeName);
148 TValue &cast(const char *typeName, int pointerLevel,
/llvm-project-15.0.7/flang/test/Semantics/
H A Dresolve99.f9010 type :: typeName type
48 FORALL (typeName=1:4) table(typeName) = 343
/llvm-project-15.0.7/clang/utils/ABITest/
H A DABITestGen.py175 typeName = self.getTypeName(type)
176 info = self.testReturnValues.get(typeName)
178 name = '%s_retval'%(typeName.replace(' ','_').replace('*','star'),)
179 print('%s %s;'%(typeName,name), file=self.output)
181 print('extern %s %s;'%(typeName,name), file=self.outputHeader)
183 print('extern %s %s;'%(typeName,name), file=self.outputTests)
184 info = self.testReturnValues[typeName] = name
188 typeName = self.getTypeName(type)
189 info = self.testValues.get(typeName)
192 print('static %s %s[] = {'%(typeName,name), file=self.outputTests)
[all …]
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangASTPropertiesEmitter.cpp680 auto declareSpecialization = [&](const Twine &typeName, in emitPackUnpackOptionalTemplate()
683 "struct " << classPrefix << "OptionalValue<" << typeName << "> {\n" in emitPackUnpackOptionalTemplate()
684 " static " << (info.IsReader ? "Optional<" : "") << typeName in emitPackUnpackOptionalTemplate()
686 << (info.IsReader ? "" : "Optional<") << typeName in emitPackUnpackOptionalTemplate()
698 StringRef typeName = type.getCXXTypeName(); in emitPackUnpackOptionalTemplate() local
699 declareSpecialization(typeName, code); in emitPackUnpackOptionalTemplate()
701 declareSpecialization("const " + typeName, code); in emitPackUnpackOptionalTemplate()
H A DMveEmitter.cpp482 virtual std::string typeName() const { return "Value *"; } in typeName() function in __anondd1c47770111::Result
572 std::string typeName() const override { in typeName() function in __anondd1c47770111::BuiltinArgResult
573 return AddressType ? "Address" : Result::typeName(); in typeName()
715 std::string typeName() const override { in typeName() function in __anondd1c47770111::AddressResult
770 std::string typeName() const override { in typeName() function in __anondd1c47770111::TypeResult
883 std::string Type = V->typeName(); in genCode()
884 OS << V->typeName(); in genCode()
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DValueObjectPrinter.cpp234 StreamString typeName; in PrintDecl() local
260 typeName << type_name_str.c_str(); in PrintDecl()
288 ConstString type_name_cstr(typeName.GetString()); in PrintDecl()
301 if (!typeName.Empty()) in PrintDecl()
302 m_stream->Printf("(%s) ", typeName.GetData()); in PrintDecl()
/llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/
H A DParser.h395 parseTypedDeclaration(llvm::StringRef typeName, bool requiresInitializer, in parseTypedDeclaration() argument
414 type.name = std::string(typeName); in parseTypedDeclaration()
432 std::string typeName(lexer.getId()); in parseDeclaration()
436 return parseTypedDeclaration(typeName, requiresInitializer, loc); in parseDeclaration()
/llvm-project-15.0.7/mlir/tools/mlir-vulkan-runner/
H A Dvulkan-runtime-wrappers.cpp128 #define DECLARE_BIND_MEMREF(size, type, typeName) \ argument
129 VULKAN_WRAPPER_SYMBOL_EXPORT void bindMemRef##size##D##typeName( \
/llvm-project-15.0.7/clang/include/clang/AST/
H A DPropertiesBase.td12 class PropertyType<string typeName = ""> {
14 string CXXName = !if(!ne(typeName, ""), typeName, NAME);
36 class EnumPropertyType<string typeName = ""> : PropertyType<typeName> {}
57 class DefaultValuePropertyType<string typeName = ""> : PropertyType<typeName> {
66 class CountPropertyType<string typeName = ""> : PropertyType<typeName> {
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DTrace.cpp217 typeName(Metric.Type), Metric.Name, Label, Value, in record()
222 llvm::StringRef typeName(Metric::MetricType T) { in typeName() function in clang::clangd::trace::__anonf4523cc60111::CSVMetricTracer
/llvm-project-15.0.7/flang/lib/Semantics/
H A Druntime-type-info.cpp406 std::string typeName{dtSymbol->name().ToString()}; in DescribeType() local
407 if (typeName.empty() || in DescribeType()
408 (typeName.front() == '.' && !context_.IsTempName(typeName))) { in DescribeType()
412 std::string distinctName{typeName}; in DescribeType()
437 SaveNameAsPointerTarget(scope, typeName)); in DescribeType()
H A Dresolve-names.cpp4385 const auto &typeName{std::get<parser::Name>(parsedClass.derived.t)}; in Post() local
4386 if (auto spec{ResolveDerivedType(typeName)}; in Post()
4388 SayWithDecl(typeName, *typeName.symbol, in Post()
4395 const auto &typeName{std::get<parser::Name>(x.t)}; in Post() local
4396 auto spec{ResolveDerivedType(typeName)}; in Post()
4469 const auto &typeName{rec.v}; in Post() local
4470 if (auto spec{ResolveDerivedType(typeName)}) { in Post()
4478 Say(typeName.source, "%s is not a known STRUCTURE"_err_en_US, in Post()
4479 typeName.source); in Post()
5719 const parser::Name &typeName, const parser::Name *extendsName) { in ResolveExtendsType() argument
[all …]
H A Dexpression.cpp1644 parser::CharBlock &typeName{structureType.source}; in Analyze() local
1647 semantics::DerivedTypeSpec dtSpec{typeName, typeSymbol->GetUltimate()}; in Analyze()
1665 AttachDeclaration(Say(typeName, in Analyze()
1668 typeName), in Analyze()
1712 source, typeName); in Analyze()
1897 AttachDeclaration(Say(typeName, in Analyze()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachO.h175 StringRef typeName() const;
221 StringRef typeName() const;
316 StringRef typeName() const;
/llvm-project-15.0.7/mlir/lib/IR/
H A DExtensibleDialect.cpp468 StringRef typeName, AsmParser &parser, Type &resultType) const { in parseOptionalDynamicType() argument
469 DynamicTypeDefinition *typeDef = lookupTypeDefinition(typeName); in parseOptionalDynamicType()
H A DAsmPrinter.cpp2251 std::string typeName; in printDialectType() local
2253 llvm::raw_string_ostream typeNameStr(typeName); in printDialectType()
2263 printDialectSymbol(os, "!", dialect.getNamespace(), typeName); in printDialectType()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DX86RecognizableInstr.cpp412 StringRef typeName = (*Operands)[operandIndex].Rec->getName(); in handleOperand() local
414 OperandEncoding encoding = encodingFromString(std::string(typeName), OpSize); in handleOperand()
419 typeFromString(std::string(typeName), HasREX_W, OpSize); in handleOperand()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DExtensibleDialect.h508 OptionalParseResult parseOptionalDynamicType(StringRef typeName,
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp345 lsp::Hover buildHoverForUserConstraintOrRewrite(StringRef typeName,
619 StringRef typeName, const T *decl, const SMRange &hoverRange) { in buildHoverForUserConstraintOrRewrite() argument
623 hoverOS << "**" << typeName << "**: `" << decl->getName().getName() in buildHoverForUserConstraintOrRewrite()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp1781 auto typeName = Ty.getUnqualifiedType().getAsString(Policy); in GenKernelArgMetadata() local
1784 StringRef typeNameRef = typeName; in GenKernelArgMetadata()
1792 return typeName; in GenKernelArgMetadata()
1804 std::string typeName = getTypeSpelling(pointeeTy) + "*"; in GenKernelArgMetadata() local
1807 argTypeNames.push_back(llvm::MDString::get(VMContext, typeName)); in GenKernelArgMetadata()
1830 std::string typeName = getTypeSpelling(ty); in GenKernelArgMetadata() local
1838 removeImageAccessQualifier(typeName); in GenKernelArgMetadata()
1842 argTypeNames.push_back(llvm::MDString::get(VMContext, typeName)); in GenKernelArgMetadata()
H A DCGDebugInfo.cpp4956 SmallString<36> typeName; in EmitDeclareOfBlockLiteralArgVariable() local
4957 llvm::raw_svector_ostream(typeName) in EmitDeclareOfBlockLiteralArgVariable()
4963 DBuilder.createStructType(tunit, typeName.str(), tunit, line, in EmitDeclareOfBlockLiteralArgVariable()
H A DCGObjCGNU.cpp2464 llvm::Constant *typeName = in GetEHType() local
2470 fields.add(typeName); in GetEHType()
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOObjectFile.cpp3246 StringRef MachOAbstractFixupEntry::typeName() const { return "unknown"; } in typeName() function in MachOAbstractFixupEntry
3573 StringRef MachORebaseEntry::typeName() const { in typeName() function in MachORebaseEntry
4117 StringRef MachOBindEntry::typeName() const { in typeName() function in MachOBindEntry

12