Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/lld/Common/
H A DTargetOptionsCommandFlags.cpp14 static llvm::codegen::RegisterCodeGenFlags CGF;
17 return llvm::codegen::InitTargetOptionsFromCodeGenFlags(llvm::Triple()); in initTargetOptionsFromCodeGenFlags()
21 return llvm::codegen::getExplicitRelocModel(); in getRelocModelFromCMModel()
25 return llvm::codegen::getExplicitCodeModel(); in getCodeModelFromCMModel()
28 std::string lld::getCPUStr() { return llvm::codegen::getCPUStr(); } in getCPUStr()
30 std::vector<std::string> lld::getMAttrs() { return llvm::codegen::getMAttrs(); } in getMAttrs()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp60 static codegen::RegisterCodeGenFlags CGF;
240 switch (codegen::getFileType()) { in GetOutputStream()
267 switch (codegen::getFileType()) { in GetOutputStream()
433 std::string CPUStr = codegen::getCPUStr(), in compileModule()
434 FeaturesStr = codegen::getFeaturesStr(); in compileModule()
441 auto MAttrs = codegen::getMAttrs(); in compileModule()
442 bool SkipModule = codegen::getMCPU() == "help" || in compileModule()
518 codegen::getExplicitCodeModel(), OLvl)); in compileModule()
563 codegen::getExplicitCodeModel(), OLvl)); in compileModule()
573 if (codegen::getFloatABIForCalls() != FloatABI::Default) in compileModule()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachineC.cpp187 LLVMCodeGenFileType codegen, in LLVMTargetMachineEmit() argument
199 switch (codegen) { in LLVMTargetMachineEmit()
220 char* Filename, LLVMCodeGenFileType codegen, char** ErrorMessage) { in LLVMTargetMachineEmitToFile() argument
227 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); in LLVMTargetMachineEmitToFile()
233 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer() argument
237 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); in LLVMTargetMachineEmitToMemoryBuffer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCommandFlags.cpp26 TY codegen::get##NAME() { \
33 std::vector<TY> codegen::get##NAME() { \
40 Optional<TY> codegen::getExplicit##NAME() { \
98 codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { in CGOPT()
461 codegen::getBBSectionsMode(llvm::TargetOptions &Options) { in getBBSectionsMode()
484 codegen::InitTargetOptionsFromCodeGenFlags(const Triple &TheTriple) { in InitTargetOptionsFromCodeGenFlags()
540 std::string codegen::getCPUStr() { in getCPUStr()
550 std::string codegen::getFeaturesStr() { in getFeaturesStr()
570 std::vector<std::string> codegen::getFeatureList() { in getFeatureList()
602 void codegen::setFunctionAttributes(StringRef CPU, StringRef Features, in setFunctionAttributes()
[all …]
H A DParallelCG.cpp27 static void codegen(Module *M, llvm::raw_pwrite_stream &OS, in codegen() function
49 codegen(&M, *OSs[0], TMFactory, FileType); in splitCodeGen()
90 codegen(MPartInCtx.get(), *ThreadOS, TMFactory, FileType); in splitCodeGen()
/freebsd-13.1/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp80 static codegen::RegisterCodeGenFlags CGF;
478 builder.setMArch(codegen::getMArch()); in main()
479 builder.setMCPU(codegen::getCPUStr()); in main()
480 builder.setMAttrs(codegen::getFeatureList()); in main()
481 if (auto RM = codegen::getExplicitRelocModel()) in main()
483 if (auto CM = codegen::getExplicitCodeModel()) in main()
864 if (!codegen::getMArch().empty()) in runOrcJIT()
866 codegen::getMArch()); in runOrcJIT()
869 ->setCPU(codegen::getCPUStr()) in runOrcJIT()
870 .addFeatures(codegen::getFeatureList()) in runOrcJIT()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp36 static codegen::RegisterCodeGenFlags CGF;
247 Conf.CPU = codegen::getMCPU(); in run()
248 Conf.Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in run()
249 Conf.MAttrs = codegen::getMAttrs(); in run()
250 if (auto RM = codegen::getExplicitRelocModel()) in run()
252 Conf.CodeModel = codegen::getExplicitCodeModel(); in run()
298 if (auto FT = codegen::getExplicitFileType()) in run()
/freebsd-13.1/contrib/llvm-project/llvm/tools/opt/
H A Dopt.cpp65 static codegen::RegisterCodeGenFlags CFG;
454 TargetRegistry::lookupTarget(codegen::getMArch(), TheTriple, Error); in GetTargetMachine()
461 TheTriple.getTriple(), codegen::getCPUStr(), codegen::getFeaturesStr(), in GetTargetMachine()
462 Options, codegen::getExplicitRelocModel(), in GetTargetMachine()
463 codegen::getExplicitCodeModel(), GetCodeGenOptLevel()); in GetTargetMachine()
728 codegen::InitTargetOptionsFromCodeGenFlags(ModuleTriple); in main()
731 CPUStr = codegen::getCPUStr(); in main()
732 FeaturesStr = codegen::getFeaturesStr(); in main()
745 codegen::setFunctionAttributes(CPUStr, FeaturesStr, *M); in main()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DTargetMachine.h133 char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage);
137 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
/freebsd-13.1/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 DWebAssemblyInstrTable.td1 // WebAssemblyInstrTable.td - WebAssembly Table codegen support -*- tablegen -*-
H A DWebAssemblyInstrCall.td1 //===- WebAssemblyInstrCall.td-WebAssembly Call codegen support -*- tablegen -*-
H A DWebAssemblyInstrFloat.td1 // WebAssemblyInstrFloat.td-WebAssembly Float codegen support ---*- tablegen -*-
H A DWebAssemblyInstrInteger.td1 // WebAssemblyInstrInteger.td-WebAssembly Integer codegen -------*- tablegen -*-
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp65 static codegen::RegisterCodeGenFlags CGF;
448 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in printMachOCPUOnly()
585 ThinGenerator.setCodePICModel(codegen::getExplicitRelocModel()); in ThinLTOProcessing()
618 return codegen(); in run()
838 void codegen() { in codegen() function in thinlto::ThinLTOProcessing
940 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple()); in main()
1002 CodeGen.setCodePICModel(codegen::getExplicitRelocModel()); in main()
1053 CodeGen.setCpu(codegen::getMCPU().c_str()); in main()
1056 CodeGen.setAttrs(codegen::getMAttrs()); in main()
1060 if (auto FT = codegen::getExplicitFileType()) in main()
/freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp373 static void codegen(const Config &Conf, TargetMachine *TM, in codegen() function
458 codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx, in splitCodeGen()
515 codegen(C, TM.get(), AddStream, 0, Mod, CombinedIndex); in backend()
570 codegen(Conf, TM.get(), AddStream, Task, Mod, CombinedIndex); in thinBackend()
585 codegen(Conf, TM, AddStream, Task, Mod, CombinedIndex); in thinBackend()
/freebsd-13.1/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> {
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCommandFlags.h33 namespace codegen {
/freebsd-13.1/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dcomplex68 // codegen this host code when compiling for device.
/freebsd-13.1/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
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoM.td60 // Pseudo-instructions and codegen patterns
/freebsd-13.1/lib/clang/libclang/
H A DMakefile926 ${CLANG_TBLGEN} -gen-arm-cde-builtin-codegen \
952 ${CLANG_TBLGEN} -gen-arm-mve-builtin-codegen \
971 ${CLANG_TBLGEN} -gen-arm-sve-builtin-codegen \
999 ${CLANG_TBLGEN} -gen-riscv-vector-builtin-codegen \

1234