/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/ |
H A D | llvm-mca.cpp | 1 //===-- 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 D | CodeRegionGenerator.cpp | 10 /// 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 D | CodeRegionGenerator.h | 10 /// 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 D | CodeRegion.h | 13 /// 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 D | PipelinePrinter.h | 21 #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 D | llvm-mca.1 | 30 .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 D | apple,mca.yaml | 4 $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 D | Context.cpp | 17 #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 D | CustomBehaviour.h | 11 /// 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 D | InstrBuilder.h | 10 /// 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 D | Context.h | 22 #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 D | IncrementalSourceMgr.h | 17 #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 D | AMDGPUCustomBehaviour.h | 11 /// 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 D | InstructionTables.h | 12 /// 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 D | RetireStage.h | 20 #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 D | DispatchStage.h | 23 #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 D | InOrderIssueStage.h | 17 #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 D | ExecuteStage.h | 21 #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 D | xray_trampoline_x86_64.S | 116 # 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 D | xray_trampoline_hexagon.S | 52 # 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 D | X86CustomBehaviour.h | 11 /// 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 D | mca.c | 58 #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 D | InstructionInfoView.h | 44 #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 D | RISCVCustomBehaviour.h | 11 /// 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 D | RetireStage.cpp | 16 #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
|