Set the features to the default for the given CPU and TuneCPU, with ano appended feature string.

Synopsis

Declared in <llvm/MC/MCSubtargetInfo.h>

void
setDefaultFeatures(
    StringRef CPU,
    StringRef TuneCPU,
    StringRef FS);

Parameters

Name

Description

CPU

CPU name whose default features are applied.

TuneCPU

CPU name whose tune‐implies features are applied.

FS

Additional feature string appended to the defaults.

Created with MrDocs