Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DValueTest.cpp25 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
38 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
115 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
122 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
181 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
190 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
216 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
225 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
DUseTest.cpp27 const char *ModuleString = "define void @f(i32 %x) {\n" in TEST() local
41 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
72 const char *ModuleString = "define void @f(i32 %x) {\n" in TEST() local
86 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
DUserTest.cpp25 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
68 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DValueTest.cpp25 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
38 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
115 const char *ModuleString = "@g0 = external global %500\n" in TEST() local
128 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
194 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
203 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
229 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
238 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
DDeferredDominanceTest.cpp31 StringRef ModuleString = in TEST() local
49 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
109 StringRef ModuleString = in TEST() local
124 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
174 StringRef ModuleString = in TEST() local
183 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
241 StringRef ModuleString = in TEST() local
258 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
DUseTest.cpp26 const char *ModuleString = "define void @f(i32 %x) {\n" in TEST() local
40 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
71 const char *ModuleString = "define void @f(i32 %x) {\n" in TEST() local
85 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
DDomTreeUpdaterTest.cpp34 StringRef ModuleString = R"( in TEST() local
51 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
151 StringRef ModuleString = R"( in TEST() local
161 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
216 StringRef ModuleString = R"( in TEST() local
235 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
306 StringRef ModuleString = R"( in TEST() local
324 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
432 StringRef ModuleString = R"( in TEST() local
451 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
[all …]
DDominatorTreeTest.cpp48 StringRef ModuleString = in TEST() local
74 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
278 StringRef ModuleString = in TEST() local
294 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
364 StringRef ModuleString = in TEST() local
378 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
456 StringRef ModuleString = in TEST() local
472 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
543 StringRef ModuleString = in TEST() local
561 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
[all …]
DUserTest.cpp25 const char *ModuleString = "define void @f(i32 %x, i32 %y) {\n" in TEST() local
68 std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanHCFGTest.cpp21 const char *ModuleString = in TEST_F() local
38 Module &M = parseModule(ModuleString); in TEST_F()
98 const char *ModuleString = in TEST_F() local
115 Module &M = parseModule(ModuleString); in TEST_F()
DVPlanTestBase.h37 Module &parseModule(const char *ModuleString) { in parseModule() argument
39 M = parseAssemblyString(ModuleString, Err, *Ctx); in parseModule()
DVPlanLoopInfoTest.cpp20 const char *ModuleString = in TEST_F() local
39 Module &M = parseModule(ModuleString); in TEST_F()
DVPlanDominatorTreeTest.cpp20 const char *ModuleString = in TEST_F() local
39 Module &M = parseModule(ModuleString); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DOrderedBasicBlockTest.cpp28 const char *ModuleString = R"(define i32 @f(i32 %x) { in makeLLVMModule() local
33 auto foo = parseAssemblyString(ModuleString, Err, C); in makeLLVMModule()
DBranchProbabilityInfoTest.cpp42 const char *ModuleString = "define void @f() { exit: ret void }\n"; in makeLLVMModule() local
44 return parseAssemblyString(ModuleString, Err, C); in makeLLVMModule()
DProfileSummaryInfoTest.cpp48 const char *ModuleString = in makeLLVMModule() local
92 formatv(ModuleString, formatv(SummaryString, ProfKind).str()).str(), in makeLLVMModule()
95 return parseAssemblyString(formatv(ModuleString, "").str(), Err, C); in makeLLVMModule()