/freebsd-src/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetMachine.cpp | 51 return getCodeModel() == CodeModel::Large; in isLargeGlobalValue() 73 return getCodeModel() == CodeModel::Large; in isLargeGlobalValue() 81 if (auto CM = GV->getCodeModel()) { in isLargeGlobalValue() 99 if (getCodeModel() == CodeModel::Medium || 100 getCodeModel() == CodeModel::Large) { 147 switch (getCodeModel()) { in getSelectedTLSModel()
|
H A D | TargetLoweringObjectFile.cpp | 46 TM.getCodeModel() == CodeModel::Large); in Initialize()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiTargetObjectFile.cpp | 51 if (GO == nullptr) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSection() 78 if (!GVA) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSectionImpl() 86 if (TM.getCodeModel() == CodeModel::Small) in isGlobalInSmallSectionImpl()
|
H A D | LanaiTargetMachine.cpp | 67 Subtarget(TT, Cpu, FeatureString, *this, Options, getCodeModel(), in LanaiTargetMachine()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kSubtarget.cpp | 151 switch (TM.getCodeModel()) { in classifyLocalReference() 197 switch (TM.getCodeModel()) { in classifyGlobalReference() 224 if (TM.getCodeModel() == CodeModel::Medium && !atLeastM68020()) in getJumpTableEncoding()
|
H A D | M68kInstrInfo.td | 420 def SmallCode : Predicate<"TM.getCodeModel() == CodeModel::Small">; 421 def KernelCode : Predicate<"TM.getCodeModel() == CodeModel::Kernel">; 422 def FarData : Predicate<"TM.getCodeModel() != CodeModel::Small &&" 423 "TM.getCodeModel() != CodeModel::Kernel">; 424 def NearData : Predicate<"TM.getCodeModel() == CodeModel::Small ||" 425 "TM.getCodeModel() == CodeModel::Kernel">;
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86Subtarget.cpp | 73 CodeModel::Model CM = TM.getCodeModel(); in classifyLocalReference() 128 if (TM.getCodeModel() == CodeModel::Large && !isPositionIndependent()) in classifyGlobalReference() 163 if (TM.getCodeModel() == CodeModel::Large) in classifyGlobalReference() 336 if (!isPositionIndependent() || TM.getCodeModel() == CodeModel::Large) in X86Subtarget()
|
H A D | X86InstrPredicates.td | 209 def SmallCode : Predicate<"TM.getCodeModel() == CodeModel::Small">; 210 def KernelCode : Predicate<"TM.getCodeModel() == CodeModel::Kernel">; 211 def NearData : Predicate<"TM.getCodeModel() == CodeModel::Small ||" 212 "TM.getCodeModel() == CodeModel::Kernel">;
|
H A D | X86IndirectBranchTracking.cpp | 106 switch (MF.getTarget().getCodeModel()) { in needsPrologueENDBR()
|
H A D | X86SpeculativeLoadHardening.cpp | 1110 if (MF.getTarget().getCodeModel() == CodeModel::Small && in tracePredStateThroughIndirectBranches() 1149 if (MF.getTarget().getCodeModel() == CodeModel::Small && in tracePredStateThroughIndirectBranches() 2120 if (MF.getTarget().getCodeModel() == CodeModel::Small && in tracePredStateThroughCall() 2158 if (MF.getTarget().getCodeModel() == CodeModel::Small && in tracePredStateThroughCall()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCSubtarget.cpp | 197 if (TM.getCodeModel() == CodeModel::Large) in getRegBankInfo() 205 CodeModel::Model PPCSubtarget::getCodeModel(const TargetMachine &TM, in getInstructionSelector() 209 CodeModel::Model ModuleModel = TM.getCodeModel(); 234 std::optional<CodeModel::Model> MaybeCodeModel = GlobalVar->getCodeModel(); 250 CodeModel::Medium == getTargetMachine().getCodeModel();
|
H A D | PPCAsmPrinter.cpp | 477 static CodeModel::Model getCodeModel(const PPCSubtarget &S, in lookUpOrCreateTOCEntry() 480 CodeModel::Model ModuleModel = TM.getCodeModel(); in lookUpOrCreateTOCEntry() 490 return S.getCodeModel(TM, GV); in LowerSTACKMAP() 1073 getCodeModel(*Subtarget, TM, MO) == CodeModel::Small && in emitInstruction() 1096 assert(IsAIX && TM.getCodeModel() == CodeModel::Small && in emitInstruction() 1161 getCodeModel(*Subtarget, TM, MO) == CodeModel::Large) && in emitInstruction() 1206 getCodeModel(*Subtarget, TM, MO) == CodeModel::Large && in emitInstruction() 1256 IsAIX ? getCodeModel(*Subtarget, TM, MO) : TM.getCodeModel(); in emitInstruction() 1301 IsAIX ? getCodeModel(*Subtarge in emitInstruction() [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64Subtarget.cpp | 398 if (TM.getCodeModel() == CodeModel::Large && isTargetMachO()) in ClassifyGlobalReference() 420 if ((useSmallAddressing() || TM.getCodeModel() == CodeModel::Tiny) && in ClassifyGlobalReference() 438 if (TM.getCodeModel() == CodeModel::Large && isTargetMachO() && in classifyGlobalFunctionReference()
|
H A D | AArch64TargetMachine.cpp | 374 if ((getCodeModel() == CodeModel::Small || in AArch64TargetMachine() 375 getCodeModel() == CodeModel::Kernel) && in AArch64TargetMachine() 379 else if (getCodeModel() == CodeModel::Tiny && this->Options.TLSSize > 24) in AArch64TargetMachine() 388 !(getCodeModel() == CodeModel::Large && TT.isOSBinFormatMachO())) { in AArch64TargetMachine()
|
H A D | AArch64Subtarget.h | 284 switch (TLInfo.getTargetMachine().getCodeModel()) { in getMinimumJumpTableEntries()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | Instrumentation.cpp | 95 std::optional<CodeModel::Model> CM = GV.getParent()->getCodeModel(); in setGlobalVariableLargeSection()
|
H A D | SanitizerBinaryMetadata.cpp | 146 const auto CM = Mod.getCodeModel(); in getVersion()
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | JITTargetMachineBuilder.h | 99 const std::optional<CodeModel::Model> &getCodeModel() const { return CM; } in getCodeModel() function
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | CommandFlags.h | 46 CodeModel::Model getCodeModel();
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalVariable.h | 266 std::optional<CodeModel::Model> getCodeModel() const { in getCodeModel() function
|
/freebsd-src/contrib/llvm-project/llvm/lib/IR/ |
H A D | Globals.cpp | 512 if (auto CM = Src->getCodeModel()) in GlobalAlias() 527 assert(getCodeModel() == CM && "Code model representation error!"); in create()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreTargetObjectFile.cpp | 122 if (TM.getCodeModel() == CodeModel::Small || !ObjType->isSized() || in SelectSectionForGlobal()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchExpandPseudoInsts.cpp | 203 bool Large = MF->getTarget().getCodeModel() == CodeModel::Large; in expandLoadAddressTLSLE() 681 switch (MF->getTarget().getCodeModel()) {
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | TargetMachine.h | 232 CodeModel::Model getCodeModel() const { return CMModel; } 233 CodeModel::Model getCodeModel() const { return CMModel; } getCodeModel() function
|
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | BackendUtil.cpp | 293 getCodeModel(const CodeGenOptions &CodeGenOpts) { in getCodeModel() 560 std::optional<llvm::CodeModel::Model> CM = getCodeModel(CodeGenOpts); in CreateTargetMachine() 1223 Conf.CodeModel = getCodeModel(CGOpts); in runThinLTOBackend() 282 getCodeModel(const CodeGenOptions &CodeGenOpts) { getCodeModel() function
|