llvm::Module::setDataLayout

setDataLayout overloads

Synopses

Declared in <llvm/IR/Module.h>

Set the data layout

void
setDataLayout(StringRef Desc);
» more...

Set the data layout from an existing DataLayout.

void
setDataLayout(DataLayout const& Other);
» more...

Parameters

NameDescription
DescData layout string for the target.
OtherData layout to copy into this module.