#include "AMDGPUTargetMachine.h"
#include "GCNSubtarget.h"
#include "SIProgramInfo.h"
#include "Utils/AMDGPUPALMetadata.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Target/TargetMachine.h"
#include "gtest/gtest.h"
usingnamespacellvm;
class PALMetadata : public testing::Test { … };
TEST_F(PALMetadata, ResourceRegisterSetORsResolvableUnknown) { … }
TEST_F(PALMetadata, ResourceRegisterSetORsResolvableUnknowns) { … }
TEST_F(PALMetadata, ResourceRegisterSetORsPreset) { … }
TEST_F(PALMetadata, ResourceRegisterSetORs) { … }
TEST_F(PALMetadata, ResourceRegisterSetUnresolvedSym) { … }
TEST_F(PALMetadata, ResourceRegisterSetNoEmitUnresolved) { … }