llvm::memprof::removeAnyExistingAmbiguousAttribute

Removes any existing "ambiguous" memprof attribute. Called before we apply a specific allocation type such as "cold", "notcold", or "hot".

Synopsis

Declared in <llvm/Analysis/MemoryProfileInfo.h>

void
removeAnyExistingAmbiguousAttribute(CallBase* CB);

Parameters

NameDescription
CBCall whose ambiguous memprof attribute should be removed.