Home
last modified time | relevance | path

Searched full:mca (Results 1 – 25 of 143) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp1 //===-- llvm-mca.cpp - Machine Code Analyzer -------------------*- C++ -* -===//
12 // llvm-mca [options] <file-name>
44 #include "llvm/MCA/CodeEmitter.h"
45 #include "llvm/MCA/Context.h"
46 #include "llvm/MCA/CustomBehaviour.h"
47 #include "llvm/MCA/InstrBuilder.h"
48 #include "llvm/MCA/Pipeline.h"
49 #include "llvm/MCA/Stages/EntryStage.h"
50 #include "llvm/MCA/Stages/InstructionTables.h"
51 #include "llvm/MCA/Support.h"
[all …]
H A DCodeRegionGenerator.cpp10 /// This file defines classes responsible for generating llvm-mca
11 /// CodeRegions from various types of input. llvm-mca only analyzes CodeRegions,
26 namespace mca { namespace
41 // doesn't show up in the llvm-mca output. in parseCodeRegions()
46 // Create a MCAsmParser and setup the lexer to recognize llvm-mca ASM in parseCodeRegions()
78 // Set the assembler dialect from the input. llvm-mca will use this as the in parseCodeRegions()
98 if (Comment.consume_front("LLVM-MCA-END")) { in HandleComment()
107 // Try to parse the LLVM-MCA-BEGIN comment. in HandleComment()
108 if (!Comment.consume_front("LLVM-MCA-BEGIN")) in HandleComment()
133 // Bail out if not an MCA style comment in HandleComment()
[all …]
H A DCodeRegionGenerator.h10 /// This file declares classes responsible for generating llvm-mca
11 /// CodeRegions from various types of input. llvm-mca only analyzes CodeRegions,
26 #include "llvm/MCA/CustomBehaviour.h"
32 namespace mca {
52 /// LLVM-MCA-BEGIN. It ends a region if it is of the form LLVM-MCA-END.
54 /// LLVM-MCA-BEGIN <name> or LLVM-MCA-END <name>. Subregions are
57 /// active region, LLVM-MCA-END does not need to provide a name.
76 /// LLVM-MCA-<INSTRUMENTATION_TYPE> <data> where INSTRUMENTATION_TYPE
91 MCStreamerWrapper(MCContext &Context, mca::CodeRegions &R) in MCStreamerWrapper()
124 InstrumentMCStreamer(MCContext &Context, mca::InstrumentRegions &R, in InstrumentMCStreamer()
[all …]
H A DCodeRegion.h13 /// A CodeRegion describes a region of assembly code guarded by special LLVM-MCA
16 /// # LLVM-MCA-BEGIN foo
18 /// # LLVM-MCA-END
20 /// A comment starting with substring LLVM-MCA-BEGIN marks the beginning of a
22 /// A comment starting with substring LLVM-MCA-END marks the end of the
33 /// special LLVM-MCA comment directives.
35 /// # LLVM-MCA-<INSTRUMENTATION_TYPE> <data>
41 /// A comment starting with substring LLVM-MCA-<INSTRUMENTATION_TYPE>
42 /// brings data into scope for llvm-mca to use in its analysis for
67 #include "llvm/MCA/CustomBehaviour.h"
[all …]
H A DPipelinePrinter.h21 #include "llvm/MCA/Context.h"
22 #include "llvm/MCA/Pipeline.h"
23 #include "llvm/MCA/View.h"
26 #define DEBUG_TYPE "llvm-mca"
29 namespace mca {
34 /// code analyzed by the llvm-mca tool.
66 } // namespace mca
/freebsd/usr.bin/clang/llvm-mca/
H A Dllvm-mca.130 .TH "LLVM-MCA" "1" "2023-05-24" "16" "LLVM"
32 llvm-mca \- LLVM Machine Code Analyzer
35 \fBllvm\-mca\fP [\fIoptions\fP] [input]
38 \fBllvm\-mca\fP is a performance analysis tool that uses information
50 Given an assembly code sequence, \fBllvm\-mca\fP estimates the Instructions
55 directly into \fBllvm\-mca\fP for analysis:
61 $ clang foo.c \-O2 \-target x86_64\-unknown\-unknown \-S \-o \- | llvm\-mca \-mcpu=btver2
73 …rget x86_64\-unknown\-unknown \-mllvm \-x86\-asm\-syntax=intel \-S \-o \- | llvm\-mca \-mcpu=btver2
79 (\fBllvm\-mca\fP detects Intel syntax by the presence of an \fI\&.intel_syntax\fP
87 By design, the quality of the analysis conducted by \fBllvm\-mca\fP is
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dapple,mca.yaml4 $id: http://devicetree.org/schemas/sound/apple,mca.yaml#
7 title: Apple MCA I2S transceiver
10 MCA is an I2S transceiver peripheral found on M1 and other Apple chips. It is
12 or in an interlinked fashion. Up to 6 clusters have been seen on an MCA.
24 - apple,t6000-mca
25 - apple,t8103-mca
26 - apple,t8112-mca
27 - const: apple,mca
31 - description: Register region of the MCA clusters proper
117 mca: i2s@9b600000 {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DContext.cpp17 #include "llvm/MCA/Context.h"
18 #include "llvm/MCA/HardwareUnits/RegisterFile.h"
19 #include "llvm/MCA/HardwareUnits/RetireControlUnit.h"
20 #include "llvm/MCA/HardwareUnits/Scheduler.h"
21 #include "llvm/MCA/Stages/DispatchStage.h"
22 #include "llvm/MCA/Stages/EntryStage.h"
23 #include "llvm/MCA/Stages/ExecuteStage.h"
24 #include "llvm/MCA/Stages/InOrderIssueStage.h"
25 #include "llvm/MCA/Stages/MicroOpQueueStage.h"
26 #include "llvm/MCA/Stages/RetireStage.h"
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DCustomBehaviour.h11 /// by specific targets (ex. llvm/tools/llvm-mca/lib/X86CustomBehaviour.h).
13 /// within the llvm-mca pipeline simulation that llvm-mca isn't already capable
25 #include "llvm/MCA/SourceMgr.h"
26 #include "llvm/MCA/View.h"
29 namespace mca {
32 /// mca::Instruction objects before the pipeline starts.
47 /// This method can be overriden by targets to modify the mca::Instruction
62 /// within the scheduling model for mca to automatically simulate
69 const mca::SourceMgr &SrcMgr;
73 CustomBehaviour(const MCSubtargetInfo &STI, const mca::SourceMgr &SrcMgr, in CustomBehaviour()
[all …]
H A DInstrBuilder.h10 /// A builder class for instructions that are statically analyzed by llvm-mca.
23 #include "llvm/MCA/CustomBehaviour.h"
24 #include "llvm/MCA/Instruction.h"
25 #include "llvm/MCA/Support.h"
29 namespace mca {
54 /// Every llvm-mca Instruction is described by an object of class InstrDesc.
113 /// Set a callback which is invoked to retrieve a recycled mca::Instruction
120 } // namespace mca
H A DContext.h22 #include "llvm/MCA/CustomBehaviour.h"
23 #include "llvm/MCA/HardwareUnits/HardwareUnit.h"
24 #include "llvm/MCA/Pipeline.h"
25 #include "llvm/MCA/SourceMgr.h"
29 namespace mca {
81 } // namespace mca
H A DIncrementalSourceMgr.h17 #include "llvm/MCA/SourceMgr.h"
21 namespace mca {
25 /// Note that this SourceMgr takes ownership of all \a mca::Instruction.
27 /// Owner of all mca::Instruction instances. Note that we use std::deque here
52 /// Set a callback that is invoked when a mca::Instruction is
89 } // end namespace mca
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.h11 /// CustomBehaviour. This class is used by the tool llvm-mca to enforce
13 /// scheduling model for mca to enforce it automatically.
21 #include "llvm/MCA/CustomBehaviour.h"
25 namespace mca {
48 /// Whenever MCA would like to dispatch an s_waitcnt instructions,
76 /// This method gets called from checkCustomHazard when mca is attempting to
89 const mca::SourceMgr &SrcMgr, const MCInstrInfo &MCII);
95 /// This method is called after MCA has already checked for
98 /// by MCA naturally.
102 } // namespace mca
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/Stages/
H A DInstructionTables.h12 /// docs/CommandGuide/lvm-mca.rst
21 #include "llvm/MCA/HardwareUnits/Scheduler.h"
22 #include "llvm/MCA/Stages/Stage.h"
23 #include "llvm/MCA/Support.h"
26 namespace mca {
42 } // namespace mca
H A DRetireStage.h20 #include "llvm/MCA/HardwareUnits/LSUnit.h"
21 #include "llvm/MCA/HardwareUnits/RegisterFile.h"
22 #include "llvm/MCA/HardwareUnits/RetireControlUnit.h"
23 #include "llvm/MCA/Stages/Stage.h"
26 namespace mca {
48 } // namespace mca
H A DDispatchStage.h23 #include "llvm/MCA/HardwareUnits/RegisterFile.h"
24 #include "llvm/MCA/HardwareUnits/RetireControlUnit.h"
25 #include "llvm/MCA/Instruction.h"
26 #include "llvm/MCA/Stages/Stage.h"
29 namespace mca {
84 } // namespace mca
H A DInOrderIssueStage.h17 #include "llvm/MCA/CustomBehaviour.h"
18 #include "llvm/MCA/HardwareUnits/ResourceManager.h"
19 #include "llvm/MCA/SourceMgr.h"
20 #include "llvm/MCA/Stages/Stage.h"
23 namespace mca {
126 } // namespace mca
H A DExecuteStage.h21 #include "llvm/MCA/HardwareUnits/Scheduler.h"
22 #include "llvm/MCA/Instruction.h"
23 #include "llvm/MCA/Stages/Stage.h"
26 namespace mca {
86 } // namespace mca
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_x86_64.S116 # LLVM-MCA-BEGIN __xray_FunctionEntry
137 # LLVM-MCA-END
147 # LLVM-MCA-BEGIN __xray_FunctionExit
182 # LLVM-MCA-END
192 # LLVM-MCA-BEGIN __xray_FunctionTailExit
210 # LLVM-MCA-END
220 # LLVM-MCA-BEGIN __xray_ArgLoggerEntry
253 # LLVM-MCA-END
264 # LLVM-MCA-BEGIN __xray_CustomEvent
280 # LLVM-MCA-END
[all …]
H A Dxray_trampoline_hexagon.S52 # LLVM-MCA-BEGIN __xray_FunctionEntry
61 # LLVM-MCA-END
69 # LLVM-MCA-BEGIN __xray_FunctionExit
79 # LLVM-MCA-END
87 # LLVM-MCA-BEGIN __xray_FunctionTailExit
97 # LLVM-MCA-END
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCA/
H A DX86CustomBehaviour.h11 /// CustomBehaviour. This class is used by the tool llvm-mca to enforce
13 /// scheduling model for mca to enforce it automatically.
20 #include "llvm/MCA/CustomBehaviour.h"
24 namespace mca {
41 } // namespace mca
/freebsd/sys/x86/x86/
H A Dmca.c58 #include <x86/mca.h>
97 static MALLOC_DEFINE(M_MCA, "MCA", "Machine Check Architecture");
103 static SYSCTL_NODE(_hw, OID_AUTO, mca, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL,
438 printf("MCA: Bank %d, Status 0x%016llx\n", rec->mr_bank, in mca_log()
440 printf("MCA: Global Cap 0x%016llx, Status 0x%016llx\n", in mca_log()
442 printf("MCA: Vendor \"%s\", ID 0x%x, APIC ID %d\n", cpu_vendor, in mca_log()
444 printf("MCA: CPU %d ", rec->mr_cpu); in mca_log()
607 printf("MCA: Address 0x%llx", (long long)rec->mr_addr); in mca_log()
617 printf("MCA: Misc 0x%llx\n", (long long)rec->mr_misc); in mca_log()
628 /* Spurious MCA error. */ in mca_is_mce()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.h44 #include "llvm/MCA/CodeEmitter.h"
45 #include "llvm/MCA/CustomBehaviour.h"
48 #define DEBUG_TYPE "llvm-mca"
51 namespace mca {
63 DenseMap<const MCInst *, SmallVector<mca::Instrument *>>;
97 } // namespace mca
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCA/
H A DRISCVCustomBehaviour.h11 /// CustomBehaviour. This class is used by the tool llvm-mca to enforce
13 /// scheduling model for mca to enforce it automatically.
24 #include "llvm/MCA/CustomBehaviour.h"
27 namespace mca {
73 } // namespace mca
/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DRetireStage.cpp16 #include "llvm/MCA/Stages/RetireStage.h"
17 #include "llvm/MCA/HWEventListener.h"
20 #define DEBUG_TYPE "llvm-mca"
23 namespace mca { namespace
74 } // namespace mca

123456