Home
last modified time | relevance | path

Searched refs:CodeModel (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DCodeGenCWrappers.h25 inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap()
34 return CodeModel::Tiny; in unwrap()
36 return CodeModel::Small; in unwrap()
38 return CodeModel::Kernel; in unwrap()
40 return CodeModel::Medium; in unwrap()
42 return CodeModel::Large; in unwrap()
44 return CodeModel::Small; in unwrap()
47 inline LLVMCodeModel wrap(CodeModel::Model Model) { in wrap()
49 case CodeModel::Tiny: in wrap()
51 case CodeModel::Small: in wrap()
[all …]
DTargetMachine.h89 CodeModel::Model CMModel = CodeModel::Small;
209 CodeModel::Model getCodeModel() const;
319 CodeModel::Model CM, CodeGenOpt::Level OL);
381 inline CodeModel::Model getEffectiveCodeModel(Optional<CodeModel::Model> CM, in getEffectiveCodeModel()
382 CodeModel::Model Default) { in getEffectiveCodeModel()
385 if (*CM == CodeModel::Tiny) in getEffectiveCodeModel()
387 if (*CM == CodeModel::Kernel) in getEffectiveCodeModel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp73 static CodeModel::Model
74 getEffectiveSparcCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSparcCodeModel()
77 if (*CM == CodeModel::Tiny) in getEffectiveSparcCodeModel()
79 if (*CM == CodeModel::Kernel) in getEffectiveSparcCodeModel()
85 return CodeModel::Large; in getEffectiveSparcCodeModel()
86 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveSparcCodeModel()
88 return CodeModel::Small; in getEffectiveSparcCodeModel()
95 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine()
196 Optional<CodeModel::Model> CM, in SparcV8TargetMachine()
206 Optional<CodeModel::Model> CM, in SparcV9TargetMachine()
[all …]
DSparcTargetMachine.h30 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
51 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
62 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
72 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreTargetMachine.cpp34 static CodeModel::Model
35 getEffectiveXCoreCodeModel(Optional<CodeModel::Model> CM) { in getEffectiveXCoreCodeModel()
37 if (*CM != CodeModel::Small && *CM != CodeModel::Large) in getEffectiveXCoreCodeModel()
41 return CodeModel::Small; in getEffectiveXCoreCodeModel()
50 Optional<CodeModel::Model> CM, in XCoreTargetMachine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp131 static CodeModel::Model
132 getEffectiveSystemZCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSystemZCodeModel()
135 if (*CM == CodeModel::Tiny) in getEffectiveSystemZCodeModel()
137 if (*CM == CodeModel::Kernel) in getEffectiveSystemZCodeModel()
142 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveSystemZCodeModel()
143 return CodeModel::Small; in getEffectiveSystemZCodeModel()
150 Optional<CodeModel::Model> CM, in SystemZTargetMachine()
DSystemZSubtarget.cpp70 CodeModel::Model CM) const { in isPC32DBLSymbol()
77 if (CM == CodeModel::Small) in isPC32DBLSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp233 static CodeModel::Model
234 getEffectiveAArch64CodeModel(const Triple &TT, Optional<CodeModel::Model> CM, in getEffectiveAArch64CodeModel()
237 if (*CM != CodeModel::Small && *CM != CodeModel::Tiny && in getEffectiveAArch64CodeModel()
238 *CM != CodeModel::Large) { in getEffectiveAArch64CodeModel()
242 else if (*CM != CodeModel::Kernel) in getEffectiveAArch64CodeModel()
245 } else if (*CM == CodeModel::Tiny && !TT.isOSBinFormatELF()) in getEffectiveAArch64CodeModel()
256 return CodeModel::Large; in getEffectiveAArch64CodeModel()
257 return CodeModel::Small; in getEffectiveAArch64CodeModel()
266 Optional<CodeModel::Model> CM, in AArch64TargetMachine()
293 if ((getCodeModel() == CodeModel::Small || in AArch64TargetMachine()
[all …]
DAArch64TargetMachine.h33 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
64 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
76 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetMachine.cpp60 Optional<CodeModel::Model> CodeModel, in LanaiTargetMachine() argument
64 getEffectiveCodeModel(CodeModel, CodeModel::Medium), in LanaiTargetMachine()
DLanaiTargetObjectFile.cpp52 if (GO == nullptr) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSection()
79 if (!GVA) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSectionImpl()
87 if (TM.getCodeModel() == CodeModel::Small) in isGlobalInSmallSectionImpl()
DLanaiTargetMachine.h36 Optional<CodeModel::Model> CodeModel,
DLanaiSubtarget.h36 const TargetOptions &Options, CodeModel::Model CodeModel,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86Subtarget.cpp80 case CodeModel::Tiny: in classifyLocalReference()
82 case CodeModel::Small: in classifyLocalReference()
83 case CodeModel::Kernel: in classifyLocalReference()
87 case CodeModel::Large: in classifyLocalReference()
91 case CodeModel::Medium: in classifyLocalReference()
125 if (TM.getCodeModel() == CodeModel::Large && !isPositionIndependent()) in classifyGlobalReference()
157 if (TM.getCodeModel() == CodeModel::Large) in classifyGlobalReference()
DX86TargetMachine.cpp200 static CodeModel::Model getEffectiveX86CodeModel(Optional<CodeModel::Model> CM, in getEffectiveX86CodeModel()
203 if (*CM == CodeModel::Tiny) in getEffectiveX86CodeModel()
208 return Is64Bit ? CodeModel::Large : CodeModel::Small; in getEffectiveX86CodeModel()
209 return CodeModel::Small; in getEffectiveX86CodeModel()
218 Optional<CodeModel::Model> CM, in X86TargetMachine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp241 static CodeModel::Model getEffectivePPCCodeModel(const Triple &TT, in getEffectivePPCCodeModel()
242 Optional<CodeModel::Model> CM, in getEffectivePPCCodeModel()
245 if (*CM == CodeModel::Tiny) in getEffectivePPCCodeModel()
247 if (*CM == CodeModel::Kernel) in getEffectivePPCCodeModel()
253 return CodeModel::Small; in getEffectivePPCCodeModel()
255 return CodeModel::Small; in getEffectivePPCCodeModel()
260 return CodeModel::Small; in getEffectivePPCCodeModel()
263 return CodeModel::Medium; in getEffectivePPCCodeModel()
297 Optional<CodeModel::Model> CM, in PPCTargetMachine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DJITTargetMachineBuilder.h86 JITTargetMachineBuilder &setCodeModel(Optional<CodeModel::Model> CM) { in setCodeModel()
92 const Optional<CodeModel::Model> &getCodeModel() const { return CM; } in getCodeModel()
145 Optional<CodeModel::Model> CM;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsTargetMachine.h42 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
78 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
90 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
DMipsTargetMachine.cpp115 Optional<CodeModel::Model> CM, in MipsTargetMachine()
120 getEffectiveCodeModel(CM, CodeModel::Small), OL), in MipsTargetMachine()
144 Optional<CodeModel::Model> CM, in MipsebTargetMachine()
154 Optional<CodeModel::Model> CM, in MipselTargetMachine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetMachine.h44 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
83 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
93 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.h40 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
80 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
89 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
DNVPTXTargetMachine.cpp111 Optional<CodeModel::Model> CM, in NVPTXTargetMachine()
117 getEffectiveCodeModel(CM, CodeModel::Small), OL), in NVPTXTargetMachine()
138 Optional<CodeModel::Model> CM, in NVPTXTargetMachine32()
148 Optional<CodeModel::Model> CM, in NVPTXTargetMachine64()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetMachine.h45 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
76 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
101 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430TargetMachine.cpp44 Optional<CodeModel::Model> CM, in MSP430TargetMachine()
48 getEffectiveCodeModel(CM, CodeModel::Small), OL), in MSP430TargetMachine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCTargetMachine.cpp34 Optional<CodeModel::Model> CM, in ARCTargetMachine()
40 getEffectiveCodeModel(CM, CodeModel::Small), OL), in ARCTargetMachine()

1234