| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kSubtarget.cpp | 170 switch (TM.getCodeModel()) { in classifyBlockAddressReference() 190 switch (TM.getCodeModel()) { in classifyLocalReference() 243 switch (TM.getCodeModel()) { in classifyGlobalReference() 276 if ((TM.getCodeModel() == CodeModel::Medium && !atLeastM68020()) || in getJumpTableEncoding() 277 TM.getCodeModel() == CodeModel::Large) in getJumpTableEncoding()
|
| H A D | M68kInstrInfo.td | 458 def SmallCode : Predicate<"TM.getCodeModel() == CodeModel::Small">; 459 def KernelCode : Predicate<"TM.getCodeModel() == CodeModel::Kernel">; 460 def FarData : Predicate<"TM.getCodeModel() != CodeModel::Small &&" 461 "TM.getCodeModel() != CodeModel::Kernel">; 462 def NearData : Predicate<"TM.getCodeModel() == CodeModel::Small ||" 463 "TM.getCodeModel() == CodeModel::Kernel">;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCSubtarget.cpp | 202 if (TM.getCodeModel() == CodeModel::Large) in isGVIndirectSymbol() 210 CodeModel::Model PPCSubtarget::getCodeModel(const TargetMachine &TM, in getCodeModel() function in PPCSubtarget 214 CodeModel::Model ModuleModel = TM.getCodeModel(); in getCodeModel() 239 std::optional<CodeModel::Model> MaybeCodeModel = GlobalVar->getCodeModel(); in getCodeModel() 255 CodeModel::Medium == getTargetMachine().getCodeModel(); in isUsingPCRelativeCalls()
|
| H A D | PPCAsmPrinter.cpp | 481 static CodeModel::Model getCodeModel(const PPCSubtarget &S, in getCodeModel() function 484 CodeModel::Model ModuleModel = TM.getCodeModel(); in getCodeModel() 494 return S.getCodeModel(TM, GV); in getCodeModel() 1075 getCodeModel(*Subtarget, TM, MO) == CodeModel::Small && in emitInstruction() 1098 assert(IsAIX && TM.getCodeModel() == CodeModel::Small && in emitInstruction() 1161 getCodeModel(*Subtarget, TM, MO) == CodeModel::Large) && in emitInstruction() 1205 getCodeModel(*Subtarget, TM, MO) == CodeModel::Large && in emitInstruction() 1253 IsAIX ? getCodeModel(*Subtarget, TM, MO) : TM.getCodeModel(); in emitInstruction() 1297 IsAIX ? getCodeModel(*Subtarget, TM, MO) : TM.getCodeModel(); in emitInstruction() 1980 if (TM.getCodeModel() == CodeModel::Large in emitFunctionEntryLabel() [all …]
|
| H A D | PPCSubtarget.h | 256 CodeModel::Model getCodeModel(const TargetMachine &TM,
|
| H A D | PPCTLSDynamicCall.cpp | 53 Subtarget.getTargetMachine().getCodeModel() == CodeModel::Large; in processBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetMachine.cpp | 64 return getCodeModel() == CodeModel::Large; in isLargeGlobalValue() 86 return getCodeModel() == CodeModel::Large; in isLargeGlobalValue() 94 if (auto CM = GV->getCodeModel()) { in isLargeGlobalValue() 112 if (getCodeModel() == CodeModel::Medium || in isLargeGlobalValue() 113 getCodeModel() == CodeModel::Large) { in isLargeGlobalValue() 173 switch (getCodeModel()) { in getMaxCodeSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetObjectFile.cpp | 48 if (GO == nullptr) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSection() 75 if (!GVA) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSectionImpl() 83 if (TM.getCodeModel() == CodeModel::Small) in isGlobalInSmallSectionImpl()
|
| H A D | LanaiTargetMachine.cpp | 64 Subtarget(TT, Cpu, FeatureString, *this, Options, getCodeModel(), in LanaiTargetMachine()
|
| /freebsd/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() 343 if (!isPositionIndependent() || TM.getCodeModel() == CodeModel::Large) in X86Subtarget()
|
| H A D | X86InstrPredicates.td | 219 def SmallCode : Predicate<"TM.getCodeModel() == CodeModel::Small">; 220 def KernelCode : Predicate<"TM.getCodeModel() == CodeModel::Kernel">; 221 def NearData : Predicate<"TM.getCodeModel() == CodeModel::Small ||" 222 "TM.getCodeModel() == CodeModel::Kernel">;
|
| H A D | X86IndirectBranchTracking.cpp | 106 switch (MF.getTarget().getCodeModel()) { in needsPrologueENDBR()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVAPI.cpp | 101 if (M->getCodeModel()) in SPIRVTranslate() 102 Target->setCodeModel(*M->getCodeModel()); in SPIRVTranslate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Subtarget.cpp | 464 if (TM.getCodeModel() == CodeModel::Large && isTargetMachO()) in ClassifyGlobalReference() 486 if ((useSmallAddressing() || TM.getCodeModel() == CodeModel::Tiny) && in ClassifyGlobalReference() 504 if (TM.getCodeModel() == CodeModel::Large && isTargetMachO() && in classifyGlobalFunctionReference()
|
| H A D | AArch64TargetMachine.cpp | 390 if ((getCodeModel() == CodeModel::Small || in AArch64TargetMachine() 391 getCodeModel() == CodeModel::Kernel) && in AArch64TargetMachine() 395 else if (getCodeModel() == CodeModel::Tiny && this->Options.TLSSize > 24) in AArch64TargetMachine() 404 !(getCodeModel() == CodeModel::Large && TT.isOSBinFormatMachO())) { in AArch64TargetMachine()
|
| H A D | AArch64Subtarget.h | 310 switch (TLInfo.getTargetMachine().getCodeModel()) { in useSmallAddressing()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Globals.cpp | 543 if (auto CM = Src->getCodeModel()) in copyAttributesFrom() 558 assert(getCodeModel() == CM && "Code model representation error!"); in setCodeModel() 567 assert(getCodeModel() == std::nullopt && "Code model representation error!"); in clearCodeModel()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Instrumentation.cpp | 119 std::optional<CodeModel::Model> CM = GV.getParent()->getCodeModel(); in setGlobalVariableLargeSection()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | JITTargetMachineBuilder.h | 100 const std::optional<CodeModel::Model> &getCodeModel() const { return CM; } in getCodeModel() function
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | CommandFlags.h | 47 LLVM_ABI CodeModel::Model getCodeModel();
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.cpp | 122 if (TM.getCodeModel() == CodeModel::Small || !ObjType->isSized() || in SelectSectionForGlobal()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GlobalVariable.h | 286 std::optional<CodeModel::Model> getCodeModel() const { in getCodeModel() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | ModuleSymbolTable.cpp | 182 auto CM = M.getCodeModel(); in CollectAsmSymbols()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchExpandPseudoInsts.cpp | 369 bool Large = MF->getTarget().getCodeModel() == CodeModel::Large; in expandLoadAddressTLSLE() 570 switch (MF->getTarget().getCodeModel()) { in expandFunctionCALL() 782 switch (MF->getTarget().getCodeModel()) { in expandFunctionCALL()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetMachine.h | 264 CodeModel::Model getCodeModel() const { return CMModel; } in getCodeModel() function
|