Skip to content

Implementing basic passes like finding global variables, function names, number of basic blocks, number of strongly connected components,l static profiling and loop profiling at runtime.

Notifications You must be signed in to change notification settings

SumedhArani/LLVM

Repository files navigation

LLVM-Basics

Implemented basic passes for-
1.Finding global variables
2.Function names
3.Number of basic blocks
4.Number of strongly connected components(Tarjan's algorithm)
5.Finding the hot fields in a struct for a given program
6.Profiling on loops by adding IR code to the source code and running the code at run time.
with the use of LLVM framework.

Shell scripts have been written to execute a set of commands to obtain the neccesary results! You can find the shell script in /test_cases folder.
Suitable comments have been added to explain the code.

About

Implementing basic passes like finding global variables, function names, number of basic blocks, number of strongly connected components,l static profiling and loop profiling at runtime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published