IITH-Compilers / IR2Vec

Implementation of IR2Vec, LLVM IR Based Scalable Program Embeddings
Other
84 stars 39 forks source link

Does the input file have to be .ll or .bc? #99

Closed LiuYang328 closed 7 months ago

LiuYang328 commented 7 months ago

Does the input file have to be .ll or .bc?

can i use .py or .cpp file to do the embedding?

svkeerthy commented 7 months ago

Hi, Yes. As of now, the input is expected to be .ll/.bc. You can generate them from C/C++ (and other LLVM-compatible sources) using an appropriate Clang compiler with -emit-llvm flag.

svkeerthy commented 7 months ago

Closing this thread for now. Please feel free to reopen if needed.