| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 441 llvm::Function *getFunction(StringRef FuncName, QualType QT, in getFunction() 445 if (llvm::Function *F = CGM.getModule().getFunction(FuncName)) { in getFunction() 456 std::string FuncName = std::string(F->getName()); in getFunction() local 458 CGM.Error(Loc, "special function " + FuncName + in getFunction() 471 FuncName, &CGM.getModule()); in getFunction() 475 IdentifierInfo *II = &Ctx.Idents.get(FuncName); in getFunction() 491 void callFunc(StringRef FuncName, QualType QT, std::array<Address, N> Addrs, in callFunc() 504 getFunction(FuncName, QT, Alignments, CallerCGF.CGM)) in callFunc() 832 static void callSpecialFunction(G &&Gen, StringRef FuncName, QualType QT, in callSpecialFunction() argument 839 Gen.callFunc(FuncName, QT, Addrs, CGF); in callSpecialFunction() [all …]
|
| H A D | CodeGenPGO.h | 30 std::string FuncName; variable 85 void emitEmptyCounterMapping(const Decl *D, StringRef FuncName,
|
| H A D | CGCUDANV.cpp | 79 std::string addPrefixToName(StringRef FuncName) const; 80 std::string addUnderscoredPrefixToName(StringRef FuncName) const; 182 std::string CGNVCUDARuntime::addPrefixToName(StringRef FuncName) const { in addPrefixToName() 184 return ((Twine("hip") + Twine(FuncName)).str()); in addPrefixToName() 185 return ((Twine("cuda") + Twine(FuncName)).str()); in addPrefixToName() 188 CGNVCUDARuntime::addUnderscoredPrefixToName(StringRef FuncName) const { in addUnderscoredPrefixToName() 190 return ((Twine("__hip") + Twine(FuncName)).str()); in addUnderscoredPrefixToName() 191 return ((Twine("__cuda") + Twine(FuncName)).str()); in addUnderscoredPrefixToName()
|
| 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() 894 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 916 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping() 1026 PGOReader->getInstrProfRecord(FuncName, FunctionHash); in loadRegionCounts()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | Attributes.cpp | 76 StringRef FuncName = Rule->getValueAsString("CompatFunc"); in emitFnAttrCompatCheck() local 77 OS << " Ret &= " << FuncName << "(Caller, Callee);\n"; in emitFnAttrCompatCheck() 90 StringRef FuncName = Rule->getValueAsString("MergeFunc"); in emitFnAttrCompatCheck() local 91 OS << " " << FuncName << "(Caller, Callee);\n"; in emitFnAttrCompatCheck()
|
| H A D | SubtargetFeatureInfo.cpp | 90 StringRef TargetName, StringRef ClassName, StringRef FuncName, in emitComputeAvailableFeatures() argument 94 << FuncName << "(const " << TargetName << "Subtarget *Subtarget"; in emitComputeAvailableFeatures() 112 StringRef TargetName, StringRef ClassName, StringRef FuncName, in emitComputeAssemblerAvailableFeatures() argument 115 << FuncName << "(const FeatureBitset &FB) const {\n"; in emitComputeAssemblerAvailableFeatures()
|
| H A D | SubtargetFeatureInfo.h | 78 StringRef FuncName, 96 StringRef TargetName, StringRef ClassName, StringRef FuncName,
|
| H A D | DFAPacketizerEmitter.cpp | 161 std::string FuncName = std::string(K->getName()); in collectAllComboFuncs() local 162 uint64_t FuncResources = FUNameToBitsMap[FuncName]; in collectAllComboFuncs() 163 LLVM_DEBUG(dbgs() << " " << FuncName << ":0x" in collectAllComboFuncs()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
| H A D | PseudoProbe.cpp | 29 return It->second.FuncName; in getProbeFNameForGUID() 33 OS << "GUID: " << FuncGUID << " Name: " << FuncName << "\n"; in print() 47 StringRef FuncName = in getInlineContext() local 49 ContextStr += FuncName.str(); in getInlineContext() 84 StringRef FuncName = getProbeFNameForGUID(GUID2FuncMAP, GUID); in print() local 85 OS << FuncName.str() << " "; in print() 333 InlineContextStack.emplace_back(FuncDesc->FuncName + ":" + in getInlineContextForProbe()
|
| H A D | PseudoProbe.h | 86 std::string FuncName; member 89 : FuncGUID(GUID), FuncHash(Hash), FuncName(Name){}; in PseudoProbeFuncDesc()
|
| H A D | CSPreInliner.cpp | 208 for (StringRef FuncName : buildTopDownOrder()) { in run() local 209 processFunction(FuncName); in run()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 587 StringRef FuncName, ArrayRef<NamedInstrProfRecord> &Data) { in getRecords() argument 588 auto Iter = HashTable->find(FuncName); in getRecords() 634 Error getRecords(StringRef FuncName, in getRecords() argument 636 return Underlying.getRecords(FuncName, Data); in getRecords() 693 Error getRecords(StringRef FuncName, in getRecords() argument 695 StringRef RealName = extractName(FuncName); in getRecords() 699 if (RealName.begin() == FuncName.begin() && in getRecords() 700 RealName.end() == FuncName.end()) in getRecords() 701 FuncName = Remapped; in getRecords() 705 reconstituteName(FuncName, RealName, Remapped, Reconstituted); in getRecords() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.cpp | 674 bool AMDGPULibFunc::parse(StringRef FuncName, AMDGPULibFunc &F) { in parse() argument 675 if (FuncName.empty()) { in parse() 680 if (eatTerm(FuncName, "_Z")) in parse() 684 if (F.Impl->parseFuncName(FuncName)) in parse() 939 std::string FuncName = fInfo.mangle(); in getFunction() local 941 M->getValueSymbolTable().lookup(FuncName)); in getFunction() 954 std::string const FuncName = fInfo.mangle(); in getOrInsertFunction() local 956 M->getValueSymbolTable().lookup(FuncName)); in getOrInsertFunction() 982 C = M->getOrInsertFunction(FuncName, FuncTy); in getOrInsertFunction() 990 C = M->getOrInsertFunction(FuncName, FuncTy, Attr); in getOrInsertFunction()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 39 bool LangOptions::isNoBuiltinFunc(StringRef FuncName) const { in isNoBuiltinFunc() 41 if (FuncName.equals(NoBuiltinFuncs[i])) in isNoBuiltinFunc()
|
| H A D | Builtins.cpp | 50 bool Builtin::Context::isBuiltinFunc(llvm::StringRef FuncName) { in isBuiltinFunc() argument 52 if (FuncName.equals(BuiltinInfo[i].Name)) in isBuiltinFunc()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 794 InstrProfSymtab &ProfileNames, StringRef &FuncName) { in getFuncNameViaRef() argument 796 FuncName = ProfileNames.getFuncName(NameRef); in getFuncNameViaRef() 845 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() 848 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName() 849 if (NameS && FuncName.empty()) in getFuncName() 893 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() 895 FuncName); in getFuncName() 937 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() 939 FuncName); in getFuncName()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfReader.h | 375 virtual Error getRecords(StringRef FuncName, 410 Error getRecords(StringRef FuncName, 446 virtual Error getRecords(StringRef FuncName, 503 Expected<InstrProfRecord> getInstrProfRecord(StringRef FuncName, 507 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
|
| H A D | InstrProf.h | 183 std::string getPGOFuncNameVarName(StringRef FuncName, 475 Error addFuncName(StringRef FuncName) { in addFuncName() argument 476 if (FuncName.empty()) in addFuncName() 478 auto Ins = NameTab.insert(FuncName); in addFuncName() 481 IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey())); in addFuncName() 624 StringRef FuncName; member 635 FuncName = Name; in setFuncInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/ |
| H A D | LeonPasses.cpp | 89 StringRef FuncName = MO.getGlobal()->getName(); in runOnMachineFunction() local 90 if (FuncName.compare_lower("fesetround") == 0) { in runOnMachineFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/ |
| H A D | SampleContextTracker.h | 42 : ParentContext(Parent), FuncName(FName), FuncSamples(FSamples), in ParentContext() 75 StringRef FuncName; variable
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/ |
| H A D | FunctionInfo.cpp | 181 LR.FuncName = GR.getString(NameOffset); in lookup() 225 SrcLoc.Name = LR.FuncName; in lookup() 238 SrcLoc.Name = LR.FuncName; in lookup()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | BasicBlockSections.cpp | 202 auto FuncName = MF.getName(); in getBBClusterInfoForFunction() local 203 auto R = FuncAliasMap.find(FuncName); in getBBClusterInfoForFunction() 204 StringRef AliasName = R == FuncAliasMap.end() ? FuncName : R->second; in getBBClusterInfoForFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | MCContext.cpp | 200 MCSymbol *MCContext::getOrCreateFrameAllocSymbol(StringRef FuncName, in getOrCreateFrameAllocSymbol() argument 202 return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + FuncName + in getOrCreateFrameAllocSymbol() 206 MCSymbol *MCContext::getOrCreateParentFrameOffsetSymbol(StringRef FuncName) { in getOrCreateParentFrameOffsetSymbol() argument 207 return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + FuncName + in getOrCreateParentFrameOffsetSymbol() 211 MCSymbol *MCContext::getOrCreateLSDASymbol(StringRef FuncName) { in getOrCreateLSDASymbol() argument 213 FuncName); in getOrCreateLSDASymbol()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | LookupResult.h | 44 StringRef FuncName; ///< The concrete function name that contains LookupAddr. member
|