LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::ClonedCodeInfo Struct Reference

ClonedCodeInfo - This struct can be used to capture information about code being cloned, while it is being cloned. More...

#include <Cloning.h>

Collaboration diagram for llvm::ClonedCodeInfo:
[legend]

Public Member Functions

 ClonedCodeInfo ()
 

Public Attributes

bool ContainsCalls
 ContainsCalls - This is set to true if the cloned code contains a normal call instruction. More...
 
bool ContainsDynamicAllocas
 ContainsDynamicAllocas - This is set to true if the cloned code contains a 'dynamic' alloca. More...
 
std::vector< WeakVHOperandBundleCallSites
 All cloned call sites that have operand bundles attached are appended to this vector. More...
 

Detailed Description

ClonedCodeInfo - This struct can be used to capture information about code being cloned, while it is being cloned.

Definition at line 67 of file Cloning.h.

Constructor & Destructor Documentation

llvm::ClonedCodeInfo::ClonedCodeInfo ( )
inline

Definition at line 83 of file Cloning.h.

Member Data Documentation

bool llvm::ClonedCodeInfo::ContainsCalls

ContainsCalls - This is set to true if the cloned code contains a normal call instruction.

Definition at line 70 of file Cloning.h.

Referenced by llvm::CloneBasicBlock(), HandleInlinedEHPad(), HandleInlinedLandingPad(), and llvm::InlineFunction().

bool llvm::ClonedCodeInfo::ContainsDynamicAllocas

ContainsDynamicAllocas - This is set to true if the cloned code contains a 'dynamic' alloca.

Dynamic allocas are allocas that are either not in the entry block or they are in the entry block but are not a constant size.

Definition at line 76 of file Cloning.h.

Referenced by llvm::CloneBasicBlock(), and llvm::InlineFunction().

std::vector<WeakVH> llvm::ClonedCodeInfo::OperandBundleCallSites

All cloned call sites that have operand bundles attached are appended to this vector.

This vector may contain nulls or undefs if some of the originally inserted callsites were DCE'ed after they were cloned.

Definition at line 81 of file Cloning.h.

Referenced by llvm::InlineFunction().


The documentation for this struct was generated from the following file: