LLVM API Documentation
#include "llvm/Transforms/IPO.h"#include "llvm/CallGraphSCCPass.h"#include "llvm/GlobalVariable.h"#include "llvm/Instructions.h"#include "llvm/Analysis/CallGraph.h"#include "llvm/Analysis/CaptureTracking.h"#include "llvm/ADT/SmallSet.h"#include "llvm/ADT/Statistic.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/InstIterator.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "functionattrs" |
Functions | |
| STATISTIC (NumReadNone,"Number of functions marked readnone") | |
| STATISTIC (NumReadOnly,"Number of functions marked readonly") | |
| STATISTIC (NumNoCapture,"Number of arguments marked nocapture") | |
| Pass * | llvm::createFunctionAttrsPass () |
Variables | |
| static RegisterPass < FunctionAttrs > | X ("functionattrs","Deduce function attributes") |
| #define DEBUG_TYPE "functionattrs" |
Definition at line 21 of file FunctionAttrs.cpp.
| STATISTIC | ( | NumNoCapture | , | |
| "Number of arguments marked nocapture" | ||||
| ) |
| STATISTIC | ( | NumReadOnly | , | |
| "Number of functions marked readonly" | ||||
| ) |
| STATISTIC | ( | NumReadNone | , | |
| "Number of functions marked readnone" | ||||
| ) |
char ID [static] |
Definition at line 40 of file FunctionAttrs.cpp.
RegisterPass<FunctionAttrs> X("functionattrs","Deduce function attributes") [static] |