/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/ |
H A D | x86.c | 360 unsigned *Model) { in detectX86FamilyModel() argument 362 *Model = (EAX >> 4) & 0xf; // Bits 4 - 7 in detectX86FamilyModel() 368 *Model += ((EAX >> 16) & 0xf) << 4; // Bits 16 - 19 in detectX86FamilyModel() 375 unsigned Model, in getIntelProcessorTypeAndSubtype() argument 385 switch (Model) { in getIntelProcessorTypeAndSubtype() 663 unsigned Model, in getAMDProcessorTypeAndSubtype() argument 675 switch (Model) { in getAMDProcessorTypeAndSubtype() 709 switch (Model) { in getAMDProcessorTypeAndSubtype() 728 if (Model >= 0x60 && Model <= 0x7f) { in getAMDProcessorTypeAndSubtype() 733 if (Model >= 0x30 && Model <= 0x3f) { in getAMDProcessorTypeAndSubtype() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
H A D | Host.cpp | 695 unsigned *Model) { in detectX86FamilyModel() argument 697 *Model = (EAX >> 4) & 0xf; // Bits 4 - 7 in detectX86FamilyModel() 703 *Model += ((EAX >> 16) & 0xf) << 4; // Bits 16 - 19 in detectX86FamilyModel() 710 unsigned Model, in getIntelProcessorTypeAndSubtype() argument 731 switch (Model) { in getIntelProcessorTypeAndSubtype() 1071 unsigned Model, in getAMDProcessorTypeAndSubtype() argument 1083 switch (Model) { in getAMDProcessorTypeAndSubtype() 1117 switch (Model) { in getAMDProcessorTypeAndSubtype() 1136 if (Model >= 0x60 && Model <= 0x7f) { in getAMDProcessorTypeAndSubtype() 1141 if (Model >= 0x30 && Model <= 0x3f) { in getAMDProcessorTypeAndSubtype() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetMachine.cpp | 144 Reloc::Model TargetMachine::getRelocationModel() const { return RM; } in getRelocationModel() 161 static TLSModel::Model getSelectedTLSModel(const GlobalValue *GV) { in getSelectedTLSModel() 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; in getTLSModel() local 247 Model = TLSModel::LocalDynamic; in getTLSModel() 249 Model = TLSModel::GeneralDynamic; in getTLSModel() 252 Model = TLSModel::LocalExec; in getTLSModel() 254 Model = TLSModel::InitialExec; in getTLSModel() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcTargetMachine.cpp | 65 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> RM, in SparcV9TargetMachine() 214 std::optional<CodeModel::Model> CM, in SparcV9TargetMachine() 223 std::optional<Reloc::Model> RM, in SparcelTargetMachine() [all …]
|
H A D | SparcTargetMachine.h | 31 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/contrib/llvm-project/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 | 100 Reloc::Model RM = Reloc::Static; 101 CodeModel::Model CMModel = CodeModel::Small; 228 Reloc::Model getRelocationModel() const; 232 CodeModel::Model getCodeModel() const { return CMModel; } in getCodeModel() 238 void setCodeModel(CodeModel::Model CM) { CMModel = CM; } in setCodeModel() 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 531 getEffectiveCodeModel(std::optional<CodeModel::Model> CM, in getEffectiveCodeModel() [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsTargetMachine.h | 42 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 D | MipsTargetMachine.cpp | 109 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/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetMachine.h | 32 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/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetMachine.h | 38 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/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | JITTargetMachineBuilder.h | 84 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/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaTargetMachine.cpp | 38 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 D | XtensaTargetMachine.h | 30 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/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetMachine.h | 44 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/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DFAPacketizerEmitter.cpp | 104 for (const CodeGenProcModel *Model : ProcModels) in collectAllFuncUnits() local 105 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/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kTargetMachine.cpp | 77 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/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetMachine.cpp | 95 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 132 static CodeModel::Model 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/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | CommandFlags.h | 41 Reloc::Model getRelocModel(); 42 std::optional<Reloc::Model> getExplicitRelocModel(); 44 ThreadModel::Model getThreadModel(); 46 CodeModel::Model getCodeModel(); 47 std::optional<CodeModel::Model> getExplicitCodeModel();
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | DataflowEnvironment.cpp | 99 Environment::ValueModel &Model) { in compareDistinctValues() argument 106 switch (Model.compare(Type, Val1, Env1, Val2, Env2)) { in compareDistinctValues() 125 Environment::ValueModel &Model) { in joinDistinctValues() argument 156 Model.join(Type, Val1, Env1, Val2, Env2, *JoinedVal, JoinedEnv); in joinDistinctValues() 164 Environment::ValueModel &Model) { in widenDistinctValues() argument 196 if (auto Result = Model.widen(Type, Prev, PrevEnv, Current, CurrentEnv)) in widenDistinctValues() 210 Environment::ValueModel &Model) { in compareKeyToValueMaps() argument 225 Model)) in compareKeyToValueMaps() 237 Environment &JoinedEnv, Environment::ValueModel &Model) { in joinLocToVal() argument 252 Loc->getType(), Val, Env1, It->second, Env2, JoinedEnv, Model)) { in joinLocToVal() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchTargetMachine.cpp | 62 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel() 63 std::optional<Reloc::Model> RM) { in getEffectiveRelocModel() 67 static CodeModel::Model 69 std::optional<CodeModel::Model> CM) { in getEffectiveLoongArchCodeModel() 89 const TargetOptions &Options, std::optional<Reloc::Model> RM, in LoongArchTargetMachine() 90 std::optional<CodeModel::Model> CM, CodeGenOptLevel OL, bool JIT) in LoongArchTargetMachine()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430TargetMachine.cpp | 32 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()
|