Home
last modified time | relevance | path

Searched refs:llvm (Results 1 – 25 of 5660) sorted by relevance

12345678910>>...227

/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DTableGenBackends.h20 namespace llvm {
27 void EmitClangDeclContext(llvm::RecordKeeper &RK, llvm::raw_ostream &OS);
35 void EmitClangASTNodes(llvm::RecordKeeper &RK, llvm::raw_ostream &OS,
38 void EmitClangBasicReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
39 void EmitClangBasicWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
40 void EmitClangTypeNodes(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
41 void EmitClangTypeReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
42 void EmitClangTypeWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
43 void EmitClangAttrParserStringSwitches(llvm::RecordKeeper &Records,
44 llvm::raw_ostream &OS);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/
H A DLinkAllPasses.h62 (void)llvm::createAtomicExpandLegacyPass(); in ForcePassLinking()
63 (void) llvm::createBasicAAWrapperPass(); in ForcePassLinking()
64 (void) llvm::createSCEVAAWrapperPass(); in ForcePassLinking()
65 (void) llvm::createTypeBasedAAWrapperPass(); in ForcePassLinking()
66 (void) llvm::createScopedNoAliasAAWrapperPass(); in ForcePassLinking()
67 (void) llvm::createBreakCriticalEdgesPass(); in ForcePassLinking()
68 (void) llvm::createCallGraphDOTPrinterPass(); in ForcePassLinking()
69 (void) llvm::createCallGraphViewerPass(); in ForcePassLinking()
70 (void) llvm::createCFGSimplificationPass(); in ForcePassLinking()
71 (void) llvm::createStructurizeCFGPass(); in ForcePassLinking()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h36 namespace llvm {
62 const llvm::codegenoptions::DebugInfoKind DebugKind;
64 llvm::DIBuilder DBuilder;
65 llvm::DICompileUnit *TheCU = nullptr;
69 llvm::MDNode *CurInlinedAt = nullptr;
70 llvm::DIType *VTablePtrType = nullptr;
71 llvm::DIType *ClassTy = nullptr;
72 llvm::DICompositeType *ObjTy = nullptr;
73 llvm::DIType *SelTy = nullptr;
75 llvm::DIType *SingletonId = nullptr;
[all …]
H A DCodeGenModule.h42 namespace llvm {
124 llvm::FunctionCallee objc_alloc;
127 llvm::FunctionCallee objc_allocWithZone;
130 llvm::FunctionCallee objc_alloc_init;
133 llvm::FunctionCallee objc_autoreleasePoolPop;
137 llvm::FunctionCallee objc_autoreleasePoolPopInvoke;
140 llvm::Function *objc_autoreleasePoolPush;
143 llvm::Function *objc_autorelease;
147 llvm::FunctionCallee objc_autoreleaseRuntimeFunction;
150 llvm::Function *objc_autoreleaseReturnValue;
[all …]
H A DCGCUDANV.cpp40 llvm::IntegerType *IntTy, *SizeTy;
41 llvm::Type *VoidTy;
42 llvm::PointerType *PtrTy;
45 llvm::LLVMContext &Context;
47 llvm::Module &TheModule;
50 llvm::Function *Kernel; // stub function to help launch kernel
53 llvm::SmallVector<KernelInfo, 16> EmittedKernels;
57 llvm::DenseMap<StringRef, llvm::GlobalValue *> KernelHandles;
59 llvm::DenseMap<llvm::GlobalValue *, llvm::Function *> KernelStubs;
61 llvm::GlobalVariable *Var;
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h1 //===- 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/lib/Driver/ToolChains/
H A DCommonArgs.h31 const llvm::opt::ArgList &Args,
32 llvm::opt::ArgStringList &CmdArgs, const JobAction &JA);
35 const llvm::opt::ArgList &Args,
36 llvm::opt::ArgStringList &CmdArgs);
38 void claimNoWarnArgs(const llvm::opt::ArgList &Args);
40 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args,
41 llvm::opt::ArgStringList &CmdArgs);
44 const llvm::opt::ArgList &Args,
45 llvm::opt::ArgStringList &CmdArgs);
47 bool addXRayRuntime(const ToolChain &TC, const llvm::opt::ArgList &Args,
[all …]
H A DClang.h34 static const char *getBaseInputName(const llvm::opt::ArgList &Args,
36 static const char *getBaseInputStem(const llvm::opt::ArgList &Args,
38 static const char *getDependencyFileName(const llvm::opt::ArgList &Args,
43 const Driver &D, const llvm::opt::ArgList &Args,
44 llvm::opt::ArgStringList &CmdArgs,
48 void RenderTargetOptions(const llvm::Triple &EffectiveTriple,
49 const llvm::opt::ArgList &Args, bool KernelOrKext,
50 llvm::opt::ArgStringList &CmdArgs) const;
52 void AddAArch64TargetArgs(const llvm::opt::ArgList &Args,
53 llvm::opt::ArgStringList &CmdArgs) const;
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DRegisterContextMinidump_x86_64.h35 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/
H A DFREEBSD-Xlist515 llvm/.clang-format
516 llvm/.clang-tidy
517 llvm/.gitattributes
518 llvm/.gitignore
519 llvm/CMakeLists.txt
520 llvm/CODE_OWNERS.TXT
521 llvm/CREDITS.TXT
522 llvm/README.txt
523 llvm/RELEASE_TESTERS.TXT
524 llvm/benchmarks/
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DArchSpec.cpp35 llvm::Triple::ArchType machine;
44 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_generic,
46 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4,
48 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4t,
50 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5,
52 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5e,
54 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5t,
56 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6,
58 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6m,
60 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv7,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.h13 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 DTrace.h4 // 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/Interpreter/
H A DWasm.cpp35 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/clang/lib/Basic/
H A DTargets.cpp112 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()
140 case llvm::Triple::aarch64: in AllocateTarget()
[all …]
H A DTargetID.cpp19 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 DCodeRegion.h73 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/ELF/
H A DConfig.h109 llvm::StringRef name;
117 llvm::StringRef name;
130 void createFiles(llvm::opt::InputArgList &args);
132 template <class ELFT> void link(llvm::opt::InputArgList &args);
157 llvm::CachePruningPolicy thinLTOCachePolicy;
158 llvm::SetVector<llvm::CachedHashString> dependencyFiles; // for --dependency-file
159 llvm::StringMap<uint64_t> sectionStartMap;
160 llvm::StringRef bfdname;
161 llvm::StringRef chroot;
162 llvm::StringRef dependencyFile;
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DRegisterUtilities.h4 // See https://llvm.org/LICENSE.txt for license information.
14 #include "llvm/BinaryFormat/ELF.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
[all...]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h40 class CompoundValData : public llvm::FoldingSetNode {
42 llvm::ImmutableList<SVal> L;
45 CompoundValData(QualType t, llvm::ImmutableList<SVal> l) : T(t), L(l) { in CompoundValData()
49 using iterator = llvm::ImmutableList<SVal>::iterator;
56 static void Profile(llvm::FoldingSetNodeID& ID, QualType T,
57 llvm::ImmutableList<SVal> L);
59 void Profile(llvm::FoldingSetNodeID& ID) { Profile(ID, T, L); } in Profile()
62 class LazyCompoundValData : public llvm::FoldingSetNode {
79 static void Profile(llvm::FoldingSetNodeID& ID,
83 void Profile(llvm::FoldingSetNodeID& ID) { Profile(ID, store, region); } in Profile()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp47 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/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.h17 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 …]
/freebsd/contrib/llvm-project/llvm/include/
H A Dmodule.modulemap2 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/lld/MachO/
H A DConfig.h29 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()
80 llvm::StringRef segName;
81 llvm::StringRef sectName;
86 llvm::StringRef name;
[all …]
/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DLLVM.h24 namespace llvm {
61 llvm::raw_ostream &outs();
62 llvm::raw_ostream &errs();
65 using llvm::cast;
66 using llvm::cast_or_null;
67 using llvm::dyn_cast;
68 using llvm::dyn_cast_or_null;
69 using llvm::isa;
72 using llvm::ArrayRef;
73 using llvm::MutableArrayRef;
[all …]

12345678910>>...227