LLVM API Documentation

StructRetPromotion.cpp File Reference

#include "llvm/Transforms/IPO.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/CallGraphSCCPass.h"
#include "llvm/Instructions.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Compiler.h"

Include dependency graph for StructRetPromotion.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "sretpromotion"

Functions

 STATISTIC (NumRejectedSRETUses,"Number of sret rejected due to unexpected uses")
 STATISTIC (NumSRET,"Number of sret promoted")
Pass * llvm::createStructRetPromotionPass ()

Variables

static RegisterPass
< SRETPromotion > 
X ("sretpromotion","Promote sret arguments to multiple ret values")


Define Documentation

#define DEBUG_TYPE   "sretpromotion"

Definition at line 22 of file StructRetPromotion.cpp.


Function Documentation

STATISTIC ( NumSRET  ,
"Number of sret promoted"   
)

STATISTIC ( NumRejectedSRETUses  ,
"Number of sret rejected due to unexpected uses"   
)


Variable Documentation

char ID [static]

Definition at line 51 of file StructRetPromotion.cpp.

RegisterPass<SRETPromotion> X("sretpromotion","Promote sret arguments to multiple ret values") [static]