Home
last modified time | relevance | path

Searched refs:Model (Results 1 – 25 of 242) sorted by relevance

12345678910

/freebsd-src/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/
H A Dx86.c360 unsigned *Model) { in getIntelProcessorTypeAndSubtype()
362 *Model = (EAX >> 4) & 0xf; // Bits 4 - 7 in getIntelProcessorTypeAndSubtype()
368 *Model += ((EAX >> 16) & 0xf) << 4; // Bits 16 - 19 in getIntelProcessorTypeAndSubtype()
375 unsigned Model, in getIntelProcessorTypeAndSubtype()
385 switch (Model) { in getIntelProcessorTypeAndSubtype()
663 unsigned Model, in getAMDProcessorTypeAndSubtype()
675 switch (Model) { in getAMDProcessorTypeAndSubtype()
709 switch (Model) { in getAMDProcessorTypeAndSubtype()
728 if (Model >= 0x60 && Model < in getAvailableFeatures()
290 detectX86FamilyModel(unsigned EAX,unsigned * Family,unsigned * Model) detectX86FamilyModel() argument
303 getIntelProcessorTypeAndSubtype(unsigned Family,unsigned Model,const unsigned * Features,unsigned * Type,unsigned * Subtype) getIntelProcessorTypeAndSubtype() argument
593 getAMDProcessorTypeAndSubtype(unsigned Family,unsigned Model,const unsigned * Features,unsigned * Type,unsigned * Subtype) getAMDProcessorTypeAndSubtype() argument
898 unsigned Model, Family; __cpu_indicator_init() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp695 unsigned *Model) { in getIntelProcessorTypeAndSubtype()
697 *Model = (EAX >> 4) & 0xf; // Bits 4 - 7 in getIntelProcessorTypeAndSubtype()
703 *Model += ((EAX >> 16) & 0xf) << 4; // Bits 16 - 19 in getIntelProcessorTypeAndSubtype()
710 unsigned Model, in getIntelProcessorTypeAndSubtype()
731 switch (Model) { in getIntelProcessorTypeAndSubtype()
1071 unsigned Model, in getAMDProcessorTypeAndSubtype()
1083 switch (Model) { in getAMDProcessorTypeAndSubtype()
1117 switch (Model) { in getAMDProcessorTypeAndSubtype()
1136 if (Model >= 0x60 && Model < in getAMDProcessorTypeAndSubtype()
668 detectX86FamilyModel(unsigned EAX,unsigned * Family,unsigned * Model) detectX86FamilyModel() argument
681 getIntelProcessorTypeAndSubtype(unsigned Family,unsigned Model,const unsigned * Features,unsigned * Type,unsigned * Subtype) getIntelProcessorTypeAndSubtype() argument
1047 getAMDProcessorTypeAndSubtype(unsigned Family,unsigned Model,const unsigned * Features,unsigned * Type,unsigned * Subtype) getAMDProcessorTypeAndSubtype() argument
1349 unsigned Family = 0, Model = 0; getHostCPUName() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp144 Reloc::Model TargetMachine::getRelocationModel() const { return RM; } in getSelectedTLSModel()
161 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in shouldAssumeDSOLocal()
180 Reloc::Model RM = getRelocationModel(); in shouldAssumeDSOLocal()
238 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const { in getTLSModel()
240 Reloc::Model RM = getRelocationModel(); in getTLSModel()
244 TLSModel::Model Model;
247 Model = TLSModel::LocalDynamic;
249 Model = TLSModel::GeneralDynamic;
252 Model in getTargetTransformInfo()
224 TLSModel::Model Model; getTLSModel() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp65 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel()
79 static CodeModel::Model
80 getEffectiveSparcCodeModel(std::optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSparcCodeModel()
101 std::optional<Reloc::Model> RM, in SparcTargetMachine()
102 std::optional<CodeModel::Model> CM, in SparcTargetMachine()
203 std::optional<Reloc::Model> RM, in SparcV8TargetMachine()
204 std::optional<CodeModel::Model> CM, in SparcV8TargetMachine()
213 std::optional<Reloc::Model> R in SparcV9TargetMachine()
[all...]
H A DSparcTargetMachine.h31 std::optional<Reloc::Model> RM,
32 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
57 std::optional<Reloc::Model> RM,
58 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
70 std::optional<Reloc::Model> RM,
71 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
81 std::optional<Reloc::Model> RM,
82 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Target/
H A DCodeGenCWrappers.h25 inline std::optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap() argument
27 switch (Model) { in unwrap()
47 inline LLVMCodeModel wrap(CodeModel::Model Model) { in wrap() argument
48 switch (Model) { in wrap()
H A DTargetMachine.h100 Reloc::Model RM = Reloc::Static;
101 CodeModel::Model CMModel = CodeModel::Small;
228 Reloc::Model getRelocationModel() const;
232 CodeModel::Model getCodeModel() const { return CMModel; }
238 void setCodeModel(CodeModel::Model CM) { CMModel = CM; }
254 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
446 const TargetOptions &Options, Reloc::Model RM,
447 CodeModel::Model CM, CodeGenOptLevel OL);
530 inline CodeModel::Model in getEffectiveCodeModel()
531 getEffectiveCodeModel(std::optional<CodeModel::Model> C in getEffectiveCodeModel()
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaTargetMachine.cpp38 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel()
39 std::optional<Reloc::Model> RM) { in getEffectiveRelocModel()
48 std::optional<Reloc::Model> RM, in XtensaTargetMachine()
49 std::optional<CodeModel::Model> CM, in XtensaTargetMachine()
62 std::optional<Reloc::Model> RM, in XtensaTargetMachine()
63 std::optional<CodeModel::Model> CM, in XtensaTargetMachine()
H A DXtensaTargetMachine.h30 std::optional<Reloc::Model> RM,
31 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
36 std::optional<Reloc::Model> RM,
37 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetMachine.h42 std::optional<Reloc::Model> RM,
43 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
91 std::optional<Reloc::Model> RM,
92 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
104 std::optional<Reloc::Model> RM,
105 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
H A DMipsTargetMachine.cpp109 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel()
110 std::optional<Reloc::Model> RM) { in getEffectiveRelocModel()
124 std::optional<Reloc::Model> RM, in MipsTargetMachine()
125 std::optional<CodeModel::Model> CM, in MipsTargetMachine()
153 std::optional<Reloc::Model> RM, in MipsebTargetMachine()
154 std::optional<CodeModel::Model> CM, in MipsebTargetMachine()
163 std::optional<Reloc::Model> RM, in MipselTargetMachine()
164 std::optional<CodeModel::Model> CM, in MipselTargetMachine()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreTargetMachine.cpp29 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel()
33 static CodeModel::Model
34 getEffectiveXCoreCodeModel(std::optional<CodeModel::Model> CM) { in getEffectiveXCoreCodeModel()
48 std::optional<Reloc::Model> RM, in XCoreTargetMachine()
49 std::optional<CodeModel::Model> CM, in XCoreTargetMachine()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h32 std::optional<Reloc::Model> RM,
33 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
84 std::optional<Reloc::Model> RM,
85 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
97 std::optional<Reloc::Model> RM,
98 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
/freebsd-src/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.h38 std::optional<Reloc::Model> RM,
39 std::optional<CodeModel::Model> CM, CodeGenOptLevel OP,
87 std::optional<Reloc::Model> RM,
88 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
98 std::optional<Reloc::Model> RM,
99 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
/freebsd-src/contrib/llvm-project/llvm/include/llvm/MCA/Stages/
H A DInstructionTables.h34 InstructionTables(const MCSchedModel &Model) in InstructionTables() argument
35 : SM(Model), Masks(Model.getNumProcResourceKinds()) { in InstructionTables()
36 computeProcResourceMasks(Model, Masks); in InstructionTables()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetMachine.h44 std::optional<Reloc::Model> RM,
45 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
103 std::optional<Reloc::Model> RM,
104 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
114 std::optional<Reloc::Model> RM,
115 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h84 JITTargetMachineBuilder &setRelocationModel(std::optional<Reloc::Model> RM) { in setRelocationModel()
90 const std::optional<Reloc::Model> &getRelocationModel() const { return RM; } in getRelocationModel()
93 JITTargetMachineBuilder &setCodeModel(std::optional<CodeModel::Model> CM) { in setCodeModel()
99 const std::optional<CodeModel::Model> &getCodeModel() const { return CM; } in getCodeModel()
151 std::optional<Reloc::Model> RM;
152 std::optional<CodeModel::Model> CM;
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp25 SummaryView::SummaryView(const MCSchedModel &Model, ArrayRef<MCInst> S, in SummaryView() argument
27 : SM(Model), Source(S), DispatchWidth(Width ? Width : Model.IssueWidth), in SummaryView()
29 ProcResourceUsage(Model.getNumProcResourceKinds(), 0), in SummaryView()
30 ProcResourceMasks(Model.getNumProcResourceKinds()), in SummaryView()
31 ResIdx2ProcResID(Model.getNumProcResourceKinds(), 0) { in SummaryView()
/freebsd-src/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAPacketizerEmitter.cpp104 for (const CodeGenProcModel *Model : ProcModels) in collectAllFuncUnits()
105 ProcItinList.insert(Model->ItinsDef); in collectAllFuncUnits() local
241 for (const CodeGenProcModel *Model : ProcModels) { in emitForItineraries() local
242 assert(Model->hasItineraries()); in emitForItineraries()
243 ProcModelStartIdx[Model] = ScheduleClasses.size(); in emitForItineraries()
244 createScheduleClasses(Model->Index, Model->ItinDefList); in emitForItineraries()
262 for (const CodeGenProcModel *Model : ProcModels) { in emitForItineraries() local
263 OS << " " << ProcModelStartIdx[Model] << ", // " << Model in emitForItineraries()
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kTargetMachine.cpp77 Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
78 std::optional<Reloc::Model> RM) { in getEffectiveRelocModel()
86 CodeModel::Model getEffectiveCodeModel(std::optional<CodeModel::Model> CM, in getEffectiveCodeModel()
102 std::optional<Reloc::Model> RM, in M68kTargetMachine()
103 std::optional<CodeModel::Model> CM, in M68kTargetMachine()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchTargetMachine.cpp62 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveLoongArchCodeModel()
63 std::optional<Reloc::Model> RM) { in getEffectiveLoongArchCodeModel()
67 static CodeModel::Model in getEffectiveLoongArchCodeModel()
69 std::optional<CodeModel::Model> CM) { in getEffectiveLoongArchCodeModel()
89 const TargetOptions &Options, std::optional<Reloc::Model> RM,
90 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL, bool JIT)
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp95 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel()
132 static CodeModel::Model in getEffectiveSystemZCodeModel()
133 getEffectiveSystemZCodeModel(std::optional<CodeModel::Model> CM, in getEffectiveSystemZCodeModel()
134 Reloc::Model RM, bool JIT) { in getEffectiveSystemZCodeModel()
150 std::optional<Reloc::Model> RM, in SystemZTargetMachine()
151 std::optional<CodeModel::Model> CM, in SystemZTargetMachine()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCommandFlags.h41 Reloc::Model getRelocModel();
42 std::optional<Reloc::Model> getExplicitRelocModel();
44 ThreadModel::Model getThreadModel();
46 CodeModel::Model getCodeModel();
47 std::optional<CodeModel::Model> getExplicitCodeModel();
/freebsd-src/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430TargetMachine.cpp32 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel()
44 std::optional<Reloc::Model> RM, in MSP430TargetMachine()
45 std::optional<CodeModel::Model> CM, in MSP430TargetMachine()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCTargetMachine.cpp25 static Reloc::Model getRelocModel(std::optional<Reloc::Model> RM) { in getRelocModel()
33 std::optional<Reloc::Model> RM, in ARCTargetMachine()
34 std::optional<CodeModel::Model> CM, in ARCTargetMachine()

12345678910