Home
last modified time | relevance | path

Searched refs:codegen (Results 1 – 25 of 103) sorted by relevance

12345

/freebsd/contrib/llvm-project/lld/Common/
H A DTargetOptionsCommandFlags.cpp16 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 DCommonLinkerContext.cpp28 codegen::RegisterCodeGenFlags CGF; in CommonLinkerContext()
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp63 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 DCommandFlags.cpp34 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 DTargetMachineC.cpp292 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 Dlli.cpp90 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 Dllvm-lto2.cpp36 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 DCodeGenData.inc11 * to support codegen data.
51 /* Indexed codegen data format version (start from 1). */
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp65 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 Doptdriver.cpp66 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 DWebAssemblyInstrRef.td1 // WebAssemblyInstrRef.td - WebAssembly reference type codegen --*- tablegen -*-
10 /// WebAssembly reference type operand codegen constructs.
H A DWebAssemblyInstrBulkMemory.td1 // WebAssemblyInstrBulkMemory.td - bulk memory codegen support --*- tablegen -*-
10 /// WebAssembly bulk memory codegen constructs.
H A DWebAssemblyInstrCall.td1 //===- WebAssemblyInstrCall.td-WebAssembly Call codegen support -*- tablegen -*-
H A DWebAssemblyInstrTable.td1 // WebAssemblyInstrTable.td - WebAssembly Table codegen support -*- tablegen -*-
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DTargetMachine.h223 LLVMCodeGenFileType codegen,
228 LLVMTargetMachineRef T, LLVMModuleRef M, LLVMCodeGenFileType codegen,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FMV.td17 // 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 Darm_mve_defs.td23 // 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 DOpenCLImageTypes.def13 // with given ID, singleton ID access type and a codegen suffix
H A Darm_cde.td26 class CDEIntrinsic<Type ret, dag args, dag codegen>
27 : Intrinsic<ret, args, codegen> {
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp399 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 DRISCVInstrInfoZicond.td35 // Pseudo-instructions and codegen patterns
H A DRISCVInstrInfoZfbfmin.td28 // Pseudo-instructions and codegen patterns
H A DRISCVInstrInfoZalasr.td62 // Pseudo-instructions and codegen patterns
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCommandFlags.h34 namespace codegen {
/freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dcomplex68 // codegen this host code when compiling for device.

12345