Home
last modified time | relevance | path

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

1234567

/freebsd-12.1/contrib/llvm/lib/Target/
H A DTargetMachine.cpp90 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel()
132 Reloc::Model RM = getRelocationModel(); in shouldAssumeDSOLocal()
213 Reloc::Model RM = getRelocationModel(); in getTLSModel()
217 TLSModel::Model Model; in getTLSModel() local
220 Model = TLSModel::LocalDynamic; in getTLSModel()
222 Model = TLSModel::GeneralDynamic; in getTLSModel()
225 Model = TLSModel::LocalExec; in getTLSModel()
227 Model = TLSModel::InitialExec; in getTLSModel()
231 TLSModel::Model SelectedModel = getSelectedTLSModel(GV); in getTLSModel()
232 if (SelectedModel > Model) in getTLSModel()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/builtins/
H A Dcpu_model.c257 unsigned *Model) { in detectX86FamilyModel() argument
259 *Model = (EAX >> 4) & 0xf; // Bits 4 - 7 in detectX86FamilyModel()
265 *Model += ((EAX >> 16) & 0xf) << 4; // Bits 16 - 19 in detectX86FamilyModel()
277 switch (Model) { in getIntelProcessorTypeAndSubtype()
412 switch (Model) { in getAMDProcessorTypeAndSubtype()
429 if (Model >= 0x60 && Model <= 0x7f) { in getAMDProcessorTypeAndSubtype()
433 if (Model >= 0x30 && Model <= 0x3f) { in getAMDProcessorTypeAndSubtype()
437 if ((Model >= 0x10 && Model <= 0x1f) || Model == 0x02) { in getAMDProcessorTypeAndSubtype()
441 if (Model <= 0x0f) { in getAMDProcessorTypeAndSubtype()
604 unsigned Model, Family, Brand_id; in __cpu_indicator_init() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp57 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
73 static CodeModel::Model
74 getEffectiveSparcCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSparcCodeModel()
94 const TargetOptions &Options, Optional<Reloc::Model> RM, in SparcTargetMachine()
95 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine()
195 Optional<Reloc::Model> RM, in SparcV8TargetMachine()
196 Optional<CodeModel::Model> CM, in SparcV8TargetMachine()
205 Optional<Reloc::Model> RM, in SparcV9TargetMachine()
206 Optional<CodeModel::Model> CM, in SparcV9TargetMachine()
215 Optional<Reloc::Model> RM, in SparcelTargetMachine()
[all …]
H A DSparcTargetMachine.h31 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
52 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
63 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
73 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DCodeGenCWrappers.h26 inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap() argument
28 switch (Model) { in unwrap()
48 inline LLVMCodeModel wrap(CodeModel::Model Model) { in wrap() argument
49 switch (Model) { in wrap()
H A DTargetMachine.h82 Reloc::Model RM = Reloc::Static;
83 CodeModel::Model CMModel = CodeModel::Small;
178 Reloc::Model getRelocationModel() const;
182 CodeModel::Model getCodeModel() const;
192 TLSModel::Model getTLSModel(const GlobalValue *GV) const;
299 const TargetOptions &Options, Reloc::Model RM,
300 CodeModel::Model CM, CodeGenOpt::Level OL);
361 inline CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel()
362 CodeModel::Model Default) { in getEffectiveCodeModel()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h34 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
64 Optional<Reloc::Model> RM,
65 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
76 Optional<Reloc::Model> RM,
77 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreTargetMachine.cpp28 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
34 static CodeModel::Model
35 getEffectiveXCoreCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveXCoreCodeModel()
49 Optional<Reloc::Model> RM, in XCoreTargetMachine()
50 Optional<CodeModel::Model> CM, in XCoreTargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsTargetMachine.h43 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
83 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
95 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
H A DMipsTargetMachine.cpp98 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel()
99 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
113 Optional<Reloc::Model> RM, in MipsTargetMachine()
114 Optional<CodeModel::Model> CM, in MipsTargetMachine()
139 Optional<Reloc::Model> RM, in MipsebTargetMachine()
140 Optional<CodeModel::Model> CM, in MipsebTargetMachine()
149 Optional<Reloc::Model> RM, in MipselTargetMachine()
150 Optional<CodeModel::Model> CM, in MipselTargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.h41 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
81 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
90 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMTargetMachine.h45 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
82 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
92 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h47 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
78 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
104 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp94 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
131 static CodeModel::Model
132 getEffectiveSystemZCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSystemZCodeModel()
149 Optional<Reloc::Model> RM, in SystemZTargetMachine()
150 Optional<CodeModel::Model> CM, in SystemZTargetMachine()
/freebsd-12.1/contrib/llvm/include/llvm/MCA/Stages/
H A DInstructionTables.h35 InstructionTables(const MCSchedModel &Model) in InstructionTables() argument
36 : Stage(), SM(Model), Masks(Model.getNumProcResourceKinds()) { in InstructionTables()
37 computeProcResourceMasks(Model, Masks); in InstructionTables()
/freebsd-12.1/contrib/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-12.1/contrib/llvm/lib/Target/ARC/
H A DARCTargetMachine.cpp23 static Reloc::Model getRelocModel(Optional<Reloc::Model> RM) { in getRelocModel()
33 Optional<Reloc::Model> RM, in ARCTargetMachine()
34 Optional<CodeModel::Model> CM, in ARCTargetMachine()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h78 JITTargetMachineBuilder &setRelocationModel(Optional<Reloc::Model> RM) { in setRelocationModel()
84 JITTargetMachineBuilder &setCodeModel(Optional<CodeModel::Model> CM) { in setCodeModel()
122 Optional<Reloc::Model> RM;
123 Optional<CodeModel::Model> CM;
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetMachine.cpp50 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
59 Optional<Reloc::Model> RM, in LanaiTargetMachine()
60 Optional<CodeModel::Model> CodeModel, in LanaiTargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp43 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
44 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
53 Optional<Reloc::Model> RM, in RISCVTargetMachine()
54 Optional<CodeModel::Model> CM, in RISCVTargetMachine()
/freebsd-12.1/contrib/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()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp26 SummaryView::SummaryView(const MCSchedModel &Model, ArrayRef<MCInst> S, in SummaryView() argument
28 : SM(Model), Source(S), DispatchWidth(Width), LastInstructionIdx(0), in SummaryView()
30 ProcResourceUsage(Model.getNumProcResourceKinds(), 0), in SummaryView()
31 ProcResourceMasks(Model.getNumProcResourceKinds()) { in SummaryView()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFTargetMachine.cpp48 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
57 Optional<Reloc::Model> RM, in BPFTargetMachine()
58 Optional<CodeModel::Model> CM, in BPFTargetMachine()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DCodeGen.h22 enum Model { Static, PIC_, DynamicNoPIC, ROPI, RWPI, ROPI_RWPI }; enum
28 enum Model { Tiny, Small, Kernel, Medium, Large }; enum
42 enum Model { enum
/freebsd-12.1/contrib/llvm/lib/Support/
H A DHost.cpp510 unsigned *Model) { in detectX86FamilyModel() argument
512 *Model = (EAX >> 4) & 0xf; // Bits 4 - 7 in detectX86FamilyModel()
544 switch (Model) { in getIntelProcessorTypeAndSubtype()
823 switch (Model) { in getAMDProcessorTypeAndSubtype()
856 switch (Model) { in getAMDProcessorTypeAndSubtype()
873 if (Model >= 0x60 && Model <= 0x7f) { in getAMDProcessorTypeAndSubtype()
877 if (Model >= 0x30 && Model <= 0x3f) { in getAMDProcessorTypeAndSubtype()
881 if ((Model >= 0x10 && Model <= 0x1f) || Model == 0x02) { in getAMDProcessorTypeAndSubtype()
885 if (Model <= 0x0f) { in getAMDProcessorTypeAndSubtype()
1050 unsigned Family = 0, Model = 0; in getHostCPUName() local
[all …]

1234567