Home
last modified time | relevance | path

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

1234

/freebsd-14.2/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-14.2/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()
455 std::string CPUStr = codegen::getCPUStr(), in compileModule()
456 FeaturesStr = codegen::getFeaturesStr(); in compileModule()
460 codegen::setFunctionAttributes(CPUStr, FeaturesStr, F); in compileModule()
463 auto MAttrs = codegen::getMAttrs(); in compileModule()
612 if (codegen::getFloatABIForCalls() != FloatABI::Default) in compileModule()
646 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in compileModule()
649 codegen::getFileType() != CodeGenFileType::ObjectFile) in compileModule()
[all …]
H A DNewPMDriver.cpp137 if ((codegen::getFileType() != CodeGenFileType::AssemblyFile && in compileModuleWithNewPM()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCommandFlags.cpp113 codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { in CGOPT()
517 codegen::getBBSectionsMode(llvm::TargetOptions &Options) { in getBBSectionsMode()
540 codegen::InitTargetOptionsFromCodeGenFlags(const Triple &TheTriple) { in InitTargetOptionsFromCodeGenFlags()
601 std::string codegen::getCPUStr() { in getCPUStr()
611 std::string codegen::getFeaturesStr() { in getFeaturesStr()
631 std::vector<std::string> codegen::getFeatureList() { in getFeatureList()
663 void codegen::setFunctionAttributes(StringRef CPU, StringRef Features, in setFunctionAttributes()
747 codegen::createTargetMachineForTriple(StringRef TargetTriple, in createTargetMachineForTriple()
756 TheTriple.getTriple(), codegen::getCPUStr(), codegen::getFeaturesStr(), in createTargetMachineForTriple()
757 codegen::InitTargetOptionsFromCodeGenFlags(TheTriple), in createTargetMachineForTriple()
[all …]
H A DParallelCG.cpp26 static void codegen(Module *M, llvm::raw_pwrite_stream &OS, in codegen() function
48 codegen(&M, *OSs[0], TMFactory, FileType); in splitCodeGen()
89 codegen(MPartInCtx.get(), *ThreadOS, TMFactory, FileType); in splitCodeGen()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp88 static codegen::RegisterCodeGenFlags CGF;
482 builder.setMArch(codegen::getMArch()); in main()
483 builder.setMCPU(codegen::getCPUStr()); in main()
484 builder.setMAttrs(codegen::getFeatureList()); in main()
485 if (auto RM = codegen::getExplicitRelocModel()) in main()
487 if (auto CM = codegen::getExplicitCodeModel()) in main()
951 if (!codegen::getMArch().empty()) in runOrcJIT()
953 codegen::getMArch()); in runOrcJIT()
956 ->setCPU(codegen::getCPUStr()) in runOrcJIT()
957 .addFeatures(codegen::getFeatureList()) in runOrcJIT()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp36 static codegen::RegisterCodeGenFlags CGF;
264 Conf.CPU = codegen::getMCPU(); in run()
265 Conf.Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in run()
266 Conf.MAttrs = codegen::getMAttrs(); in run()
267 if (auto RM = codegen::getExplicitRelocModel()) in run()
269 Conf.CodeModel = codegen::getExplicitCodeModel(); in run()
316 if (auto FT = codegen::getExplicitFileType()) in run()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DTargetMachine.h211 LLVMCodeGenFileType codegen,
216 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp65 static codegen::RegisterCodeGenFlags CGF;
457 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in printMachOCPUOnly()
596 ThinGenerator.setCodePICModel(codegen::getExplicitRelocModel()); in ThinLTOProcessing()
628 return codegen(); in run()
848 void codegen() { in codegen() function in thinlto::ThinLTOProcessing
950 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in main()
1012 CodeGen.setCodePICModel(codegen::getExplicitRelocModel()); in main()
1064 CodeGen.setCpu(codegen::getMCPU()); in main()
1067 CodeGen.setAttrs(codegen::getMAttrs()); in main()
1069 if (auto FT = codegen::getExplicitFileType()) in main()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/tools/opt/
H A Dopt.cpp64 static codegen::RegisterCodeGenFlags CFG;
544 codegen::createTargetMachineForTriple(TripleStr, GetCodeGenOptLevel()); in main()
639 CPUStr = codegen::getCPUStr(); in main()
640 FeaturesStr = codegen::getFeaturesStr(); in main()
642 codegen::createTargetMachineForTriple(ModuleTriple.str(), in main()
659 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in main()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp370 static void codegen(const Config &Conf, TargetMachine *TM, in codegen() function
464 codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx, in splitCodeGen()
522 codegen(C, TM.get(), AddStream, 0, Mod, CombinedIndex); in backend()
578 codegen(Conf, TM.get(), AddStream, Task, Mod, CombinedIndex); in thinBackend()
593 codegen(Conf, TM, AddStream, Task, Mod, CombinedIndex); in thinBackend()
/freebsd-14.2/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 Driscv_vector_common.td217 // Manual code in clang codegen riscv_vector_builtin_cg.inc
220 // When emit the automatic clang codegen, it describes what types we have to use
222 // k >= 0 meaning the k-th operand (counting from zero) of the codegen'd
256 // Basic classes with automatic codegen.
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCommandFlags.h33 namespace codegen {
/freebsd-14.2/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dcomplex68 // codegen this host code when compiling for device.

1234