Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp404 Type *parseBasicTypeName(StringRef &TypeName, LLVMContext &Ctx) { in parseBasicTypeName() argument
405 TypeName.consume_front("atomic_"); in parseBasicTypeName()
406 if (TypeName.consume_front("void")) in parseBasicTypeName()
408 else if (TypeName.consume_front("bool")) in parseBasicTypeName()
410 else if (TypeName.consume_front("char") || in parseBasicTypeName()
411 TypeName.consume_front("unsigned char") || in parseBasicTypeName()
412 TypeName.consume_front("uchar")) in parseBasicTypeName()
414 else if (TypeName.consume_front("short") || in parseBasicTypeName()
415 TypeName.consume_front("unsigned short") || in parseBasicTypeName()
416 TypeName.consume_front("ushort")) in parseBasicTypeName()
[all …]
H A DSPIRVBuiltins.h67 TargetExtType *parseBuiltinTypeNameToTargetExtType(std::string TypeName,
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp157 bool maybeParseSectionType(StringRef &TypeName);
416 bool ELFAsmParser::maybeParseSectionType(StringRef &TypeName) { in maybeParseSectionType() argument
431 TypeName = getTok().getString(); in maybeParseSectionType()
433 } else if (getParser().parseIdentifier(TypeName)) in maybeParseSectionType()
545 StringRef TypeName; in ParseSectionArguments() local
603 if (maybeParseSectionType(TypeName)) in ParseSectionArguments()
607 if (TypeName.empty()) { in ParseSectionArguments()
636 if (TypeName.empty()) { in ParseSectionArguments()
650 if (TypeName == "init_array") in ParseSectionArguments()
652 else if (TypeName == "fini_array") in ParseSectionArguments()
[all …]
H A DWasmAsmParser.cpp251 auto TypeName = Lexer->getTok().getString(); in parseDirectiveType() local
252 if (TypeName == "function") { in parseDirectiveType()
258 } else if (TypeName == "global") in parseDirectiveType()
260 else if (TypeName == "object") in parseDirectiveType()
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_builtin_vars.h46 #define __CUDA_DISALLOW_BUILTINVAR_ACCESS(TypeName) \ argument
47 __attribute__((device)) TypeName() __DELETE; \
48 __attribute__((device)) TypeName(const TypeName &) __DELETE; \
49 __attribute__((device)) void operator=(const TypeName &) const __DELETE; \
50 __attribute__((device)) TypeName *operator&() const __DELETE
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.cpp61 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
65 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
70 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
77 << DTI.getOffset() << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
78 << TypeName(DTI.getSubobjectTypeName()) in HandleDynamicTypeCacheMiss()
143 << TypeName(DTI.getMostDerivedTypeName()); in __ubsan_handle_cfi_bad_type()
H A Dubsan_diag.h96 class TypeName {
99 TypeName(const char *Name) : Name(Name) {}
143 Arg(TypeName TN) : Kind(AK_TypeName), String(TN.getName()) {}
194 Diag &operator<<(TypeName TN) { return AddArg(TN); } in AddArg()
239 bool IsVptrCheckSuppressed(const char *TypeName);
119 TypeName(const char *Name) : Name(Name) {} TypeName() function
H A Dubsan_value.h93 char TypeName[1]; variable
110 const char *getTypeName() const { return TypeName; } in getTypeName()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeIndex.cpp95 StringRef TypeName; in printTypeIndex() local
98 TypeName = TypeIndex::simpleTypeName(TI); in printTypeIndex()
100 TypeName = Types.getTypeName(TI); in printTypeIndex()
103 if (!TypeName.empty()) in printTypeIndex()
104 Printer.printHex(FieldName, TypeName, TI.getIndex()); in printTypeIndex()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslpredef.c726 char *TypeName; in ApCheckObjectType() local
744 TypeName = "Integer"; in ApCheckObjectType()
750 TypeName = "String"; in ApCheckObjectType()
756 TypeName = "Buffer"; in ApCheckObjectType()
763 TypeName = "Package"; in ApCheckObjectType()
784 TypeName = "Reference"; in ApCheckObjectType()
791 TypeName = UtGetOpName (Op->Asl.ParseOpcode); in ApCheckObjectType()
812 PredefinedName, TypeName, AslGbl_StringBuffer); in ApCheckObjectType()
817 PredefinedName, TypeName, PackageIndex, AslGbl_StringBuffer); in ApCheckObjectType()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DOutputSections.h105 DebugType2TypeDieRefPatch(uint64_t PatchOffset, DIE *Die, TypeEntry *TypeName,
109 TypeEntry *TypeName = nullptr; member
114 DebugTypeStrPatch(uint64_t PatchOffset, DIE *Die, TypeEntry *TypeName,
118 TypeEntry *TypeName = nullptr; member
123 DebugTypeLineStrPatch(uint64_t PatchOffset, DIE *Die, TypeEntry *TypeName,
127 TypeEntry *TypeName = nullptr; member
132 DebugTypeDeclFilePatch(DIE *Die, TypeEntry *TypeName, StringEntry *Directory,
136 TypeEntry *TypeName = nullptr; member
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DTypedefUnderlyingTypeResolver.cpp50 std::string TypeName = Type.getAsString(); in getSymbolReferenceForType() local
58 TypeName = TypeDecl->getName().str(); in getSymbolReferenceForType()
67 return API.createSymbolReference(TypeName, TypeUSR, OwningModuleName); in getSymbolReferenceForType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DInheritViz.cpp79 std::string TypeName = Type.getAsString(); in WriteNode() local
80 Out << " [ shape=\"box\", label=\"" << llvm::DOT::EscapeString(TypeName); in WriteNode()
85 if (TypeName != CanonType.getAsString()) { in WriteNode()
H A DQualTypeNames.cpp20 namespace TypeName { namespace
222 return TypeName::createNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier()
229 return TypeName::createNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier()
251 return TypeName::createNestedNameSpecifier(Ctx, TD, in getFullyQualifiedNestedNameSpecifier()
255 return TypeName::createNestedNameSpecifier(Ctx, TDD->getDecl(), in getFullyQualifiedNestedNameSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp159 StringRef TypeName) { in constructOverloadTypeName() argument
161 return TypeName.str(); in constructOverloadTypeName()
164 return (Twine(TypeName) + getOverloadTypeName(Kind)).str(); in constructOverloadTypeName()
179 std::string TypeName = constructOverloadTypeName(Kind, "dx.types.ResRet."); in getResRetType() local
182 return getOrCreateStructType(TypeName, FieldTypes, Ctx); in getResRetType()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAEmitter.cpp223 std::string TypeName; member in __anon4fed36600211::CustomDfaEmitter
226 CustomDfaEmitter(const UniqueVector<ActionTuple> &Actions, StringRef TypeName) in CustomDfaEmitter() argument
227 : Actions(Actions), TypeName(TypeName) {} in CustomDfaEmitter()
350 void CustomDfaEmitter::printActionType(raw_ostream &OS) { OS << TypeName; } in printActionType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp285 StringRef TypeName; in emitKernelArg() local
288 TypeName = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
332 PointeeAlign, Name, TypeName, BaseTypeName, ActAccQual, in emitKernelArg()
339 StringRef Name, StringRef TypeName, StringRef BaseTypeName, in emitKernelArg() argument
345 if (!TypeName.empty()) in emitKernelArg()
346 Arg[".type_name"] = Arg.getDocument()->getNode(TypeName, /*Copy=*/true); in emitKernelArg()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DQualTypeNames.h66 namespace TypeName {
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp66 LLVM_YAML_STRONG_TYPEDEF(StringRef, TypeName) in LLVM_YAML_IS_SEQUENCE_VECTOR()
68 LLVM_YAML_DECLARE_SCALAR_TRAITS(TypeName, QuotingType::Single) in LLVM_YAML_IS_SEQUENCE_VECTOR()
70 StringRef ScalarTraits<TypeName>::input(StringRef S, void *V, TypeName &T) { in LLVM_YAML_IS_SEQUENCE_VECTOR()
74 void ScalarTraits<TypeName>::output(const TypeName &T, void *V, in output()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFTypePrinter.cpp161 StringRef TypeName = D.getShortName(); in appendUnqualifiedNameBefore() local
162 if (TypeName == "decltype(nullptr)") in appendUnqualifiedNameBefore()
163 TypeName = "std::nullptr_t"; in appendUnqualifiedNameBefore()
165 OS << TypeName; in appendUnqualifiedNameBefore()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdVariantChecker.cpp79 bool isStdType(const Type *Type, llvm::StringRef TypeName) { in isStdType() argument
83 return (Decl->getName() == TypeName) && Decl->isInStdNamespace(); in isStdType()
H A DTaggedUnionModeling.h30 bool isStdType(const Type *Type, const std::string &TypeName);
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp277 bool LinePrinter::IsTypeExcluded(llvm::StringRef TypeName, uint64_t Size) { in IsTypeExcluded() argument
278 if (IsItemExcluded(TypeName, IncludeTypeFilters, ExcludeTypeFilters)) in IsTypeExcluded()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp840 std::string TypeName; in computeBaseAndAccessKey() local
878 TypeName = std::string(PossibleTypeDef->getName()); in computeBaseAndAccessKey()
929 TypeName = std::string(CTy->getName()); in computeBaseAndAccessKey()
940 assert(TypeName.size()); in computeBaseAndAccessKey()
985 AccessKey = "llvm." + TypeName + ":" + std::to_string(InfoKind) + ":" + in computeBaseAndAccessKey()
H A DBTFDebug.cpp128 uint32_t OffsetInBits, StringRef TypeName) in BTFTypeInt() argument
129 : Name(TypeName) { in BTFTypeInt()
430 BTFTypeFloat::BTFTypeFloat(uint32_t SizeInBits, StringRef TypeName) in BTFTypeFloat() argument
431 : Name(TypeName) { in BTFTypeFloat()
1624 StringRef TypeName = CTy->getName(); in endModule() local
1630 if (StructType->getName() == TypeName) { in endModule()
1637 auto FwdTypeEntry = std::make_unique<BTFTypeFwd>(TypeName, IsUnion); in endModule()

123