Home
last modified time | relevance | path

Searched refs:Usage (Results 1 – 25 of 124) sorted by relevance

12345

/llvm-project-15.0.7/llvm/tools/llvm-mca/Views/
H A DSchedulerStatistics.cpp25 Usage(STI.getSchedModel().NumProcResourceKinds, {0, 0, 0}) { in SchedulerStatistics()
53 Usage[LQResourceID].SlotsInUse++; in onEvent()
58 Usage[SQResourceID].SlotsInUse++; in onEvent()
64 assert(Usage[LQResourceID].SlotsInUse); in onEvent()
65 Usage[LQResourceID].SlotsInUse--; in onEvent()
68 assert(Usage[SQResourceID].SlotsInUse); in onEvent()
69 Usage[SQResourceID].SlotsInUse--; in onEvent()
79 Usage[Buffer].SlotsInUse++; in onReservedBuffers()
88 Usage[Buffer].SlotsInUse--; in onReleasedBuffers()
93 for (BufferUsage &BU : Usage) { in updateHistograms()
[all …]
H A DResourcePressureView.cpp139 double Usage = ResourceUsage[I + Source.size() * E]; in printResourcePressurePerIter() local
140 printResourcePressure(FOS, Usage / Executions, (I + 1) * 7); in printResourcePressurePerIter()
162 double Usage = ResourceUsage[J + BaseEltIdx]; in printResourcePressurePerInst() local
163 printResourcePressure(FOS, Usage / Executions, (J + 1) * 7); in printResourcePressurePerInst()
189 double Usage = RU / Executions; in toJSON() local
193 {"ResourceUsage", Usage}})); in toJSON()
H A DSchedulerStatistics.h68 std::vector<BufferUsage> Usage; variable
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DMakeMemberFunctionConstCheck.cpp59 UsageKind Usage = Unused; member in clang::tidy::readability::FindUsageOfThis
79 Usage = NonConst; in VisitUnresolvedMemberExpr()
93 Usage = NonConst; in VisitCXXConstCastExpr()
175 Usage = Const; in VisitCXXThisExpr()
205 Usage = NonConst; in VisitCXXThisExpr()
216 return UsageOfThis.Usage == Const; in AST_MATCHER()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertUtils.cpp490 void ForLoopIndexUseVisitor::addUsage(const Usage &U) { in addUsage()
514 addUsage(Usage(Uop)); in TraverseUnaryOperator()
590 addUsage(Usage(ResultExpr, Usage::UK_MemberThroughArrow, in TraverseMemberExpr()
620 addUsage(Usage(MemberCall)); in TraverseCXXMemberCallExpr()
655 addUsage(Usage(OpCall)); in TraverseCXXOperatorCallExpr()
666 addUsage(Usage(OpCall)); in TraverseCXXOperatorCallExpr()
715 addUsage(Usage(E)); in TraverseArraySubscriptExpr()
793 addUsage(Usage(nullptr, in TraverseLambdaCapture()
794 C->getCaptureKind() == LCK_ByCopy ? Usage::UK_CaptureByCopy in TraverseLambdaCapture()
795 : Usage::UK_CaptureByRef, in TraverseLambdaCapture()
H A DLoopConvertCheck.cpp415 for (const Usage &U : Usages) { in usagesAreConst()
421 if (U.Kind != Usage::UK_CaptureByCopy && U.Kind != Usage::UK_CaptureByRef && in usagesAreConst()
587 for (const auto &Usage : Usages) { in doConversion() local
589 SourceRange Range = Usage.Range; in doConversion()
590 if (Usage.Expression) { in doConversion()
593 ReplaceText = Usage.Kind == Usage::UK_MemberThroughArrow ? VarName + "." in doConversion()
595 auto Parents = Context->getParents(*Usage.Expression); in doConversion()
619 Usage.Kind == Usage::UK_CaptureByCopy ? "&" + VarName : VarName; in doConversion()
727 for (const Usage &U : Usages) { in getArrayLoopQualifiers()
731 if (U.Kind == Usage::UK_MemberThroughArrow) { in getArrayLoopQualifiers()
H A DLoopConvertUtils.h210 struct Usage { struct
240 explicit Usage(const Expr *E) in Usage() argument
242 Usage(const Expr *E, UsageKind Kind, SourceRange Range) in Usage() function
275 typedef llvm::SmallVector<Usage, 8> UsageResult;
317 void addUsage(const Usage &U);
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/scripts/
H A Dsancov.py16 def Usage(): function
99 Usage()
226 Usage();
230 Usage()
238 Usage()
249 Usage()
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DState.cpp99 return &Data[computeThreadStorageTotal() * TId + Usage[TId]]; in getThreadDataTop()
105 unsigned char Usage[mapping::MaxThreadsPerTeam] member
116 Usage[mapping::getThreadIdInBlock()] = 0; in init()
131 if (Usage[TId] + AlignedBytes <= StorageTotal) { in push()
133 Usage[TId] += AlignedBytes; in push()
152 Usage[TId] -= AlignedBytes; in pop()
/llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/
H A Dnull-check-global-value.ll19 define void @Usage() {
20 ; CHECK-LABEL: @Usage(
/llvm-project-15.0.7/clang-tools-extra/clang-reorder-fields/tool/
H A DClangReorderFields.cpp50 const char Usage[] = "A tool to reorder fields in C/C++ structs/classes.\n"; variable
54 argc, argv, ClangReorderFieldsCategory, cl::OneOrMore, Usage); in main()
/llvm-project-15.0.7/clang/tools/driver/
H A Dcc1_main.cpp81 size_t Usage = 512 * 1024; in getCurrentStackAllocation() local
104 Usage = StackPtr < EnvEnd ? EnvEnd - StackPtr : StackPtr - EnvEnd; in getCurrentStackAllocation()
108 return Usage; in getCurrentStackAllocation()
/llvm-project-15.0.7/llvm/include/llvm/Option/
H A DOptTable.h253 void printHelp(raw_ostream &OS, const char *Usage, const char *Title,
257 void printHelp(raw_ostream &OS, const char *Usage, const char *Title,
/llvm-project-15.0.7/clang/test/CodeGen/
H A D2006-09-18-fwrite-cast-crash.c7 static void Usage(signed char *ltmp_611_6) { in Usage() function
/llvm-project-15.0.7/libc/cmake/modules/
H A DLLVMLibCHeaderRules.cmake4 # Usage:
45 # Usage:
/llvm-project-15.0.7/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp257 std::string Usage(argv[0]); in main() local
258 Usage += " [options] library-file [library-file...]"; in main()
259 Tbl.printHelp(outs(), Usage.c_str(), in main()
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/
H A Dno-args.test5 # CHECK: Usage: crashlog [options] <FILE> [FILE ...]
/llvm-project-15.0.7/polly/lib/External/isl/imath/tests/linux/
H A DDockerfile3 # Usage (from the imath root):
/llvm-project-15.0.7/llvm/docs/TableGen/
H A DBackEnds.rst90 **Usage**: Used to include directly at the end of ``<Target>MCCodeEmitter.cpp``.
127 **Usage**: Included directly into ``InstPrinter/<Target>InstPrinter.cpp``.
139 **Usage**: Used in back-ends' ``AsmParser/<Target>AsmParser.cpp`` for
151 **Usage**: Directly included in ``Disassembler/<Target>Disassembler.cpp``
161 **Usage**: Included directly into ``<Target>AsmPrinter.cpp``.
172 **Usage**: Used in ISelLowering and FastIsel as function pointers to
182 **Usage**: Included in ``<Target>ISelDAGToDAG.cpp`` inside the target's
196 **Usage**: Included directly on ``<Target>InstrInfo.cpp``.
210 **Usage**: Implements private methods of the targets' implementation
220 **Usage**: Populates ``<Target>Subtarget`` and
[all …]
/llvm-project-15.0.7/llvm/cmake/platforms/
H A DAndroid.cmake5 # Usage:
/llvm-project-15.0.7/llvm/utils/docker/scripts/
H A Dbuild_install_llvm.sh14 Usage: build_install_llvm.sh [options] -- [cmake-args]
H A Dcheckout.sh14 Usage: checkout.sh [options]
/llvm-project-15.0.7/llvm/lib/Option/
H A DOptTable.cpp634 void OptTable::printHelp(raw_ostream &OS, const char *Usage, const char *Title, in printHelp() argument
636 printHelp(OS, Usage, Title, /*Include*/ 0, /*Exclude*/ in printHelp()
640 void OptTable::printHelp(raw_ostream &OS, const char *Usage, const char *Title, in printHelp() argument
644 OS << "USAGE: " << Usage << "\n\n"; in printHelp()
/llvm-project-15.0.7/libcxx/utils/ci/
H A Dapple-install-libcxx.sh18 Usage:
/llvm-project-15.0.7/third-party/benchmark/
H A DREADME.md33 [Installation](#installation). See [Usage](#usage) for a full example and the
152 ## Usage section in Benchmark
198 ### Usage with CMake argument

12345