/openbsd-current/gnu/llvm/lld/Common/ |
H A D | TargetOptionsCommandFlags.cpp | 16 return llvm::codegen::InitTargetOptionsFromCodeGenFlags(llvm::Triple()); 20 return llvm::codegen::getExplicitRelocModel(); 24 return llvm::codegen::getExplicitCodeModel(); 27 std::string lld::getCPUStr() { return llvm::codegen::getCPUStr(); } 29 std::vector<std::string> lld::getMAttrs() { return llvm::codegen::getMAttrs(); }
|
H A D | CommonLinkerContext.cpp | 28 codegen::RegisterCodeGenFlags CGF;
|
/openbsd-current/gnu/llvm/clang/tools/clang-fuzzer/handle-llvm/ |
H A D | handle_llvm.cpp | 127 codegen::InitTargetOptionsFromCodeGenFlags(ModuleTriple); 130 TargetRegistry::lookupTarget(codegen::getMArch(), ModuleTriple, E); 135 M->getTargetTriple(), codegen::getCPUStr(), codegen::getFeaturesStr(), 136 Options, codegen::getExplicitRelocModel(), 137 codegen::getExplicitCodeModel(), OLvl)); 141 codegen::setFunctionAttributes(codegen::getCPUStr(), 142 codegen::getFeaturesStr(), *M); 176 builder.setMArch(codegen [all...] |
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 116 virtual Value *codegen() = 0; 126 Value *codegen() override; 136 Value *codegen() override; 149 Value *codegen() override; 162 Value *codegen() override; 176 Function *codegen(); 190 Function *codegen(); 431 // If not, check whether we can codegen the declaration from some existing 435 return FI->second->codegen(); 441 Value *NumberExprAST::codegen() { function in class:NumberExprAST 445 Value *VariableExprAST::codegen() { function in class:VariableExprAST 453 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 475 Value *CallExprAST::codegen() { function in class:CallExprAST 495 Function *PrototypeAST::codegen() { function in class:PrototypeAST 512 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 106 virtual Value *codegen() = 0; 116 Value *codegen() override; 126 Value *codegen() override; 139 Value *codegen() override; 152 Value *codegen() override; 166 Function *codegen(); 180 Function *codegen(); 412 Value *NumberExprAST::codegen() { function in class:NumberExprAST 416 Value *VariableExprAST::codegen() { function in class:VariableExprAST 424 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 446 Value *CallExprAST::codegen() { function in class:CallExprAST 466 Function *PrototypeAST::codegen() { function in class:PrototypeAST 483 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llvm-isel-fuzzer/ |
H A D | llvm-isel-fuzzer.cpp | 39 static codegen::RegisterCodeGenFlags CGF; 137 TargetRegistry::lookupTarget(codegen::getMArch(), TheTriple, Error); 144 std::string CPUStr = codegen::getCPUStr(), 145 FeaturesStr = codegen::getFeaturesStr(); 155 TargetOptions Options = codegen::InitTargetOptionsFromCodeGenFlags(TheTriple); 158 codegen::getExplicitRelocModel(), codegen::getExplicitCodeModel(), OLvl));
|
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
H A D | toy.cpp | 144 virtual Value *codegen() = 0; 154 Value *codegen() override; 164 Value *codegen() override; 177 Value *codegen() override; 190 Value *codegen() override; 203 Value *codegen() override; 215 Value *codegen() override; 230 Value *codegen() override; 244 Value *codegen() override; 262 Function *codegen(); 736 Value *NumberExprAST::codegen() { function in class:NumberExprAST 740 Value *VariableExprAST::codegen() { function in class:VariableExprAST 750 Value *UnaryExprAST::codegen() { function in class:UnaryExprAST 762 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 815 Value *CallExprAST::codegen() { function in class:CallExprAST 835 Value *IfExprAST::codegen() { function in class:IfExprAST 906 Value *ForExprAST::codegen() { function in class:ForExprAST 988 Value *VarExprAST::codegen() { function in class:VarExprAST 1036 Function *PrototypeAST::codegen() { function in class:PrototypeAST 1053 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
H A D | toy.cpp | 144 virtual Value *codegen() = 0; 154 Value *codegen() override; 164 Value *codegen() override; 177 Value *codegen() override; 190 Value *codegen() override; 203 Value *codegen() override; 215 Value *codegen() override; 230 Value *codegen() override; 244 Value *codegen() override; 262 Function *codegen(); 736 Value *NumberExprAST::codegen() { function in class:NumberExprAST 740 Value *VariableExprAST::codegen() { function in class:VariableExprAST 750 Value *UnaryExprAST::codegen() { function in class:UnaryExprAST 762 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 815 Value *CallExprAST::codegen() { function in class:CallExprAST 835 Value *IfExprAST::codegen() { function in class:IfExprAST 906 Value *ForExprAST::codegen() { function in class:ForExprAST 988 Value *VarExprAST::codegen() { function in class:VarExprAST 1036 Function *PrototypeAST::codegen() { function in class:PrototypeAST 1053 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
H A D | toy.cpp | 144 virtual Value *codegen() = 0; 154 Value *codegen() override; 164 Value *codegen() override; 177 Value *codegen() override; 190 Value *codegen() override; 203 Value *codegen() override; 215 Value *codegen() override; 230 Value *codegen() override; 244 Value *codegen() override; 262 Function *codegen(); 736 Value *NumberExprAST::codegen() { function in class:NumberExprAST 740 Value *VariableExprAST::codegen() { function in class:VariableExprAST 750 Value *UnaryExprAST::codegen() { function in class:UnaryExprAST 762 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 815 Value *CallExprAST::codegen() { function in class:CallExprAST 835 Value *IfExprAST::codegen() { function in class:IfExprAST 906 Value *ForExprAST::codegen() { function in class:ForExprAST 988 Value *VarExprAST::codegen() { function in class:VarExprAST 1036 Function *PrototypeAST::codegen() { function in class:PrototypeAST 1053 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/Chapter8/ |
H A D | toy.cpp | 149 virtual Value *codegen() = 0; 159 Value *codegen() override; 169 Value *codegen() override; 182 Value *codegen() override; 195 Value *codegen() override; 208 Value *codegen() override; 220 Value *codegen() override; 235 Value *codegen() override; 249 Value *codegen() override; 267 Function *codegen(); 740 Value *NumberExprAST::codegen() { function in class:NumberExprAST 744 Value *VariableExprAST::codegen() { function in class:VariableExprAST 754 Value *UnaryExprAST::codegen() { function in class:UnaryExprAST 766 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 819 Value *CallExprAST::codegen() { function in class:CallExprAST 839 Value *IfExprAST::codegen() { function in class:IfExprAST 910 Value *ForExprAST::codegen() { function in class:ForExprAST 992 Value *VarExprAST::codegen() { function in class:VarExprAST 1040 Function *PrototypeAST::codegen() { function in class:PrototypeAST 1057 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 149 virtual Value *codegen() = 0; 159 Value *codegen() override; 169 Value *codegen() override; 182 Value *codegen() override; 195 Value *codegen() override; 208 Value *codegen() override; 220 Value *codegen() override; 235 Value *codegen() override; 249 Value *codegen() override; 267 Function *codegen(); 742 Value *NumberExprAST::codegen() { function in class:NumberExprAST 746 Value *VariableExprAST::codegen() { function in class:VariableExprAST 756 Value *UnaryExprAST::codegen() { function in class:UnaryExprAST 768 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 821 Value *CallExprAST::codegen() { function in class:CallExprAST 841 Value *IfExprAST::codegen() { function in class:IfExprAST 912 Value *ForExprAST::codegen() { function in class:ForExprAST 994 Value *VarExprAST::codegen() { function in class:VarExprAST 1042 Function *PrototypeAST::codegen() { function in class:PrototypeAST 1059 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
H A D | toy.cpp | 142 virtual Value *codegen() = 0; 152 Value *codegen() override; 162 Value *codegen() override; 175 Value *codegen() override; 188 Value *codegen() override; 201 Value *codegen() override; 213 Value *codegen() override; 228 Value *codegen() override; 242 Value *codegen() override; 260 Function *codegen(); 719 Value *NumberExprAST::codegen() { function in class:NumberExprAST 723 Value *VariableExprAST::codegen() { function in class:VariableExprAST 733 Value *UnaryExprAST::codegen() { function in class:UnaryExprAST 745 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 798 Value *CallExprAST::codegen() { function in class:CallExprAST 818 Value *IfExprAST::codegen() { function in class:IfExprAST 889 Value *ForExprAST::codegen() { function in class:ForExprAST 971 Value *VarExprAST::codegen() { function in class:VarExprAST 1019 Function *PrototypeAST::codegen() { function in class:PrototypeAST 1044 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/ |
H A D | ParallelCG.cpp | 26 static void codegen(Module *M, llvm::raw_pwrite_stream &OS, function 34 report_fatal_error("Failed to setup codegen"); 48 codegen(&M, *OSs[0], TMFactory, FileType); 62 // codegen. We do it by serializing partition modules to bitcode 89 codegen(MPartInCtx.get(), *ThreadOS, TMFactory, FileType);
|
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 142 virtual Value *codegen() = 0; 152 Value *codegen() override; 162 Value *codegen() override; 174 Value *codegen() override; 187 Value *codegen() override; 200 Value *codegen() override; 212 Value *codegen() override; 227 Value *codegen() override; 245 Function *codegen(); 269 Function *codegen(); 660 Value *NumberExprAST::codegen() { function in class:NumberExprAST 664 Value *VariableExprAST::codegen() { function in class:VariableExprAST 672 Value *UnaryExprAST::codegen() { function in class:UnaryExprAST 684 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 714 Value *CallExprAST::codegen() { function in class:CallExprAST 734 Value *IfExprAST::codegen() { function in class:IfExprAST 801 Value *ForExprAST::codegen() { function in class:ForExprAST 881 Function *PrototypeAST::codegen() { function in class:PrototypeAST 898 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 134 virtual Value *codegen() = 0; 144 Value *codegen() override; 154 Value *codegen() override; 167 Value *codegen() override; 180 Value *codegen() override; 192 Value *codegen() override; 207 Value *codegen() override; 221 Function *codegen(); 235 Function *codegen(); 558 // If not, check whether we can codegen th 568 Value *NumberExprAST::codegen() { function in class:NumberExprAST 572 Value *VariableExprAST::codegen() { function in class:VariableExprAST 580 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 602 Value *CallExprAST::codegen() { function in class:CallExprAST 622 Value *IfExprAST::codegen() { function in class:IfExprAST 689 Value *ForExprAST::codegen() { function in class:ForExprAST 769 Function *PrototypeAST::codegen() { function in class:PrototypeAST 786 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llvm-opt-fuzzer/ |
H A D | llvm-opt-fuzzer.cpp | 30 static codegen::RegisterCodeGenFlags CGF; 133 codegen::setFunctionAttributes(TM->getTargetCPU(), 219 TargetRegistry::lookupTarget(codegen::getMArch(), TargetTriple, Error); 226 codegen::InitTargetOptionsFromCodeGenFlags(TargetTriple); 228 TargetTriple.getTriple(), codegen::getCPUStr(), codegen::getFeaturesStr(), 229 Options, codegen::getExplicitRelocModel(), 230 codegen::getExplicitCodeModel(), CodeGenOpt::Default));
|
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/Chapter9/ |
H A D | toy.cpp | 207 virtual Value *codegen() = 0; 224 Value *codegen() override; 235 Value *codegen() override; 249 Value *codegen() override; 266 Value *codegen() override; 284 Value *codegen() override; 302 Value *codegen() override; 323 Value *codegen() override; 344 Value *codegen() override; 370 Function *codegen(); 901 Value *NumberExprAST::codegen() { function in class:NumberExprAST 906 Value *VariableExprAST::codegen() { function in class:VariableExprAST 917 Value *UnaryExprAST::codegen() { function in class:UnaryExprAST 930 Value *BinaryExprAST::codegen() { function in class:BinaryExprAST 985 Value *CallExprAST::codegen() { function in class:CallExprAST 1007 Value *IfExprAST::codegen() { function in class:IfExprAST 1080 Value *ForExprAST::codegen() { function in class:ForExprAST 1164 Value *VarExprAST::codegen() { function in class:VarExprAST 1214 Function *PrototypeAST::codegen() { function in class:PrototypeAST 1231 Function *FunctionAST::codegen() { function in class:FunctionAST [all...] |
/openbsd-current/gnu/llvm/llvm/tools/llc/ |
H A D | llc.cpp | 62 static codegen::RegisterCodeGenFlags CGF; 256 switch (codegen::getFileType()) { 283 switch (codegen::getFileType()) { 355 // Initialize codegen and IR passes used by llc so that the -print-after, 463 std::string CPUStr = codegen::getCPUStr(), 464 FeaturesStr = codegen::getFeaturesStr(); 468 codegen::setFunctionAttributes(CPUStr, FeaturesStr, F); 471 auto MAttrs = codegen::getMAttrs(); 498 Options = codegen::InitTargetOptionsFromCodeGenFlags(TheTriple); 521 std::optional<Reloc::Model> RM = codegen [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm-c/ |
H A D | TargetMachine.h | 140 LLVMCodeGenFileType codegen, 145 LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf);
|
/openbsd-current/gnu/llvm/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 184 LLVMCodeGenFileType codegen, 196 switch (codegen) { 218 LLVMCodeGenFileType codegen, 226 bool Result = LLVMTargetMachineEmit(T, M, dest, codegen, ErrorMessage); 232 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, 236 bool Result = LLVMTargetMachineEmit(T, M, OStream, codegen, ErrorMessage); 182 LLVMTargetMachineEmit(LLVMTargetMachineRef T, LLVMModuleRef M, raw_pwrite_stream &OS, LLVMCodeGenFileType codegen, char **ErrorMessage) argument 216 LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, const char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage) argument 231 LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, LLVMMemoryBufferRef *OutMemBuf) argument
|
/openbsd-current/gnu/llvm/llvm/tools/lto/ |
H A D | lto.cpp | 33 static codegen::RegisterCodeGenFlags CGF; 151 CG->setAttrs(codegen::getMAttrs()); 209 codegen::InitTargetOptionsFromCodeGenFlags(Triple()); 220 codegen::InitTargetOptionsFromCodeGenFlags(Triple()); 234 codegen::InitTargetOptionsFromCodeGenFlags(Triple()); 245 codegen::InitTargetOptionsFromCodeGenFlags(Triple()); 258 codegen::InitTargetOptionsFromCodeGenFlags(Triple()); 270 codegen::InitTargetOptionsFromCodeGenFlags(Triple()); 290 codegen::InitTargetOptionsFromCodeGenFlags(Triple()); 355 TargetOptions Options = codegen [all...] |
/openbsd-current/gnu/llvm/llvm/utils/ |
H A D | codegen-diff | 83 codegen-diff 87 codegen-diff [-d] I<OBJDUMP-OUTPUT-FILE> I<GDB-DISASSEMBLY-FILE> 91 B<codegen-diff> is a program that tries to show you the differences 106 Finally, you run B<codegen-diff>, as indicated in the Synopsis section of 125 B<codegen-diff> was written by Brian Gaeke.
|
/openbsd-current/gnu/llvm/llvm/tools/opt/ |
H A D | opt.cpp | 64 static codegen::RegisterCodeGenFlags CFG; 175 "codegen-opt-level", 176 cl::desc("Override optimization level for codegen hooks, legacy PM only")); 305 TargetRegistry::lookupTarget(codegen::getMArch(), TheTriple, Error); 312 TheTriple.getTriple(), codegen::getCPUStr(), codegen::getFeaturesStr(), 313 Options, codegen::getExplicitRelocModel(), 314 codegen::getExplicitCodeModel(), GetCodeGenOptLevel()); 335 // For use in NPM transition. Currently this contains most codegen-specific 337 // TODO: use a codegen versio [all...] |
/openbsd-current/gnu/llvm/llvm/tools/lli/ |
H A D | lli.cpp | 90 static codegen::RegisterCodeGenFlags CGF; 482 builder.setMArch(codegen::getMArch()); 483 builder.setMCPU(codegen::getCPUStr()); 484 builder.setMAttrs(codegen::getFeatureList()); 485 if (auto RM = codegen::getExplicitRelocModel()) 487 if (auto CM = codegen::getExplicitCodeModel()) 519 codegen::InitTargetOptionsFromCodeGenFlags(Triple(TargetTriple)); 520 if (codegen::getFloatABIForCalls() != FloatABI::Default) 521 Options.FloatABIType = codegen::getFloatABIForCalls(); 860 if (!codegen [all...] |
/openbsd-current/gnu/usr.bin/clang/include/clang/Basic/ |
H A D | Makefile | 98 ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-mve-builtin-codegen \ 114 ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-sve-builtin-codegen \ 130 ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-arm-cde-builtin-codegen \ 146 ${TBLGEN} -I${CLANG_INC}/clang/Basic -gen-riscv-vector-builtin-codegen \
|