struct ClonedCodeInfo

Declaration

struct ClonedCodeInfo { /* full declaration omitted */ };

Description

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

Declared at: llvm/include/llvm/Transforms/Utils/Cloning.h:65

Member Variables

public bool ContainsCalls = false
This is set to true if the cloned code contains a normal call instruction.
public bool ContainsDynamicAllocas = false
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.
public std::vector<WeakTrackingVH> 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.

Method Overview

Methods

ΒΆClonedCodeInfo()

Declared at: llvm/include/llvm/Transforms/Utils/Cloning.h:79