Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInstCount.cpp37 class InstCount : public InstVisitor<InstCount> { class
38 friend class InstVisitor<InstCount>;
62 InstCount().visit(F); in run()
78 InstCount().visit(F); in runOnFunction()
H A DCMakeLists.txt76 InstCount.cpp
/llvm-project-15.0.7/llvm/tools/llvm-remark-size-diff/
H A DRemarkSizeDiff.cpp69 int64_t InstCount = 0; member
82 int64_t InstCount[2] = {0, 0}; member
86 int64_t getInstDiff() const { return InstCount[1] - InstCount[0]; } in getInstDiff()
90 int64_t getInstCountA() const { return InstCount[0]; } in getInstCountA()
94 int64_t getInstCountB() const { return InstCount[1]; } in getInstCountB()
109 InstCount[0] = A.InstCount; in FunctionDiff()
110 InstCount[1] = B.InstCount; in FunctionDiff()
278 FuncNameToSizeInfo[Remark.FunctionName].InstCount = *MaybeInstCount; in processRemark()
/llvm-project-15.0.7/llvm/test/tools/llvm-remark-size-diff/
H A Djson-add-remove-func.test13 ; ADD-NEXT: "InstCount": [
25 ; ADD-NEXT: "InstCount": [
39 ; REMOVE-NEXT: "InstCount": [
49 ; REMOVE-NEXT: "InstCount": [
H A Djson-increase-decrease-inst-count.test12 ; INCREASE-NEXT: "InstCount":
29 ; DECREASE-NEXT: "InstCount":
H A Djson-no-difference.test9 ; CHECK-NEXT: "InstCount":
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp363 int InstCount = RegCount / 2; in shouldUseFrameHelper() local
372 InstCount--; in shouldUseFrameHelper()
398 InstCount++; in shouldUseFrameHelper()
403 return InstCount >= FrameHelperSizeThreshold; in shouldUseFrameHelper()
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dllvm-remark-size-diff.rst181 "InstCount": [
194 ``InstCount``
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Analysis/
H A DBUILD.gn65 "InstCount.cpp",
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp1660 int InstCount = 0; in hasSufficientCompute() local
1667 InstCount += BB->size(); in hasSufficientCompute()
1669 InstCount = InstCount / NumLoops; in hasSufficientCompute()
1671 return InstCount >= ProfitabilityMinPerLoopInstructions; in hasSufficientCompute()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h690 unsigned InstCount;
720 InstCount(NumInsts), FunFlags(FunFlags), EntryCount(EntryCount),
749 unsigned instCount() const { return InstCount; }
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DPPCGCodeGeneration.cpp3371 long InstCount = 0; in approxDynamicInst() local
3375 InstCount = std::distance(BB->begin(), BB->end()); in approxDynamicInst()
3380 InstCount += std::distance(BB->begin(), BB->end()); in approxDynamicInst()
3384 isl_val *InstVal = isl_val_int_from_si(S->getIslCtx().get(), InstCount); in approxDynamicInst()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7098 unsigned InstCount = Record[2]; in parseEntireSummary() local
7135 Flags, InstCount, getDecodedFFlags(RawFunFlags), /*EntryCount=*/0, in parseEntireSummary()
7236 unsigned InstCount = Record[3]; in parseEntireSummary() local
7278 Flags, InstCount, getDecodedFFlags(RawFunFlags), EntryCount, in parseEntireSummary()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp8492 unsigned InstCount; in parseFunctionSummary() local
8505 parseToken(lltok::colon, "expected ':' here") || parseUInt32(InstCount)) in parseFunctionSummary()
8540 GVFlags, InstCount, FFlags, /*EntryCount=*/0, std::move(Refs), in parseFunctionSummary()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt5012 llvm/include/llvm/Analysis/InstCount.h
5742 llvm/lib/Analysis/InstCount.cpp