/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetMachine.h | 39 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
H A D | X86TargetMachine.cpp | 202 static CodeModel::Model getEffectiveX86CodeModel(Optional<CodeModel::Model> CM, argument 204 if (CM) { 205 if (*CM == CodeModel::Tiny) 207 return *CM; 220 Optional<CodeModel::Model> CM, 225 getEffectiveX86CodeModel(CM, JIT, TT.getArch() == Triple::x86_64), 216 X86TargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument
|
H A D | X86FastISel.cpp | 3740 CodeModel::Model CM = TM.getCodeModel(); 3741 if (CM != CodeModel::Small && CM != CodeModel::Large) 3792 if (CM == CodeModel::Large) {
|
H A D | X86InstructionSelector.cpp | 1431 CodeModel::Model CM = TM.getCodeModel(); local 1432 if (CM != CodeModel::Small && CM != CodeModel::Large) 1449 if (CM == CodeModel::Large && STI.is64Bit()) { 1466 } else if (CM == CodeModel::Small || !STI.is64Bit()) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 609 unsigned CM = llvm::StringSwitch<unsigned>(getCodeGenOpts().CodeModel) local 616 if (CM != ~0u) { 617 llvm::CodeModel::Model codeModel = static_cast<llvm::CodeModel::Model>(CM);
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DAGISelMatcherOpt.cpp | 86 if (CompleteMatchMatcher *CM = 91 for (unsigned i = 0, e = CM->getNumResults(); i != e; ++i) 92 if (CM->getResult(i) != RootResultFirst+i) 98 const PatternToMatch &Pattern = CM->getPattern();
|
H A D | DAGISelMatcherEmitter.cpp | 778 const CompleteMatchMatcher *CM = cast<CompleteMatchMatcher>(N); 784 GetPatFromTreePatternNode(CM->getPattern().getSrcPattern()); 786 GetPatFromTreePatternNode(CM->getPattern().getDstPattern()); 787 Record *PatRecord = CM->getPattern().getSrcRecord(); 794 OS << "OPC_CompleteMatch, " << CM->getNumResults() << ", "; 796 for (unsigned i = 0, e = CM->getNumResults(); i != e; ++i) 797 NumResultBytes += EmitVBRValue(CM->getResult(i), OS); 801 << *CM->getPattern().getSrcPattern() << " - Complexity = " 802 << CM->getPattern().getPatternComplexity(CGP) << '\n'; 804 << *CM [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPRecipeBuilder.h | 36 LoopVectorizationCostModel &CM; member in class:llvm::VPRecipeBuilder 129 LoopVectorizationCostModel &CM, VPBuilder &Builder) 130 : OrigLoop(OrigLoop), TLI(TLI), Legal(Legal), CM(CM), Builder(Builder) {} 127 VPRecipeBuilder(Loop *OrigLoop, const TargetLibraryInfo *TLI, LoopVectorizationLegality *Legal, LoopVectorizationCostModel &CM, VPBuilder &Builder) argument
|
H A D | LoopVectorize.cpp | 406 LoopVectorizationCostModel *CM) 410 VectorLoopValueMap(UnrollFactor, VecWidth), Legal(LVL), Cost(CM) {} 787 LoopVectorizationCostModel *CM) 789 UnrollFactor, LVL, CM) {} 1190 /// The sets depend on CM decision for Load/Store instructions 2367 "CM decision should be taken at this point"); 6313 "CM decision should be taken at this point"); 6447 LoopVectorizationCostModel &CM) { 6449 std::tie(std::ignore, WidestType) = CM.getSmallestAndWidestTypes(); 6464 VF = determineVPlanVF(TTI->getRegisterBitWidth(true /* Vector*/), CM); 400 InnerLoopVectorizer(Loop *OrigLoop, PredicatedScalarEvolution &PSE, LoopInfo *LI, DominatorTree *DT, const TargetLibraryInfo *TLI, const TargetTransformInfo *TTI, AssumptionCache *AC, OptimizationRemarkEmitter *ORE, unsigned VecWidth, unsigned UnrollFactor, LoopVectorizationLegality *LVL, LoopVectorizationCostModel *CM) argument 781 InnerLoopUnroller(Loop *OrigLoop, PredicatedScalarEvolution &PSE, LoopInfo *LI, DominatorTree *DT, const TargetLibraryInfo *TLI, const TargetTransformInfo *TTI, AssumptionCache *AC, OptimizationRemarkEmitter *ORE, unsigned UnrollFactor, LoopVectorizationLegality *LVL, LoopVectorizationCostModel *CM) argument [all...] |
H A D | LoopVectorizationPlanner.h | 202 LoopVectorizationCostModel &CM; member in class:llvm::LoopVectorizationPlanner 231 LoopVectorizationCostModel &CM, 233 : OrigLoop(L), LI(LI), TLI(TLI), TTI(TTI), Legal(Legal), CM(CM), 228 LoopVectorizationPlanner(Loop *L, LoopInfo *LI, const TargetLibraryInfo *TLI, const TargetTransformInfo *TTI, LoopVectorizationLegality *Legal, LoopVectorizationCostModel &CM, InterleavedAccessInfo &IAI) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 344 // If CM is the Carmichael number then a weight W satisfying W >= CM+Bitwidth 345 // can be replaced with W-CM. That's because x^W=x^(W-CM) for every Bitwidth 346 // bit number x, since either x is odd in which case x^CM = 1, or x is even in 347 // which case both x^W and x^(W - CM) are zero. By subtracting off multiples 348 // of CM like this weights can always be reduced to the range [0, CM+Bitwidth) 354 /// CM - The value of Carmichael's lambda function. 355 APInt CM local 366 unsigned CM = 1U << CarmichaelShift(Bitwidth); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 662 for (auto &&CM : make_range(ComdatMembers.equal_range(C))) { 663 if (dyn_cast<GlobalAlias>(CM.second)) 665 Function *FM = dyn_cast<Function>(CM.second); 703 for (auto &&CM : make_range(ComdatMembers.equal_range(OrigComdat))) { 704 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(CM.second)) { 713 Function *CF = dyn_cast<Function>(CM.second);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalDCE.cpp | 153 for (auto &&CM : make_range(ComdatMembers.equal_range(C))) { 154 MarkLive(*CM.second, Updates); // Recursion depth is only two because only
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreTargetMachine.cpp | 35 getEffectiveXCoreCodeModel(Optional<CodeModel::Model> CM) { argument 36 if (CM) { 37 if (*CM != CodeModel::Small && *CM != CodeModel::Large) 39 return *CM; 50 Optional<CodeModel::Model> CM, 55 getEffectiveXCoreCodeModel(CM), OL), 46 XCoreTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyTargetMachine.cpp | 110 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) 115 getEffectiveCodeModel(CM, CodeModel::Large), OL), 107 WebAssemblyTargetMachine( const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VETargetMachine.h | 32 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
H A D | VETargetMachine.cpp | 71 Optional<CodeModel::Model> CM, 75 getEffectiveCodeModel(CM, CodeModel::Small), OL), 67 VETargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 131 Optional<CodeModel::Model> CM = unwrap(CodeModel, JIT); local 150 return wrap(unwrap(T)->createTargetMachine(Triple, CPU, Features, opt, RM, CM,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetMachine.cpp | 132 getEffectiveSystemZCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, argument 134 if (CM) { 135 if (*CM == CodeModel::Tiny) 137 if (*CM == CodeModel::Kernel) 139 return *CM; 150 Optional<CodeModel::Model> CM, 155 getEffectiveSystemZCodeModel(CM, getEffectiveRelocModel(RM), JIT), 146 SystemZTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument
|
H A D | SystemZISelLowering.cpp | 2972 CodeModel::Model CM = DAG.getTarget().getCodeModel(); 2975 if (Subtarget.isPC32DBLSymbol(GV, CM)) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcTargetMachine.cpp | 74 getEffectiveSparcCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, argument 76 if (CM) { 77 if (*CM == CodeModel::Tiny) 79 if (*CM == CodeModel::Kernel) 81 return *CM; 95 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) 99 CM, getEffectiveRelocModel(RM), is64bit, JIT), 196 Optional<CodeModel::Model> CM, 198 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} 206 Optional<CodeModel::Model> CM, 92 SparcTargetMachine( const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) argument 192 SparcV8TargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument 202 SparcV9TargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument 212 SparcelTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetMachine.h | 30 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
H A D | RISCVTargetMachine.cpp | 63 Optional<CodeModel::Model> CM, 67 getEffectiveCodeModel(CM, CodeModel::Small), OL), 59 RISCVTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetMachine.cpp | 242 Optional<CodeModel::Model> CM, 244 if (CM) { 245 if (*CM == CodeModel::Tiny) 247 if (*CM == CodeModel::Kernel) 249 return *CM; 297 Optional<CodeModel::Model> CM, 302 getEffectivePPCCodeModel(TT, CM, JIT), OL), 241 getEffectivePPCCodeModel(const Triple &TT, Optional<CodeModel::Model> CM, bool JIT) argument 293 PPCTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetMachine.cpp | 111 Optional<CodeModel::Model> CM, 117 getEffectiveCodeModel(CM, CodeModel::Small), OL), 138 Optional<CodeModel::Model> CM, 140 : NVPTXTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, false) {} 148 Optional<CodeModel::Model> CM, 150 : NVPTXTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, true) {} 107 NVPTXTargetMachine(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool is64bit) argument 134 NVPTXTargetMachine32(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument 144 NVPTXTargetMachine64(const Target &T, const Triple &TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT) argument
|