LLVM
8.0.1
|
#include "llvm/Transforms/Instrumentation/CGProfile.h"
Public Member Functions | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< CGProfilePass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Definition at line 20 of file CGProfile.h.
PreservedAnalyses CGProfilePass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 27 of file CGProfile.cpp.
References llvm::Module::addModuleFlag(), llvm::PreservedAnalyses::all(), llvm::Module::Append, llvm::AMDGPUISD::BFI, Context, llvm::InstrProfSymtab::create(), llvm::MDBuilder::createConstant(), E, F(), llvm::ConstantInt::get(), llvm::ValueAsMetadata::get(), llvm::MDNode::get(), llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::getCalledFunction(), llvm::Module::getContext(), llvm::InstrProfSymtab::getFunction(), llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::getInstruction(), llvm::Type::getInt64Ty(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::getValueProfDataFromInst(), I, llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::isIndirectCall(), llvm::TargetTransformInfo::isLoweredToCall(), and llvm::SaturatingAdd().