Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Frontend/
DInterfaceStubFunctionsConsumer.cpp28 std::string ParentName; member
34 MangledSymbol(const std::string &ParentName, uint8_t Type, uint8_t Binding, in MangledSymbol()
36 : ParentName(ParentName), Type(Type), Binding(Binding), Names(Names) {} in MangledSymbol()
303 << (Symbol.ParentName.empty() || Instance.getLangOpts().CPlusPlus in HandleTranslationUnit()
305 : (Symbol.ParentName + ".")) in HandleTranslationUnit()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DDwarfTransformer.cpp166 StringRef ParentName(ParentDeclCtxDie.getName(DINameKind::ShortName)); in getQualifiedNameIndex() local
167 if (!ParentName.empty()) { in getQualifiedNameIndex()
171 if (ParentName.front() == '<' && ParentName.back() == '>') in getQualifiedNameIndex()
172 Name = "{" + ParentName.substr(1, ParentName.size() - 2).str() + "}" + in getQualifiedNameIndex()
175 Name = ParentName.str() + "::" + Name; in getQualifiedNameIndex()
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp195 StringRef ParentName, in CodeCompletionString() argument
199 ParentName(ParentName), BriefComment(BriefComment) in CodeCompletionString()
337 ParentName, BriefComment); in TakeString()
388 ParentName = getCodeCompletionTUInfo().getParentName(DC); in addParentContext()
DSemaCodeComplete.cpp2609 Pattern->ParentName = Result.getParentName(); in CreateCodeCompletionString()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.h127 StringRef ParentName,
319 StringRef ParentName, unsigned LineNum,
323 StringRef ParentName, unsigned LineNum,
329 StringRef ParentName, unsigned LineNum) const;
378 void scanForTargetRegionsFunctions(const Stmt *S, StringRef ParentName);
934 StringRef ParentName,
DCGOpenMPRuntimeNVPTX.cpp308 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunction() argument
314 assert(!ParentName.empty() && "Invalid target region parent name!"); in emitTargetOutlinedFunction()
336 emitTargetOutlinedFunctionHelper(D, ParentName, OutlinedFn, OutlinedFnID, in emitTargetOutlinedFunction()
DCGOpenMPRuntimeNVPTX.h131 StringRef ParentName,
DCGOpenMPRuntime.cpp2695 StringRef ParentName, unsigned LineNum, in initializeTargetRegionEntryInfo() argument
2700 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum] = in initializeTargetRegionEntryInfo()
2707 StringRef ParentName, unsigned LineNum, in registerTargetRegionEntryInfo() argument
2712 assert(hasTargetRegionEntryInfo(DeviceID, FileID, ParentName, LineNum) && in registerTargetRegionEntryInfo()
2715 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum]; in registerTargetRegionEntryInfo()
2722 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum] = Entry; in registerTargetRegionEntryInfo()
2727 unsigned DeviceID, unsigned FileID, StringRef ParentName, in hasTargetRegionEntryInfo() argument
2735 auto PerParentName = PerFile->second.find(ParentName); in hasTargetRegionEntryInfo()
2956 unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned Line, in createOffloadEntriesAndInfoMetadata()
2971 Ops.push_back(getMDString(ParentName)); in createOffloadEntriesAndInfoMetadata()
[all …]
DCGStmtOpenMP.cpp3245 CodeGenModule &CGM, const OMPTargetDirective &S, StringRef ParentName, in EmitOMPTargetDirectiveOutlinedFunction() argument
3260 S, ParentName, OutlinedFn, OutlinedFnID, IsOffloadEntry, CodeGen); in EmitOMPTargetDirectiveOutlinedFunction()
3299 StringRef ParentName; in EmitOMPTargetDirective() local
3303 ParentName = CGM.getMangledName(GlobalDecl(D, Ctor_Complete)); in EmitOMPTargetDirective()
3305 ParentName = CGM.getMangledName(GlobalDecl(D, Dtor_Complete)); in EmitOMPTargetDirective()
3307 ParentName = in EmitOMPTargetDirective()
3311 CGM, S, ParentName, IsOffloadEntry); in EmitOMPTargetDirective()
DCodeGenFunction.h2517 StringRef ParentName,
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h440 StringRef ParentName; variable
452 StringRef ParentName,
488 return ParentName; in getParentContextName()
555 StringRef ParentName;
620 StringRef getParentName() const { return ParentName; }
/external/llvm-project/clang/include/clang/Sema/
DCodeCompleteConsumer.h577 StringRef ParentName; variable
586 StringRef ParentName,
623 return ParentName; in getParentContextName()
680 StringRef ParentName; variable
742 StringRef getParentName() const { return ParentName; } in getParentName()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.h111 void emitNonSPMDKernel(const OMPExecutableDirective &D, StringRef ParentName,
127 void emitSPMDKernel(const OMPExecutableDirective &D, StringRef ParentName,
142 StringRef ParentName,
DCGOpenMPRuntime.h332 StringRef ParentName,
606 StringRef ParentName, unsigned LineNum,
610 StringRef ParentName, unsigned LineNum,
616 StringRef ParentName, unsigned LineNum,
761 void scanForTargetRegionsFunctions(const Stmt *S, StringRef ParentName);
1544 StringRef ParentName,
2375 StringRef ParentName,
DCGStmtOpenMP.cpp2834 CodeGenModule &CGM, StringRef ParentName, const OMPTargetSimdDirective &S) { in EmitOMPTargetSimdDeviceFunction() argument
2843 S, ParentName, Fn, Addr, /*IsOffloadEntry=*/true, CodeGen); in EmitOMPTargetSimdDeviceFunction()
5514 StringRef ParentName; in emitCommonOMPTargetDirective() local
5518 ParentName = CGM.getMangledName(GlobalDecl(D, Ctor_Complete)); in emitCommonOMPTargetDirective()
5520 ParentName = CGM.getMangledName(GlobalDecl(D, Dtor_Complete)); in emitCommonOMPTargetDirective()
5522 ParentName = in emitCommonOMPTargetDirective()
5526 CGM.getOpenMPRuntime().emitTargetOutlinedFunction(S, ParentName, Fn, FnID, in emitCommonOMPTargetDirective()
5560 StringRef ParentName, in EmitOMPTargetDeviceFunction() argument
5569 S, ParentName, Fn, Addr, /*IsOffloadEntry=*/true, CodeGen); in EmitOMPTargetDeviceFunction()
5646 CodeGenModule &CGM, StringRef ParentName, in EmitOMPTargetTeamsDeviceFunction() argument
[all …]
DCGOpenMPRuntime.cpp2925 StringRef ParentName, unsigned LineNum, in initializeTargetRegionEntryInfo() argument
2930 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum] = in initializeTargetRegionEntryInfo()
2938 StringRef ParentName, unsigned LineNum, in registerTargetRegionEntryInfo() argument
2944 if (!hasTargetRegionEntryInfo(DeviceID, FileID, ParentName, LineNum)) { in registerTargetRegionEntryInfo()
2952 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum]; in registerTargetRegionEntryInfo()
2960 hasTargetRegionEntryInfo(DeviceID, FileID, ParentName, LineNum, in registerTargetRegionEntryInfo()
2963 assert(!hasTargetRegionEntryInfo(DeviceID, FileID, ParentName, LineNum) && in registerTargetRegionEntryInfo()
2966 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum] = Entry; in registerTargetRegionEntryInfo()
2972 unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum, in hasTargetRegionEntryInfo() argument
2980 auto PerParentName = PerFile->second.find(ParentName); in hasTargetRegionEntryInfo()
[all …]
DCodeGenFunction.h3463 StringRef ParentName,
3466 EmitOMPTargetParallelDeviceFunction(CodeGenModule &CGM, StringRef ParentName,
3470 CodeGenModule &CGM, StringRef ParentName,
3474 CodeGenModule &CGM, StringRef ParentName,
3478 EmitOMPTargetTeamsDeviceFunction(CodeGenModule &CGM, StringRef ParentName,
3482 CodeGenModule &CGM, StringRef ParentName,
3486 CodeGenModule &CGM, StringRef ParentName,
3490 StringRef ParentName,
3495 CodeGenModule &CGM, StringRef ParentName,
3499 CodeGenModule &CGM, StringRef ParentName,
DCGOpenMPRuntimeGPU.cpp1063 StringRef ParentName, in emitNonSPMDKernel() argument
1110 emitTargetOutlinedFunctionHelper(D, ParentName, OutlinedFn, OutlinedFnID, in emitNonSPMDKernel()
1197 StringRef ParentName, in emitSPMDKernel() argument
1242 emitTargetOutlinedFunctionHelper(D, ParentName, OutlinedFn, OutlinedFnID, in emitSPMDKernel()
1471 const OMPExecutableDirective &D, StringRef ParentName, in emitTargetOutlinedFunction() argument
1477 assert(!ParentName.empty() && "Invalid target region parent name!"); in emitTargetOutlinedFunction()
1481 emitSPMDKernel(D, ParentName, OutlinedFn, OutlinedFnID, IsOffloadEntry, in emitTargetOutlinedFunction()
1484 emitNonSPMDKernel(D, ParentName, OutlinedFn, OutlinedFnID, IsOffloadEntry, in emitTargetOutlinedFunction()
/external/llvm-project/clang/lib/Sema/
DCodeCompleteConsumer.cpp283 unsigned NumAnnotations, StringRef ParentName, const char *BriefComment) in CodeCompletionString() argument
285 Availability(Availability), ParentName(ParentName), in CodeCompletionString()
426 Annotations.size(), ParentName, BriefComment); in TakeString()
475 ParentName = getCodeCompletionTUInfo().getParentName(DC); in addParentContext()
DSemaCodeComplete.cpp3303 Pattern->ParentName = Result.getParentName(); in CreateCodeCompletionString()
/external/llvm-project/clang/lib/Driver/ToolChains/
DAMDGPU.cpp128 StringRef ParentName = llvm::sys::path::filename(ParentDir); in getInstallationPathCandidates() local
131 if (ParentName == "bin") { in getInstallationPathCandidates()
133 ParentName = llvm::sys::path::filename(ParentDir); in getInstallationPathCandidates()
137 if (ParentName == "llvm") in getInstallationPathCandidates()
/external/llvm-project/clang-tools-extra/clangd/
DClangdLSPServer.cpp934 [&](const DocumentSymbol &S, llvm::Optional<llvm::StringRef> ParentName) { in flattenSymbolHierarchy() argument
936 SI.containerName = std::string(ParentName ? "" : *ParentName); in flattenSymbolHierarchy()
944 !ParentName ? S.name : (ParentName->str() + "::" + S.name); in flattenSymbolHierarchy()
/external/clang/tools/c-index-test/
Dc-index-test.c2010 CXString ParentName; in print_completion_result() local
2055 ParentName = clang_getCompletionParent(completion_result->CompletionString, in print_completion_result()
2061 clang_getCString(ParentName)); in print_completion_result()
2064 clang_disposeString(ParentName); in print_completion_result()
/external/llvm-project/clang/tools/c-index-test/
Dc-index-test.c2494 CXString ParentName; in print_completion_result() local
2540 ParentName = clang_getCompletionParent(completion_result->CompletionString, in print_completion_result()
2546 clang_getCString(ParentName)); in print_completion_result()
2549 clang_disposeString(ParentName); in print_completion_result()
/external/llvm-project/llvm/utils/TableGen/
DGlobalISelEmitter.cpp935 std::string ParentName(ParentSymbolicName); in defineComplexSubOperand() local
938 if (RecordedParentName.compare(ParentName) != 0) in defineComplexSubOperand()
941 RecordedParentName + " and " + ParentName + "."); in defineComplexSubOperand()
950 ComplexSubOperandsParentName[SymbolicName] = ParentName; in defineComplexSubOperand()