Home
last modified time | relevance | path

Searched refs:ModuleString (Results 1 – 15 of 15) sorted by relevance

/llvm-project/llvm/unittests/Analysis/
H A DIRSimilarityIdentifierTest.cpp58 StringRef ModuleString = R"( in TEST() local
66 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
89 StringRef ModuleString = R"( in TEST() local
97 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
117 StringRef ModuleString = R"( in TEST() local
125 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
142 StringRef ModuleString = R"( in TEST() local
150 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
169 StringRef ModuleString = R"( in TEST() local
177 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
[all …]
H A DDomTreeUpdaterTest.cpp34 StringRef ModuleString = R"( in TEST()
51 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
152 StringRef ModuleString = R"( in TEST()
162 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
217 StringRef ModuleString = R"( in TEST()
236 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
307 StringRef ModuleString = R"( in TEST()
325 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
430 StringRef ModuleString = R"( in TEST()
449 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
33 StringRef ModuleString = R"( TEST() local
151 StringRef ModuleString = R"( TEST() local
216 StringRef ModuleString = R"( TEST() local
306 StringRef ModuleString = R"( TEST() local
429 StringRef ModuleString = R"( TEST() local
521 StringRef ModuleString = R"( TEST() local
600 StringRef ModuleString = R"( TEST() local
701 StringRef ModuleString = R"( TEST() local
727 StringRef ModuleString = R"( TEST() local
[all...]
H A DBranchProbabilityInfoTest.cpp41 const char *ModuleString = "define void @f() { exit: ret void }\n"; in makeLLVMModule() local
43 return parseAssemblyString(ModuleString, Err, C); in makeLLVMModule()
H A DProfileSummaryInfoTest.cpp54 const char *ModuleString = in makeLLVMModule() local
118 return parseAssemblyString(formatv(ModuleString, Summary).str(), Err, C); in makeLLVMModule()
120 return parseAssemblyString(formatv(ModuleString, "").str(), Err, C); in makeLLVMModule()
/llvm-project/llvm/unittests/Transforms/Vectorize/
H A DVPlanSlpTest.cpp55 const char *ModuleString = in TEST_F() local
93 Module &M = parseModule(ModuleString); in TEST_F()
128 const char *ModuleString = in TEST_F() local
166 Module &M = parseModule(ModuleString); in TEST_F()
207 const char *ModuleString = in TEST_F() local
237 Module &M = parseModule(ModuleString); in TEST_F()
270 const char *ModuleString = in TEST_F() local
301 Module &M = parseModule(ModuleString); in TEST_F()
387 const char *ModuleString = in TEST_F() local
439 Module &M = parseModule(ModuleString); in TEST_F()
459 const char *ModuleString = TEST_F() local
531 const char *ModuleString = TEST_F() local
607 const char *ModuleString = TEST_F() local
679 const char *ModuleString = TEST_F() local
742 const char *ModuleString = TEST_F() local
804 const char *ModuleString = TEST_F() local
863 const char *ModuleString = TEST_F() local
[all...]
H A DVPlanHCFGTest.cpp23 const char *ModuleString = in TEST_F() local
40 Module &M = parseModule(ModuleString); in TEST_F()
181 const char *ModuleString = in TEST_F()
198 Module &M = parseModule(ModuleString); in TEST_F()
238 const char *ModuleString =
260 Module &M = parseModule(ModuleString);
162 const char *ModuleString = TEST_F() local
H A DVPlanTestBase.h51 Module &parseModule(const char *ModuleString) { in parseModule() argument
53 M = parseAssemblyString(ModuleString, Err, *Ctx); in parseModule()
/llvm-project/llvm/unittests/Transforms/IPO/
H A DAttributorTest.cpp25 const char *ModuleString = R"( in TEST_F() local
32 parseModule(ModuleString); in TEST_F()
42 const char *ModuleString = R"( in TEST_F() local
50 Module &M = parseModule(ModuleString); in TEST_F()
78 const char *ModuleString = R"( in TEST_F() local
145 Module &M = parseModule(ModuleString); in TEST_F()
H A DFunctionSpecializationTest.cpp60 Module &parseModule(const char *ModuleString) { in parseModule()
62 M = parseAssemblyString(ModuleString, Err, Ctx); in parseModule()
132 const char *ModuleString = R"( in TEST_F()
159 Module &M = parseModule(ModuleString); in TEST_F()
212 const char *ModuleString = R"( in TEST_F()
233 Module &M = parseModule(ModuleString); in TEST_F()
287 const char *ModuleString = R"( in TEST_F()
294 Module &M = parseModule(ModuleString); in TEST_F()
323 const char *ModuleString = R"( in TEST_F()
345 Module &M = parseModule(ModuleString); in TEST_F()
59 parseModule(const char * ModuleString) parseModule() argument
123 const char *ModuleString = R"( TEST_F() local
196 const char *ModuleString = R"( TEST_F() local
265 const char *ModuleString = R"( TEST_F() local
330 const char *ModuleString = R"( TEST_F() local
[all...]
H A DAttributorTestBase.h38 Module &parseModule(const char *ModuleString) { in parseModule() argument
40 M = parseAssemblyString(ModuleString, Err, *Ctx); in parseModule()
/llvm-project/llvm/unittests/IR/
H A DValueTest.cpp29 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST()
42 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
121 const char *ModuleString = "@g0 = external global %500\n" in TEST()
134 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
200 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST()
209 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
235 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST()
244 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
28 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" TEST() local
120 const char *ModuleString = "@g0 = external global %500\n" TEST() local
199 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" TEST() local
234 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" TEST() local
H A DUseTest.cpp25 const char *ModuleString = "define void @f(i32 %x) {\n" in TEST() local
39 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
70 const char *ModuleString = "define void @f(i32 %x) {\n" in TEST() local
84 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
H A DDominatorTreeTest.cpp47 StringRef ModuleString = R"( in TEST() local
60 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
78 StringRef ModuleString = in TEST() local
104 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
308 StringRef ModuleString = in TEST() local
324 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
394 StringRef ModuleString = in TEST() local
408 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
486 StringRef ModuleString = in TEST() local
502 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
573 StringRef ModuleString = TEST() local
649 StringRef ModuleString = TEST() local
1024 StringRef ModuleString = "define i32 @f(i1 %cond) {\n" TEST() local
1076 StringRef ModuleString = R"( TEST() local
1104 StringRef ModuleString = R"( TEST() local
[all...]
H A DUserTest.cpp24 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
67 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
123 const char *ModuleString = "define void @f(i32 %x) {\n" in TEST() local
130 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
H A DBasicBlockTest.cpp142 const char *ModuleString = R"(define i32 @f(i32 %x) { in TEST()
148 auto M = parseAssemblyString(ModuleString, Err, Ctx); in TEST()
549 const char *ModuleString = "declare void @f(i32 %dangling)"; in TEST()
553 auto M = parseAssemblyString(ModuleString, Err, Ctx); in TEST()
558 auto M = parseAssemblyString(ModuleString, Err, Ctx);
137 const char *ModuleString = R"(define i32 @f(i32 %x) { TEST() local
544 const char *ModuleString = "declare void @f(i32 %dangling)"; TEST() local