Home
last modified time | relevance | path

Searched refs:Program (Results 1 – 25 of 187) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DBugDriver.cpp61 Program = std::move(M); in setNewProgram()
81 Program(nullptr), Interpreter(nullptr), SafeInterpreter(nullptr), in BugDriver()
122 std::unique_ptr<Module> OldProgram = std::move(Program); in swapProgramIn()
123 Program = std::move(M); in swapProgramIn()
133 assert(!Program && "Cannot call addSources multiple times!"); in addSources()
137 Program = parseInputFile(Filenames[0], Context); in addSources()
138 if (!Program) in addSources()
149 if (Linker::linkModules(*Program, std::move(M))) in addSources()
178 if (runPasses(*Program, PassesToRun)) in run()
188 if (Error E = compileProgram(*Program)) { in run()
[all …]
H A DFindBugs.cpp34 if (Error E = createReferenceFile(*Program)) in runManyPasses()
55 if (runPasses(*Program, PassesToRun, Filename, false)) { in runManyPasses()
67 if (Error E = compileProgram(*Program)) { in runManyPasses()
79 Expected<bool> Diff = diffProgram(*Program, Filename, "", false); in runManyPasses()
H A DBugDriver.h48 std::unique_ptr<Module> Program; // The raw program, linked together
117 Module &getProgram() const { return *Program; }
139 /// This method runs "Program", capturing the output of the program to a file.
141 Expected<std::string> executeProgram(const Module &Program,
151 executeProgramSafely(const Module &Program,
164 Expected<bool> diffProgram(const Module &Program,
173 /// This method clones the current Program and deletes the specified
181 /// This method clones the current Program and performs a series of cleanups
209 /// runPasses - Run the specified passes on Program, outputting a bitcode
218 bool runPasses(Module &Program, cons
49 std::unique_ptr<Module> Program; // The raw program, linked together global() variable
[all...]
H A DExecutionDriver.cpp19 #include "llvm/Support/Program.h"
279 /// This method runs "Program", capturing the output of the program to a file,
282 Expected<std::string> BugDriver::executeProgram(const Module &Program, in executeProgram() argument
304 if (writeProgramToFile(BitcodeFile, UniqueFD, Program)) { in executeProgram()
346 "*** Program execution timed out! This mechanism is designed to " in executeProgram()
370 BugDriver::executeProgramSafely(const Module &Program, in executeProgramSafely() argument
372 return executeProgram(Program, OutputFile, "", "", SafeInterpreter); in executeProgramSafely()
401 if (Error E = compileProgram(*Program)) in createReferenceFile()
404 Expected<std::string> Result = executeProgramSafely(*Program, Filename); in createReferenceFile()
427 Expected<bool> BugDriver::diffProgram(const Module &Program, in diffProgram() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerEmitter.cpp131 if (!P.Program) in writeParts()
134 Header.Version = dxbc::ProgramHeader::getVersion(P.Program->MajorVersion, in writeParts()
135 P.Program->MinorVersion); in writeParts()
137 Header.ShaderKind = P.Program->ShaderKind; in writeParts()
139 Header.Bitcode.MajorVersion = P.Program->DXILMajorVersion; in writeParts()
140 Header.Bitcode.MinorVersion = P.Program->DXILMinorVersion; in writeParts()
144 if (P.Program->DXILOffset) in writeParts()
145 Header.Bitcode.Offset = *P.Program->DXILOffset; in writeParts()
149 if (P.Program->DXILSize) in writeParts()
150 Header.Bitcode.Size = *P.Program->DXILSize; in writeParts()
[all …]
H A DDXContainerYAML.cpp105 IO &IO, DXContainerYAML::DXILProgram &Program) { in mapping() argument
106 IO.mapRequired("MajorVersion", Program.MajorVersion); in mapping()
107 IO.mapRequired("MinorVersion", Program.MinorVersion); in mapping()
108 IO.mapRequired("ShaderKind", Program.ShaderKind); in mapping()
109 IO.mapOptional("Size", Program.Size); in mapping()
110 IO.mapRequired("DXILMajorVersion", Program.DXILMajorVersion); in mapping()
111 IO.mapRequired("DXILMinorVersion", Program.DXILMinorVersion); in mapping()
112 IO.mapOptional("DXILSize", Program.DXILSize); in mapping()
113 IO.mapOptional("DXIL", Program.DXIL); in mapping()
195 IO.mapOptional("Program", P.Program); in mapping()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DProgram.cpp25 static bool Execute(ProcessInfo &PI, StringRef Program,
32 int sys::ExecuteAndWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteAndWait() argument
41 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteAndWait()
57 ProcessInfo sys::ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteNoWait() argument
67 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg, in ExecuteNoWait()
75 bool sys::commandLineFitsWithinSystemLimits(StringRef Program, in commandLineFitsWithinSystemLimits() argument
81 return commandLineFitsWithinSystemLimits(Program, StringRefArgs); in commandLineFitsWithinSystemLimits()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A DTHIRDPARTYLICENSE.gplv264 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
74 running the Program is not restricted, and the output from the Program
76 Program (independent of having been made by running the Program).
77 Whether that is true depends on what the Program does.
79 1. You may copy and distribute verbatim copies of the Program's
84 and give any other recipients of the Program a copy of this License
85 along with the Program.
[all …]
/freebsd/gnu/
H A DCOPYING64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
74 running the Program is not restricted, and the output from the Program
76 Program (independent of having been made by running the Program).
77 Whether that is true depends on what the Program does.
79 1. You may copy and distribute verbatim copies of the Program's
84 and give any other recipients of the Program a copy of this License
85 along with the Program.
[all …]
/freebsd/contrib/diff/
H A DCOPYING64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
74 running the Program is not restricted, and the output from the Program
76 Program (independent of having been made by running the Program).
77 Whether that is true depends on what the Program does.
79 1. You may copy and distribute verbatim copies of the Program's
84 and give any other recipients of the Program a copy of this License
85 along with the Program.
[all …]
/freebsd/sys/contrib/zstd/
H A DCOPYING64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
74 running the Program is not restricted, and the output from the Program
76 Program (independent of having been made by running the Program).
77 Whether that is true depends on what the Program does.
79 1. You may copy and distribute verbatim copies of the Program's
84 and give any other recipients of the Program a copy of this License
85 along with the Program.
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp21 unsigned Program::getOrCreateNativePointer(const void *Ptr) { in getOrCreateNativePointer()
32 const void *Program::getNativePointer(unsigned Idx) { in getNativePointer()
36 unsigned Program::createGlobalString(const StringLiteral *S) { in createGlobalString()
104 Pointer Program::getPtrGlobal(unsigned Idx) const { in getPtrGlobal()
109 std::optional<unsigned> Program::getGlobal(const ValueDecl *VD) { in getGlobal()
129 std::optional<unsigned> Program::getGlobal(const Expr *E) { in getGlobal()
135 std::optional<unsigned> Program::getOrCreateGlobal(const ValueDecl *VD, in getOrCreateGlobal()
147 std::optional<unsigned> Program::getOrCreateDummy(const ValueDecl *VD) { in getOrCreateDummy()
182 std::optional<unsigned> Program::createGlobal(const ValueDecl *VD, in createGlobal()
204 std::optional<unsigned> Program::createGlobal(const Expr *E) { in createGlobal()
[all …]
H A DProgram.h39 class Program final {
41 Program(Context &Ctx) : Ctx(Ctx) {} in Program() function
43 ~Program() { in ~Program()
135 DeclScope(Program &P, const ValueDecl *VD) : P(P) { in DeclScope()
141 Program &P;
H A DContext.h30 class Program; variable
105 Program &getProgram() const { return *P.get(); } in getProgram()
123 std::unique_ptr<Program> P;
H A DDisasm.cpp35 template <typename T> inline T ReadArg(Program &P, CodePtr &OpPC) { in ReadArg()
44 template <> inline Floating ReadArg<Floating>(Program &P, CodePtr &OpPC) { in ReadArg()
51 inline IntegralAP<false> ReadArg<IntegralAP<false>>(Program &P, CodePtr &OpPC) { in ReadArg()
58 inline IntegralAP<true> ReadArg<IntegralAP<true>>(Program &P, CodePtr &OpPC) { in ReadArg()
95 LLVM_DUMP_METHOD void Program::dump() const { dump(llvm::errs()); } in dump()
133 LLVM_DUMP_METHOD void Program::dump(llvm::raw_ostream &OS) const { in dump()
H A DFunction.h27 class Program; variable
211 Function(Program &P, const FunctionDecl *F, unsigned ArgSize,
233 friend class Program;
237 Program &P;
H A DEvalEmitter.h27 class Program; variable
47 EvalEmitter(Context &Ctx, Program &P, State &Parent, InterpStack &Stk);
92 Program &P;
H A DByteCodeEmitter.h37 ByteCodeEmitter(Context &Ctx, Program &P) : Ctx(Ctx), P(P) {} in ByteCodeEmitter()
76 Program &P;
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestEnable.java52 Program p0 = consumer.compile("dtrace:::BEGIN"); in main()
53 Program p1 = consumer.compile("syscall:::entry"); in main()
54 Program p2 = consumer.compile("dtrace:::END"); in main()
91 Program p3 = consumer.compile("syscall:::return"); in main()
118 Program p3x = consumer2.compile("syscall:::return"); in main()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DProgram.h105 StringRef Program, ///< Path of the program to be executed. It is
150 StringRef Program, ArrayRef<StringRef> Args,
162 bool commandLineFitsWithinSystemLimits(StringRef Program,
167 bool commandLineFitsWithinSystemLimits(StringRef Program,
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/
H A DLICENSE77 "Program", below, refers to any such program or work, and a "work based
78 on the Program" means either the Program or any work containing the
79 Program or a portion of it, either verbatim or with modifications. Each
82 1. You may copy and distribute verbatim copies of the Program's source
87 other recipients of the Program a copy of this General Public License
88 along with the Program. You may charge a fee for the physical act of
91 2. You may modify your copy or copies of the Program or any portion of
99 in whole or in part contains the Program or any part thereof, either
118 Mere aggregation of another independent work with the Program (or its
122 3. You may copy and distribute the Program (or a portion or derivative of
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProgram.inc1 //===- Win32/Program.cpp - Win32 Program Implementation ------- -*- C++ -*-===//
9 // This file provides the Win32 specific implementation of the Program class.
174 static bool Execute(ProcessInfo &PI, StringRef Program,
180 if (!sys::fs::can_execute(Program)) {
186 // can_execute may succeed by looking at Program + ".exe". CreateProcessW
191 if (!sys::fs::exists(Program))
192 Program = Twine(Program + ".exe").toStringRef(ProgramStorage);
278 if (std::error_code ec = sys::windows::widenPath(Program, ProgramUtf16)) {
308 std::string("Couldn't execute program '") + Program.str() + "'");
564 bool llvm::sys::commandLineFitsWithinSystemLimits(StringRef Program,
[all …]
/freebsd/sys/contrib/libsodium/packaging/dotnet-core/recipes/
H A Dtest4 static class Program
24 echo "$TEST_PROGRAM" > Program.cs
/freebsd/contrib/file/magic/Magdir/
H A Dibm37054 # z/OS Program Object executable
57 # IEWPLMH is eyecatcher for "Binder Program Load Module Header" control block
58 0 string \xc9\xc5\xe6\xd7\xd3\xd4\xc8\x40 z/OS Program Object executable
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc1 //===- llvm/Support/Unix/Program.inc ----------------------------*- C++ -*-===//
9 // This file implements the Unix specific portion of the Program class.
18 #include "llvm/Support/Program.h"
175 static bool Execute(ProcessInfo &PI, StringRef Program,
181 if (!llvm::sys::fs::exists(Program)) {
183 *ErrMsg = std::string("Executable \"") + Program.str() +
259 Err = posix_spawn(&PID, Program.str().c_str(), FileActions,
326 std::string PathStr = std::string(Program);
503 *ErrMsg = "Program could not be executed";
566 bool llvm::sys::commandLineFitsWithinSystemLimits(StringRef Program,
[all …]

12345678