Home
last modified time | relevance | path

Searched refs:makeLLVMModule (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DIRSimilarityIdentifierTest.cpp25 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, in makeLLVMModule() function
60 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
91 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
119 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
144 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
171 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
196 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
222 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
248 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
274 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
[all …]
H A DFunctionPropertiesAnalysisTest.cpp71 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
124 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
167 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
221 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
288 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
336 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
391 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
446 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
499 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
556 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
[all …]
H A DLoopInfoTest.cpp49 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, in makeLLVMModule() function
78 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
128 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
184 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
258 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
317 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
376 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
435 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
494 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
554 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
[all …]
H A DProfileSummaryInfoTest.cpp48 std::unique_ptr<Module> makeLLVMModule(const char *ProfKind = nullptr, in makeLLVMModule() function in llvm::__anon511da23a0111::ProfileSummaryInfoTest
125 auto M = makeLLVMModule(/*ProfKind=*/nullptr); in TEST_F()
154 auto M = makeLLVMModule("InstrProf"); in TEST_F()
196 auto M = makeLLVMModule("InstrProf"); in TEST_F()
263 auto M = makeLLVMModule("InstrProf"); in TEST_F()
291 auto M = makeLLVMModule("SampleProfile"); in TEST_F()
363 auto M = makeLLVMModule("SampleProfile"); in TEST_F()
394 auto M1 = makeLLVMModule("SampleProfile", /*NumCounts*/ 3, in TEST_F()
406 auto M2 = makeLLVMModule("SampleProfile", /*NumCounts*/ 27493235, in TEST_F()
419 auto M3 = makeLLVMModule("SampleProfile", /*NumCounts*/ 27493235, in TEST_F()
H A DUnrollAnalyzerTest.cpp64 std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, in makeLLVMModule() function
90 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
153 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
198 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
245 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
291 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
H A DMemoryProfileInfoTest.cpp29 std::unique_ptr<Module> makeLLVMModule(LLVMContext &C, const char *IR) { in makeLLVMModule() function in __anoneab451c50111::MemoryProfileInfoTest
97 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
143 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
193 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
247 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
301 std::unique_ptr<Module> M = makeLLVMModule(C, in TEST_F()
H A DLoopNestTest.cpp37 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, in makeLLVMModule() function
83 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
179 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
265 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
H A DBranchProbabilityInfoTest.cpp40 std::unique_ptr<Module> makeLLVMModule() { in makeLLVMModule() function
48 auto M = makeLLVMModule(); in TEST_F()
H A DDomTreeUpdaterTest.cpp23 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, in makeLLVMModule() function
50 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
161 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
235 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
324 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
453 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
536 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
625 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
714 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
744 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
H A DDDGTest.cpp42 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, in makeLLVMModule() function
87 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
203 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleStr); in TEST()
H A DBlockFrequencyInfoTest.cpp40 std::unique_ptr<Module> makeLLVMModule() { in makeLLVMModule() function in llvm::__anon557384980111::BlockFrequencyInfoTest
59 auto M = makeLLVMModule(); in TEST_F()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DDominatorTreeTest.cpp38 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, in makeLLVMModule() function
60 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
104 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
324 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
408 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
502 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
591 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
665 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
1037 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
1084 std::unique_ptr<Module> M = makeLLVMModule(Context, ModuleString); in TEST()
H A DLegacyPassManagerTest.cpp297 Module *makeLLVMModule(LLVMContext &Context);
302 std::unique_ptr<Module> M(makeLLVMModule(Context)); in MemoryTestHelper()
313 Module *M = makeLLVMModule(Context); in MemoryTestHelper()
345 Module *M = makeLLVMModule(Context); in TEST()
424 Module *makeLLVMModule(LLVMContext &Context) { in makeLLVMModule() function
683 std::unique_ptr<Module> M(makeLLVMModule(Context)); in TEST()