| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | Attributes.cpp | 116 StringRef FuncName = Rule->getValueAsString("CompatFunc"); in emitFnAttrCompatCheck() local 117 OS << " Ret &= " << FuncName << "(Caller, Callee);\n"; in emitFnAttrCompatCheck() 130 StringRef FuncName = Rule->getValueAsString("MergeFunc"); in emitFnAttrCompatCheck() local 131 OS << " " << FuncName << "(Caller, Callee);\n"; in emitFnAttrCompatCheck()
|
| H A D | SubtargetFeatureInfo.cpp | 102 StringRef TargetName, StringRef ClassName, StringRef FuncName, in emitComputeAvailableFeatures() argument 106 << FuncName << "(const " << TargetName << "Subtarget *Subtarget"; in emitComputeAvailableFeatures() 122 StringRef TargetName, StringRef ClassName, StringRef FuncName, in emitComputeAssemblerAvailableFeatures() argument 125 << FuncName << "(const FeatureBitset& FB) const {\n"; in emitComputeAssemblerAvailableFeatures()
|
| H A D | SubtargetFeatureInfo.h | 91 StringRef FuncName, 109 StringRef TargetName, StringRef ClassName, StringRef FuncName,
|
| H A D | DFAPacketizerEmitter.cpp | 724 std::string FuncName = FuncList[k]->getName(); in collectAllComboFuncs() local 725 unsigned FuncResources = FUNameToBitsMap[FuncName]; in collectAllComboFuncs() 726 LLVM_DEBUG(dbgs() << " " << FuncName << ":0x" in collectAllComboFuncs()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 444 std::string FuncName = F->getName(); in getFunction() local 446 CGM.Error(Loc, "special function " + FuncName + in getFunction() 459 FuncName, &CGM.getModule()); in getFunction() 463 IdentifierInfo *II = &Ctx.Idents.get(FuncName); in getFunction() 817 Gen.callFunc(FuncName, QT, Addrs, CGF); in callSpecialFunction() 826 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructDefaultConstructor() local 853 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructDestructor() local 864 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructCopyConstructor() local 878 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructCopyAssignmentOperator() local 889 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructMoveConstructor() local [all …]
|
| H A D | CGCUDANV.cpp | 60 std::string addPrefixToName(StringRef FuncName) const; 61 std::string addUnderscoredPrefixToName(StringRef FuncName) const; 125 std::string CGNVCUDARuntime::addPrefixToName(StringRef FuncName) const { in addPrefixToName() 127 return ((Twine("hip") + Twine(FuncName)).str()); in addPrefixToName() 128 return ((Twine("cuda") + Twine(FuncName)).str()); in addPrefixToName() 131 CGNVCUDARuntime::addUnderscoredPrefixToName(StringRef FuncName) const { in addUnderscoredPrefixToName() 133 return ((Twine("__hip") + Twine(FuncName)).str()); in addUnderscoredPrefixToName() 134 return ((Twine("__cuda") + Twine(FuncName)).str()); in addUnderscoredPrefixToName()
|
| H A D | CodeGenPGO.h | 31 std::string FuncName; variable 86 void emitEmptyCounterMapping(const Decl *D, StringRef FuncName,
|
| H A D | CodeGenPGO.cpp | 36 FuncName = llvm::getPGOFuncName( in setFuncName() 42 FuncNameVar = llvm::createPGOFuncNameVar(CGM.getModule(), Linkage, FuncName); in setFuncName() 48 llvm::createPGOFuncNameMetadata(*Fn, FuncName); in setFuncName() 845 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 867 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping() 971 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 569 auto Iter = HashTable->find(FuncName); in getRecords() 615 Error getRecords(StringRef FuncName, in getRecords() argument 617 return Underlying.getRecords(FuncName, Data); in getRecords() 674 Error getRecords(StringRef FuncName, in getRecords() argument 676 StringRef RealName = extractName(FuncName); in getRecords() 680 if (RealName.begin() == FuncName.begin() && in getRecords() 681 RealName.end() == FuncName.end()) in getRecords() 682 FuncName = Remapped; in getRecords() 703 return Underlying.getRecords(FuncName, Data); in getRecords() 853 IndexedInstrProfReader::getInstrProfRecord(StringRef FuncName, in getInstrProfRecord() argument [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | CodeGenOptions.cpp | 25 StringRef FuncName(Name); in isNoBuiltinFunc() local 27 if (FuncName.equals(NoBuiltinFuncs[i])) in isNoBuiltinFunc()
|
| H A D | LangOptions.cpp | 40 bool LangOptions::isNoBuiltinFunc(StringRef FuncName) const { in isNoBuiltinFunc() 42 if (FuncName.equals(NoBuiltinFuncs[i])) in isNoBuiltinFunc()
|
| H A D | Builtins.cpp | 52 StringRef FuncName(Name); in isBuiltinFunc() local 54 if (FuncName.equals(BuiltinInfo[i].Name)) in isBuiltinFunc()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfReader.h | 338 virtual Error getRecords(StringRef FuncName, 371 Error getRecords(StringRef FuncName, 399 virtual Error getRecords(StringRef FuncName, 446 Expected<InstrProfRecord> getInstrProfRecord(StringRef FuncName, 450 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
|
| H A D | InstrProf.h | 182 std::string getPGOFuncNameVarName(StringRef FuncName, 472 Error addFuncName(StringRef FuncName) { in addFuncName() argument 473 if (FuncName.empty()) in addFuncName() 475 auto Ins = NameTab.insert(FuncName); in addFuncName() 478 IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey())); in addFuncName()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-cov/ |
| H A D | CoverageFilters.cpp | 23 StringRef FuncName = Function.Name; in matches() local 24 return FuncName.find(Name) != StringRef::npos; in matches()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.cpp | 686 bool AMDGPULibFunc::parse(StringRef FuncName, AMDGPULibFunc &F) { in parse() argument 687 if (FuncName.empty()) { in parse() 692 if (eatTerm(FuncName, "_Z")) in parse() 696 if (F.Impl->parseFuncName(FuncName)) in parse() 951 std::string FuncName = fInfo.mangle(); in getFunction() local 953 M->getValueSymbolTable().lookup(FuncName)); in getFunction() 966 std::string const FuncName = fInfo.mangle(); in getOrInsertFunction() local 968 M->getValueSymbolTable().lookup(FuncName)); in getOrInsertFunction() 994 C = M->getOrInsertFunction(FuncName, FuncTy); in getOrInsertFunction() 1002 C = M->getOrInsertFunction(FuncName, FuncTy, Attr); in getOrInsertFunction()
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | MCContext.cpp | 136 MCSymbol *MCContext::getOrCreateFrameAllocSymbol(StringRef FuncName, in getOrCreateFrameAllocSymbol() argument 138 return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + FuncName + in getOrCreateFrameAllocSymbol() 142 MCSymbol *MCContext::getOrCreateParentFrameOffsetSymbol(StringRef FuncName) { in getOrCreateParentFrameOffsetSymbol() argument 143 return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + FuncName + in getOrCreateParentFrameOffsetSymbol() 147 MCSymbol *MCContext::getOrCreateLSDASymbol(StringRef FuncName) { in getOrCreateLSDASymbol() argument 149 FuncName); in getOrCreateLSDASymbol()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/ |
| H A D | LeonPasses.cpp | 91 StringRef FuncName = MO.getGlobal()->getName(); in runOnMachineFunction() local 92 if (FuncName.compare_lower("fesetround") == 0) { in runOnMachineFunction()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 700 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() 703 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName() 704 if (NameS && FuncName.empty()) in getFuncName() 731 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() 733 FuncName = ProfileNames.getFuncName(NameRef); in getFuncName()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 510 std::string FuncName; member in __anoncdc89db00211::FuncPGOInstrumentation 531 MST.dumpEdges(dbgs(), Twine("Dump Function ") + FuncName + " Hash: " + in dumpInfo() 550 FuncName = getPGOFuncName(F); in FuncPGOInstrumentation() 566 FuncNameVar = createPGOFuncNameVar(F, FuncName); in FuncPGOInstrumentation() 647 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str(); in renameComdatFunction() 940 const std::string getFuncName() const { return FuncInfo.FuncName; } in getFuncName() 1020 PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash); in readCounters() 1322 createPGOFuncNameMetadata(F, FuncInfo.FuncName); in annotateValueSites()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | CompileOnDemandLayer.h | 349 Error updatePointer(std::string FuncName, JITTargetAddress FnBodyAddr) { in updatePointer() argument 354 LDI->getLogicalModuleResourcesForSymbol(FuncName, false)) { in updatePointer() 356 std::string CalledFnName = mangle(FuncName, SrcM.getDataLayout()); in updatePointer() 363 return make_error<JITSymbolNotFound>(FuncName); in updatePointer()
|
| /freebsd-12.1/contrib/llvm/include/llvm/MC/ |
| H A D | MCContext.h | 345 MCSymbol *getOrCreateFrameAllocSymbol(StringRef FuncName, unsigned Idx); 347 MCSymbol *getOrCreateParentFrameOffsetSymbol(StringRef FuncName); 349 MCSymbol *getOrCreateLSDASymbol(StringRef FuncName);
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 423 StringRef FuncName; in insertFunctionRecordIfNeeded() local 424 if (Error Err = CFR->template getFuncName<Endian>(ProfileNames, FuncName)) in insertFunctionRecordIfNeeded() 426 if (FuncName.empty()) in insertFunctionRecordIfNeeded() 428 Records.emplace_back(Version, FuncName, FuncHash, Mapping, FilenamesBegin, in insertFunctionRecordIfNeeded()
|
| /freebsd-12.1/contrib/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.cpp | 255 void TracePC::SetFocusFunction(const std::string &FuncName) { in SetFocusFunction() argument 258 if (FuncName.empty()) in SetFocusFunction() 268 if (FuncName != Name) continue; in SetFocusFunction()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 917 std::string FuncName = GlobalValue::dropLLVMManglingEscape(GV->getName()); in emitDebugInfoForThunk() local 920 OS.AddComment("Symbol subsection for " + Twine(FuncName)); in emitDebugInfoForThunk() 940 emitNullTerminatedSymbolName(OS, FuncName); in emitDebugInfoForThunk() 963 std::string FuncName; in emitDebugInfoForFunction() local 976 FuncName = in emitDebugInfoForFunction() 980 if (FuncName.empty()) in emitDebugInfoForFunction() 981 FuncName = GlobalValue::dropLLVMManglingEscape(GV->getName()); in emitDebugInfoForFunction() 988 OS.AddComment("Symbol subsection for " + Twine(FuncName)); in emitDebugInfoForFunction() 1021 emitNullTerminatedSymbolName(OS, FuncName); in emitDebugInfoForFunction()
|