Home
last modified time | relevance | path

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

12345678

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp77 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()
97 Reloc::Model RM = getRelocationModel(); in shouldAssumeDSOLocal()
172 Reloc::Model RM = getRelocationModel(); in getTLSModel()
176 TLSModel::Model Model; in getTLSModel() local
179 Model = TLSModel::LocalDynamic; in getTLSModel()
181 Model = TLSModel::GeneralDynamic; in getTLSModel()
184 Model = TLSModel::LocalExec; in getTLSModel()
186 Model = TLSModel::InitialExec; in getTLSModel()
190 TLSModel::Model SelectedModel = getSelectedTLSModel(GV); in getTLSModel()
191 if (SelectedModel > Model) in getTLSModel()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dcpu_model.c281 *Model = (EAX >> 4) & 0xf; // Bits 4 - 7 in detectX86FamilyModel()
304 switch (Model) { in getIntelProcessorTypeAndSubtype()
507 switch (Model) { in getAMDProcessorTypeAndSubtype()
526 if (Model >= 0x60 && Model <= 0x7f) { in getAMDProcessorTypeAndSubtype()
531 if (Model >= 0x30 && Model <= 0x3f) { in getAMDProcessorTypeAndSubtype()
536 if ((Model >= 0x10 && Model <= 0x1f) || Model == 0x02) { in getAMDProcessorTypeAndSubtype()
541 if (Model <= 0x0f) { in getAMDProcessorTypeAndSubtype()
553 if ((Model >= 0x30 && Model <= 0x3f) || Model == 0x71) { in getAMDProcessorTypeAndSubtype()
558 if (Model <= 0x0f) { in getAMDProcessorTypeAndSubtype()
566 if (Model <= 0x0f) { in getAMDProcessorTypeAndSubtype()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp57 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
71 static CodeModel::Model
72 getEffectiveSparcCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSparcCodeModel()
92 const TargetOptions &Options, Optional<Reloc::Model> RM, in SparcTargetMachine()
93 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine()
190 Optional<Reloc::Model> RM, in SparcV8TargetMachine()
191 Optional<CodeModel::Model> CM, in SparcV8TargetMachine()
200 Optional<Reloc::Model> RM, in SparcV9TargetMachine()
201 Optional<CodeModel::Model> CM, in SparcV9TargetMachine()
210 Optional<Reloc::Model> RM, in SparcelTargetMachine()
[all …]
H A DSparcTargetMachine.h30 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
51 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
62 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
72 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/
H A DCodeGenCWrappers.h25 inline 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;
218 Reloc::Model getRelocationModel() const;
222 CodeModel::Model getCodeModel() const;
232 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
389 const TargetOptions &Options, Reloc::Model RM,
390 CodeModel::Model CM, CodeGenOpt::Level OL);
473 inline CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel()
474 CodeModel::Model Default) { in getEffectiveCodeModel()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreTargetMachine.cpp28 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
32 static CodeModel::Model
33 getEffectiveXCoreCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveXCoreCodeModel()
47 Optional<Reloc::Model> RM, in XCoreTargetMachine()
48 Optional<CodeModel::Model> CM, in XCoreTargetMachine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.h38 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
79 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
88 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h33 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
77 Optional<Reloc::Model> RM,
78 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
89 Optional<Reloc::Model> RM,
90 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetMachine.h42 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
86 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
98 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
H A DMipsTargetMachine.cpp99 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel()
100 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
114 Optional<Reloc::Model> RM, in MipsTargetMachine()
115 Optional<CodeModel::Model> CM, in MipsTargetMachine()
142 Optional<Reloc::Model> RM, in MipsebTargetMachine()
143 Optional<CodeModel::Model> CM, in MipsebTargetMachine()
152 Optional<Reloc::Model> RM, in MipselTargetMachine()
153 Optional<CodeModel::Model> CM, in MipselTargetMachine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetMachine.h44 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
89 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
99 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MCA/Stages/
H A DInstructionTables.h34 InstructionTables(const MCSchedModel &Model) in InstructionTables() argument
35 : Stage(), SM(Model), Masks(Model.getNumProcResourceKinds()) { in InstructionTables()
36 computeProcResourceMasks(Model, Masks); in InstructionTables()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h86 JITTargetMachineBuilder &setRelocationModel(Optional<Reloc::Model> RM) { in setRelocationModel()
92 const Optional<Reloc::Model> &getRelocationModel() const { return RM; } in getRelocationModel()
95 JITTargetMachineBuilder &setCodeModel(Optional<CodeModel::Model> CM) { in setCodeModel()
101 const Optional<CodeModel::Model> &getCodeModel() const { return CM; } in getCodeModel()
153 Optional<Reloc::Model> RM;
154 Optional<CodeModel::Model> CM;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h42 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
77 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
102 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAPacketizerEmitter.cpp106 for (const CodeGenProcModel *Model : ProcModels) in collectAllFuncUnits() local
107 ProcItinList.insert(Model->ItinsDef); in collectAllFuncUnits()
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->ModelName in emitForItineraries()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCommandFlags.h41 Reloc::Model getRelocModel();
42 Optional<Reloc::Model> getExplicitRelocModel();
44 ThreadModel::Model getThreadModel();
46 CodeModel::Model getCodeModel();
47 Optional<CodeModel::Model> getExplicitCodeModel();
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kTargetMachine.cpp72 Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
73 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
82 CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel()
98 Optional<Reloc::Model> RM, in M68kTargetMachine()
99 Optional<CodeModel::Model> CM, in M68kTargetMachine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp109 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
146 static CodeModel::Model
147 getEffectiveSystemZCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSystemZCodeModel()
164 Optional<Reloc::Model> RM, in SystemZTargetMachine()
165 Optional<CodeModel::Model> CM, in SystemZTargetMachine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430TargetMachine.cpp29 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
43 Optional<Reloc::Model> RM, in MSP430TargetMachine()
44 Optional<CodeModel::Model> CM, in MSP430TargetMachine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetMachine.cpp50 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
57 Optional<Reloc::Model> RM, in LanaiTargetMachine()
58 Optional<CodeModel::Model> CodeModel, in LanaiTargetMachine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCTargetMachine.cpp23 static Reloc::Model getRelocModel(Optional<Reloc::Model> RM) { in getRelocModel()
31 Optional<Reloc::Model> RM, in ARCTargetMachine()
32 Optional<CodeModel::Model> CM, in ARCTargetMachine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DHost.cpp654 switch (Model) { in getIntelProcessorTypeAndSubtype()
926 switch (Model) { in getAMDProcessorTypeAndSubtype()
960 switch (Model) { in getAMDProcessorTypeAndSubtype()
979 if (Model >= 0x60 && Model <= 0x7f) { in getAMDProcessorTypeAndSubtype()
984 if (Model >= 0x30 && Model <= 0x3f) { in getAMDProcessorTypeAndSubtype()
989 if ((Model >= 0x10 && Model <= 0x1f) || Model == 0x02) { in getAMDProcessorTypeAndSubtype()
994 if (Model <= 0x0f) { in getAMDProcessorTypeAndSubtype()
1006 if ((Model >= 0x30 && Model <= 0x3f) || Model == 0x71) { in getAMDProcessorTypeAndSubtype()
1011 if (Model <= 0x0f) { in getAMDProcessorTypeAndSubtype()
1019 if (Model <= 0x0f) { in getAMDProcessorTypeAndSubtype()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetMachine.cpp39 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
46 Optional<Reloc::Model> RM, in AVRTargetMachine()
47 Optional<CodeModel::Model> CM, in AVRTargetMachine()

12345678