| /freebsd/contrib/llvm-project/lld/Common/ |
| H A D | TargetOptionsCommandFlags.cpp | 16 return llvm::codegen::InitTargetOptionsFromCodeGenFlags(llvm::Triple()); in initTargetOptionsFromCodeGenFlags() 20 return llvm::codegen::getExplicitRelocModel(); in getRelocModelFromCMModel() 24 return llvm::codegen::getExplicitCodeModel(); in getCodeModelFromCMModel() 27 std::string lld::getCPUStr() { return llvm::codegen::getCPUStr(); } in getCPUStr() 29 std::vector<std::string> lld::getMAttrs() { return llvm::codegen::getMAttrs(); } in getMAttrs()
|
| H A D | CommonLinkerContext.cpp | 28 codegen::RegisterCodeGenFlags CGF; in CommonLinkerContext()
|
| /freebsd/contrib/llvm-project/llvm/tools/llc/ |
| H A D | llc.cpp | 63 static codegen::RegisterCodeGenFlags CGF; 279 switch (codegen::getFileType()) { in GetOutputStream() 298 switch (codegen::getFileType()) { in GetOutputStream() 447 std::string CPUStr = codegen::getCPUStr(), in compileModule() 448 FeaturesStr = codegen::getFeaturesStr(); in compileModule() 452 codegen::setFunctionAttributes(CPUStr, FeaturesStr, F); in compileModule() 455 auto MAttrs = codegen::getMAttrs(); in compileModule() 482 Options = codegen::InitTargetOptionsFromCodeGenFlags(TheTriple); in compileModule() 526 std::optional<Reloc::Model> RM = codegen::getExplicitRelocModel(); in compileModule() 527 std::optional<CodeModel::Model> CM = codegen::getExplicitCodeModel(); in compileModule() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CommandFlags.cpp | 34 TY codegen::get##NAME() { \ 41 std::vector<TY> codegen::get##NAME() { \ 49 std::optional<TY> codegen::getExplicit##NAME() { \ 115 codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { in CGOPT() 532 codegen::getBBSectionsMode(llvm::TargetOptions &Options) { in getBBSectionsMode() 553 codegen::InitTargetOptionsFromCodeGenFlags(const Triple &TheTriple) { in InitTargetOptionsFromCodeGenFlags() 616 std::string codegen::getCPUStr() { in getCPUStr() 626 std::string codegen::getFeaturesStr() { in getFeaturesStr() 643 std::vector<std::string> codegen::getFeatureList() { in getFeatureList() 660 void codegen::renderBoolStringAttr(AttrBuilder &B, StringRef Name, bool Val) { in renderBoolStringAttr() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetMachineC.cpp | 292 LLVMCodeGenFileType codegen, in LLVMTargetMachineEmit() argument 304 switch (codegen) { in LLVMTargetMachineEmit() 326 LLVMCodeGenFileType codegen, in LLVMTargetMachineEmitToFile() argument 334 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile() 340 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument 344 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); in LLVMTargetMachineEmitToMemoryBuffer()
|
| /freebsd/contrib/llvm-project/llvm/tools/lli/ |
| H A D | lli.cpp | 90 static codegen::RegisterCodeGenFlags CGF; 481 builder.setMArch(codegen::getMArch()); in main() 482 builder.setMCPU(codegen::getCPUStr()); in main() 483 builder.setMAttrs(codegen::getFeatureList()); in main() 484 if (auto RM = codegen::getExplicitRelocModel()) in main() 486 if (auto CM = codegen::getExplicitCodeModel()) in main() 518 codegen::InitTargetOptionsFromCodeGenFlags(Triple(TargetTriple)); in main() 519 if (codegen::getFloatABIForCalls() != FloatABI::Default) in main() 520 Options.FloatABIType = codegen::getFloatABIForCalls(); in main() 951 if (!codegen::getMArch().empty()) in runOrcJIT() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 36 static codegen::RegisterCodeGenFlags CGF; 295 Conf.CPU = codegen::getMCPU(); in run() 296 Conf.Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in run() 297 Conf.MAttrs = codegen::getMAttrs(); in run() 298 if (auto RM = codegen::getExplicitRelocModel()) in run() 300 Conf.CodeModel = codegen::getExplicitCodeModel(); in run() 346 if (auto FT = codegen::getExplicitFileType()) in run()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CGData/ |
| H A D | CodeGenData.inc | 11 * to support codegen data. 51 /* Indexed codegen data format version (start from 1). */
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-lto/ |
| H A D | llvm-lto.cpp | 65 static codegen::RegisterCodeGenFlags CGF; 520 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in printMachOCPUOnly() 659 ThinGenerator.setCodePICModel(codegen::getExplicitRelocModel()); in ThinLTOProcessing() 691 return codegen(); in run() 912 void codegen() { in codegen() function in thinlto::ThinLTOProcessing 1014 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in main() 1076 CodeGen.setCodePICModel(codegen::getExplicitRelocModel()); in main() 1126 CodeGen.setCpu(codegen::getMCPU()); in main() 1129 CodeGen.setAttrs(codegen::getMAttrs()); in main() 1131 if (auto FT = codegen::getExplicitFileType()) in main()
|
| /freebsd/contrib/llvm-project/llvm/tools/opt/ |
| H A D | optdriver.cpp | 66 static codegen::RegisterCodeGenFlags CFG; 538 codegen::createTargetMachineForTriple(TripleStr, GetCodeGenOptLevel()); in optMain() 633 CPUStr = codegen::getCPUStr(); in optMain() 634 FeaturesStr = codegen::getFeaturesStr(); in optMain() 636 codegen::createTargetMachineForTriple(ModuleTriple.str(), in optMain() 653 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in optMain()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrRef.td | 1 // WebAssemblyInstrRef.td - WebAssembly reference type codegen --*- tablegen -*- 10 /// WebAssembly reference type operand codegen constructs.
|
| H A D | WebAssemblyInstrBulkMemory.td | 1 // WebAssemblyInstrBulkMemory.td - bulk memory codegen support --*- tablegen -*- 10 /// WebAssembly bulk memory codegen constructs.
|
| H A D | WebAssemblyInstrCall.td | 1 //===- WebAssemblyInstrCall.td-WebAssembly Call codegen support -*- tablegen -*-
|
| H A D | WebAssemblyInstrTable.td | 1 // WebAssemblyInstrTable.td - WebAssembly Table codegen support -*- tablegen -*-
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | TargetMachine.h | 223 LLVMCodeGenFileType codegen, 228 LLVMTargetMachineRef T, LLVMModuleRef M, LLVMCodeGenFileType codegen,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FMV.td | 17 // LLVM and indicates how to do codegen when the FMV feature is present. 33 // SubtargetFeature enabled for codegen when this FMV feature is present.
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | arm_mve_defs.td | 23 // each one a name, to be used in codegen. For example, (args Vector:$a, 30 // Family of nodes for use in the codegen dag for an intrinsic, corresponding 137 // Trivial 'codegen' function that just returns its argument. Useful 159 // Another node class you can use in the codegen dag. This one corresponds to 184 // The 'seq' node in a codegen dag specifies a set of IR operations to be 208 // If you put CustomCodegen<"foo"> in an intrinsic's codegen field, it 210 // C++ and not autogenerated at all. The effect in the MVE builtin codegen 212 // manual-codegen cases below it, having set the CustomCodeGenType enumerated 481 dag codegen = codegen_; 492 // True if the intrinsic needs only the C header part (no codegen, semantic
|
| H A D | OpenCLImageTypes.def | 13 // with given ID, singleton ID access type and a codegen suffix
|
| H A D | arm_cde.td | 26 class CDEIntrinsic<Type ret, dag args, dag codegen> 27 : Intrinsic<ret, args, codegen> {
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 399 static void codegen(const Config &Conf, TargetMachine *TM, in codegen() function 506 codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx, in splitCodeGen() 570 codegen(C, TM.get(), AddStream, 0, Mod, CombinedIndex); in backend() 629 codegen(Conf, TM.get(), AddStream, Task, Mod, CombinedIndex); in thinBackend() 652 codegen(Conf, TM, AddStream, Task, Mod, CombinedIndex); in thinBackend()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoZicond.td | 35 // Pseudo-instructions and codegen patterns
|
| H A D | RISCVInstrInfoZfbfmin.td | 28 // Pseudo-instructions and codegen patterns
|
| H A D | RISCVInstrInfoZalasr.td | 62 // Pseudo-instructions and codegen patterns
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | CommandFlags.h | 34 namespace codegen {
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/ |
| H A D | complex | 68 // codegen this host code when compiling for device.
|