/openbsd/gnu/llvm/llvm/lib/Target/ |
H A D | TargetMachine.cpp | 71 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel() 91 Reloc::Model RM = getRelocationModel(); in shouldAssumeDSOLocal() 156 Reloc::Model RM = getRelocationModel(); in getTLSModel() 160 TLSModel::Model Model; in getTLSModel() local 163 Model = TLSModel::LocalDynamic; in getTLSModel() 165 Model = TLSModel::GeneralDynamic; in getTLSModel() 168 Model = TLSModel::LocalExec; in getTLSModel() 170 Model = TLSModel::InitialExec; in getTLSModel() 174 TLSModel::Model SelectedModel = getSelectedTLSModel(GV); in getTLSModel() 175 if (SelectedModel > Model) in getTLSModel() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/builtins/ |
H A D | cpu_model.c | 317 switch (Model) { in getIntelProcessorTypeAndSubtype() 563 switch (Model) { in getAMDProcessorTypeAndSubtype() 582 if (Model >= 0x60 && Model <= 0x7f) { in getAMDProcessorTypeAndSubtype() 587 if (Model >= 0x30 && Model <= 0x3f) { in getAMDProcessorTypeAndSubtype() 592 if ((Model >= 0x10 && Model <= 0x1f) || Model == 0x02) { in getAMDProcessorTypeAndSubtype() 609 if ((Model >= 0x30 && Model <= 0x3f) || Model == 0x71) { in getAMDProcessorTypeAndSubtype() 622 if (Model <= 0x0f || (Model >= 0x20 && Model <= 0x5f)) { in getAMDProcessorTypeAndSubtype() 631 if ((Model >= 0x10 && Model <= 0x1f) || in getAMDProcessorTypeAndSubtype() 632 (Model >= 0x60 && Model <= 0x74) || in getAMDProcessorTypeAndSubtype() 633 (Model >= 0x78 && Model <= 0x7b) || in getAMDProcessorTypeAndSubtype() [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/Target/ |
H A D | CodeGenCWrappers.h | 25 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 D | TargetMachine.h | 101 Reloc::Model RM = Reloc::Static; 102 CodeModel::Model CMModel = CodeModel::Small; 229 Reloc::Model getRelocationModel() const; 233 CodeModel::Model getCodeModel() const { return CMModel; } in getCodeModel() 236 void setCodeModel(CodeModel::Model CM) { CMModel = CM; } in setCodeModel() 246 TLSModel::Model getTLSModel(const GlobalValue *GV) const; 421 const TargetOptions &Options, Reloc::Model RM, 422 CodeModel::Model CM, CodeGenOpt::Level OL); 509 inline CodeModel::Model 510 getEffectiveCodeModel(std::optional<CodeModel::Model> CM, in getEffectiveCodeModel() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/Sparc/ |
H A D | SparcTargetMachine.cpp | 66 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 80 static CodeModel::Model 81 getEffectiveSparcCodeModel(std::optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSparcCodeModel() 102 std::optional<Reloc::Model> RM, in SparcTargetMachine() 103 std::optional<CodeModel::Model> CM, in SparcTargetMachine() 212 std::optional<Reloc::Model> RM, in SparcV8TargetMachine() 213 std::optional<CodeModel::Model> CM, in SparcV8TargetMachine() 222 std::optional<Reloc::Model> RM, in SparcV9TargetMachine() 223 std::optional<CodeModel::Model> CM, in SparcV9TargetMachine() 232 std::optional<Reloc::Model> RM, in SparcelTargetMachine() [all …]
|
H A D | SparcTargetMachine.h | 32 std::optional<Reloc::Model> RM, 33 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 59 std::optional<Reloc::Model> RM, 60 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 72 std::optional<Reloc::Model> RM, 73 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 83 std::optional<Reloc::Model> RM, 84 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
|
/openbsd/gnu/llvm/llvm/lib/Target/Xtensa/ |
H A D | XtensaTargetMachine.cpp | 40 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel() 41 std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 50 std::optional<Reloc::Model> RM, in XtensaTargetMachine() 51 std::optional<CodeModel::Model> CM, in XtensaTargetMachine() 64 std::optional<Reloc::Model> RM, in XtensaTargetMachine() 65 std::optional<CodeModel::Model> CM, in XtensaTargetMachine()
|
H A D | XtensaTargetMachine.h | 29 std::optional<Reloc::Model> RM, 30 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 35 std::optional<Reloc::Model> RM, 36 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetMachine.h | 32 std::optional<Reloc::Model> RM, 33 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 82 std::optional<Reloc::Model> RM, 83 std::optional<CodeModel::Model> CM, 95 std::optional<Reloc::Model> RM, 96 std::optional<CodeModel::Model> CM,
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/ |
H A D | MipsTargetMachine.h | 42 std::optional<Reloc::Model> RM, 43 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 91 std::optional<Reloc::Model> RM, 92 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 104 std::optional<Reloc::Model> RM, 105 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
|
H A D | MipsTargetMachine.cpp | 110 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel() 111 std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 125 std::optional<Reloc::Model> RM, in MipsTargetMachine() 126 std::optional<CodeModel::Model> CM, in MipsTargetMachine() 154 std::optional<Reloc::Model> RM, in MipsebTargetMachine() 155 std::optional<CodeModel::Model> CM, in MipsebTargetMachine() 164 std::optional<Reloc::Model> RM, in MipselTargetMachine() 165 std::optional<CodeModel::Model> CM, in MipselTargetMachine()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMTargetMachine.h | 44 std::optional<Reloc::Model> RM, 45 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 94 std::optional<Reloc::Model> RM, 95 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 105 std::optional<Reloc::Model> RM, 106 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
|
/openbsd/gnu/llvm/llvm/lib/Target/XCore/ |
H A D | XCoreTargetMachine.cpp | 29 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()
|
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetMachine.h | 40 std::optional<Reloc::Model> RM, 41 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OP, 88 std::optional<Reloc::Model> RM, 89 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL, 99 std::optional<Reloc::Model> RM, 100 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
|
/openbsd/gnu/llvm/llvm/include/llvm/MCA/Stages/ |
H A D | InstructionTables.h | 34 InstructionTables(const MCSchedModel &Model) in InstructionTables() argument 35 : SM(Model), Masks(Model.getNumProcResourceKinds()) { in InstructionTables() 36 computeProcResourceMasks(Model, Masks); in InstructionTables()
|
/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | JITTargetMachineBuilder.h | 86 JITTargetMachineBuilder &setRelocationModel(std::optional<Reloc::Model> RM) { in setRelocationModel() 92 const std::optional<Reloc::Model> &getRelocationModel() const { return RM; } in getRelocationModel() 95 JITTargetMachineBuilder &setCodeModel(std::optional<CodeModel::Model> CM) { in setCodeModel() 101 const std::optional<CodeModel::Model> &getCodeModel() const { return CM; } in getCodeModel() 153 std::optional<Reloc::Model> RM; 154 std::optional<CodeModel::Model> CM;
|
/openbsd/gnu/llvm/llvm/lib/TargetParser/ |
H A D | Host.cpp | 693 switch (Model) { in getIntelProcessorTypeAndSubtype() 1008 switch (Model) { in getAMDProcessorTypeAndSubtype() 1061 if (Model >= 0x60 && Model <= 0x7f) { in getAMDProcessorTypeAndSubtype() 1066 if (Model >= 0x30 && Model <= 0x3f) { in getAMDProcessorTypeAndSubtype() 1071 if ((Model >= 0x10 && Model <= 0x1f) || Model == 0x02) { in getAMDProcessorTypeAndSubtype() 1088 if ((Model >= 0x30 && Model <= 0x3f) || Model == 0x71) { in getAMDProcessorTypeAndSubtype() 1101 if (Model <= 0x0f || (Model >= 0x20 && Model <= 0x5f)) { in getAMDProcessorTypeAndSubtype() 1110 if ((Model >= 0x10 && Model <= 0x1f) || in getAMDProcessorTypeAndSubtype() 1111 (Model >= 0x60 && Model <= 0x74) || in getAMDProcessorTypeAndSubtype() 1112 (Model >= 0x78 && Model <= 0x7b) || in getAMDProcessorTypeAndSubtype() [all …]
|
/openbsd/gnu/llvm/llvm/tools/llvm-mca/Views/ |
H A D | SummaryView.cpp | 25 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()
|
/openbsd/gnu/llvm/llvm/utils/TableGen/ |
H A D | DFAPacketizerEmitter.cpp | 104 for (const CodeGenProcModel *Model : ProcModels) in collectAllFuncUnits() local 105 ProcItinList.insert(Model->ItinsDef); in collectAllFuncUnits() 239 for (const CodeGenProcModel *Model : ProcModels) { in emitForItineraries() local 240 assert(Model->hasItineraries()); in emitForItineraries() 241 ProcModelStartIdx[Model] = ScheduleClasses.size(); in emitForItineraries() 242 createScheduleClasses(Model->Index, Model->ItinDefList); in emitForItineraries() 260 for (const CodeGenProcModel *Model : ProcModels) { in emitForItineraries() local 261 OS << " " << ProcModelStartIdx[Model] << ", // " << Model->ModelName in emitForItineraries()
|
/openbsd/gnu/llvm/llvm/lib/Target/M68k/ |
H A D | M68kTargetMachine.cpp | 75 Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel() 76 std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 84 CodeModel::Model getEffectiveCodeModel(std::optional<CodeModel::Model> CM, in getEffectiveCodeModel() 100 std::optional<Reloc::Model> RM, in M68kTargetMachine() 101 std::optional<CodeModel::Model> CM, in M68kTargetMachine()
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | CommandFlags.h | 40 Reloc::Model getRelocModel(); 41 std::optional<Reloc::Model> getExplicitRelocModel(); 43 ThreadModel::Model getThreadModel(); 45 CodeModel::Model getCodeModel(); 46 std::optional<CodeModel::Model> getExplicitCodeModel();
|
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetMachine.cpp | 89 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 126 static CodeModel::Model 127 getEffectiveSystemZCodeModel(std::optional<CodeModel::Model> CM, in getEffectiveSystemZCodeModel() 128 Reloc::Model RM, bool JIT) { in getEffectiveSystemZCodeModel() 144 std::optional<Reloc::Model> RM, in SystemZTargetMachine() 145 std::optional<CodeModel::Model> CM, in SystemZTargetMachine()
|
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/ |
H A D | MSP430TargetMachine.cpp | 33 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 45 std::optional<Reloc::Model> RM, in MSP430TargetMachine() 46 std::optional<CodeModel::Model> CM, in MSP430TargetMachine()
|
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/ |
H A D | LanaiTargetMachine.cpp | 54 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 60 const TargetOptions &Options, std::optional<Reloc::Model> RM, in LanaiTargetMachine() 61 std::optional<CodeModel::Model> CodeModel, CodeGenOpt::Level OptLevel, in LanaiTargetMachine()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARC/ |
H A D | ARCTargetMachine.cpp | 25 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()
|