/external/llvm/lib/IR/ |
D | FunctionInfo.cpp | 26 std::string FuncName = OtherFuncInfoLists.getKey(); in mergeFrom() local 58 FuncName = in mergeFrom() 59 FunctionInfoIndex::getGlobalNameForLocal(FuncName, NextModuleId); in mergeFrom() 65 addFunctionInfo(FuncName, std::move(Info)); in mergeFrom()
|
/external/llvm/include/llvm/IR/ |
D | FunctionInfo.h | 182 const FunctionInfoList &getFunctionInfoList(StringRef FuncName) { in getFunctionInfoList() argument 183 return FunctionMap[FuncName]; in getFunctionInfoList() 187 const const_funcinfo_iterator findFunctionInfoList(StringRef FuncName) const { in findFunctionInfoList() argument 188 return FunctionMap.find(FuncName); in findFunctionInfoList() 192 void addFunctionInfo(StringRef FuncName, std::unique_ptr<FunctionInfo> Info) { in addFunctionInfo() argument 193 FunctionMap[FuncName].push_back(std::move(Info)); in addFunctionInfo()
|
/external/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 86 std::string FuncName = RawFuncName; in getPGOFuncName() local 93 FuncName = FuncName.insert(0, "<unknown>:"); in getPGOFuncName() 95 FuncName = FuncName.insert(0, FileName.str() + ":"); in getPGOFuncName() 97 return FuncName; in getPGOFuncName() 116 static std::string getPGOFuncNameVarName(StringRef FuncName, in getPGOFuncNameVarName() argument 119 VarName += FuncName; in getPGOFuncNameVarName() 136 StringRef FuncName) { in createPGOFuncNameVar() argument 149 auto *Value = ConstantDataArray::getString(M.getContext(), FuncName, false); in createPGOFuncNameVar() 152 getPGOFuncNameVarName(FuncName, Linkage)); in createPGOFuncNameVar() 161 GlobalVariable *createPGOFuncNameVar(Function &F, StringRef FuncName) { in createPGOFuncNameVar() argument [all …]
|
D | InstrProfReader.cpp | 508 StringRef FuncName, ArrayRef<InstrProfRecord> &Data) { in getRecords() argument 509 auto Iter = HashTable->find(FuncName); in getRecords() 610 IndexedInstrProfReader::getInstrProfRecord(StringRef FuncName, in getInstrProfRecord() argument 613 std::error_code EC = Index->getRecords(FuncName, Data); in getInstrProfRecord() 627 IndexedInstrProfReader::getFunctionCounts(StringRef FuncName, uint64_t FuncHash, in getFunctionCounts() argument 629 ErrorOr<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
|
D | CoverageMappingReader.cpp | 381 StringRef FuncName = ProfileNames.getFuncName(NamePtr, NameSize); in readCoverageMappingData() local 382 if (NameSize && FuncName.empty()) in readCoverageMappingData() 385 CoverageMappingVersion(Version), FuncName, FuncHash, Mapping, in readCoverageMappingData()
|
/external/gemmlowp/internal/ |
D | fixedpoint.h | 319 #define MAKE_FIXEDPOINT_UNARY_FUNC(FuncName, ImplFuncName) \ 321 FixedPoint<tRawType, tIntegerBits> FuncName( \ 326 #define MAKE_FIXEDPOINT_BINARY_FUNC(FuncName, ImplFuncName) \ 328 FixedPoint<tRawType, tIntegerBits> FuncName( \ 347 #define MAKE_FIXEDPOINT_UNARY_FUNC_RETURNING_RAW(FuncName) \ 349 tRawType FuncName(FixedPoint<tRawType, tIntegerBits> a) { \ 350 return FuncName(a.raw()); \ 353 #define MAKE_FIXEDPOINT_BINARY_FUNC_RETURNING_RAW(FuncName) \ 355 tRawType FuncName(FixedPoint<tRawType, tIntegerBits> a, \ 357 return FuncName(a.raw(), b.raw()); \
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | WinCodeViewLineTables.cpp | 192 StringRef FuncName; in emitDebugInfoForFunction() local 194 FuncName = SP->getDisplayName(); in emitDebugInfoForFunction() 201 FuncName = GVName.substr(1); in emitDebugInfoForFunction() 205 Asm->OutStreamer->AddComment("Symbol subsection for " + Twine(FuncName)); in emitDebugInfoForFunction() 227 Asm->OutStreamer->EmitBytes(FuncName); in emitDebugInfoForFunction() 237 Asm->OutStreamer->EmitFill((-FuncName.size()) % 4, 0); in emitDebugInfoForFunction() 256 Asm->OutStreamer->AddComment("Line table subsection for " + Twine(FuncName)); in emitDebugInfoForFunction()
|
/external/llvm/tools/llvm-cov/ |
D | CoverageFilters.cpp | 21 StringRef FuncName = Function.Name; in matches() local 22 return FuncName.find(Name) != StringRef::npos; in matches()
|
/external/llvm/lib/MC/ |
D | MCContext.cpp | 145 MCSymbol *MCContext::getOrCreateFrameAllocSymbol(StringRef FuncName, in getOrCreateFrameAllocSymbol() argument 147 return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + FuncName + in getOrCreateFrameAllocSymbol() 151 MCSymbol *MCContext::getOrCreateParentFrameOffsetSymbol(StringRef FuncName) { in getOrCreateParentFrameOffsetSymbol() argument 152 return getOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + FuncName + in getOrCreateParentFrameOffsetSymbol() 156 MCSymbol *MCContext::getOrCreateLSDASymbol(StringRef FuncName) { in getOrCreateLSDASymbol() argument 158 FuncName); in getOrCreateLSDASymbol()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.h | 32 std::string FuncName; variable 88 void emitEmptyCounterMapping(const Decl *D, StringRef FuncName,
|
D | CodeGenPGO.cpp | 32 FuncName = llvm::getPGOFuncName( in setFuncName() 38 FuncNameVar = llvm::createPGOFuncNameVar(CGM.getModule(), Linkage, FuncName); in setFuncName() 676 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping() 702 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitEmptyCounterMapping() 758 PGOReader->getFunctionCounts(FuncName, FunctionHash, RegionCounts)) { in loadRegionCounts()
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProf.h | 149 GlobalVariable *createPGOFuncNameVar(Function &F, StringRef FuncName); 157 StringRef FuncName); 248 void addFuncName(StringRef FuncName) { in addFuncName() argument 250 IndexedInstrProf::ComputeHash(FuncName), FuncName.str())); in addFuncName()
|
D | InstrProfReader.h | 288 virtual std::error_code getRecords(StringRef FuncName, 316 std::error_code getRecords(StringRef FuncName, 360 ErrorOr<InstrProfRecord> getInstrProfRecord(StringRef FuncName, 364 std::error_code getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 210 std::string FuncName; member in __anondc7bfcd90211::FuncPGOInstrumentation 227 MST.dumpEdges(dbgs(), Twine("Dump Function ") + FuncName + " Hash: " + in dumpInfo() 235 FuncName = getPGOFuncName(F); in FuncPGOInstrumentation() 249 FuncNameVar = createPGOFuncNameVar(F, FuncName); in FuncPGOInstrumentation() 425 const std::string getFuncName() const { return FuncInfo.FuncName; } in getFuncName() 515 PGOReader->getInstrProfRecord(FuncInfo.FuncName, FuncInfo.FunctionHash); in readCounters()
|
/external/llvm/include/llvm/MC/ |
D | MCContext.h | 286 MCSymbol *getOrCreateFrameAllocSymbol(StringRef FuncName, unsigned Idx); 288 MCSymbol *getOrCreateParentFrameOffsetSymbol(StringRef FuncName); 290 MCSymbol *getOrCreateLSDASymbol(StringRef FuncName);
|
/external/llvm/lib/Transforms/IPO/ |
D | LoopExtractor.cpp | 272 std::string &FuncName = BlocksToNotExtractByName.back().first; in runOnModule() local 277 if (F.getName() != FuncName) continue; in runOnModule()
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 143 void loadCoverageMapping(StringRef FuncName, uint64_t Hash) { in loadCoverageMapping() 150 OneFunctionCoverageReader CovReader(FuncName, Hash, Filenames, OutputCMRs); in loadCoverageMapping()
|
/external/llvm/utils/TableGen/ |
D | DFAPacketizerEmitter.cpp | 722 std::string FuncName = FuncList[k]->getName(); in collectAllComboFuncs() local 723 unsigned FuncResources = FUNameToBitsMap[FuncName]; in collectAllComboFuncs() 724 DEBUG(dbgs() << " " << FuncName in collectAllComboFuncs()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 2090 bool LibCallSimplifier::hasFloatVersion(StringRef FuncName) { in hasFloatVersion() argument 2092 SmallString<20> FloatFuncName = FuncName; in hasFloatVersion() 2103 StringRef FuncName = Callee->getName(); in optimizeStringMemoryLibCall() local 2106 if (TLI->getLibFunc(FuncName, Func) && TLI->has(Func)) { in optimizeStringMemoryLibCall() 2171 StringRef FuncName = Callee->getName(); in optimizeCall() local 2220 if (TLI->getLibFunc(FuncName, Func) && TLI->has(Func)) { in optimizeCall() 2301 if (hasFloatVersion(FuncName)) in optimizeCall() 2318 if (UnsafeFPShrink && hasFloatVersion(FuncName)) in optimizeCall() 2322 if (hasFloatVersion(FuncName)) in optimizeCall() 2541 StringRef FuncName = Callee->getName(); in optimizeCall() local [all …]
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 133 static Module *getExternal(LLVMContext &Ctx, StringRef FuncName) { in getExternal() argument 140 Function::Create(FTy, Function::ExternalLinkage, FuncName, M); in getExternal()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SimplifyLibCalls.h | 170 bool hasFloatVersion(StringRef FuncName);
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3629 StringRef FuncName = FD->getName(); in InsertBlockLiteralsWithinFunction() local 3631 SynthesizeBlockLiterals(FunLocStart, FuncName); in InsertBlockLiteralsWithinFunction() 3649 std::string FuncName; in InsertBlockLiteralsWithinMethod() local 3650 BuildUniqueMethodName(FuncName, MD); in InsertBlockLiteralsWithinMethod() 3651 SynthesizeBlockLiterals(FunLocStart, FuncName); in InsertBlockLiteralsWithinMethod() 4409 std::string FuncName; in SynthBlockInitExpr() local 4412 FuncName = CurFunctionDef->getNameAsString(); in SynthBlockInitExpr() 4414 BuildUniqueMethodName(FuncName, CurMethodDef); in SynthBlockInitExpr() 4416 FuncName = std::string(GlobalVarDecl->getNameAsString()); in SynthBlockInitExpr() 4420 std::string Tag = "__" + FuncName + "_block_impl_" + BlockNumber; in SynthBlockInitExpr() [all …]
|
D | RewriteModernObjC.cpp | 4507 StringRef FuncName = FD->getName(); in InsertBlockLiteralsWithinFunction() local 4509 SynthesizeBlockLiterals(FunLocStart, FuncName); in InsertBlockLiteralsWithinFunction() 4527 std::string FuncName; in InsertBlockLiteralsWithinMethod() local 4528 BuildUniqueMethodName(FuncName, MD); in InsertBlockLiteralsWithinMethod() 4529 SynthesizeBlockLiterals(FunLocStart, FuncName); in InsertBlockLiteralsWithinMethod() 5325 std::string FuncName; in SynthBlockInitExpr() local 5328 FuncName = CurFunctionDef->getNameAsString(); in SynthBlockInitExpr() 5330 BuildUniqueMethodName(FuncName, CurMethodDef); in SynthBlockInitExpr() 5332 FuncName = std::string(GlobalVarDecl->getNameAsString()); in SynthBlockInitExpr() 5344 std::string Func = "__" + FuncName + "_block_func_" + BlockNumber; in SynthBlockInitExpr() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetCallingConv.td | 20 string FuncName = fn;
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 2382 StringRef FuncName = FII.first(); in WriteCombinedValueSymbolTable() local 2385 StringEncoding Bits = getStringEncoding(FuncName.data(), FuncName.size()); in WriteCombinedValueSymbolTable() 2394 for (const auto P : FuncName) in WriteCombinedValueSymbolTable()
|