Home
last modified time | relevance | path

Searched refs:InstCount (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CGData/
H A DStableFunctionMap.h39 unsigned InstCount; member
44 const std::string ModuleName, unsigned InstCount, in StableFunction()
47 InstCount(InstCount), in StableFunction()
62 unsigned InstCount; member
68 unsigned InstCount, in StableFunctionEntry()
71 ModuleNameId(ModuleNameId), InstCount(InstCount), in StableFunctionEntry()
/freebsd/contrib/llvm-project/llvm/lib/CGData/
H A DStableFunctionMap.cpp89 Func.Hash, FuncNameId, ModuleNameId, Func.InstCount, in insert()
106 Func->Hash, FuncNameId, ModuleNameId, Func->InstCount, in merge()
169 unsigned InstCount = SFS[0]->InstCount; in isProfitable() local
170 if (InstCount < GlobalMergingMinInstrs) in isProfitable()
194 InstCount * (StableFunctionCount - 1) * GlobalMergingInstOverhead; in isProfitable()
198 << ", InstCount = " << InstCount in isProfitable()
222 if (RSF->InstCount != SF->InstCount) { in finalize()
H A DStableFunctionMapRecord.cpp43 IO.mapRequired("InstCount", Func.InstCount); in mapping()
115 Writer.write<uint32_t>(FuncRef->InstCount); in serialize()
171 auto InstCount = in deserialize() local
185 assert(InstIndex < InstCount && "InstIndex out of range"); in deserialize()
192 Hash, FunctionNameId, ModuleNameId, InstCount, in deserialize()
207 FuncEntry->InstCount, std::move(IndexOperandHashes)); in serializeYAML()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstCount.cpp34 class InstCount : public InstVisitor<InstCount> { class
35 friend class InstVisitor<InstCount>;
59 InstCount().visit(F); in run()
/freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkSizeDiff.cpp55 int64_t InstCount = 0; member
68 int64_t InstCount[2] = {0, 0}; member
72 int64_t getInstDiff() const { return InstCount[1] - InstCount[0]; } in getInstDiff()
76 int64_t getInstCountA() const { return InstCount[0]; } in getInstCountA()
80 int64_t getInstCountB() const { return InstCount[1]; } in getInstCountB()
95 InstCount[0] = A.InstCount; in FunctionDiff()
96 InstCount[1] = B.InstCount; in FunctionDiff()
264 FuncNameToSizeInfo[Remark.FunctionName].InstCount = *MaybeInstCount; in processRemark()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp393 int InstCount = RegCount / 2; in shouldUseFrameHelper() local
402 InstCount--; in shouldUseFrameHelper()
428 InstCount++; in shouldUseFrameHelper()
433 return InstCount >= FrameHelperSizeThreshold; in shouldUseFrameHelper()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp496 const unsigned InstCount = in getInstructionCost() local
507 return InstCount * TargetTransformInfo::TCC_Basic; in getInstructionCost()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMergeFunctions.cpp415 if (RFS->InstCount != FI.IndexInstruction->size()) in merge()
433 assert(SF->InstCount == FI.IndexInstruction->size()); in merge()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h881 unsigned InstCount;
928 InstCount(NumInsts), FunFlags(FunFlags),
961 unsigned instCount() const { return InstCount; }
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7731 unsigned InstCount = Record[2]; in parseEntireSummary() local
7778 Flags, InstCount, getDecodedFFlags(RawFunFlags), std::move(Refs), in parseEntireSummary()
7882 unsigned InstCount = Record[3]; in parseEntireSummary() local
7922 Flags, InstCount, getDecodedFFlags(RawFunFlags), std::move(Refs), in parseEntireSummary()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp9714 unsigned InstCount; in parseFunctionSummary() local
9729 parseToken(lltok::colon, "expected ':' here") || parseUInt32(InstCount)) in parseFunctionSummary()
9772 GVFlags, InstCount, FFlags, std::move(Refs), std::move(Calls), in parseFunctionSummary()
/freebsd/lib/clang/libllvm/
H A DMakefile127 SRCS_MIN+= Analysis/InstCount.cpp