Home
last modified time | relevance | path

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

1234

/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;
275 switch (codegen::getFileType()) { in GetOutputStream()
294 switch (codegen::getFileType()) { in GetOutputStream()
452 std::string CPUStr = codegen::getCPUStr(), in compileModule()
453 FeaturesStr = codegen::getFeaturesStr(); in compileModule()
457 codegen::setFunctionAttributes(CPUStr, FeaturesStr, F); in compileModule()
460 auto MAttrs = codegen::getMAttrs(); in compileModule()
487 Options = codegen::InitTargetOptionsFromCodeGenFlags(TheTriple); in compileModule()
528 std::optional<Reloc::Model> RM = codegen::getExplicitRelocModel(); in compileModule()
529 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() { \
114 codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { in CGOPT()
525 codegen::getBBSectionsMode(llvm::TargetOptions &Options) { in getBBSectionsMode()
548 codegen::InitTargetOptionsFromCodeGenFlags(const Triple &TheTriple) { in InitTargetOptionsFromCodeGenFlags()
610 std::string codegen::getCPUStr() { in getCPUStr()
620 std::string codegen::getFeaturesStr() { in getFeaturesStr()
637 std::vector<std::string> codegen::getFeatureList() { in getFeatureList()
654 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.cpp88 static codegen::RegisterCodeGenFlags CGF;
480 builder.setMArch(codegen::getMArch()); in main()
481 builder.setMCPU(codegen::getCPUStr()); in main()
482 builder.setMAttrs(codegen::getFeatureList()); in main()
483 if (auto RM = codegen::getExplicitRelocModel()) in main()
485 if (auto CM = codegen::getExplicitCodeModel()) in main()
517 codegen::InitTargetOptionsFromCodeGenFlags(Triple(TargetTriple)); in main()
518 if (codegen::getFloatABIForCalls() != FloatABI::Default) in main()
519 Options.FloatABIType = codegen::getFloatABIForCalls(); in main()
949 if (!codegen::getMArch().empty()) in runOrcJIT()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp36 static codegen::RegisterCodeGenFlags CGF;
286 Conf.CPU = codegen::getMCPU(); in run()
287 Conf.Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in run()
288 Conf.MAttrs = codegen::getMAttrs(); in run()
289 if (auto RM = codegen::getExplicitRelocModel()) in run()
291 Conf.CodeModel = codegen::getExplicitCodeModel(); in run()
338 if (auto FT = codegen::getExplicitFileType()) in run()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DTargetMachine.h211 LLVMCodeGenFileType codegen,
216 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp65 static codegen::RegisterCodeGenFlags CGF;
466 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in printMachOCPUOnly()
605 ThinGenerator.setCodePICModel(codegen::getExplicitRelocModel()); in ThinLTOProcessing()
637 return codegen(); in run()
858 void codegen() { in codegen() function in thinlto::ThinLTOProcessing
974 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in main()
1036 CodeGen.setCodePICModel(codegen::getExplicitRelocModel()); in main()
1088 CodeGen.setCpu(codegen::getMCPU()); in main()
1091 CodeGen.setAttrs(codegen::getMAttrs()); in main()
1093 if (auto FT = codegen::getExplicitFileType()) in main()
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A Doptdriver.cpp66 static codegen::RegisterCodeGenFlags CFG;
544 codegen::createTargetMachineForTriple(TripleStr, GetCodeGenOptLevel()); in optMain()
639 CPUStr = codegen::getCPUStr(); in optMain()
640 FeaturesStr = codegen::getFeaturesStr(); in optMain()
642 codegen::createTargetMachineForTriple(ModuleTriple.str(), in optMain()
659 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/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
136 // Trivial 'codegen' function that just returns its argument. Useful
158 // Another node class you can use in the codegen dag. This one corresponds to
183 // The 'seq' node in a codegen dag specifies a set of IR operations to be
207 // If you put CustomCodegen<"foo"> in an intrinsic's codegen field, it
209 // C++ and not autogenerated at all. The effect in the MVE builtin codegen
211 // manual-codegen cases below it, having set the CustomCodeGenType enumerated
480 dag codegen = codegen_;
491 // 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> {
H A DBuiltinsBase.td38 // Type is not important to semantic analysis and codegen; recognize as builtin
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp368 static void codegen(const Config &Conf, TargetMachine *TM, in codegen() function
460 codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx, in splitCodeGen()
524 codegen(C, TM.get(), AddStream, 0, Mod, CombinedIndex); in backend()
580 codegen(Conf, TM.get(), AddStream, Task, Mod, CombinedIndex); in thinBackend()
595 codegen(Conf, TM, AddStream, Task, Mod, CombinedIndex); in thinBackend()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZicond.td33 // Pseudo-instructions and codegen patterns
H A DRISCVInstrInfoZfbfmin.td42 // Pseudo-instructions and codegen patterns
/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 // SubtargetFeatures enabled for codegen when this FMV feature is present.
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCommandFlags.h33 namespace codegen {
/freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dcomplex68 // codegen this host code when compiling for device.
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrCompiler.td73 // a stack adjustment and the codegen must know that they may modify the stack

1234