Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp135 bool maybeParseSectionType(StringRef &TypeName);
395 bool ELFAsmParser::maybeParseSectionType(StringRef &TypeName) { in maybeParseSectionType() argument
410 TypeName = getTok().getString(); in maybeParseSectionType()
412 } else if (getParser().parseIdentifier(TypeName)) in maybeParseSectionType()
502 StringRef TypeName; in parseSectionArguments() local
560 if (maybeParseSectionType(TypeName)) in parseSectionArguments()
564 if (TypeName.empty()) { in parseSectionArguments()
593 if (TypeName.empty()) { in parseSectionArguments()
607 if (TypeName == "init_array") in parseSectionArguments()
609 else if (TypeName == "fini_array") in parseSectionArguments()
[all …]
H A DWasmAsmParser.cpp249 auto TypeName = Lexer->getTok().getString(); in parseDirectiveType() local
250 if (TypeName == "function") { in parseDirectiveType()
256 } else if (TypeName == "global") in parseDirectiveType()
258 else if (TypeName == "object") in parseDirectiveType()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DOutputSections.cpp38 TypeEntry *TypeName, in DebugType2TypeDieRefPatch() argument
40 : SectionPatch({PatchOffset}), Die(Die), TypeName(TypeName), in DebugType2TypeDieRefPatch()
44 TypeEntry *TypeName, StringEntry *String) in DebugTypeStrPatch() argument
45 : SectionPatch({PatchOffset}), Die(Die), TypeName(TypeName), in DebugTypeStrPatch()
49 TypeEntry *TypeName, in DebugTypeLineStrPatch() argument
51 : SectionPatch({PatchOffset}), Die(Die), TypeName(TypeName), in DebugTypeLineStrPatch()
54 DebugTypeDeclFilePatch::DebugTypeDeclFilePatch(DIE *Die, TypeEntry *TypeName, in DebugTypeDeclFilePatch() argument
57 : Die(Die), TypeName(TypeName), Directory(Directory), FilePath(FilePath) {} in DebugTypeDeclFilePatch()
316 TypeEntryBody *TypeEntry = Patch.TypeName->getValue().load(); in applyPatches()
318 formatv("No data for type {0}", Patch.TypeName->getKey()) in applyPatches()
[all …]
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/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
117 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/Target/SPIRV/
H A DSPIRVUtils.cpp501 Type *parseBasicTypeName(StringRef &TypeName, LLVMContext &Ctx) { in parseBasicTypeName() argument
502 TypeName.consume_front("atomic_"); in parseBasicTypeName()
503 if (TypeName.consume_front("void")) in parseBasicTypeName()
505 else if (TypeName.consume_front("bool") || TypeName.consume_front("_Bool")) in parseBasicTypeName()
507 else if (TypeName.consume_front("char") || in parseBasicTypeName()
508 TypeName.consume_front("signed char") || in parseBasicTypeName()
509 TypeName.consume_front("unsigned char") || in parseBasicTypeName()
510 TypeName.consume_front("uchar")) in parseBasicTypeName()
512 else if (TypeName.consume_front("short") || in parseBasicTypeName()
513 TypeName.consume_front("signed short") || in parseBasicTypeName()
[all …]
H A DSPIRVBuiltins.h71 TargetExtType *parseBuiltinTypeNameToTargetExtType(std::string TypeName,
/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/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp177 StringRef TypeName) { in constructOverloadTypeName() argument
179 return TypeName.str(); in constructOverloadTypeName()
182 return (Twine(TypeName) + getOverloadTypeName(Kind)).str(); in constructOverloadTypeName()
198 std::string TypeName = constructOverloadTypeName(Kind, "dx.types.ResRet."); in getResRetType() local
201 return getOrCreateStructType(TypeName, FieldTypes, Ctx); in getResRetType()
207 std::string TypeName = constructOverloadTypeName(Kind, "dx.types.CBufRet."); in getCBufRetType() local
211 return getOrCreateStructType(TypeName, {ElementTy, ElementTy}, Ctx); in getCBufRetType()
216 TypeName += ".8"; in getCBufRetType()
217 return getOrCreateStructType(TypeName, in getCBufRetType()
224 TypeName, {ElementTy, ElementTy, ElementTy, ElementTy}, Ctx); in getCBufRetType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DInheritViz.cpp78 std::string TypeName = Type.getAsString(); in WriteNode() local
79 Out << " [ shape=\"box\", label=\"" << llvm::DOT::EscapeString(TypeName); in WriteNode()
84 if (TypeName != CanonType.getAsString()) { in WriteNode()
H A DQualTypeNames.cpp17 namespace TypeName { namespace
220 return TypeName::createNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier()
227 return TypeName::createNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier()
247 return TypeName::createNestedNameSpecifier(Ctx, TD, in getFullyQualifiedNestedNameSpecifier()
251 return TypeName::createNestedNameSpecifier(Ctx, TDD->getDecl(), in getFullyQualifiedNestedNameSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDXILResource.cpp298 SmallString<64> TypeName; in createElementStruct() local
309 formatTypeName(TypeName, getResourceKindName(Kind), RTy->isWriteable(), in createElementStruct()
311 return getOrCreateElementStruct(RTy->getResourceType(), TypeName); in createElementStruct()
316 formatTypeName(TypeName, getResourceKindName(Kind), RTy->isWriteable(), in createElementStruct()
318 return getOrCreateElementStruct(RTy->getResourceType(), TypeName); in createElementStruct()
322 formatTypeName(TypeName, getResourceKindName(Kind), RTy->isWriteable(), in createElementStruct()
324 return getOrCreateElementStruct(RTy->getResourceType(), TypeName); in createElementStruct()
328 formatTypeName(TypeName, "ByteAddressBuffer", RTy->isWriteable(), in createElementStruct()
331 TypeName); in createElementStruct()
336 formatTypeName(TypeName, "StructuredBuffer", RTy->isWriteable(), in createElementStruct()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAEmitter.cpp219 std::string TypeName; member in __anon4fed36600211::CustomDfaEmitter
222 CustomDfaEmitter(const UniqueVector<ActionTuple> &Actions, StringRef TypeName) in CustomDfaEmitter() argument
223 : Actions(Actions), TypeName(TypeName) {} in CustomDfaEmitter()
346 void CustomDfaEmitter::printActionType(raw_ostream &OS) { OS << TypeName; } in printActionType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DDirectX.cpp57 llvm::StringRef TypeName = in getHLSLType() local
71 return llvm::TargetExtType::get(Ctx, TypeName, {ElemType}, Ints); in getHLSLType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DForwardDeclChecker.cpp174 const std::string TypeName = QT.getAsString(); in visitRecordDecl() local
177 Os << " uses a forward declared type '" << TypeName << "'"; in visitRecordDecl()
323 const std::string TypeName = Type.getAsString(); in reportBug() local
324 Os << Description << " uses a forward declared type '" << TypeName << "'"; in reportBug()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltinTemplates.td22 string TypeName = type_name;
27 string TypeName = type_name;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DQualTypeNames.h66 namespace TypeName {
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp315 StringRef TypeName; in emitKernelArg() local
318 TypeName = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
362 PointeeAlign, Name, TypeName, BaseTypeName, ActAccQual, in emitKernelArg()
369 StringRef Name, StringRef TypeName, StringRef BaseTypeName, in emitKernelArg() argument
375 if (!TypeName.empty()) in emitKernelArg()
376 Arg[".type_name"] = Arg.getDocument()->getNode(TypeName, /*Copy=*/true); in emitKernelArg()
/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/clang/lib/StaticAnalyzer/Checkers/
H A DStdVariantChecker.cpp77 static bool isStdType(const Type *Type, llvm::StringRef TypeName) { in isStdType() argument
81 return (Decl->getName() == TypeName) && Decl->isInStdNamespace(); in isStdType()

1234