Home
last modified time | relevance | path

Searched refs:ArgV (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
DTargetExecutionUtils.cpp19 std::vector<char *> ArgV; in runAsMain() local
22 ArgV.reserve(Args.size() + 1 + (ProgramName ? 1 : 0)); in runAsMain()
28 ArgV.push_back(ArgVStorage.back().get()); in runAsMain()
35 ArgV.push_back(ArgVStorage.back().get()); in runAsMain()
37 ArgV.push_back(nullptr); in runAsMain()
39 return Main(Args.size() + !!ProgramName, ArgV.data()); in runAsMain()
/external/llvm-project/libc/test/utils/tools/WrapperGen/
Dwrappergen_test.cpp74 llvm::StringRef ArgV[] = {ProgPath, llvm::StringRef(IncludeArg), in TEST_F() local
78 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
92 llvm::StringRef ArgV[] = {ProgPath, llvm::StringRef(IncludeArg), in TEST_F() local
96 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
123 llvm::StringRef ArgV[] = {ProgPath, in TEST_F() local
132 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
164 llvm::StringRef ArgV[] = {ProgPath, in TEST_F() local
175 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
198 llvm::StringRef ArgV[] = {ProgPath, llvm::StringRef(IncludeArg), in TEST_F() local
202 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
[all …]
/external/llvm-project/llvm/lib/FuzzMutate/
DFuzzerCLI.cpp25 void llvm::parseFuzzerCLOpts(int ArgC, char *ArgV[]) { in parseFuzzerCLOpts() argument
27 CLArgs.push_back(ArgV[0]); in parseFuzzerCLOpts()
31 if (StringRef(ArgV[I++]).equals("-ignore_remaining_args=1")) in parseFuzzerCLOpts()
34 CLArgs.push_back(ArgV[I++]); in parseFuzzerCLOpts()
139 int llvm::runFuzzerOnInputs(int ArgC, char *ArgV[], FuzzerTestFun TestOne, in runFuzzerOnInputs() argument
143 if (int RC = Init(&ArgC, &ArgV)) { in runFuzzerOnInputs()
149 StringRef Arg(ArgV[I]); in runFuzzerOnInputs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DFuzzerCLI.cpp24 void llvm::parseFuzzerCLOpts(int ArgC, char *ArgV[]) { in parseFuzzerCLOpts() argument
26 CLArgs.push_back(ArgV[0]); in parseFuzzerCLOpts()
30 if (StringRef(ArgV[I++]).equals("-ignore_remaining_args=1")) in parseFuzzerCLOpts()
33 CLArgs.push_back(ArgV[I++]); in parseFuzzerCLOpts()
138 int llvm::runFuzzerOnInputs(int ArgC, char *ArgV[], FuzzerTestFun TestOne, in runFuzzerOnInputs() argument
142 if (int RC = Init(&ArgC, &ArgV)) { in runFuzzerOnInputs()
148 StringRef Arg(ArgV[I]); in runFuzzerOnInputs()
/external/llvm-project/clang/tools/driver/
Ddriver.cpp316 static int ExecuteCC1Tool(SmallVectorImpl<const char *> &ArgV) { in ExecuteCC1Tool() argument
325 llvm::cl::ExpandResponseFiles(Saver, &llvm::cl::TokenizeGNUCommandLine, ArgV, in ExecuteCC1Tool()
327 StringRef Tool = ArgV[1]; in ExecuteCC1Tool()
330 return cc1_main(makeArrayRef(ArgV).slice(1), ArgV[0], GetExecutablePathVP); in ExecuteCC1Tool()
332 return cc1as_main(makeArrayRef(ArgV).slice(2), ArgV[0], in ExecuteCC1Tool()
335 return cc1gen_reproducer_main(makeArrayRef(ArgV).slice(2), ArgV[0], in ExecuteCC1Tool()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp25 std::vector<char *> ArgV; in runAsMain() local
28 ArgV.reserve(Args.size() + 1 + (ProgramName ? 1 : 0)); in runAsMain()
34 ArgV.push_back(ArgVStorage.back().get()); in runAsMain()
41 ArgV.push_back(ArgVStorage.back().get()); in runAsMain()
43 ArgV.push_back(nullptr); in runAsMain()
45 return Main(Args.size() + !!ProgramName, ArgV.data()); in runAsMain()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/
DFuzzerCLI.h26 void parseFuzzerCLOpts(int ArgC, char *ArgV[]);
50 int runFuzzerOnInputs(int ArgC, char *ArgV[], FuzzerTestFun TestOne,
/external/llvm-project/llvm/include/llvm/FuzzMutate/
DFuzzerCLI.h27 void parseFuzzerCLOpts(int ArgC, char *ArgV[]);
51 int runFuzzerOnInputs(int ArgC, char *ArgV[], FuzzerTestFun TestOne,
/external/llvm/include/llvm/Support/
DPrettyStackTrace.h62 const char *const *ArgV; variable
65 : ArgC(argc), ArgV(argv) { in PrettyStackTraceProgram()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
DPutenvWithAutoChecker.cpp44 SVal ArgV = Call.getArgSVal(0); in checkPostCall() local
46 const MemSpaceRegion *MSR = ArgV.getAsRegion()->getMemorySpace(); in checkPostCall()
/external/llvm-project/llvm/include/llvm/Support/
DPrettyStackTrace.h93 const char *const *ArgV; variable
96 : ArgC(argc), ArgV(argv) { in PrettyStackTraceProgram()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DPrettyStackTrace.h86 const char *const *ArgV; variable
89 : ArgC(argc), ArgV(argv) { in PrettyStackTraceProgram()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h177 std::unique_ptr<const char *[]> ArgV(new const char *[ArgC + 1]); in handleCallMain()
178 ArgV[0] = "<jit process>"; in handleCallMain()
180 ArgV[Idx++] = Arg.c_str(); in handleCallMain()
181 ArgV[ArgC] = 0; in handleCallMain()
183 llvm::dbgs() << "Arg " << Idx << ": " << ArgV[Idx] << "\n"; in handleCallMain()
187 int Result = Fn(ArgC, ArgV.get()); in handleCallMain()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h192 std::unique_ptr<const char *[]> ArgV(new const char *[ArgC + 1]); in handleCallMain()
193 ArgV[0] = "<jit process>"; in handleCallMain()
195 ArgV[Idx++] = Arg.c_str(); in handleCallMain()
196 ArgV[ArgC] = 0; in handleCallMain()
198 llvm::dbgs() << "Arg " << Idx << ": " << ArgV[Idx] << "\n"; in handleCallMain()
202 int Result = Fn(ArgC, ArgV.get()); in handleCallMain()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp108 int llvm::runOrcLazyJIT(std::unique_ptr<Module> M, int ArgC, char* ArgV[]) { in runOrcLazyJIT() argument
156 return Main(ArgC, ArgV); in runOrcLazyJIT()
/external/llvm-project/llvm/lib/Support/
DPrettyStackTrace.cpp258 const bool HaveSpace = ::strchr(ArgV[I], ' '); in print()
263 OS.write_escaped(ArgV[I]); in print()
/external/llvm-project/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp231 unsigned ArgC, const char * const *ArgV, in LLVMRunFunctionAsMain() argument
235 std::vector<std::string> ArgVec(ArgV, ArgV + ArgC); in LLVMRunFunctionAsMain()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp231 unsigned ArgC, const char * const *ArgV, in LLVMRunFunctionAsMain() argument
235 std::vector<std::string> ArgVec(ArgV, ArgV + ArgC); in LLVMRunFunctionAsMain()
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp229 unsigned ArgC, const char * const *ArgV, in LLVMRunFunctionAsMain() argument
233 std::vector<std::string> ArgVec(ArgV, ArgV + ArgC); in LLVMRunFunctionAsMain()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h202 std::unique_ptr<const char *[]> ArgV(new const char *[ArgC + 1]); in handleCallMain()
203 ArgV[0] = "<jit process>"; in handleCallMain()
205 ArgV[Idx++] = Arg.c_str(); in handleCallMain()
208 int Result = Fn(ArgC, ArgV.get()); in handleCallMain()
/external/llvm/unittests/Support/
DProgramTest.cpp130 const char *ArgV[] = { in TEST_F() local
152 int RC = ExecuteAndWait(MyExe, ArgV, getEnviron(), Redirects, in TEST_F()
/external/llvm/lib/Support/
DPrettyStackTrace.cpp152 OS << ArgV[i] << ' '; in print()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DExecutionEngine.h119 unsigned ArgC, const char * const *ArgV,
/external/llvm/include/llvm-c/
DExecutionEngine.h120 unsigned ArgC, const char * const *ArgV,
/external/llvm-project/llvm/include/llvm-c/
DExecutionEngine.h119 unsigned ArgC, const char * const *ArgV,

12