CGRAOmp  0.1
Namespaces | Functions
Utils.hpp File Reference
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Type.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/LoopAnalysisManager.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/APFloat.h"
#include <string>

Go to the source code of this file.

Namespaces

 CGRAOmp
 
 CGRAOmp::Utils
 

Functions

LoopStandardAnalysisResults CGRAOmp::Utils::getLSAR (Function &F, FunctionAnalysisManager &AM)
 a utility function to obtain analysis results in LoopStandardAnalysisResults More...
 
BranchInst * CGRAOmp::Utils::findBackBranch (Loop *L)
 
void CGRAOmp::Utils::getAllGEP (Loop *L, SmallVector< Instruction * > &List)
 
void CGRAOmp::Utils::getArrayElementSizes (Type *Ty, SmallVector< int > &sizes, Type *&element_type)
 
int CGRAOmp::Utils::getFloatDataWidth (const APFloat f)
 
int CGRAOmp::Utils::getDataWidth (const Type *T)
 
std::string CGRAOmp::Utils::getFloatType (const APFloat f)
 
double CGRAOmp::Utils::getFloatValueAsDouble (const APFloat f)