Fill in a GlobalStatus from all uses of a global.

Synopsis

Declared in <llvm/Transforms/Utils/GlobalStatus.h>

static
bool
analyzeGlobal(
    Value const* V,
    GlobalStatus& GS);

Description

Look at all uses of the global and fill in the GlobalStatus structure. If the global has its address taken, return true to indicate we can't do anything with it.

Return Value

True if the address of V is taken.

Parameters

Name

Description

V

Global or thread‐local value whose uses are analyzed.

GS

Status structure to fill in.

Created with MrDocs