Home
last modified time | relevance | path

Searched refs:parseIR (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/llvm/unittests/Transforms/Utils/
DBasicBlockUtilsTest.cpp23 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
34 std::unique_ptr<Module> M = parseIR( in TEST()
64 std::unique_ptr<Module> M = parseIR( in TEST()
92 std::unique_ptr<Module> M = parseIR( in TEST()
118 std::unique_ptr<Module> M = parseIR( in TEST()
147 parseIR(C, "define void @crit_edge(i8* %cond0, i1 %cond1) {\n" in TEST()
188 std::unique_ptr<Module> M = parseIR( in TEST()
DCallPromotionUtilsTest.cpp19 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
29 std::unique_ptr<Module> M = parseIR(C, in TEST()
75 std::unique_ptr<Module> M = parseIR(C, in TEST()
101 std::unique_ptr<Module> M = parseIR(C, in TEST()
128 std::unique_ptr<Module> M = parseIR(C, in TEST()
163 std::unique_ptr<Module> M = parseIR(C, in TEST()
205 std::unique_ptr<Module> M = parseIR(C, in TEST()
248 std::unique_ptr<Module> M = parseIR(C, in TEST()
329 std::unique_ptr<Module> M = parseIR(C, in TEST()
DCodeMoverUtilsTest.cpp25 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
77 parseIR(C, R"(define void @foo(i32* %i, i1 %cond1, i1 %cond2) { in TEST()
138 parseIR(C, R"(define void @foo(i32* %i, i32 %X, i32 %Y) { in TEST()
229 parseIR(C, R"(define void @foo(i32* %i, i1 %cond1, i1 %cond2) { in TEST()
284 std::unique_ptr<Module> M = parseIR( in TEST()
345 parseIR(C, R"(define void @foo(i32* %i, i32* %cond) { in TEST()
403 parseIR(C, R"(define void @foo(i1 %cond1, i1 %cond2) { in TEST()
451 std::unique_ptr<Module> M = parseIR( in TEST()
560 parseIR(C, R"(define void @foo(i1 %cond, i32 %op0, i32 %op1) { in TEST()
595 std::unique_ptr<Module> M = parseIR(C, R"(define void @foo(i64 %N) { in TEST()
[all …]
DLoopRotationUtilsTest.cpp24 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
38 std::unique_ptr<Module> M = parseIR( in TEST()
103 std::unique_ptr<Module> M = parseIR( in TEST()
DUnrollLoopTest.cpp23 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
34 std::unique_ptr<Module> M = parseIR( in TEST()
DLocalTest.cpp106 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
119 std::unique_ptr<Module> M = parseIR(C, in TEST()
182 M = parseIR(C, in TEST()
203 M = parseIR(C, in TEST()
338 std::unique_ptr<Module> M = parseIR(C, in TEST()
493 M = parseIR(C, in SetUp()
588 std::unique_ptr<Module> M = parseIR(Ctx, in TEST()
639 std::unique_ptr<Module> M = parseIR(Ctx, in TEST()
831 std::unique_ptr<Module> M = parseIR(C, in TEST()
936 M = parseIR(C, in TEST()
[all …]
DLoopUtilsTest.cpp21 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
46 parseIR(C, "define void @foo() {\n" in TEST()
/external/llvm-project/llvm/unittests/Analysis/
DLoadsTest.cpp19 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
29 std::unique_ptr<Module> M = parseIR(C, in TEST()
65 std::unique_ptr<Module> M = parseIR(C, in TEST()
DIVDescriptorsTest.cpp38 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
54 std::unique_ptr<Module> M = parseIR( in TEST()
109 std::unique_ptr<Module> M = parseIR(Context, R"( in TEST()
/external/llvm/lib/IRReader/
DIRReader.cpp66 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR() function in llvm
95 return parseIR(FileOrErr.get()->getMemBufferRef(), Err, Context); in parseIRFile()
109 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release()); in LLVMParseIRInContext()
/external/llvm-project/llvm/unittests/IR/
DAbstractCallSiteTest.cpp18 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
41 std::unique_ptr<Module> M = parseIR(C, IR); in TEST()
DDebugInfoTest.cpp23 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
101 std::unique_ptr<Module> M = parseIR(C, R"( in TEST()
153 std::unique_ptr<Module> M = parseIR(C, R"( in TEST()
DPassManagerTest.cpp167 std::unique_ptr<Module> parseIR(LLVMContext &Context, const char *IR) { in parseIR() function
179 : M(parseIR(Context, "define void @f() {\n" in PassManagerTest()
816 auto M = parseIR(Context, "define void @foo() {\n" in TEST_F()
861 auto M = parseIR(Context, "define void @foo() {\n" in TEST_F()
925 auto M = parseIR(Context, "define void @foo() {\n" in TEST_F()
/external/llvm-project/llvm/lib/IRReader/
DIRReader.cpp68 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR() function in llvm
102 return parseIR(FileOrErr.get()->getMemBufferRef(), Err, Context, in parseIRFile()
117 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release()); in LLVMParseIRInContext()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/
DIRReader.cpp68 std::unique_ptr<Module> llvm::parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, in parseIR() function in llvm
107 return parseIR(FileOrErr.get()->getMemBufferRef(), Err, Context, in parseIRFile()
122 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release()); in LLVMParseIRInContext()
/external/llvm/unittests/Analysis/
DLoopPassManagerTest.cpp102 std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() function
114 : M(parseIR(Context, "define void @f() {\n" in LoopPassManagerTest()
DCGSCCPassManagerTest.cpp211 std::unique_ptr<Module> parseIR(const char *IR) { in parseIR() function
221 auto M = parseIR("define void @f() {\n" in TEST()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IRReader/
DIRReader.h40 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
/external/llvm/include/llvm/IRReader/
DIRReader.h40 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
/external/llvm-project/clang/tools/clang-fuzzer/handle-llvm/
Dhandle_llvm.cpp100 std::unique_ptr<Module> M = parseIR(MemoryBufferRef(IR, "IR"), Err, Context); in OptLLVM()
157 std::unique_ptr<Module> M = parseIR(MemoryBufferRef(IR, "IR"), Err, Context); in CreateAndRunJITFunc()
/external/llvm-project/llvm/examples/OrcV2Examples/
DExampleModules.h41 auto M = parseIR(MemoryBufferRef(Source, Name), Err, *Ctx); in parseExampleModule()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IRReader/
DIRReader.h55 std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
/external/llvm-project/llvm/include/llvm/IRReader/
DIRReader.h55 std::unique_ptr<Module> parseIR(
/external/llvm-project/llvm/unittests/CodeGen/
DPassManagerTest.cpp163 std::unique_ptr<Module> parseIR(LLVMContext &Context, const char *IR) { in parseIR() function
176 : M(parseIR(Context, "define void @f() {\n" in PassManagerTest()
/external/llvm/unittests/IR/
DPassManagerTest.cpp158 std::unique_ptr<Module> parseIR(LLVMContext &Context, const char *IR) { in parseIR() function
170 : M(parseIR(Context, "define void @f() {\n" in PassManagerTest()

12