LLVM
8.0.1
|
This struct can be used to capture information about code being cloned, while it is being cloned. More...
#include "llvm/Transforms/Utils/Cloning.h"
Public Member Functions | |
ClonedCodeInfo ()=default | |
Public Attributes | |
bool | ContainsCalls = false |
This is set to true if the cloned code contains a normal call instruction. More... | |
bool | ContainsDynamicAllocas = false |
This is set to true if the cloned code contains a 'dynamic' alloca. More... | |
std::vector< WeakTrackingVH > | OperandBundleCallSites |
All cloned call sites that have operand bundles attached are appended to this vector. More... | |
This struct can be used to capture information about code being cloned, while it is being cloned.
|
default |
This is set to true if the cloned code contains a normal call instruction.
Definition at line 68 of file Cloning.h.
Referenced by llvm::CloneBasicBlock(), HandleInlinedEHPad(), HandleInlinedLandingPad(), and llvm::InlineFunction().
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 73 of file Cloning.h.
Referenced by llvm::CloneBasicBlock(), and llvm::InlineFunction().
std::vector<WeakTrackingVH> 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 78 of file Cloning.h.
Referenced by llvm::InlineFunction().