Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DAttributes.cpp116 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 DSubtargetFeatureInfo.cpp102 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 DSubtargetFeatureInfo.h91 StringRef FuncName,
109 StringRef TargetName, StringRef ClassName, StringRef FuncName,
H A DDFAPacketizerEmitter.cpp724 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 DCGNonTrivialStruct.cpp444 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 DCGCUDANV.cpp60 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 DCodeGenPGO.h31 std::string FuncName; variable
86 void emitEmptyCounterMapping(const Decl *D, StringRef FuncName,
H A DCodeGenPGO.cpp36 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 DInstrProfReader.cpp569 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 DCodeGenOptions.cpp25 StringRef FuncName(Name); in isNoBuiltinFunc() local
27 if (FuncName.equals(NoBuiltinFuncs[i])) in isNoBuiltinFunc()
H A DLangOptions.cpp40 bool LangOptions::isNoBuiltinFunc(StringRef FuncName) const { in isNoBuiltinFunc()
42 if (FuncName.equals(NoBuiltinFuncs[i])) in isNoBuiltinFunc()
H A DBuiltins.cpp52 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 DInstrProfReader.h338 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 DInstrProf.h182 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 DCoverageFilters.cpp23 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 DAMDGPULibFunc.cpp686 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 DMCContext.cpp136 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 DLeonPasses.cpp91 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 DCoverageMapping.h700 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 DPGOInstrumentation.cpp510 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 DCompileOnDemandLayer.h349 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 DMCContext.h345 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 DCoverageMappingReader.cpp423 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 DFuzzerTracePC.cpp255 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 DCodeViewDebug.cpp917 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()

12