| /freebsd/contrib/llvm-project/llvm/include/llvm/ |
| H A D | LinkAllPasses.h | 50 namespace llvm { 67 (void)llvm::createAtomicExpandLegacyPass(); in ForcePassLinking() 68 (void)llvm::createBasicAAWrapperPass(); in ForcePassLinking() 69 (void)llvm::createSCEVAAWrapperPass(); in ForcePassLinking() 70 (void)llvm::createTypeBasedAAWrapperPass(); in ForcePassLinking() 71 (void)llvm::createScopedNoAliasAAWrapperPass(); in ForcePassLinking() 72 (void)llvm::createBreakCriticalEdgesPass(); in ForcePassLinking() 73 (void)llvm::createCallGraphDOTPrinterPass(); in ForcePassLinking() 74 (void)llvm::createCallGraphViewerPass(); in ForcePassLinking() 75 (void)llvm::createCFGSimplificationPass(); in ForcePassLinking() [all …]
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | TableGenBackends.h | 20 namespace llvm { 27 void EmitClangDeclContext(const llvm::RecordKeeper &RK, llvm::raw_ostream &OS); 35 void EmitClangASTNodes(const llvm::RecordKeeper &RK, llvm::raw_ostream &OS, 38 void EmitClangBasicReader(const llvm::RecordKeeper &Records, 39 llvm::raw_ostream &OS); 40 void EmitClangBasicWriter(const llvm::RecordKeeper &Records, 41 llvm::raw_ostream &OS); 42 void EmitClangTypeNodes(const llvm::RecordKeeper &Records, 43 llvm::raw_ostream &OS); 44 void EmitClangTypeReader(const llvm::RecordKeeper &Records, [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 622 …foIjEENS1_IcEEE6insertERKSt4pairIjcE", "llvm::DenseMap<unsigned int, char, llvm::DenseMapInfo<unsi… 623 …6InsertIntoBucketERKjRKcPSt4pairIjcE", "llvm::DenseMap<unsigned int, char, llvm::DenseMapInfo<unsi… 624 …S_12DenseMapInfoIjEENS1_IcEEE4growEj", "llvm::DenseMap<unsigned int, char, llvm::DenseMapInfo<unsi… 625 …9MachinePassRegistry3AddEPNS_23MachinePassRegistryNodeE", "llvm::MachinePassRegistry::Add(llvm::Ma… 626 {"_ZN4llvm2cl6valuesIiEENS0_11ValuesClassIT_EEPKcS3_S6_z", "llvm::cl::ValuesClass<int> llvm::cl::va… 627 {"_ZN4llvm2cl11ValuesClassIiEC2EPKciS4_P13__va_list_tag", "llvm::cl::ValuesClass<int>::ValuesClass(… 628 {"_ZN4llvm24PassRegistrationListenerC2Ev", "llvm::PassRegistrationListener::PassRegistrationListene… 629 {"_ZN4llvm24PassRegistrationListener15enumeratePassesEv", "llvm::PassRegistrationListener::enumerat… 630 {"_ZN4llvm12PassRegistry15getPassRegistryEv", "llvm::PassRegistry::getPassRegistry()"}, 631 {"_ZNK4llvm12PassRegistry7getImplEv", "llvm::PassRegistry::getImpl() const"}, [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 37 namespace llvm { 65 const llvm::codegenoptions::DebugInfoKind DebugKind; 67 llvm::DIBuilder DBuilder; 68 llvm::DICompileUnit *TheCU = nullptr; 72 llvm::MDNode *CurInlinedAt = nullptr; 73 llvm::DIType *VTablePtrType = nullptr; 74 llvm::DIType *ClassTy = nullptr; 75 llvm::DICompositeType *ObjTy = nullptr; 76 llvm::DIType *SelTy = nullptr; 78 llvm::DIType *SingletonId = nullptr; [all …]
|
| H A D | CodeGenModule.h | 43 namespace llvm { 169 llvm::FunctionCallee objc_alloc; 172 llvm::FunctionCallee objc_allocWithZone; 175 llvm::FunctionCallee objc_alloc_init; 178 llvm::FunctionCallee objc_autoreleasePoolPop; 182 llvm::FunctionCallee objc_autoreleasePoolPopInvoke; 185 llvm::Function *objc_autoreleasePoolPush; 188 llvm::Function *objc_autorelease; 192 llvm::FunctionCallee objc_autoreleaseRuntimeFunction; 195 llvm::Function *objc_autoreleaseReturnValue; [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | llvm-pdbutil.h | 1 //===- llvm-pdbutil.h ----------------------------------------- *- C++ --*-===// 4 // See https://llvm.org/LICENSE.txt for license information. 12 #include "llvm/ADT/PointerUnion.h" 13 #include "llvm/DebugInfo/PDB/Native/LinePrinter.h" 14 #include "llvm/Support/CommandLine.h" 15 #include "llvm/Support/raw_ostream.h" 20 namespace llvm { 30 typedef llvm::PointerUnion<object::COFFObjectFile *, pdb::PDBFile *> 73 const std::unique_ptr<llvm::pdb::PDBSymbolFunc> &F1, 74 const std::unique_ptr<llvm [all...] |
| /freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | CommonArgs.h | 31 const llvm::opt::ArgList &Args, 32 llvm::opt::ArgStringList &CmdArgs, const JobAction &JA); 34 const char *getLDMOption(const llvm::Triple &T, const llvm::opt::ArgList &Args); 37 const llvm::opt::ArgList &Args, 38 llvm::opt::ArgStringList &CmdArgs); 40 void claimNoWarnArgs(const llvm::opt::ArgList &Args); 42 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args, 43 llvm::opt::ArgStringList &CmdArgs); 46 const llvm::opt::ArgList &Args, 47 llvm::opt::ArgStringList &CmdArgs); [all …]
|
| H A D | ToolChain.h | 36 namespace llvm { 141 llvm::Triple Triple; 142 const llvm::opt::ArgList &Args; 145 const llvm::opt::Arg *const CachedRTTIArg; 184 mutable llvm::Triple EffectiveTriple; 187 void setEffectiveTriple(llvm::Triple ET) const { in setEffectiveTriple() 200 llvm::SmallVector<Multilib> SelectedMultilibs; 202 ToolChain(const Driver &D, const llvm::Triple &T, 203 const llvm::opt::ArgList &Args); 206 llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>> [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
| H A D | RegisterUtilities.h | 82 llvm::Triple::OSType OS; 86 llvm::Triple::ArchType Arch; 98 DataExtractor getRegset(llvm::ArrayRef<CoreNote> Notes, 99 const llvm::Triple &Triple, 100 llvm::ArrayRef<RegsetDesc> RegsetDescs); 105 {llvm::Triple::FreeBSD, llvm::Triple::x86, llvm::ELF::NT_X86_XSTATE}, 106 {llvm::Triple::FreeBSD, llvm::Triple::UnknownArch, llvm::ELF::NT_FPREGSET}, 110 {llvm::Triple::Linux, llvm::Triple::x86, llvm::ELF::NT_PRXFPREG}, 111 {llvm::Triple::Linux, llvm::Triple::UnknownArch, llvm::ELF::NT_FPREGSET}, 112 {llvm::Triple::NetBSD, llvm::Triple::aarch64, NETBSD::AARCH64::NT_FPREGS}, [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
| H A D | RegisterContextMinidump_x86_64.h | 35 ConvertMinidumpContext_x86_64(llvm::ArrayRef<uint8_t> source_data, 39 llvm::support::ulittle64_t high; 40 llvm::support::ulittle64_t low; 45 llvm::support::ulittle16_t control_word; 46 llvm::support::ulittle16_t status_word; 49 llvm::support::ulittle16_t error_opcode; 50 llvm::support::ulittle32_t error_offset; 51 llvm::support::ulittle16_t error_selector; 52 llvm::support::ulittle16_t reserved2; 53 llvm::support::ulittle32_t data_offset; [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | ArchSpec.cpp | 36 llvm::Triple::ArchType machine; 45 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_generic, 47 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4, 49 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4t, 51 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5, 53 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5e, 55 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5t, 57 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6, 59 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6m, 61 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv7, [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | Wasm.cpp | 35 using Driver = bool (*)(llvm::ArrayRef<const char *>, llvm::raw_ostream &, 36 llvm::raw_ostream &, bool, bool); 48 Result lldMain(llvm::ArrayRef<const char *> args, llvm::raw_ostream &stdoutOS, 49 llvm::raw_ostream &stderrOS, llvm::ArrayRef<DriverDef> drivers); 52 bool link(llvm::ArrayRef<const char *> args, llvm::raw_ostream &stdoutOS, 53 llvm::raw_ostream &stderrOS, bool exitEarly, bool disableOutput); 62 llvm::orc::ThreadSafeContext &TSC) in WasmIncrementalExecutor() 65 llvm::Error WasmIncrementalExecutor::addModule(PartialTranslationUnit &PTU) { in addModule() 68 const llvm::Target *Target = llvm::TargetRegistry::lookupTarget( in addModule() 71 return llvm::make_error<llvm::StringError>("Failed to create Wasm Target: ", in addModule() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/ |
| H A D | EmulateInstructionMIPS.h | 13 namespace llvm { 37 static llvm::StringRef GetPluginNameStatic() { return "mips32"; } in GetPluginNameStatic() 39 static llvm::StringRef GetPluginDescriptionStatic(); 59 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); } in GetPluginName() 93 bool (EmulateInstructionMIPS::*callback)(llvm::MCInst &insn); 97 static MipsOpcode *GetOpcodeForInstruction(llvm::StringRef name); 102 bool Emulate_ADDiu(llvm::MCInst &insn); 104 bool Emulate_SUBU_ADDU(llvm::MCInst &insn); 106 bool Emulate_LUI(llvm::MCInst &insn); 108 bool Emulate_SW(llvm::MCInst &insn); [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Trace.h | 4 // See https://llvm.org/LICENSE.txt for license information. 15 #include "llvm/Support/JSON.h" 75 /// llvm::Error otherwise. 76 virtual llvm::Expected<FileSpec> SaveToDisk(FileSpec directory, 114 static llvm::Expected<lldb::TraceSP> 116 const llvm::json::Value &bundle_description, 117 llvm::StringRef session_file_dir); 128 /// A \a TraceSP instance, or an \a llvm::Error if the plug-in name 131 static llvm::Expected<lldb::TraceSP> 132 FindPluginForLiveProcess(llvm [all...] |
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Targets.cpp | 112 std::unique_ptr<TargetInfo> AllocateTarget(const llvm::Triple &Triple, in AllocateTarget() 114 llvm::Triple::OSType os = Triple.getOS(); in AllocateTarget() 120 case llvm::Triple::arc: in AllocateTarget() 123 case llvm::Triple::xcore: in AllocateTarget() 126 case llvm::Triple::hexagon: in AllocateTarget() 127 if (os == llvm::Triple::Linux && in AllocateTarget() 128 Triple.getEnvironment() == llvm::Triple::Musl) in AllocateTarget() 132 case llvm::Triple::lanai: in AllocateTarget() 135 case llvm::Triple::aarch64_32: in AllocateTarget() 142 case llvm::Triple::aarch64: in AllocateTarget() [all …]
|
| H A D | TargetID.cpp | 19 static llvm::SmallVector<llvm::StringRef, 4> 20 getAllPossibleAMDGPUTargetIDFeatures(const llvm::Triple &T, in getAllPossibleAMDGPUTargetIDFeatures() 21 llvm::StringRef Proc) { in getAllPossibleAMDGPUTargetIDFeatures() 23 llvm::SmallVector<llvm::StringRef, 4> Ret; in getAllPossibleAMDGPUTargetIDFeatures() 24 auto ProcKind = T.isAMDGCN() ? llvm::AMDGPU::parseArchAMDGCN(Proc) in getAllPossibleAMDGPUTargetIDFeatures() 25 : llvm::AMDGPU::parseArchR600(Proc); in getAllPossibleAMDGPUTargetIDFeatures() 26 if (ProcKind == llvm::AMDGPU::GK_NONE) in getAllPossibleAMDGPUTargetIDFeatures() 28 auto Features = T.isAMDGCN() ? llvm::AMDGPU::getArchAttrAMDGCN(ProcKind) in getAllPossibleAMDGPUTargetIDFeatures() 29 : llvm::AMDGPU::getArchAttrR600(ProcKind); in getAllPossibleAMDGPUTargetIDFeatures() 30 if (Features & llvm::AMDGPU::FEATURE_SRAMECC) in getAllPossibleAMDGPUTargetIDFeatures() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.h | 73 namespace llvm { 81 llvm::StringRef Description; 83 llvm::SmallVector<llvm::MCInst, 16> Instructions; 85 llvm::SMLoc RangeStart; 86 llvm::SMLoc RangeEnd; 92 CodeRegion(llvm::StringRef Desc, llvm::SMLoc Start) in CodeRegion() 97 void addInstruction(const llvm::MCInst &Instruction) { in addInstruction() 103 [[nodiscard]] llvm::ArrayRef<llvm::MCInst> 104 dropInstructions(const llvm::SmallPtrSetImpl<const llvm::MCInst *> &Insts) { in dropInstructions() 107 llvm::erase_if(Instructions, [&Insts](const llvm::MCInst &Inst) { in dropInstructions() [all …]
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | Config.h | 29 namespace llvm { 39 using NamePair = std::pair<llvm::StringRef, llvm::StringRef>; 40 using SectionRenameMap = llvm::DenseMap<NamePair, NamePair>; 41 using SegmentRenameMap = llvm::DenseMap<llvm::StringRef, llvm::StringRef>; 44 llvm::MachO::Target target; 45 llvm::VersionTuple sdk; 48 inline uint32_t encodeVersion(const llvm::VersionTuple &version) { in encodeVersion() 81 llvm::StringRef segName; 82 llvm::StringRef sectName; 87 llvm::StringRef name; [all …]
|
| /freebsd/contrib/llvm-project/ |
| H A D | FREEBSD-Xlist | 324 libc/include/llvm-libc-macros/CMakeLists.txt 325 libc/include/llvm-libc-macros/baremetal/CMakeLists.txt 326 libc/include/llvm-libc-macros/gpu/CMakeLists.txt 327 libc/include/llvm-libc-macros/linux/CMakeLists.txt 328 libc/include/llvm-libc-macros/windows/CMakeLists.txt 329 libc/include/llvm-libc-types/CMakeLists.txt 755 llvm/.clang-format 756 llvm/.clang-tidy 757 llvm/.gitattributes 758 llvm/.gitignore [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | AMDGPU.cpp | 40 llvm::AMDGPUAS::FLAT_ADDRESS, // Default 41 llvm::AMDGPUAS::GLOBAL_ADDRESS, // opencl_global 42 llvm::AMDGPUAS::LOCAL_ADDRESS, // opencl_local 43 llvm::AMDGPUAS::CONSTANT_ADDRESS, // opencl_constant 44 llvm::AMDGPUAS::PRIVATE_ADDRESS, // opencl_private 45 llvm::AMDGPUAS::FLAT_ADDRESS, // opencl_generic 46 llvm::AMDGPUAS::GLOBAL_ADDRESS, // opencl_global_device 47 llvm::AMDGPUAS::GLOBAL_ADDRESS, // opencl_global_host 48 llvm::AMDGPUAS::GLOBAL_ADDRESS, // cuda_device 49 llvm::AMDGPUAS::CONSTANT_ADDRESS, // cuda_constant [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | PluginManager.h | 56 llvm::StringRef name = ""; 57 llvm::StringRef description = ""; 73 using SetPluginEnabled = std::function<bool(llvm::StringRef, bool)>; 75 llvm::StringRef name; 89 static llvm::ArrayRef<PluginNamespace> GetPluginNamespaces(); 109 static llvm::json::Object GetJSON(llvm::StringRef pattern = ""); 118 static bool MatchPluginName(llvm::StringRef pattern, 123 static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, 131 static void RegisterPlugin(llvm::StringRef name, llvm::StringRef description, 140 static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Protocol/MCP/ |
| H A D | Protocol.h | 24 static llvm::StringLiteral kVersion = "2024-11-05"; 30 std::optional<llvm::json::Value> params; 33 llvm::json::Value toJSON(const Request &); 34 bool fromJSON(const llvm::json::Value &, Request &, llvm::json::Path); 42 llvm::json::Value toJSON(const ErrorInfo &); 43 bool fromJSON(const llvm::json::Value &, ErrorInfo &, llvm::json::Path); 50 llvm::json::Value toJSON(const Error &); 51 bool fromJSON(const llvm::json::Value &, Error &, llvm::json::Path); 55 std::optional<llvm::json::Value> result; 59 llvm::json::Value toJSON(const Response &); [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
| H A D | Lua.cpp | 47 llvm::Error Lua::Run(llvm::StringRef buffer) { in Run() 52 return llvm::Error::success(); in Run() 54 llvm::Error e = llvm::make_error<llvm::StringError>( in Run() 55 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), in Run() 56 llvm::inconvertibleErrorCode()); in Run() 62 llvm::Error Lua::RegisterBreakpointCallback(void *baton, const char *body) { in RegisterBreakpointCallback() 65 std::string func_str = llvm::formatv(fmt_str, body).str(); in RegisterBreakpointCallback() 67 llvm::Error e = llvm::make_error<llvm::StringError>( in RegisterBreakpointCallback() 68 llvm::formatv("{0}", lua_tostring(m_lua_state, -1)), in RegisterBreakpointCallback() 69 llvm::inconvertibleErrorCode()); in RegisterBreakpointCallback() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/ |
| H A D | module.modulemap | 2 umbrella "llvm-c" 8 umbrella "llvm/Analysis" 12 textual header "llvm/Analysis/ScalarFuncs.def" 13 textual header "llvm/Analysis/TargetLibraryInfo.def" 14 textual header "llvm/Analysis/VecFuncs.def" 19 umbrella "llvm/AsmParser" 27 header "llvm/CodeGenTypes/LowLevelType.h" export * 30 header "llvm/CodeGenTypes/MachineValueType.h" export * 41 umbrella "llvm/CodeGen" 46 exclude header "llvm/CodeGen/LinkAllAsmWriterComponents.h" [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/ |
| H A D | EmulateInstructionMIPS64.h | 17 namespace llvm { 35 static llvm::StringRef GetPluginNameStatic() { return "mips64"; } in GetPluginNameStatic() 37 static llvm::StringRef GetPluginDescriptionStatic(); 57 llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); } in GetPluginName() 85 bool (EmulateInstructionMIPS64::*callback)(llvm::MCInst &insn); 89 static MipsOpcode *GetOpcodeForInstruction(llvm::StringRef op_name); 91 bool Emulate_DADDiu(llvm::MCInst &insn); 93 bool Emulate_DSUBU_DADDU(llvm::MCInst &insn); 95 bool Emulate_LUI(llvm::MCInst &insn); 97 bool Emulate_SD(llvm::MCInst &insn); [all …]
|