Home
last modified time | relevance | path

Searched refs:LLVMStats (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp363 MDBuilder::createLLVMStats(ArrayRef<std::pair<StringRef, uint64_t>> LLVMStats) { in createLLVMStats() argument
365 SmallVector<Metadata *, 4> Ops(LLVMStats.size() * 2); in createLLVMStats()
366 for (size_t I = 0; I < LLVMStats.size(); I++) { in createLLVMStats()
367 Ops[I * 2] = createString(LLVMStats[I].first); in createLLVMStats()
369 createConstant(ConstantInt::get(Int64Ty, LLVMStats[I].second)); in createLLVMStats()
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp361 if (NamedMDNode *LLVMStats = M.getNamedMetadata("llvm.stats")) { in emitModuleMetadata() local
366 for (const auto *Operand : LLVMStats->operands()) { in emitModuleMetadata()