LLVM API Documentation
#include "llvm/Analysis/AssumptionTracker.h"
#include "llvm/Analysis/CodeMetrics.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/Debug.h"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "code-metrics" |
Functions | |
static void | completeEphemeralValues (SmallVector< const Value *, 16 > &WorkSet, SmallPtrSetImpl< const Value * > &EphValues) |
#define DEBUG_TYPE "code-metrics" |
Definition at line 25 of file CodeMetrics.cpp.
static void completeEphemeralValues | ( | SmallVector< const Value *, 16 > & | WorkSet, |
SmallPtrSetImpl< const Value * > & | EphValues | ||
) | [static] |
Definition at line 29 of file CodeMetrics.cpp.
References llvm::SmallVectorTemplateCommon< T >::begin(), llvm::SmallPtrSetImpl< PtrType >::count(), llvm::dbgs(), DEBUG, llvm::SmallVectorBase::empty(), llvm::SmallVectorTemplateCommon< T >::end(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::isSafeToSpeculativelyExecute(), llvm::SmallVectorImpl< T >::pop_back_val(), llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), and llvm::Value::users().
Referenced by llvm::CodeMetrics::collectEphemeralValues().